123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509 |
- <?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/>
- <orddeptcd/>
- <medispclid/>
- <wardcd/>
- <opt_ward>Y</opt_ward>
- <opt_orddept>Y</opt_orddept>
- <opt_orddr>Y</opt_orddr>
- <opt_all>Y</opt_all>
- </condition>
- <srchinfo>1</srchinfo>
- <dschresninfo>
- <dschresninfolist/>
- </dschresninfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <orddept/>
- <info/>
- <userlist/>
- <orddept2/>
- </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());
- model.refresh();*/
- fInit_SMMCT00103();
- ]]>
- </script>
- <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"/>
- <submission id="TRMCT00103" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/dschresninfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /*
- * @desc : 초기화
- */
- function fInit_SMMCT00103(){
- //병동
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept2", "W"); //병동코드 콤보
- addComboInstance("/root/init/orddept2" , "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
-
- //진료과
- 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/fromdd" , getCurrentDate());
- model.setValue("/root/main/condition/todd" , getCurrentDate());
- model.setValue("/root/main/condition/orddeptcd" , "-");
- model.setValue("/root/main/condition/wardcd" , "-");
- model.setValue("/root/main/condition/medispclid" , "-");
- model.removeNodeset(grd_resnlst.nodeset );
-
- cap_total.value = "총 0 건";
-
- model.refresh();
- }
-
- /**
- * @desc : 조회옵션에 따른 control 설정
- * @param : flag ( W:병동, D:진료과, M:주치의, NULL: 전체 )
- */
- function fSetCtrlStat( flag ){
- cmb_ward.disabled = true ;
- cmb_orddept.disabled = true ;
- cmb_medispclid.disabled = true ;
-
- grd_resnlst.colHidden(grd_resnlst.colRef("wardnm") ) = true ;
- grd_resnlst.colHidden(grd_resnlst.colRef("orddeptnm") ) = true ;
- grd_resnlst.colHidden(grd_resnlst.colRef("orddrnm") ) = true ;
-
- var opt_ward = chk_ward.value ;
- var opt_dept = chk_dept.value ;
- var opt_dr = chk_dr.value ;
- var opt_all = chk_all.value ;
-
- if( isNull(flag) ){
- if( opt_all == "Y" ) {
- cmb_ward.disabled = false ;
- cmb_orddept.disabled = false ;
- cmb_medispclid.disabled = false ;
-
- chk_ward.value = "Y";
- chk_dept.value = "Y";
- chk_dr.value = "Y";
-
- grd_resnlst.colHidden(grd_resnlst.colRef("wardnm") ) = false ;
- grd_resnlst.colHidden(grd_resnlst.colRef("orddeptnm") ) = false ;
- grd_resnlst.colHidden(grd_resnlst.colRef("orddrnm") ) = false ;
- } else {
- chk_ward.value = "";
- chk_dept.value = "";
- chk_dr.value = "";
- }
- } else {
- if ( opt_ward == "Y" ) {
- cmb_ward.disabled = false ;
- grd_resnlst.colHidden(grd_resnlst.colRef("wardnm") ) = false ;
- }
-
- if ( opt_dept == "Y" ) {
- cmb_orddept.disabled = false ;
- grd_resnlst.colHidden(grd_resnlst.colRef("orddeptnm") ) = false ;
- }
-
- if ( opt_dr == "Y" ) {
- chk_dept.value = "Y";
- cmb_orddept.disabled = false ;
- grd_resnlst.colHidden(grd_resnlst.colRef("orddeptnm") ) = false ;
- cmb_medispclid.disabled = false ;
- grd_resnlst.colHidden(grd_resnlst.colRef("orddrnm") ) = false ;
- }
- }
-
- btn_req.dispatch("DOMActivate");
-
- }
- ]]>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/emrctlweb/js/MCT001.js"/>
- </xhtml:head>
- <xhtml:body accesskey="f2" guideline="2,776;" 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:65px; "/>
- <button id="btn_req" class="btn1_letter2" style="left:1111px; top:44px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = 0 ;
- cap_total.value = "총 " + cnt + " 건";
- model.removeNodeset(grd_resnlst.nodeset);
- model.resetInstanceNode("/root/send");
-
- var fromdd = model.getValue("/root/main/condition/fromdd");
- var todd = model.getValue("/root/main/condition/todd");
- var srchinfo = model.getValue("/root/main/srchinfo");
-
- if ( srchinfo == "" ) {
- alert("조건 값이 없습니다. 조건값을 체크해 주세요.");
- return ;
- }
-
- if ( fromdd == "" || todd == "" ) {
- alert("퇴원일이 없습니다. 퇴원일을 넣어 주세요.");
- return ;
- }
-
- model.copyNode("/root/send/reqdata", "/root/main/condition");
- if( model.getValue("/root/send/reqdata/orddeptcd") == "-" ) model.setValue("/root/send/reqdata/orddeptcd", "");
- if( model.getValue("/root/send/reqdata/medispclid") == "-" ) model.setValue("/root/send/reqdata/medispclid", "");
- if( model.getValue("/root/send/reqdata/wardcd") == "-" ) model.setValue("/root/send/reqdata/wardcd", "");
-
- if( chk_ward.value != "Y" ) model.setValue("/root/send/reqdata/wardcd", "");
- if( chk_dept.value != "Y" ) model.setValue("/root/send/reqdata/orddeptcd", "");
- if( chk_dr.value != "Y" ) model.setValue("/root/send/reqdata/medispclid", "");
- /*
- model.setValue("/root/send/srchinfo", srchinfo);
- model.setValue("/root/send/fromdd", fromdd);
- model.setValue("/root/send/todd", todd);
- */
-
- submit("TRMCT00103");
-
- var nodelst = instance1.selectNodes(grd_resnlst.nodeset );
- cnt = 0 ;
- var tmpCnt = 0 ;
- var sCnt = "";
- if( nodelst.length > 0 ) {
- var sCnt = "";
- for( var i = 1 ; i <= nodelst.length ; i++ ) {
- sCnt = model.getValue(grd_resnlst.nodeset + "[" + i + "]/total" );
- if( !isNull(sCnt ) ) {
- tmpCnt = parseInt(sCnt) ;
- if( !isNaN(tmpCnt) ) cnt = cnt + tmpCnt ;
- }
- }
- }
-
- cap_total.value = "총 " + cnt + " 건";
- var vGrupCol = -1;
- //var vStart = 2;
- if( model.getValue("/root/main/condition/opt_ward") == "Y" ) {
- if( model.getValue("/root/main/condition/opt_orddept")== "Y" || model.getValue("/root/main/condition/opt_orddr")== "Y" ) vGrupCol = 2;
- else vGrupCol = -1;
- } else if ( model.getValue("/root/main/condition/opt_orddept") == "Y" ) {
- if( model.getValue("/root/main/condition/opt_orddr") == "Y" ) vGrupCol = 3;
- else vGrupCol = -1;
- } else if ( model.getValue("/root/main/condition/opt_orddr") == "Y" ) {
- vGrupCol = 3;
- }
- //grd_resnlst.multiTotals = true ;
- /*
- grd_resnlst.subtotalPosition = "below";
- if( model.getValue("/root/main/condition/opt_ward") == "Y" || model.getValue("/root/main/condition/opt_orddept") == "Y" || model.getValue("/root/main/condition/opt_orddr") == "Y" ) {
-
- for( j= 5 ; j < grd_resnlst.cols ; j++ ){
- grd_resnlst.subTotal("sum", 1, j , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- }
- }
-
- if( vGrupCol > 0 ) {
- for( j= 5 ; j < grd_resnlst.cols ; j++ ){
- grd_resnlst.subTotal("sum", vGrupCol, j , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- }
- }
- */
- grd_resnlst.rebuildStyle();
- for( var i = 1 ; i <= grd_resnlst.rows; i++ ) {
- if(! isNull( grd_resnlst.valueMatrix(i, grd_resnlst.colref("grup"))) ){
- grd_resnlst.rowStyle(i ,"data", "background-color" ) = "#fafad2" ;
- grd_resnlst.rowStyle( i , "data", "font-weight" ) = "bold" ;
- }
- }
-
- /*
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 3 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 4 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 5 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 6 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 7 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 8 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 9 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 10 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 11 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 12 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 13 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;");
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 14 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 15 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 16, "format:#,###; ", "background-color:#fafad2; font-weight:bold;");
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 17, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 18, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 19, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 20, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 21, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 22, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 23 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 24 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- grd_resnlst.subTotal("sum", vGrupCol, vStart + 25 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
- */
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line5" style="x1:1095px; y1:33px; x2:1095px; y2:80px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="tit_2" style="left:5px; top:93px; width:190px; height:13px; ">퇴원지연 사유 조회</caption>
- <line id="line1" class="line_1" style="x1:4px; y1:111px; x2:1191px; y2:112px; "/>
- <input id="input1" ref="/root/main/condition/todd" class="input_s_essential" inputtype="date" style="left:208px; top:30px; width:93px; height:19px; "/>
- <input id="input2" ref="/root/main/condition/fromdd" class="input_s_essential" inputtype="date" style="left:95px; top:30px; width:93px; height:19px; "/>
- <caption id="caption8" style="left:193px; 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_resnlst" nodeset="/root/main/dschresninfo/dschresninfolist" autoresize="true" caption="g^병동^과^주치의^퇴원환자수^퇴원지연환자수^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^total|g^병동^과^주치의^퇴원환자수^퇴원지연환자수^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^total" colwidth="0, 97, 83, 72, 49, 53, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" colsep="^" style="left:3px; top:116px; width:1190px; height:564px; ">
- <col ref="grup"/>
- <col ref="wardnm"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="dschpatcnt"/>
- <col ref="delypatcnt"/>
- <col ref="col02" style="text-align:center; "/>
- <col ref="col03" style="text-align:center; "/>
- <col ref="col04" style="text-align:center; "/>
- <col ref="col05" style="text-align:center; "/>
- <col ref="col06" style="text-align:center; "/>
- <col ref="col07" style="text-align:center; "/>
- <col ref="col08" style="text-align:center; "/>
- <col ref="col09" style="text-align:center; "/>
- <col ref="col10" style="text-align:center; "/>
- <col ref="col11" style="text-align:center; "/>
- <col ref="col12" style="text-align:center; "/>
- <col ref="col13" style="text-align:center; "/>
- <col ref="col14" style="text-align:center; "/>
- <col ref="col15" style="text-align:center; "/>
- <col ref="col16" style="text-align:center; "/>
- <col ref="col17" style="text-align:center; "/>
- <col ref="col18" style="text-align:center; "/>
- <col ref="col19" style="text-align:center; "/>
- <col ref="col20" style="text-align:center; "/>
- <col ref="col21" style="text-align:center; "/>
- <col ref="col22" style="text-align:center; "/>
- <col ref="col23" style="text-align:center; "/>
- <col ref="col24" style="text-align:center; "/>
- <col ref="total" style="text-align:center; "/>
- </datagrid>
- <caption id="caption1" class="search_name" visibility="hidden" style="left:650px; top:85px; width:86px; height:17px; ">조건 :</caption>
- <select1 id="radio2" ref="/root/main/srchinfo" visibility="hidden" overflow="visible" appearance="full" cols="3" cellspacing="3" style="left:715px; top:85px; width:150px; height:25px; border-style:none; ">
- <choices>
- <item>
- <label>병동</label>
- <value>1</value>
- </item>
- <item>
- <label>과</label>
- <value>2</value>
- </item>
- <item>
- <label>주치의</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <table id="table1" cellspacing="-1" style="left:4px; top:702px; width:1093px; height:65px; border-color:#999999; ">
- <tr>
- <td style="width:20px; height:15px; color:#808080; ">2</td>
- <td style="width:160px; height:15px; color:#808080; ">의사_회진후 퇴원결정</td>
- <td style="width:20px; height:15px; color:#808080; ">3</td>
- <td style="width:160px; height:15px; color:#808080; ">의사_퇴원 sign 입력지연</td>
- <td style="width:20px; height:15px; color:#808080; ">4</td>
- <td style="width:160px; height:15px; color:#808080; ">의사_추가처방 입력</td>
- <td style="width:20px; height:15px; color:#808080; ">5</td>
- <td style="width:160px; height:15px; color:#808080; ">의사_서류 입력지연</td>
- <td style="width:20px; height:15px; color:#808080; ">6</td>
- <td style="width:160px; height:15px; color:#808080; ">의사_처치 지연</td>
- <td style="width:20px; height:15px; color:#808080; ">7</td>
- <td style="width:160px; height:15px; color:#808080; ">환자_보호자 도착지연</td>
- </tr>
- <tr>
- <td style="width:20px; height:15px; color:#808080; ">8</td>
- <td style="width:160px; height:15px; color:#808080; ">환자_퇴원금액 준비부족</td>
- <td style="width:20px; height:15px; color:#808080; ">9</td>
- <td style="width:160px; height:15px; color:#808080; ">환자_추가서류 요청</td>
- <td style="width:20px; height:15px; color:#808080; ">10</td>
- <td style="width:160px; height:15px; color:#808080; ">환자_식사 후 퇴원</td>
- <td style="width:20px; height:15px; color:#808080; ">11</td>
- <td style="width:160px; height:15px; color:#808080; ">환자_환자요구에 의한 추가</td>
- <td style="width:20px; height:15px; color:#808080; ">12</td>
- <td style="width:160px; height:15px; color:#808080; ">절차_보험심사 지연</td>
- <td style="width:20px; height:15px; color:#808080; ">13</td>
- <td style="width:160px; height:15px; color:#808080; ">절차_퇴원약 지연</td>
- </tr>
- <tr>
- <td style="width:20px; height:15px; color:#808080; ">14</td>
- <td style="width:160px; height:15px; color:#808080; ">절차_간호사 처방정리 지연</td>
- <td style="width:20px; height:15px; color:#808080; ">15</td>
- <td style="width:160px; height:15px; color:#808080; ">당일 치료, 검사, consult 등</td>
- <td style="width:20px; height:15px; color:#808080; ">16</td>
- <td style="width:160px; height:15px; color:#808080; ">사망</td>
- <td style="width:20px; height:15px; color:#808080; ">17</td>
- <td style="width:160px; height:15px; color:#808080; ">전원</td>
- <td style="width:20px; height:15px; color:#808080; ">18</td>
- <td style="width:160px; height:15px; color:#808080; ">환자퇴원거부</td>
- <td style="width:20px; height:15px; color:#808080; ">19</td>
- <td style="width:160px; height:15px; color:#808080; ">문제제기</td>
- </tr>
- <tr>
- <td style="width:20px; height:15px; color:#808080; ">20</td>
- <td style="width:160px; height:15px; color:#808080; ">기타</td>
- <td style="width:20px; height:15px; color:#808080; ">21</td>
- <td style="width:160px; height:15px; color:#808080; ">항암치료 후 퇴원</td>
- <td style="width:20px; height:15px; color:#808080; ">22</td>
- <td style="width:160px; height:15px; color:#808080; ">검사 후 퇴원</td>
- <td style="width:20px; height:15px; color:#808080; ">23</td>
- <td style="width:160px; height:15px; color:#808080; ">수혈 후 퇴원</td>
- <td style="width:20px; height:15px; color:#808080; ">24</td>
- <td style="width:160px; height:15px; color:#808080; ">신생아 퇴원 지체사유</td>
- <td style="width:20px; height:15px; color:#808080; "/>
- <td style="width:160px; height:15px; color:#808080; "/>
- </tr>
- </table>
- <caption id="caption2" style="left:2px; top:683px; width:175px; height:23px; font-weight:bold; color:#808080; ">☞ 별첨</caption>
- <select id="chk_dept" ref="/root/main/condition/opt_orddept" class="checkbox_search" overflow="visible" appearance="full" cols="1" sep="|" cellspacing="30" style="left:495px; top:30px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>진 료 과</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetCtrlStat( "D");
- ]]>
- </script>
- </select>
- <caption id="cap_total" class="search_name" visibility="hidden" style="left:971px; top:30px; width:125px; height:17px; ">총 0 건</caption>
- <select id="chk_all" ref="/root/main/condition/opt_all" class="checkbox_search" overflow="visible" appearance="full" cols="1" sep="|" cellspacing="30" style="left:675px; top:30px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전 체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetCtrlStat( "");
- ]]>
- </script>
- </select>
- <caption id="caption3" class="search_name" style="left:691px; top:56px; width:76px; height:17px; ">주 치 의</caption>
- <select1 id="cmb_medispclid" ref="/root/main/condition/medispclid" class="combo_search" appearance="minimal" itemwidth="100" itemcount="30" style="left:770px; top:56px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_dr" ref="/root/main/condition/opt_orddr" class="checkbox_search" overflow="visible" appearance="full" cols="1" sep="|" cellspacing="30" style="left:585px; top:30px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>주 치 의</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetCtrlStat( "M");
- ]]>
- </script>
- </select>
- <caption id="caption4" class="search_name" style="left:310px; top:56px; width:76px; height:17px; ">병 동</caption>
- <caption id="caption5" class="search_name" style="left:310px; top:30px; width:91px; height:17px; ">조 회 옵 션</caption>
- <select1 id="cmb_ward" ref="/root/main/condition/wardcd" class="combo_search" appearance="minimal" itemwidth="100" itemcount="30" style="left:375px; top:56px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept2/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption14" class="search_name" visibility="hidden" style="left:871px; top:88px; width:76px; height:17px; ">세 부 과</caption>
- <select1 id="cmb_subdept" ref="/root/main/condition/subdeptcd" class="combo" visibility="hidden" appearance="minimal" itemwidth="100" style="left:955px; top:88px; width:100px; 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:490px; top:56px; width:76px; height:17px; ">진 료 과</caption>
- <select id="chk_ward" ref="/root/main/condition/opt_ward" class="checkbox_search" overflow="visible" appearance="full" cols="1" sep="|" cellspacing="30" style="left:425px; top:30px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>병 동</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetCtrlStat( "W");
- ]]>
- </script>
- </select>
- <select1 id="cmb_orddept" ref="/root/main/condition/orddeptcd" class="combo_search" appearance="minimal" itemwidth="100" editmode="search" style="left:575px; top:56px; width:100px; 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>
- <button id="button1" class="btn2_letter2" style="left:1150px; top:89px; 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_resnlst.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>
- </xhtml:body>
- </xhtml:html>
|