123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <?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>EMR차트현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <searchstartdate/>
- <searchenddate/>
- <condition_start/>
- <condition_end/>
- <item>
- <grid>
- <deptname/>
- <deptcode/>
- <hospitalization_emrChrt_Prv/>
- <hospitalization_emrChrt/>
- <hospitalization_paprChrt_Prv/>
- <hospitalization_paprChrt/>
- <ambulant_emrChrt_Prv/>
- <ambulant_emrChrt/>
- <ambulant_paprChrt_Prv/>
- <ambulant_paprChrt/>
- </grid>
- </item>
- </main>
- <send>
- <searchstartdate/>
- <searchenddate/>
- <startcondition/>
- <endcondition/>
- </send>
- </root>
- </instance>
- <submission id="TRMRS01031" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/item"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_statslist.colstyle(0,"data","color")="#6464ff";
-
- // 진료과 코드 컬럼 숨기기
- grd_statslist.colHidden(1) = true;
-
- for (var i = 1; i < grd_statslist.cols; i++)
- {
- if (i % 2 == 0)
- {
- grd_statslist.colHidden(i) = true;
- }
- }
- ]]>
- </script>
- <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/searchstartdate") );
- model.setValue("/root/send/searchenddate", model.getValue("/root/main/searchenddate") );
- model.setValue("/root/send/startcondition", model.getValue("/root/main/condition_start") );
- model.setValue("/root/send/endcondition", model.getValue("/root/main/condition_end") );
-
- submit("TRMRS01031");
- }
- ]]>
- </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/SMMRS01300.js"/>
- </xhtml:head>
- <xhtml:body>
- <shape id="roundrect2" appearance="roundrect" style="left:0px; top:20px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <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>
- <button id="button3" class="btn1_letter2" style="left:1121px; top:43px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- alert("기능 구현중입니다.");
- ]]>
- </script>
- </button>
- <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>
- <line id="line23" class="line_1" style="x1:0px; y1:105px; x2:1195px; y2:105px; "/>
- <caption id="caption1" class="search_name" style="left:11px; top:43px; width:86px; height:17px; ">조회기간 :</caption>
- <caption id="caption2" style="left:203px; top:44px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <caption id="caption3" class="tit_2" style="left:0px; top:90px; width:157px; height:13px; ">EMR차트현황</caption>
- <input id="input1" ref="/root/main/searchenddate" 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/searchenddate");
- // DB 쿼리의 조회 조건을 설정
- var EndDate = fChangeDate(searchEnd, 0);
-
- model.makeValue("/root/send/searchenddate", searchEnd);
- model.setValue("/root/main/searchenddate", searchEnd);
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input5" ref="/root/main/searchstartdate" 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/searchstartdate");
- // DB 쿼리의 조회 조건을 설정
- var StartDate = fChangeDate(searchStart, 1);
-
- model.makeValue("/root/send/searchstartdate", searchStart);
- model.setValue("/root/main/searchstartdate", searchStart);
- model.refresh();
- ]]>
- </script>
- </input>
- <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; ">EMR차트현황</caption>
- </group>
- <datagrid id="grd_statslist" nodeset="/root/main/item/grid" caption="진료과^진료과^입원^입원^입원^입원^외래^외래^외래^외래|진료과^진료코드^EMR차트(전월)^EMR차트^종이차트(전월)^종이차트^EMR차트(전월)^EMR차트^종이차트(전월)^종이차트" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:110px; width:1195px; height:605px; ">
- <col ref="deptname"/>
- <col ref="deptcode"/>
- <col ref="hospitalization_emrChrt_Prv"/>
- <col ref="hospitalization_emrChrt"/>
- <col ref="hospitalization_paprChrt_Prv"/>
- <col ref="hospitalization_paprChrt"/>
- <col ref="ambulant_emrChrt_Prv"/>
- <col ref="ambulant_emrChrt"/>
- <col ref="ambulant_paprChrt_Prv"/>
- <col ref="ambulant_paprChrt"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|