123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?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>
- <statslist/>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <suppdeptcd/>
- <formflag>2</formflag>
- <drugflag1/>
- <drugflag2/>
- <srchdeptcd/>
- <srchdrid/>
- <drugflag1all/>
- <drugflag2all/>
- <checkd/>
- <checkc/>
- <checkt/>
- </send>
- <init>
- <drugflag1/>
- <drugflag2/>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
- // 진료과/진료의 조회
- //submit("TRPMOCOM01");
-
- var rdo_children = rdo_formcd.children;
- rdo_children.item(1).attribute("disable") = true;
- model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/send/srchfromdd", getCurrentDate());
- model.setValue("/root/send/srchtodd", getCurrentDate());
- //model.setValue("/root/send/srchioflag", "전체"); //2010-02-02 Form Load시 오류발생 막음.
- model.setValue("/root/send/formflag", "1");
- model.setValue("/root/init/drugflag1", "I O");
- model.setValue("/root/init/drugflag2", "D C T 1");
- model.setValue("/root/send/drugflag1all", "전체");
- model.setValue("/root/send/drugflag2all", "전체");
- model.refresh();
-
- makeReportPreview(0,100,1195,620);
- ]]>
- </script>
- <submission id="TRADS01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- </model>
- </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:200px; height:14px; ">기간별 특수조제실 조제량 통계</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line2" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:35px; "/>
- <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/checkd", "");
- model.setValue("/root/send/checkc", "");
- model.setValue("/root/send/checkt", "");
- if ( model.getValue("/root/init/drugflag2").indexOf("D") > -1) {
- model.setValue("/root/send/checkd", "Y");
- }
- if ( model.getValue("/root/init/drugflag2").indexOf("C") > -1) {
- model.setValue("/root/send/checkc", "Y");
- }
- if ( model.getValue("/root/init/drugflag2").indexOf("T") > -1) {
- model.setValue("/root/send/checkt", "Y");
- }
- model.refresh();
-
- //처방구분
- var drugflag1 = model.getValue("/root/init/drugflag1");
- var temp="";
- var drugflagData = drugflag1.split(" ");
- for(var i = 0; i < drugflagData.length; ++i) {
- if (i == 0 ) temp = "'" + drugflagData[i] + "'";
- else temp += ",'" + drugflagData[i] + "'" ;
- }
- model.setValue("/root/send/drugflag1", temp);
- //약품종류
- var drugflag2 = model.getValue("/root/init/drugflag2");
- var temp="";
- var drugflagData = drugflag2.split(" ");
- for(var i = 0; i < drugflagData.length; ++i) {
- if (drugflagData[i] == "T") drugflagData[i] = "B','T','Q" ; //B:소아TPN T:TPN Q:시판품
- if (i == 0 ) temp = "'" + drugflagData[i] + "'";
- else temp += ",'" + drugflagData[i] + "'" ;
- }
- model.setValue("/root/send/drugflag2", temp);
-
- if(submit("TRADS01201")){
- exeReportPreview("RPADS01201", "XMLSTR", "/root/main/statslist/item");
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:10px; width:86px; height:17px; ">일자 :</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:85px; top:10px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:188px; top:10px; width:87px; height:19px; "/>
- <caption id="caption5" class="search_no_b" style="left:173px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption4" class="search_name" style="left:285px; top:10px; width:86px; height:17px; ">통계양식 :</caption>
- <caption id="caption7" class="search_name" style="left:485px; top:10px; width:86px; height:17px; ">처방구분 :</caption>
- <select1 id="rdo_formcd" ref="/root/send/formflag" class="radio_search" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:375px; top:10px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>연별</label>
- <value>1</value>
- </item>
- <item>
- <label>월별</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select id="chk_drugflag1" ref="/root/init/drugflag1" overflow="visible" appearance="full" cols="2" style="left:574px; top:10px; width:96px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>재원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/init/drugflag1").length == "3")
- {
- chk_drugflag1all.select(0);
- }
- else
- {
- chk_drugflag1all.deselect(0);
- }
- ]]>
- </script>
- </select>
- <select id="chk_drugflag1all" ref="/root/send/drugflag1all" overflow="visible" appearance="full" cols="3" style="left:667px; top:10px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>전체</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/send/drugflag1all") == "전체")
- {
- chk_drugflag1.select(0);
- chk_drugflag1.select(1);
- }
- else
- {
- chk_drugflag1.deselect(0);
- chk_drugflag1.deselect(1);
- }
- ]]>
- </script>
- </select>
- <select id="chk_drugflag2all" ref="/root/send/drugflag2all" overflow="visible" appearance="full" cols="3" style="left:1057px; top:10px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>전체</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/send/drugflag2all") == "전체")
- {
- chk_drugflag2.select(0);
- chk_drugflag2.select(1);
- chk_drugflag2.select(2);
- chk_drugflag2.select(3);
- }
- else
- {
- chk_drugflag2.deselect(0);
- chk_drugflag2.deselect(1);
- chk_drugflag2.deselect(2);
- chk_drugflag2.deselect(3);
- }
- ]]>
- </script>
- </select>
- <caption id="caption1" class="search_name" style="left:723px; top:10px; width:86px; height:17px; ">약품종류 :</caption>
- <select id="chk_drugflag2" ref="/root/init/drugflag2" overflow="visible" appearance="full" cols="4" style="left:812px; top:10px; width:248px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>항암제</label>
- <value>D</value>
- </item>
- <item>
- <label>무균조제</label>
- <value>C</value>
- </item>
- <item>
- <label>TPN</label>
- <value>T</value>
- </item>
- <item>
- <label>면역억제제</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/init/drugflag2").length == "7")
- {
- chk_drugflag2all.select(0);
- }
- else
- {
- chk_drugflag2all.deselect(0);
- }
- ]]>
- </script>
- </select>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|