123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <condition>
- <fromdd/>
- <todd/>
- <orddeptcd/>
- <subdeptcd/>
- <medispclid/>
- </condition>
- <geneinjeinfo>
- <geneinjeinfolist/>
- <statsdatalist>
- <prvn/>
- <cncr/>
- <bio/>
- <gnrl/>
- <sap/>
- <blod/>
- <tret/>
- <etc/>
- <tot/>
- <mouth/>
- </statsdatalist>
- </geneinjeinfo>
- </main>
- <send>
- <reqdata/>
- <fromdd/>
- <todd/>
- </send>
- <init>
- <orddept>
- <dept/>
- </orddept>
- <info/>
- <userlist>
- <usercombo>
- <userid/>
- <usernm/>
- </usercombo>
- </userlist>
- <subdeptinfo>
- <subdeptlist/>
- </subdeptinfo>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //진료과
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept" , "D"); //부서코드 콤보
- addComboInstance("/root/init/orddept" , "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
- addComboInstance("/root/init/subdeptinfo" , "subdeptcd^subdeptnm", "-^전체", "subdeptlist"); //부서콤보 Item '전체'추가
-
- //전문의
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , getUserInfo("dutplcecd"), "0330", "", "M");
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
-
-
- //초기값 셋팅
- model.setValue("/root/main/condition/orddeptcd" , "-");
- model.setValue("/root/main/condition/medispclid" , "-");
- model.removeNodeset(grd_genrinjlst.nodeset );
-
- cap_total.value = "총 0 명";
- model.setValue("/root/main/condition/fromdd", getCurrentDate());
- model.setValue("/root/main/condition/todd" , getCurrentDate());
- model.refresh();
- ]]>
- </script>
- <submission id="TRMCT00102" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/geneinjeinfo"/>
- <submission id="TRMMB04101" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMMB04102" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMMB04103" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMMB04106" method="post" mediatype="application/x-www-form-urlencoded"/>
- </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"/>
- <script type="javascript" src="../../../emr/emrctlweb/js/MCT001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body accesskey="f2" 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; "/>
- <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:30px; width:90px; height:19px; "/>
- <input id="input1" ref="/root/main/condition/todd" class="input_s_essential" inputtype="date" style="left:185px; top:30px; width:90px; height:19px; "/>
- <select1 id="cmb_orddept" ref="/root/main/condition/orddeptcd" class="combo_search" appearance="minimal" editmode="search" style="left:380px; top:31px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetMedDr("", cmb_orddept.value ) ;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_medispclid" ref="/root/main/condition/medispclid" class="combo_search" appearance="minimal" itemcount="30" style="left:590px; top:31px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_req" class="btn1_letter2" style="left:1120px; top:30px; 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_genrinjlst.nodeset);
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/geneinjeinfo/statsdatalist");
-
- model.copyNode("/root/send", "/root/main/condition");
-
-
- if( model.getValue("/root/send/orddeptcd") == "-" ) model.setValue("/root/send/orddeptcd", "");
- if( model.getValue("/root/send/medispclid") == "-" ) model.setValue("/root/send/medispclid", "");
-
- submit("TRMCT00102");
-
- var nodelst = instance1.selectNodes(grd_genrinjlst.nodeset );
- cnt = nodelst.length;
- cap_total.value = "총 " + cnt + " 건";
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/tot", nodelst.length);
- //예방
- nodelst = instance1.selectNodes(grd_genrinjlst.nodeset + "[cdflag='예방']");
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/prvn", nodelst.length);
- //항암
- nodelst = instance1.selectNodes(grd_genrinjlst.nodeset + "[cdflag='항암']");
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/cncr", nodelst.length);
- //항생
- nodelst = instance1.selectNodes(grd_genrinjlst.nodeset + "[cdflag='항생']");
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/bio", nodelst.length);
- //일반
- nodelst = instance1.selectNodes(grd_genrinjlst.nodeset + "[cdflag='일반']");
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/gnrl", nodelst.length);
- //수액
- nodelst = instance1.selectNodes(grd_genrinjlst.nodeset + "[cdflag='수액']");
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/sap", nodelst.length);
- //혈액
- nodelst = instance1.selectNodes(grd_genrinjlst.nodeset + "[cdflag='혈액']");
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/blod", nodelst.length);
- //처치
- nodelst = instance1.selectNodes(grd_genrinjlst.nodeset + "[cdflag='처치']");
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/tret", nodelst.length);
- //기타
- nodelst = instance1.selectNodes(grd_genrinjlst.nodeset + "[cdflag='기타']");
- model.makeValue("/root/main/geneinjeinfo/statsdatalist/etc", nodelst.length);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" style="left:174px; top:32px; width:15px; height:15px; ">~</caption>
- <caption id="caption9" class="search_name" style="left:15px; top:30px; width:86px; height:17px; ">기간 :</caption>
- <datagrid id="grd_genrinjlst" nodeset="/root/main/geneinjeinfo/geneinjeinfolist" caption="센터^과^주치의^환자ID^환자이름^구분^진단명^예약일시^처방일시^시행일시" colwidth="92, 93, 69, 100, 81, 45, 252, 143, 160, 154" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" tooltip="true" style="left:3px; top:91px; width:1187px; height:639px; ">
- <col ref="cent"/>
- <col ref="depthngnm"/>
- <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="diaghngnm"/>
- <col ref="rsrvdd" format="yyyy-mm-dd hh:mm" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
- <col ref="execdd" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
- </datagrid>
- <caption id="cap_total" class="search_name" style="left:965px; top:30px; width:125px; height:17px; ">총 0 건</caption>
- <caption id="caption1" class="search_name" style="left:511px; top:31px; width:76px; height:17px; ">주 치 의</caption>
- <caption id="caption14" class="search_name" visibility="hidden" style="left:711px; top:60px; width:76px; height:17px; ">세 부 과</caption>
- <select1 id="cmb_subdept" ref="/root/main/condition/subdeptcd" class="combo" visibility="hidden" appearance="minimal" style="left:790px; top:60px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/subdeptinfo/subdeptlist">
- <label ref="subdeptnm"/>
- <value ref="subdeptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:301px; top:31px; width:76px; height:17px; ">진 료 과</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_genrinjlst.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/geneinjeinfo/statsdatalist/gnrl" class="output_fix" format="#,###" style="left:418px; top:757px; width:70px; height:19px; text-align:right; "/>
- <output id="opt_inj" ref="/root/main/geneinjeinfo/statsdatalist/tret" class="output_fix" format="#,###" style="left:784px; top:757px; width:70px; height:19px; text-align:right; "/>
- <output id="opt_totcnt" ref="/root/main/geneinjeinfo/statsdatalist/tot" class="output_fix" format="#,###" style="left:1075px; top:756px; width:115px; height:19px; text-align:right; "/>
- <line id="line10" class="line_1" style="x1:3px; y1:750px; x2:1190px; y2:750px; "/>
- <line id="line11" class="line_3" style="x1:3px; y1:778px; x2:1190px; y2:778px; "/>
- <output id="opt_cure" ref="/root/main/geneinjeinfo/statsdatalist/etc" class="output_fix" format="#,###" style="left:906px; top:756px; width:70px; height:19px; text-align:right; "/>
- <caption id="caption2" class="cell_1" style="left:369px; top:755px; width:46px; height:23px; vertical-align:middle; ">일반</caption>
- <output id="opt_antibio" ref="/root/main/geneinjeinfo/statsdatalist/bio" class="output_fix" format="#,###" style="left:296px; top:757px; width:70px; height:19px; text-align:right; "/>
- <caption id="caption3" class="cell_1" style="left:613px; top:755px; width:46px; height:23px; vertical-align:middle; ">혈액</caption>
- <caption id="caption11" class="cell_1" style="left:3px; top:755px; width:46px; height:23px; vertical-align:middle; ">예방</caption>
- <caption id="caption4" class="cell_1" style="left:735px; top:755px; width:46px; height:23px; vertical-align:middle; ">처치</caption>
- <caption id="caption12" class="cell_1" style="left:491px; top:755px; width:46px; height:23px; vertical-align:middle; ">수액</caption>
- <caption id="caption5" class="cell_1" style="left:125px; top:755px; width:46px; height:23px; vertical-align:middle; ">항암</caption>
- <caption id="caption6" class="tit_2" style="left:10px; top:735px; width:170px; height:13px; ">통계 건수</caption>
- <caption id="caption10" class="cell_1" style="left:247px; top:755px; width:46px; height:23px; vertical-align:middle; ">항생</caption>
- <caption id="caption15" class="cell_1" style="left:980px; top:754px; width:92px; height:23px; vertical-align:middle; ">총 건수</caption>
- <output id="opt_prvn" ref="/root/main/geneinjeinfo/statsdatalist/prvn" class="output_fix" format="#,###" style="left:52px; top:757px; width:70px; height:19px; text-align:right; "/>
- <output id="opt_anticncr" ref="/root/main/geneinjeinfo/statsdatalist/cncr" class="output_fix" format="#,###" style="left:174px; top:757px; width:70px; height:19px; text-align:right; "/>
- <output id="opt_sap" ref="/root/main/geneinjeinfo/statsdatalist/sap" class="output_fix" format="#,###" style="left:540px; top:757px; width:70px; height:19px; text-align:right; "/>
- <caption id="caption13" class="cell_1" style="left:857px; top:754px; width:46px; height:23px; vertical-align:middle; ">기타</caption>
- <output id="opt_blod" ref="/root/main/geneinjeinfo/statsdatalist/blod" class="output_fix" format="#,###" style="left:662px; top:757px; width:70px; height:19px; text-align:right; "/>
- </xhtml:body>
- </xhtml:html>
|