123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- <?xml version="1.0" encoding="UTF-16"?>
- <?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>
- <forgerInfo>
- <forgerInfolist/>
- </forgerInfo>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <srchcond/>
- </send>
- <init>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- <deptengabbr/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- <nmsp/>
- </orddridlist>
- </orddrid>
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </P0008list>
- </init>
- <temp/>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0008"), new Array("/root/init/P0008list"));
- pamGetDeptCDDrIDList();
- fInitialize();
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPAS00191" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/forgerInfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.removeNodeset("/root/main/forgerInfo/forgerInfolist");
- model.resetInstanceNode("/root/send");
-
-
- var srchcond = model.setValue("/root/send/srchcond", 'A');
- //날짜 세팅
- var curDate = getCurrentDate();
- model.setValue("/root/send/fromdd", curDate);
- model.setValue("/root/send/todd", curDate);
- model.refresh();
- }
-
- function fForgerInfolistPrint(){
-
- for (i = 1; i <= getNodesetCount("/root/main/forgerInfo/forgerInfolist"); i++) {
-
- model.setValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/ordtype",grd_forgerInfolist.labelmatrix(i, 1));
- // model.setValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddeptcd",grd_forgerInfolist.labelmatrix(i, 5));
- // model.setValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddrid",grd_forgerInfolist.labelmatrix(i, 6));
- model.setValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/insukind",grd_forgerInfolist.labelmatrix(i, 10));
- model.makeValue("/root/temp/print[" +i+"]/ordtype", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/ordtype"));
- model.makeValue("/root/temp/print[" +i+"]/pid", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/pid"));
- model.makeValue("/root/temp/print[" +i+"]/hngnm", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/hngnm"));
- model.makeValue("/root/temp/print[" +i+"]/orddd", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddd"));
- model.makeValue("/root/temp/print[" +i+"]/orddeptnm", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddeptnm"));
- model.makeValue("/root/temp/print[" +i+"]/orddrnm", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddrnm"));
- model.makeValue("/root/temp/print[" +i+"]/termhngnm", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/termhngnm"));
- model.makeValue("/root/temp/print[" +i+"]/totbamt", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/totbamt"));
- model.makeValue("/root/temp/print[" +i+"]/ownbamt", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/ownbamt"));
- model.makeValue("/root/temp/print[" +i+"]/insukind", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/insukind"));
- model.makeValue("/root/temp/print[" +i+"]/remfact", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/remfact"));
- model.makeValue("/root/temp/print[" +i+"]/fromdd", model.getValue("/root/send/fromdd"));
- model.makeValue("/root/temp/print[" +i+"]/todd", model.getValue("/root/send/todd"));
-
- }
- btn_search.dispatch("DOMActivate");
- //return;
- exeReportPreview("RPPAS00191", "XMLSTR", "","", "false","","","","","false");
-
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" 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:254px; height:14px; ">외국인 진료 현황</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group4" style="left:0px; top:14px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1134px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //입력부, 조회부 초기화 후, 조회
- model.removeNodeset("/root/main/forgerInfo/forgerInfolist");
-
- submit("TRPAS00191");
- ]]>
- </script>
- </button>
- <caption id="caption10" style="left:385px; top:9px; width:15px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:298px; top:9px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:400px; top:9px; width:85px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:209px; top:9px; width:97px; height:17px; ">조회기간 :</caption>
- <caption id="caption1" class="search_name" style="left:0px; top:9px; width:97px; height:17px; ">구분 :</caption>
- <select1 id="combo1" ref="/root/send/srchcond" appearance="minimal" style="left:64px; top:9px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </select1>
- <button id="button95" class="btn6_letter4" style="left:981px; top:7px; width:80px; height:22px; ">
- <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_forgerInfolist.saveExcel(fileName, "SheetName", true, true, "", "", "true");
- }
- ]]>
- </script>
- </button>
- </group>
- <col type="checkbox"/>
- <caption id="caption4" class="tit_2" style="left:6px; top:59px; width:131px; height:13px; ">외국인진료내역</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:74px; x2:1194px; y2:74px; "/>
- <datagrid id="grd_forgerInfolist" nodeset="/root/main/forgerInfo/forgerInfolist" class="datagrid2" caption="진료형태^등록번호^환자명^진료(처방)일자^진료과^주치의^상병^총진료비^본인부담액^환자유형^비고" colsep="^" colwidth="35, 85, 80, 100, 90, 80, 150, 100, 100, 100, 250" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:79px; width:1194px; height:661px; font-weight:bolder; ">
- <col ref="ordtype" type="combo">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="pid" style="text-align:center; "/>
- <col disabled="true" ref="hngnm" style="text-align:center; "/>
- <col disabled="true" ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="orddeptnm"/>
- <col disabled="true" ref="orddrnm"/>
- <col ref="termhngnm" format="hh:nn" style="text-align:center; "/>
- <col ref="totbamt" style="text-align:right; "/>
- <col ref="ownbamt" style="text-align:center; "/>
- <col ref="insukind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remfact" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_print" class="btn6_letter2" style="left:1070px; top:21px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fForgerInfolistPrint();
-
- // btn_search.dispatch("DOMActivate");
- // exeReportPreview("RPPAS00191", "XMLSTR", "","", "false","","","","","false");
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_saveSche7" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|