123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- <?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>
- <item>
- <grid>
- <deptname/>
- <deptcode/>
- <firstclinic_general_normal_prev/>
- <firstclinic_general_normal/>
- <firstclinic_general_selection_prev/>
- <firstclinic_general_selection/>
- <firstclinic_healthinsurance_normal_prev/>
- <firstclinic_healthinsurance_normal/>
- <firstclinic_healthinsurance_selection_prev/>
- <firstclinic_healthinsurance_selection/>
- <firstclinic_medservice_normal_prev/>
- <firstclinic_medservice_normal/>
- <firstclinic_medservice_selection_prev/>
- <firstclinic_medservice_selection/>
- <firstclinic_carinsurance_normal_prev/>
- <firstclinic_carinsurance_normal/>
- <firstclinic_carinsurance_selection_prev/>
- <firstclinic_carinsurance_selection/>
- <firstclinic_subtotal_prev/>
- <firstclinic_subtotal/>
- <midclinic_general_normal_prev/>
- <midclinic_general_normal/>
- <midclinic_general_selection_prev/>
- <midclinic_general_selection/>
- <midclinic_healthinsurance_normal_prev/>
- <midclinic_healthinsurance_normal/>
- <midclinic_healthinsurance_selection_prev/>
- <midclinic_healthinsurance_selection/>
- <midclinic_medservice_normal_prev/>
- <midclinic_medservice_normal/>
- <midclinic_medservice_selection_prev/>
- <midclinic_medservice_selection/>
- <midclinic_carinsurance_normal_prev/>
- <midclinic_carinsurance_normal/>
- <midclinic_carinsurance_selection_prev/>
- <midclinic_carinsurance_selection/>
- <midclinic_subtotal_prev/>
- <midclinic_subtotal/>
- <total_general_normal_prev/>
- <total_general_normal/>
- <total_general_selection_prev/>
- <total_general_selection/>
- <total_healthinsurance_normal_prev/>
- <total_healthinsurance_normal/>
- <total_healthinsurance_selection_prev/>
- <total_healthinsurance_selection/>
- <total_medservice_normal_prev/>
- <total_medservice_normal/>
- <total_medservice_selection_prev/>
- <total_medservice_selection/>
- <total_carinsurance_normal_prev/>
- <total_carinsurance_normal/>
- <total_carinsurance_selection_prev/>
- <total_carinsurance_selection/>
- <total_subtotal_prev/>
- <total_subtotal/>
- <total_internet/>
- <classfieddept/>
- <specialclinic/>
- <perfirstclinic/>
- <reservation/>
- <giveback/>
- </grid>
- </item>
- <condition_start/>
- <condition_end/>
- <fromdd/>
- <todd/>
- </main>
- <send>
- <startcondition/>
- <endcondition/>
- <searchstartdate/>
- <searchenddate/>
- </send>
- </root>
- </instance>
- <submission id="TRMRS01011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/item"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finitialize();
- ]]>
- </script>
- <bind id="PercentPerDept" ref="/root/main/item/grid/classfieddept" calculate="SUM(../total_subtotal) * 100" type="xsd:int"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /*
- 버튼 컨트롤들을 클릭했을때 공통으로 타는 함수입니다.
- control : "search" 는 조회 버튼 클릭
- "init"은 신규 버튼 클릭
- "save"는 저장 버튼 클릭
- grid : 그리드 컨트롤을 넘겨줍니다.
- param : 기타 param을 넘겨줍니다.
- */
- function fClicked(control, grid, param){
- if ("search" == control){
- fSearchClick(grid, param);
- model.resetInstanceNode("/root/send");
- } else if ("init" == control){
- model.reset();
- } else {
- messageBox("처리를 수행","E002");
- }
- model.refresh();
- }
-
- /*
- 조회버튼 클릭 타는 함수
- */
- function fSearchClick(grid,param)
- {
- model.removeNodeset("/root/main/item/grid");
- grid.rebuild();
-
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/searchstartdate", model.getValue("/root/main/fromdd") );
- model.setValue("/root/send/searchenddate", model.getValue("/root/main/todd") );
- model.setValue("/root/send/startcondition", model.getValue("/root/main/condition_start") );
- model.setValue("/root/send/endcondition", model.getValue("/root/main/condition_end") );
-
- submit("TRMRS01011");
- }
- ]]>
- </script>
- <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="../../../emr/emrstatsweb/js/SMMRS01000.js"/>
- </xhtml:head>
- <xhtml:body>
- <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:106px; height:13px; ">외래환자현황</caption>
- </group>
- <shape id="roundrect2" appearance="roundrect" style="left:0px; top:20px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line2" style="x1:325px; y1:42px; x2:325px; y2:64px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption3" class="tit_2" style="left:0px; top:90px; width:157px; height:13px; ">외래환자현황</caption>
- <caption id="caption1" class="search_name" style="left:11px; top:43px; width:86px; height:17px; ">조회기간 :</caption>
- <input id="input5" ref="/root/main/fromdd" class="input_search" inputtype="date" style="left:100px; top:43px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var searchStart = model.getValue("/root/main/fromdd");
- // DB 쿼리의 조회 조건을 설정
- var StartDate = fChangeDate(searchStart, 1);
-
- model.setValue("/root/send/searchstartdate", searchStart);
- model.setValue("/root/main/fromdd", searchStart);
-
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:203px; top:44px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="input1" ref="/root/main/todd" class="input_search" inputtype="date" style="left:217px; top:43px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var searchEnd = model.getValue("/root/main/todd");
- // DB 쿼리의 조회 조건을 설정
- var EndDate = fChangeDate(searchEnd, 0);
-
- model.setValue("/root/send/searchenddate", searchEnd);
- model.setValue("/root/main/todd", searchEnd);
- model.refresh();
- ]]>
- </script>
- </input>
- <line id="line23" class="line_1" style="x1:0px; y1:105px; x2:1195px; y2:105px; "/>
- <button id="button1" class="btn1_letter2" style="left:1055px; top:43px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var searchStart = model.getValue("/root/send/searchstartdate");
- var searchEnd = model.getValue("/root/send/searchenddate");
-
- if ( fValidDate(searchStart, searchEnd) )
- {
- fClicked("search", grd_statslist);
-
- //
- //fCalculateStats();
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_statslist" nodeset="/root/main/item/grid" scroll="auto" backcoloralternate="#ffff9d" caption="진료과^진료과^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^초 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^재 진^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^합 계^과별^특진^초진^예약^반환|진료과^진료과^일반^일반^일반^일반^건강보험^건강보험^건강보험^건강보험^의료보호^의료보호^의료보호^의료보호^자동차보험^자동차보험^자동차보험^자동차보험^소계^소계^일반^일반^일반^일반^건강보험^건강보험^건강보험^건강보험^의료보호^의료보호^의료보호^의료보호^자동차보험^자동차보험^자동차보험^자동차보험^소계^소계^일반^일반^일반^일반^건강보험^건강보험^건강보험^건강보험^의료보호^의료보호^의료보호^의료보호^자동차보험^자동차보험^자동차보험^자동차보험^소계^소계^전화^과별^특진^초진^예약^반환|진료과^진료과코드^일반(전월)^일반 ^선택(전월)^선택^일반(전월)^일반^선택(전월)^선택^일반(전월)^일반^선택(전월)^선택^일반(전월)^일반^선택(전월)^선택^소계(전월)^소계^일반(전월)^일반 ^선택(전월)^선택^일반(전월)^일반^선택(전월)^선택^일반(전월)^일반^선택(전월)^선택^일반(전월)^일반^선택(전월)^선택^소계(전월)^소계^일반(전월)^일반 ^선택(전월)^선택^일반(전월)^일반^선택(전월)^선택^일반(전월)^일반^선택(전월)^선택^일반 Prev^일반^선택(전월)^선택^소계(전월)^소계 ^인터넷^과별^특진^초진^예약^반환" colsep="^" colwidth="100, 100, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45" fixedcols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:110px; width:1195px; height:605px; ">
- <col ref="deptname"/>
- <col ref="deptcode"/>
- <col ref="firstclinic_general_normal_prev" style="text-align:right; "/>
- <col ref="firstclinic_general_normal" style="text-align:right; "/>
- <col ref="firstclinic_general_selection_prev" style="text-align:right; "/>
- <col ref="firstclinic_general_selection" style="text-align:right; "/>
- <col ref="firstclinic_healthinsurance_normal_prev" style="text-align:right; "/>
- <col ref="firstclinic_healthinsurance_normal" style="text-align:right; "/>
- <col ref="firstclinic_healthinsurance_selection_prev" style="text-align:right; "/>
- <col ref="firstclinic_healthinsurance_selection" style="text-align:right; "/>
- <col ref="firstclinic_medservice_normal_prev" style="text-align:right; "/>
- <col ref="firstclinic_medservice_normal" style="text-align:right; "/>
- <col ref="firstclinic_medservice_selection_prev" style="text-align:right; "/>
- <col ref="firstclinic_medservice_selection" style="text-align:right; "/>
- <col ref="firstclinic_carinsurance_normal_prev" style="text-align:right; "/>
- <col ref="firstclinic_carinsurance_normal" style="text-align:right; "/>
- <col ref="firstclinic_carinsurance_selection_prev" style="text-align:right; "/>
- <col ref="firstclinic_carinsurance_selection" style="text-align:right; "/>
- <col ref="firstclinic_subtotal_prev" style="text-align:right; "/>
- <col ref="firstclinic_subtotal" style="text-align:right; "/>
- <col ref="midclinic_general_normal_prev" style="text-align:right; "/>
- <col ref="midclinic_general_normal" style="text-align:right; "/>
- <col ref="midclinic_general_selection_prev" style="text-align:right; "/>
- <col ref="midclinic_general_selection" style="text-align:right; "/>
- <col ref="midclinic_healthinsurance_normal_prev" style="text-align:right; "/>
- <col ref="midclinic_healthinsurance_normal" style="text-align:right; "/>
- <col ref="midclinic_healthinsurance_selection_prev" style="text-align:right; "/>
- <col ref="midclinic_healthinsurance_selection" style="text-align:right; "/>
- <col ref="midclinic_medservice_normal_prev" style="text-align:right; "/>
- <col ref="midclinic_medservice_normal" style="text-align:right; "/>
- <col ref="midclinic_medservice_selection_prev" style="text-align:right; "/>
- <col ref="midclinic_medservice_selection" style="text-align:right; "/>
- <col ref="midclinic_carinsurance_normal_prev" style="text-align:right; "/>
- <col ref="midclinic_carinsurance_normal" style="text-align:right; "/>
- <col ref="midclinic_carinsurance_selection_prev" style="text-align:right; "/>
- <col ref="midclinic_carinsurance_selection" style="text-align:right; "/>
- <col ref="midclinic_subtotal_prev" style="text-align:right; "/>
- <col ref="midclinic_subtotal" style="text-align:right; "/>
- <col ref="total_general_normal_prev" style="text-align:right; "/>
- <col ref="total_general_normal" style="text-align:right; "/>
- <col ref="total_general_selection_prev" style="text-align:right; "/>
- <col ref="total_general_selection" style="text-align:right; "/>
- <col ref="total_healthinsurance_normal_prev" style="text-align:right; "/>
- <col ref="total_healthinsurance_normal" style="text-align:right; "/>
- <col ref="total_healthinsurance_selection_prev" style="text-align:right; "/>
- <col ref="total_healthinsurance_selection" style="text-align:right; "/>
- <col ref="total_medservice_normal_prev" style="text-align:right; "/>
- <col ref="total_medservice_normal" style="text-align:right; "/>
- <col ref="total_medservice_selection_prev" style="text-align:right; "/>
- <col ref="total_medservice_selection" style="text-align:right; "/>
- <col ref="total_carinsurance_normal_prev" style="text-align:right; "/>
- <col ref="total_carinsurance_normal" style="text-align:right; "/>
- <col ref="total_carinsurance_selection_prev" style="text-align:right; "/>
- <col ref="total_carinsurance_selection" style="text-align:right; "/>
- <col ref="total_subtotal_prev" style="text-align:right; "/>
- <col ref="total_subtotal" style="text-align:right; "/>
- <col ref="total_internet" style="text-align:right; "/>
- <col ref="classfieddept" style="text-align:right; "/>
- <col ref="specialclinic" style="text-align:right; "/>
- <col ref="perfirstclinic" style="text-align:right; "/>
- <col ref="reservation" style="text-align:right; "/>
- <col ref="giveback" style="text-align:right; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //alert("aaa");
- model.recalculate();
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="button3" class="btn1_letter2" style="left:1121px; top:43px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- messageBox("기능 구현중","E008");
- ]]>
- </script>
- </button>
- <line id="line5" style="x1:1045px; y1:30px; x2:1045px; y2:75px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_ex" class="btn2_letter2" style="left:1153px; top:85px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|