123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- <?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>1</formflag>
- <srchdeptcd/>
- <srchdrid/>
- <deptinfo>
- <deptflag/>
- </deptinfo>
- <baseinfo>
- <spcldrug/>
- <efcycd/>
- </baseinfo>
- <srchdata>
- <drugcd/>
- </srchdata>
- <srchwardcd/>
- </send>
- <init>
- </init>
- <hidden>
- <srchinfo>
- <wardcd/>
- <wardnm/>
- </srchinfo>
- <baseinfo>
- <spcldrug>
- <A0006/>
- </spcldrug>
- </baseinfo>
- <receivedrugcd>/root/send/srchdata/drugcd</receivedrugcd>
- <orddept>
- <dept/>
- </orddept>
- <receiveefcy>/root/send/baseinfo/efcycd</receiveefcy>
- </hidden>
- <temp>
- <srchinfo>
- <ward/>
- </srchinfo>
- <receivedata>
- <receiveref/>
- <srchflag/>
- <srchcnts/>
- <drugkind/>
- </receivedata>
- </temp>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- 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/formflag", "1");
-
- makeReportPreview(0,120,1195,570);
-
- //병동 Combo 조회
- model.setValue("/root/send/deptinfo/deptflag", "W");
- submit("TRADT10203");
- astfAddCombo("/root/hidden/deptlist", "ward", "wardcd,wardnm", "T,전체");
-
- // 진료과세팅
- zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/hidden/orddept"); //부서코드 콤보조회
- if ( model.instances(0).selectSingleNode("/root/hidden/orddept/dept") != null) {
- astfAddCombo("/root/hidden/orddept","dept","deptcd,depthngnm",",전체");
- }
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRADS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statslist"/>
- <submission id="TRADT10203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptinfo" replace="instance" resultref="/root/hidden/deptlist"/>
- </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:105px; x2:1195px; y2:105px; "/>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:80px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line2" class="line_4" style="x1:1110px; y1:10px; x2:1110px; y2:70px; "/>
- <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:29px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/srchwardcd", model.getValue("/root/temp/srchinfo/ward"));
- model.refresh();
- if(submit("TRADS00801")){
- exeReportPreview("RPADS00801", "XMLSTR", "/root/main/statslist/item");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:110px; top:15px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:228px; top:15px; width:100px; height:19px; "/>
- <caption id="caption5" class="search_no_b" style="left:213px; top:15px; width:12px; height:17px; ">~</caption>
- <caption id="caption3" class="search_name" style="left:15px; top:16px; width:86px; height:17px; ">일자구간 :</caption>
- <caption id="caption4" class="search_name" style="left:685px; top:15px; width:86px; height:17px; ">통계양식 :</caption>
- <select1 id="rdo_formcd" ref="/root/send/formflag" class="radio_search" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:780px; top:15px; width:295px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>투약경로별</label>
- <value>1</value>
- </item>
- <item>
- <label>투약대기시간</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:345px; top:15px; width:86px; height:17px; ">병동 :</caption>
- <caption id="caption10" class="search_name" style="left:345px; top:40px; width:86px; height:17px; ">진료과 :</caption>
- <select1 id="cmb_orddept" ref="/root/send/srchdeptcd" class="combo_search" appearance="minimal" style="left:440px; top:40px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button2" class="icon_search" style="left:640px; top:15; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(chk_ward.visible==true){
- chk_ward.visible = false;
- }else {
- chk_ward.visible = true;
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_wardnm" ref="/root/hidden/srchinfo/wardnm" class="input_search" disabled="true" style="left:440px; top:15; width:196px; height:19px; "/>
- </group>
- <select id="chk_ward" ref="/root/temp/srchinfo/ward" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="8" direction="downacross" sep="," style="left:325px; top:45px; width:205px; height:15px; background-color:#e5eae9; border-style:none; ">
- <choices>
- <itemset nodeset="/root/hidden/deptlist/ward">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
- if(chk_ward.mouseRow == 0 && chk_ward.mouseCol == 0 ){
- if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
- model.setValue("/root/temp/srchinfo/ward", "T,2100300000,2110200000,2110201000,2280200000,2360800000,2361501000,3050107000,3050108000,3050109000,3050110000,3050112000,3050113000,3050115000,3050116000,3050118000,3050119000,3050120000,3050121000,3050122000,3050123000,3050135000,3050136000,3060000000,3060100000,3060200000,3060300000,3060400000,3060600000,3120400000");
- } else {
- //ipt_wardcd.value = "";
- //ipt_wardnm.value = "";
- model.setValue("/root/temp/srchinfo/ward", "");
- }
- model.refresh();
- }
- if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
- ipt_wardcd.value = chk_ward.value.substr(2,chk_ward.value.length);
- ipt_wardnm.value = chk_ward.label.substr(3,chk_ward.label.length);
- } else {
- ipt_wardcd.value = chk_ward.value;
- ipt_wardnm.value = chk_ward.label;
- }
- //input3.refresh();
- //검사실 체크박스 감추기
- //chk_excuroom.visible = false;
- ]]>
- </script>
- </select>
- <input id="ipt_wardcd" ref="/root/hidden/srchinfo/wardcd" class="input_search" visibility="hidden" style="left:535px; top:45px; width:140px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|