123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- <?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>
- <list>
- <item>
- <ioflag/>
- <roomcd/>
- <day01/>
- <day02/>
- <day03/>
- <day04/>
- <day05/>
- <day06/>
- <day07/>
- <day08/>
- <day09/>
- <day10/>
- <day11/>
- <day12/>
- <day13/>
- <day14/>
- <day15/>
- <day16/>
- <day17/>
- <day18/>
- <day19/>
- <day20/>
- <day21/>
- <day22/>
- <day23/>
- <day24/>
- <day25/>
- <day26/>
- <day27/>
- <day28/>
- <day29/>
- <day30/>
- <day31/>
- </item>
- </list>
- <isublist>
- <item>
- <ioflag/>
- <drugqty/>
- <cnt/>
- <total/>
- </item>
- </isublist>
- <osublist>
- <item>
- <ioflag/>
- <drugqty/>
- <cnt/>
- <total/>
- </item>
- </osublist>
- <examsum>
- <isum/>
- <osum/>
- <total/>
- </examsum>
- </main>
- <send>
- <srchdate/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <suppdeptcd/>
- <flag/>
- <srchyy/>
- <srchmm/>
- </send>
- <inti>
- <cmb_info/>
- </inti>
- <hidden/>
- <inti_com>
- <srchdate/>
- </inti_com>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
- // 진료과/진료의 조회
- model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
-
- model.removenode("/root/main/list");
- model.removenode("/root/main/isublist");
- model.removenode("/root/main/osublist");
-
- model.setValue("/root/send/srchdate",getCurrentDate().substr(0,6));
- model.refresh();
- ]]>
- </script>
- <submission id="TRAES09001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRAES02200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRAES02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list2"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function mkDate(){
- // var startyy = "";
- //
- // for(i=8; 0<=i; i--) {
- // startyy = getCurrentDate().toDate().getAddDate(-i,"Y").getDateFormat().substr(0,4);
- // addComboItem("cmb_srchdd",startyy +"년",startyy,"above");
- // }
- // cmb_srchdd.value = getCurrentDate().substr(0,4);
- // cmb_srchmm.value = getCurrentDate().substr(4,2);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:335px; height:13px; ">핵의학체내 방사선 동위원소 치료현황(일별)</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:58px; width:278px; height:14px; ">핵의학체내 방사선 동위원소 치료현황(일별)</caption>
- <button id="btn_excsave" class="btn2_letter4" visibility="visible" style="left:1130px; top:53px; 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 (*.*)|*.*");
- if (fileName != "")
- {
- grd_list.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:37px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:31px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/sublist");
- model.removenode("/root/main/isublist");
- model.removenode("/root/main/osublist");
-
- if (submit("TRAES02200",false)) {
- grd_isublist.attribute("nodeset") = "/root/main/sublist/item[ioflag='입원']" ;
- grd_osublist.attribute("nodeset") = "/root/main/sublist/item[ioflag='외래']" ;
- grd_isublist.rebuild();
- grd_osublist.rebuild();
- var rowCnt = getNodesetCount("/root/main/sublist/item");
-
- var ioflag = "";
- var iSum = 0;
- var oSum = 0;
- var total = 0;
-
- for (i=1; i<=rowCnt; i++) {
-
- ioflag = model.getValue("/root/main/sublist/item[" + i + "]/ioflag");
- if (ioflag == "입원") {
- iSum = iSum + eval(model.getValue("/root/main/sublist/item[" + i + "]/cnt"));
- } else if (ioflag == "외래") {
- oSum = oSum + eval(model.getValue("/root/main/sublist/item[" + i + "]/cnt"));
- }
- }
- total = eval(iSum) + eval(oSum);
-
- model.makeValue("/root/main/examsum/isum", iSum);
- model.makeValue("/root/main/examsum/osum", oSum);
- model.makeValue("/root/main/examsum/total", total);
-
- model.refresh();
- }
- // datagrid1.subtotal("sum", -1, 1, "#,###", "background-color:#99ff99", 0, "합계");
- // for(i=2; i<11; i++) {
- // datagrid1.subtotal("sum", -1, i, "#,###");
- // }
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">일자 :</caption>
- <input id="input4" ref="/root/send/srchdate" class="input_default" navindex="1" inputtype="date" format="yyyy-mm" style="left:80px; top:10px; width:100px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:73px; x2:1195px; y2:73px; "/>
- <datagrid id="grd_list" nodeset="/root/main/list/item" caption="^^처방량^1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일^합계" colsep="^" colwidth="91, 74, 92, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40" frozencols="3" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:0px; top:75px; width:1195px; height:390px; ">
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="drugqty" style="text-align:right; "/>
- <col ref="day01" format="#,###" style="text-align:right; "/>
- <col ref="day02" format="#,###" style="text-align:right; "/>
- <col ref="day03" format="#,###" style="text-align:right; "/>
- <col ref="day04" format="#,###" style="text-align:right; "/>
- <col ref="day05" format="#,###" style="text-align:right; "/>
- <col ref="day06" format="#,###" style="text-align:right; "/>
- <col ref="day07" format="#,###" style="text-align:right; "/>
- <col ref="day08" format="#,###" style="text-align:right; "/>
- <col ref="day09" format="#,###" style="text-align:right; "/>
- <col ref="day10" format="#,###" style="text-align:right; "/>
- <col ref="day11" format="#,###" style="text-align:right; "/>
- <col ref="day12" format="#,###" style="text-align:right; "/>
- <col ref="day13" format="#,###" style="text-align:right; "/>
- <col ref="day14" format="#,###" style="text-align:right; "/>
- <col ref="day15" format="#,###" style="text-align:right; "/>
- <col ref="day16" format="#,###" style="text-align:right; "/>
- <col ref="day17" format="#,###" style="text-align:right; "/>
- <col ref="day18" format="#,###" style="text-align:right; "/>
- <col ref="day19" format="#,###" style="text-align:right; "/>
- <col ref="day20" format="#,###" style="text-align:right; "/>
- <col ref="day21" format="#,###" style="text-align:right; "/>
- <col ref="day22" format="#,###" style="text-align:right; "/>
- <col ref="day23" format="#,###" style="text-align:right; "/>
- <col ref="day24" format="#,###" style="text-align:right; "/>
- <col ref="day25" format="#,###" style="text-align:right; "/>
- <col ref="day26" format="#,###" style="text-align:right; "/>
- <col ref="day27" format="#,###" style="text-align:right; "/>
- <col ref="day28" format="#,###" style="text-align:right; "/>
- <col ref="day29" format="#,###" style="text-align:right; "/>
- <col ref="day30" format="#,###" style="text-align:right; "/>
- <col ref="day31" format="#,###" style="text-align:right; "/>
- <col ref="total" format="#,###" style="text-align:right; "/>
- </datagrid>
- <datagrid id="grd_isublist" nodeset="/root/main/isublist/item" caption="구분^처방량^건수" colsep="^" colwidth="75, 80, 80" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:470px; width:258px; height:140px; ">
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="drugqty" style="text-align:right; "/>
- <col ref="cnt" style="text-align:right; "/>
- </datagrid>
- <datagrid id="grd_osublist" nodeset="/root/main/osublist/item" caption="구분^처방량^건수" colsep="^" colwidth="75, 90, 90" mergecellsfixedrows="bycolrec" rowsep="|" style="left:265px; top:470px; width:258px; height:140px; ">
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="drugqty" style="text-align:right; "/>
- <col ref="cnt" style="text-align:right; "/>
- </datagrid>
- <caption id="caption8" class="cell_1" style="left:5px; top:613px; width:127px; height:23px; vertical-align:middle; ">병실합계</caption>
- <caption id="caption2" class="cell_1" style="left:265px; top:613px; width:127px; height:23px; vertical-align:middle; ">외래합계</caption>
- <caption id="caption4" class="cell_1" style="left:5px; top:639px; width:127px; height:23px; vertical-align:middle; ">총합계</caption>
- <input id="input1" ref="/root/main/examsum/isum" style="left:134px; top:615px; width:129px; height:19px; text-align:right; "/>
- <input id="input2" ref="/root/main/examsum/osum" style="left:394px; top:615px; width:129px; height:19px; text-align:right; "/>
- <input id="input3" ref="/root/main/examsum/total" style="left:134px; top:641px; width:389px; height:19px; text-align:right; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|