123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <cond>
- <fromdd/>
- <todd/>
- <opflag/>
- <stage/>
- <oppatflag/>
- <opplace/>
- </cond>
- <oppartinfo/>
- </main>
- <init>
- <op>
- <opflag>
- <cdid>-</cdid>
- <cdnm>전체</cdnm>
- </opflag>
- <opflag>
- <cdid>1</cdid>
- <cdnm>정규</cdnm>
- </opflag>
- <opflag>
- <cdid>2</cdid>
- <cdnm>응급</cdnm>
- </opflag>
- <stage>
- <cdid>01</cdid>
- <cdnm>간호단위</cdnm>
- </stage>
- <stage>
- <cdid>02</cdid>
- <cdnm>대기실</cdnm>
- </stage>
- <stage>
- <cdid>03</cdid>
- <cdnm>수술실</cdnm>
- </stage>
- <opflag>
- <cdid>3</cdid>
- <cdnm>추가</cdnm>
- </opflag>
- <oppatflag>
- <cdid>I</cdid>
- <cdnm>병동</cdnm>
- </oppatflag>
- <oppatflag>
- <cdid>D</cdid>
- <cdnm>외래(DSC)</cdnm>
- </oppatflag>
- <oppatflag>
- <cdid>-</cdid>
- <cdnm>전체</cdnm>
- </oppatflag>
- <opplace>
- <cdid>-</cdid>
- <cdnm>전체</cdnm>
- </opplace>
- <opplace>
- <cdid>01</cdid>
- <cdnm>일일수술실</cdnm>
- </opplace>
- <opplace>
- <cdid>02</cdid>
- <cdnm>중앙수술실</cdnm>
- </opplace>
- </op>
- </init>
- <send>
- <reqdata/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ipt_fromdd.value = getCurrentDate();
- ipt_todd.value = getCurrentDate();
-
- model.setValue("/root/main/cond/opflag", "-"); //수술구분 전체 디폴트 선택
- model.setValue("/root/main/cond/oppatflag", "-"); //수술환자구분 전체 디폴트 선택
- model.setValue("/root/main/cond/stage", "01"); //단계 간호단위 디폴트 선택
- model.setValue("/root/main/cond/opplace", "-"); //수술장소 디폴트 선택
-
-
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRMQR04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/oppartinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.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/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="670" pageheight="530" guideline="2,0;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <caption id="caption3" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">수술부위 표지율</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:645px; height:58px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:5px; top:30px; width:86px; height:17px; ">조회기간</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:85px; top:30px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 날짜 Validation Check
- if(ipt_fromdd.value !="") {
- if(ipt_fromdd.value > ipt_todd.value) {
- messageBox("종료일 이전 날자만 입력","I006");
- ipt_fromdd.value = getCurrentDate();
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:190px; top:30px; width:15px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:210px; top:30px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 날짜 Validation Check
- if(ipt_todd.value !="") {
- if(ipt_fromdd.value > ipt_todd.value) {
- messageBox("시작일 이후 날자만 입력","I006");
- ipt_todd.value = getCurrentDate();
- }
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:583px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(ipt_todd.value == "" || ipt_fromdd.value == "") {
- messageBox("날짜는", "I003");
- ipt_todd.value = getCurrentDate();
- ipt_fromdd.value = getCurrentDate();
- return;
- }
- if (submit("TRMQR04001") ) {
- for (i= 1; i < grd_oppartrate.rows; i++ ) {
- if (model.getValue("/root/main/oppartinfo/oppartlist[" + i + "]/seqno") =="2") {
- grd_oppartrate.rowStyle(parseInt(i)+ 1, "all", "background-color") = "#ffcc00";
- }
- }
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_oppartrate" nodeset="/root/main/oppartinfo/oppartlist" caption="perfdeptcd^진료과^집도의^총인원^예^예^아니오^아니오^해당없음|perfdeptcd^진료과^집도의^총인원^건수^비율^건수^비율^해당없음" colsep="^" colwidth="0, 110, 110, 60, 60, 70, 60, 70, 60" fixedcols="4" mergecellsfixedcols="bycolrec" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" style="left:0px; top:83px; width:645px; height:427px; ">
- <col ref="perfdeptcd" visibility="hidden"/>
- <col ref="depthngnm" style="text-align:center; "/>
- <col ref="usernm" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="totalcnt" style="text-align:center; "/>
- <col ref="yescnt" style="text-align:center; "/>
- <col ref="yesrate" style="text-align:center; "/>
- <col ref="nocnt" style="text-align:center; "/>
- <col ref="norate" style="text-align:center; "/>
- <col ref="nothingcnt" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_oppartrate.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:645px; y2:80px; "/>
- <button id="button1" class="btn2_letter4" style="left:575px; top:55px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var selectValue1 = true;
- var selectValue2 = 1;
- var today = getCurrentDate();
- var fileName = window.fileDialog("save", ",", false, "수술부위표지율_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- //grd_ordwaitlist.saveExcel(fileName, "sheetname:sheet1");
- grd_oppartrate.saveExcel(fileName, "sheetname:sheet1");
-
- }
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:5px; top:55px; width:85px; height:17px; ">수술구분</caption>
- <select1 id="combo1" ref="/root/main/cond/opflag" appearance="minimal" style="left:85px; top:55px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/op/opflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:190px; top:55px; width:85px; height:17px; ">단계별</caption>
- <select1 id="combo2" ref="/root/main/cond/stage" disabled="false" appearance="minimal" style="left:255px; top:55px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/op/stage">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption6" class="search_name" style="left:320px; top:30px; width:110px; height:17px; ">수술환자구분</caption>
- <select1 id="combo3" ref="/root/main/cond/oppatflag" appearance="minimal" style="left:425px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/op/oppatflag">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:365px; top:55px; width:80px; height:17px; ">수술장소</caption>
- <select1 id="combo4" ref="/root/main/cond/opplace" appearance="minimal" style="left:445px; top:55px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/op/opplace">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|