123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- <?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>
- <nopypatinfo>
- <seqno/>
- <pid/>
- <hngnm/>
- <indd/>
- <depthngnm/>
- <snglcalcscorcd/>
- <calchngnm/>
- <hunitcost/>
- <totqty/>
- <totamt/>
- <memo/>
- <cretno/>
- <year/>
- <edicd/>
- <spclcd/>
- <gubun/>
- <newpayflag/>
- <sugicode/>
- <confirmyn/>
- </nopypatinfo>
- </main>
- <send>
- <reqdata>
- <year/>
- <orddeptcd/>
- <snglcalcscorcd/>
- <ioflag/>
- <brateflag/>
- </reqdata>
- <savedata/>
- </send>
- <init>
- <P6600list/>
- </init>
- <init_pam>
- <init>
- </init>
- </init_pam>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init_pam/init"/>
- <submission id="TRPAO05005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main"/>
- <submission id="TXPAO05005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/main"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </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/utilHelper.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" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRPAMCOM01");
-
- pamfGetCodeList(new Array("P6600"), new Array("/root/init/P6600list"));
-
- addComboItem("cmb_orddeptcd","전체", "-", "above");
-
- if (checkOpener()){
- model.makeValue("/root/send/reqdata/year", opener.javascript.getParameter("year"));
- model.makeValue("/root/send/reqdata/orddeptcd", opener.javascript.getParameter("orddeptcd"));
- model.makeValue("/root/send/reqdata/ioflag", opener.javascript.getParameter("ioflag"));
- model.makeValue("/root/send/reqdata/snglcalcscorcd", opener.javascript.getParameter("snglcalcscorcd"));
- model.makeValue("/root/send/reqdata/brateflag", opener.javascript.getParameter("brateflag"));
-
- btn_search.dispatch("DOMActivate");
- }else{
- model.makeValue("/root/send/reqdata/year", "2013");
- model.makeValue("/root/send/reqdata/orddeptcd", "-");
- model.makeValue("/root/send/reqdata/ioflag", "O");
- model.makeValue("/root/send/reqdata/brateflag", "O");
- }
-
- model.makeValue("/root/send/reqdata/gubun", "-");
-
- cmb_year.value="2017";
- combo1.value="-";
- combo3.value="-";
-
- model.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" 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:189px; height:15px; ">자료조회</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group5" style="left:0px; top:15px; width:1195px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:45px; "/>
- <line id="line13" class="line_4" style="x1:1033px; y1:7px; x2:1033px; y2:40px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption21" class="search_name" visibility="hidden" style="left:6px; top:8px; width:86px; height:17px; ">조회연도:</caption>
- <button id="btn_search" class="btn2_letter2" style="left:1037px; top:13px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TRPAO05005")){
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">진료과 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/reqdata/orddeptcd" appearance="minimal" style="left:85px; top:9px; width:130px; height:19px; text-align:center; vertical-align:middle; ">
- <choices>
- <itemset nodeset="/root/init_pam/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:451px; top:8px; width:86px; height:17px; ">수진구분:</caption>
- <select1 id="combo3" ref="/root/send/reqdata/ioflag" appearance="minimal" style="left:535px; top:10px; width:70px; height:19px; text-align:center; vertical-align:middle; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <button id="button1" class="btn2_letter4" style="left:1124px; top:13px; 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 (*.*)|*.*");
- grd_nopypat.saveExcel(fileName, "sheet1");
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:226px; top:8px; width:86px; height:17px; ">수가코드 :</caption>
- <select1 id="combo1" ref="/root/send/reqdata/brateflag" appearance="minimal" style="left:730px; top:10px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>외퇴</label>
- <value>O</value>
- </item>
- <item>
- <label>입퇴</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:611px; top:8px; width:119px; height:17px; ">입퇴/외퇴 구분:</caption>
- <input id="input1" ref="/root/send/reqdata/snglcalcscorcd" style="left:310px; top:10px; width:135px; height:19px; "/>
- <select1 id="cmb_year" ref="/root/send/reqdata/year" disabled="true" visibility="hidden" appearance="minimal" style="left:85px; top:10px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>2013년</label>
- <value>2013</value>
- </item>
- <item>
- <label>2014년</label>
- <value>2014</value>
- </item>
- <item>
- <label>2015년</label>
- <value>2015</value>
- </item>
- <item>
- <label>2016년</label>
- <value>2016</value>
- </item>
- <item>
- <label>2017년</label>
- <value>2017</value>
- </item>
- </choices>
- </select1>
- <button id="button2" class="btn2_letter2" style="left:1081px; top:13px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TXPAO05005")){
- submit("TRPAO05005");
- model.resetInstanceNode("/root/send/savedata");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:835px; top:10px; width:119px; height:17px; ">수가구분:</caption>
- <select1 id="combo2" ref="/root/send/reqdata/gubun" appearance="minimal" style="left:919px; top:11px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
- <choices>
- <itemset nodeset="/root/init/P6600list/P6600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1195px; y2:65px; "/>
- <datagrid id="grd_nopypat" nodeset="/root/main/nopypatinfo" autoresize="true" caption="연도^연번^환자번호^환자명^진료일자^진료과^수진형태^입외퇴구분^수가코드^수가명^단가^처방건수^금액^사유^비고^수가구분^EDICD^특정기호^구분^수기료코드^확인여부^수진형태" colsep="^" colwidth="0, 38, 76, 72, 70, 139, 59, 0, 100, 180, 0, 0, 0, 214, 211, 70, 100, 100, 100, 100, 100, 0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:1195px; height:710px; ">
- <col ref="year" visibility="hidden" style="text-align:center; "/>
- <col ref="seqno" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="depthngnm" style="text-align:left; "/>
- <col disabled="true" ref="ioflag" type="combo">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="brateflag" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>외퇴</label>
- <value>O</value>
- </item>
- <item>
- <label>입퇴</label>
- <value>I</value>
- </item>
- </choices>
- </col>
- <col ref="snglcalcscorcd" style="text-align:left; "/>
- <col ref="calchngnm" style="text-align:left; "/>
- <col ref="hunitcost" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="totqty" visibility="hidden" style="text-align:center; "/>
- <col ref="totamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col editable="true" ref="memo" type="input" style="text-align:left; "/>
- <col editable="true" ref="bigo" type="input" style="text-align:left; "/>
- <col disabled="true" ref="gubun" type="combo">
- <choices>
- <itemset nodeset="/root/init/P6600list/P6600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="edicd" style="text-align:left; "/>
- <col ref="spclcd" style="text-align:left; "/>
- <col editable="true" ref="newpayflag" type="input" style="text-align:left; "/>
- <col editable="true" ref="sugicode" type="input" style="text-align:left; "/>
- <col ref="confirmyn" style="text-align:left; "/>
- <col ref="cretno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_nopypat.col==grd_nopypat.colRef("memo") || grd_nopypat.col==grd_nopypat.colRef("bigo") || grd_nopypat.col==grd_nopypat.colRef("newpayflag") || grd_nopypat.col==grd_nopypat.colRef("sugicode")){
- model.makeValue("/root/send/savedata", grd_nopypat.getUpdateData("update"));
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_nopypat.gridToInstance();
- ]]>
- </script>
- <!--
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- event.preventDefault();
- if (event.keyCode == "13") {
- grd_nopypat.valueMatrix(grd_nopypat.row, grd_nopypat.col) += "\n";
- grd_nopypat.editCell();
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- event.preventDefault();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- event.preventDefault();
- ]]>
- </script>
- -->
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|