123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <?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>
- <condition>
- <fromdd/>
- <todd/>
- <orgordtype/>
- </condition>
- <specinjeinfo>
- <specinjeinfolist/>
- <statsdatalist>
- <prvn/>
- <cncr/>
- <bio/>
- <gnrl/>
- <sap/>
- <blod/>
- <tret/>
- <etc/>
- <tot/>
- <mouth/>
- </statsdatalist>
- </specinjeinfo>
- </main>
- <send>
- <reqdata>
- <fromdd/>
- <todd/>
- </reqdata>
- </send>
- <init>
- <orddept/>
- <info/>
- <userlist/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/main/condition/fromdd", getCurrentDate());
- model.setValue("/root/main/condition/todd" , getCurrentDate());
- cap_total.value = "총 0 건";
- model.removeNodeset(grd_specinjlst.nodeset);
- model.refresh();
- ]]>
- </script>
- <submission id="TRMCT00101" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/specinjeinfo"/>
- </model>
- <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="../../../emr/commonweb/js/EMRCommon.js"/>
- </xhtml:head>
- <xhtml:body accesskey="f2" guideline="2,763;2,765;2,763;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">특수주사실 이용 현황</caption>
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:1194px; height:40px; "/>
- <button id="btn_req" class="btn1_letter2" style="left:1120px; top:32px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var curTm = getCurrentTime();
-
- if( curTm< "170000" && curTm > "080000" ) {
- alert("업무시간에는 사용하실 수 없습니다. ( 08:00~ 17:00 ) " );
- return ;
- }
-
- var cnt = 0 ;
- cap_total.value = "총 " + cnt + " 건";
- model.removeNodeset(grd_specinjlst.nodeset);
- model.resetInstanceNode("/root/main/specinjeinfo/statsdatalist");
- model.resetInstanceNode("/root/send/reqdata");
-
- model.copyNode("/root/send/reqdata", "/root/main/condition");
- /*var fromdd = model.getValue("/root/main/condition/fromdd");
- var todd = model.getValue("/root/main/condition/todd");
-
- model.setValue("/root/send/date/fromdd", fromdd);
- model.setValue("/root/send/date/todd", todd);
- */
-
- if( submit("TRMCT00101") ) {
- var nodelst = instance1.selectNodes(grd_specinjlst.nodeset );
- cnt = nodelst.length;
-
- cap_total.value = "총 " + cnt + " 건";
- model.makeValue(opt_totcnt.attribute("ref"), nodelst.length);
- //예방
- nodelst = instance1.selectNodes(grd_specinjlst.nodeset + "[cdflag='예방']");
- model.makeValue( opt_prvn.attribute("ref") , nodelst.length);
- //항암
- nodelst = instance1.selectNodes(grd_specinjlst.nodeset + "[cdflag='항암']");
- model.makeValue(opt_anticncr.attribute("ref") , nodelst.length);
- //항생
- nodelst = instance1.selectNodes(grd_specinjlst.nodeset + "[cdflag='항생']");
- model.makeValue(opt_antibio.attribute("ref") , nodelst.length);
- //일반
- nodelst = instance1.selectNodes(grd_specinjlst.nodeset + "[cdflag='일반']");
- model.makeValue(opt_gnrl.attribute("ref") , nodelst.length);
- //수액
- nodelst = instance1.selectNodes(grd_specinjlst.nodeset + "[cdflag='수액']");
- model.makeValue(opt_sap.attribute("ref") , nodelst.length);
- //혈액
- nodelst = instance1.selectNodes(grd_specinjlst.nodeset + "[cdflag='혈액']");
- model.makeValue(opt_blod.attribute("ref") , nodelst.length);
- //처치
- nodelst = instance1.selectNodes(grd_specinjlst.nodeset + "[cdflag='처치']");
- model.makeValue(opt_tret.attribute("ref") , nodelst.length);
- //기타
- nodelst = instance1.selectNodes(grd_specinjlst.nodeset + "[cdflag='기타']");
- model.makeValue(opt_etc.attribute("ref") , nodelst.length);
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line5" style="x1:1100px; y1:28px; x2:1100px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="tit_2" style="left:5px; top:68px; width:190px; height:13px; ">특수주사실 이용 현황 조회</caption>
- <line id="line1" class="line_1" style="x1:4px; y1:86px; x2:1191px; y2:87px; "/>
- <input id="input2" ref="/root/main/condition/fromdd" class="input_s_essential" inputtype="date" style="left:80px; top:32px; width:90px; height:19px; "/>
- <input id="input1" ref="/root/main/condition/todd" class="input_s_essential" inputtype="date" style="left:185px; top:32px; width:90px; height:19px; "/>
- <select1 id="radio2" ref="/root/main/condition/orgordtype" overflow="visible" appearance="full" cols="3" cellspacing="30" style="left:365px; top:30px; width:310px; height:25px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>암센터</label>
- <value>C</value>
- </item>
- <item>
- <label>BMT</label>
- <value>B</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" style="left:174px; top:34px; width:15px; height:15px; ">~</caption>
- <caption id="caption9" class="search_name" style="left:15px; top:32px; width:86px; height:17px; ">기 간 :</caption>
- <datagrid id="grd_specinjlst" nodeset="/root/main/specinjeinfo/specinjeinfolist" caption="센터^과^주치의^환자ID^환자이름^구분^진단코드^진단명^입실일시^퇴실일시^소요시간^소요시간" colwidth="77, 86, 73, 84, 85, 58, 100, 246, 123, 122, 51, 39" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" tooltip="true" style="left:3px; top:91px; width:1187px; height:619px; ">
- <col ref="cent" style="text-align:center; "/>
- <col ref="depthngnm" style="text-align:center; "/>
- <col ref="doctnm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="cdflag" style="text-align:center; "/>
- <col ref="diagcd" style="text-align:center; "/>
- <col ref="diaghngnm"/>
- <col ref="indd" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
- <col ref="caremm" style="text-align:center; "/>
- <col ref="caremm1" format="#,###min" style="text-align:center; "/>
- </datagrid>
- <caption id="caption1" class="search_name" style="left:295px; top:32px; width:86px; height:17px; ">구 분 :</caption>
- <caption id="cap_total" class="search_name" style="left:955px; top:32px; width:125px; height:17px; ">총 0 건</caption>
- <button id="button1" class="btn2_letter2" style="left:1149px; top:65px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var title = "특수주사실이용현황 (" + model.getValue("/root/main/condition/fromdd" ) + " ~ " + model.getValue("/root/main/condition/todd" ) ;
- //fsaveGridToExcel(grd_inpatinfolst, title);
-
- var fileName = window.fileDialog("save", ",", false, "특수주사실이용현황", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_specinjlst.saveExcel(fileName, "특수주사실이용현황", true, true, "", "", false);
- var s = fileName.lastIndexOf("\\");
- var fileName=fileName.substring(s+1);
-
- var rmsg = messageBox("저장된 Excel을", "Q004");
- if( rmsg == 6 ){
- window.exec("excel.exe", fileName);
- }
- }
- ]]>
- </script>
- </button>
- <output id="opt_gnrl" ref="/root/main/specinjeinfo/statsdatalist/gnrl" class="output_fix" format="#,###" style="left:434px; top:737px; width:75px; height:19px; text-align:right; "/>
- <output id="opt_tret" ref="/root/main/specinjeinfo/statsdatalist/tret" class="output_fix" format="#,###" style="left:817px; top:737px; width:75px; height:19px; text-align:right; "/>
- <line id="line10" class="line_1" style="x1:4px; y1:730px; x2:1191px; y2:730px; "/>
- <output id="opt_totcnt" ref="/root/main/specinjeinfo/statsdatalist/tot" class="output_fix" format="#,###" style="left:1098px; top:736px; width:90px; height:19px; text-align:right; "/>
- <line id="line11" class="line_3" style="x1:4px; y1:758px; x2:1191px; y2:758px; "/>
- <output id="opt_etc" ref="/root/main/specinjeinfo/statsdatalist/etc" class="output_fix" format="#,###" style="left:945px; top:737px; width:75px; height:19px; text-align:right; "/>
- <caption id="caption10" class="cell_1" style="left:258px; top:735px; width:46px; height:23px; vertical-align:middle; ">항생</caption>
- <caption id="caption11" class="cell_1" style="left:4px; top:735px; width:46px; height:23px; vertical-align:middle; ">예방</caption>
- <output id="opt_antibio" ref="/root/main/specinjeinfo/statsdatalist/bio" class="output_fix" format="#,###" style="left:307px; top:737px; width:75px; height:19px; text-align:right; "/>
- <caption id="caption2" class="cell_1" style="left:385px; top:735px; width:46px; height:23px; vertical-align:middle; ">일반</caption>
- <caption id="caption12" class="cell_1" style="left:513px; top:735px; width:46px; height:23px; vertical-align:middle; ">수액</caption>
- <caption id="caption3" class="cell_1" style="left:641px; top:735px; width:46px; height:23px; vertical-align:middle; ">혈액</caption>
- <caption id="caption13" class="cell_1" style="left:896px; top:735px; width:46px; height:23px; vertical-align:middle; ">기타</caption>
- <caption id="caption4" class="cell_1" style="left:768px; top:735px; width:46px; height:23px; vertical-align:middle; ">처치</caption>
- <caption id="caption5" class="cell_1" style="left:131px; top:735px; width:46px; height:23px; vertical-align:middle; ">항암</caption>
- <output id="opt_prvn" ref="/root/main/specinjeinfo/statsdatalist/prvn" class="output_fix" format="#,###" style="left:53px; top:737px; width:75px; height:19px; text-align:right; "/>
- <caption id="caption15" class="cell_1" style="left:1023px; top:734px; width:72px; height:23px; vertical-align:middle; ">총 건수</caption>
- <caption id="caption6" class="tit_2" style="left:5px; top:715px; width:170px; height:13px; ">통계 건수</caption>
- <output id="opt_anticncr" ref="/root/main/specinjeinfo/statsdatalist/cncr" class="output_fix" format="#,###" style="left:180px; top:737px; width:75px; height:19px; text-align:right; "/>
- <output id="opt_sap" ref="/root/main/specinjeinfo/statsdatalist/sap" class="output_fix" format="#,###" style="left:563px; top:737px; width:75px; height:19px; text-align:right; "/>
- <output id="opt_blod" ref="/root/main/specinjeinfo/statsdatalist/blod" class="output_fix" format="#,###" style="left:690px; top:737px; width:75px; height:19px; text-align:right; "/>
- </xhtml:body>
- </xhtml:html>
|