123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- <?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>액팅 체크 로그 목록조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <acting>
- <triggerdt/>
- <flag/>
- <inout/>
- <pid/>
- <trgtnm/>
- <sa/>
- <prcpdd/>
- <prcpcd/>
- <prcpnm/>
- <orddept/>
- <orddr/>
- <execdd/>
- <execdept/>
- <execid/>
- <indd/>
- <reqdd/>
- <updtdd/>
- <updtr/>
- </acting>
- </list>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <flag>00</flag>
- <reqdata/>
- </send>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // model.setValue("/root/send/todd", getCurrentDate());
- ipt_fromdd.value = getCurrentDate();
- ipt_todd.value = getCurrentDate();
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRMMO15901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,5;2,-2;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:1px; y1:81px; x2:1195px; y2:81px; "/>
- <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:50px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption8" class="search_name" style="left:511px; top:15px; width:143px; height:17px; ">로그 생성일자 :</caption>
- <caption id="caption7" class="search_no_b" style="left:727px; top:16px; width:12px; height:17px; ">~</caption>
- <caption id="caption1" class="search_name" style="left:15px; top:15px; width:80px; height:17px; ">구분 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:640px; top:15px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:740px; top:15px; width:85px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1130px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRMMO15901");
- ]]>
- </script>
- </button>
- <select1 id="flag" ref="/root/send/flag" class="combo_search" appearance="minimal" style="left:85px; top:15px; width:365px; height:19px; ">
- <choices>
- <item>
- <label>[선택하세요]</label>
- <value>00</value>
- </item>
- <item>
- <label>execdd가 현재 system date보다 이전일로 insert</label>
- <value>01</value>
- </item>
- <item>
- <label>execdd가 현재 system date보다 이전일로 update</label>
- <value>02</value>
- </item>
- <item>
- <label>처방일이 입원일보다 이전인 경우</label>
- <value>03</value>
- </item>
- <item>
- <label>청구(clamdd)가 되었는데 변경이 일어난 경우</label>
- <value>04</value>
- </item>
- <item>
- <label>마감취소를 한 경우</label>
- <value>05</value>
- </item>
- <item>
- <label>execdd는 있으나 부서,실시자,시간없이 insert</label>
- <value>06</value>
- </item>
- <item>
- <label>execdd는 있으나 부서,실시자,시간없이 update</label>
- <value>07</value>
- </item>
- <item>
- <label>execdd같으나 부서,실시자,시간 변경 update</label>
- <value>08</value>
- </item>
- <item>
- <label>마감일자 null로 insert</label>
- <value>09</value>
- </item>
- <item>
- <label>마감일자 null로 update</label>
- <value>10</value>
- </item>
- </choices>
- </select1>
- </group>
- <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:60px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "액팅체크로그목록조회_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- grd_actinglist.saveExcel(fileName, "SheetName", true, true, "", "", "false");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_actinglist" nodeset="/root/main/list/acting" caption="로그 생성일자^구분^입원/외래^등록번호^성명^S/A^처방일^처방코드^처방명^진료과^진료의^실시일자^실시부서^실시자^입원일^청구일^수정일시^수정자" colsep="^" colwidth="102, 44, 63, 78, 62, 41, 67, 60, 200, 72, 60, 74, 82, 71, 76, 72, 78, 68" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="29" rowsep="|" tooltip="true" style="left:1px; top:83px; width:1194px; height:642px; text-align:center; ">
- <col ref="triggerdt" format="yyyy-mm-dd 99:99"/>
- <col ref="flag" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="inout" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="trgtnm" style="text-align:center; "/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="prcpcd" style="text-align:center; "/>
- <col ref="prcpnm" style="text-align:center; "/>
- <col ref="orddept" style="text-align:center; "/>
- <col ref="orddr" style="text-align:center; "/>
- <col ref="execdd" format="yyyy-mm-dd"/>
- <col ref="execdept" style="text-align:center; "/>
- <col ref="execid" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="updtdd" format="yyyy-mm-dd"/>
- <col ref="updtr"/>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- var iRow = grd_actinglist.mouseRow;
- var iCol = grd_actinglist.mouseCol;
- var xPath = "/root/main/list/acting";
- var sflag = model.getValue(xPath+"["+(iRow)+"]/flag");
- var sio = model.getValue(xPath+"["+(iRow)+"]/inout");
-
- if (iRow > 0 && iCol == 2)
- {
- if (sflag == '01')
- grd_actinglist.tooltipText(iRow, iCol) = "execdd가 현재 system date 보다 이전일로 insert";
- else if (sflag == '02')
- grd_actinglist.tooltipText(iRow, iCol) = "execdd가 현재 system date 보다 이전일로 update";
- else if (sflag == '03')
- grd_actinglist.tooltipText(iRow, iCol) = "처방일이 입원일보다 이전인 경우";
- else if (sflag == '04')
- grd_actinglist.tooltipText(iRow, iCol) = "청구(clamdd)가 되었는데 변경이 일어난 경우";
- else if (sflag == '05')
- grd_actinglist.tooltipText(iRow, iCol) = "마감취소를 한 경우";
- else if (sflag == '06')
- grd_actinglist.tooltipText(iRow, iCol) = "execdd는 있으나 부서,실시자,시간없이 insert";
- else if (sflag == '07')
- grd_actinglist.tooltipText(iRow, iCol) = "execdd는 있으나 부서,실시자,시간없이 update";
- else if (sflag == '08')
- grd_actinglist.tooltipText(iRow, iCol) = "execdd같으나 부서,실시자,시간 변경 update";
- else if (sflag == '09')
- grd_actinglist.tooltipText(iRow, iCol) = "마감일자 null로 insert";
- else if (sflag == '10')
- grd_actinglist.tooltipText(iRow, iCol) = "마감일자 null로 update";
-
- }
-
- if (iRow > 0 && iCol == 3)
- {
- if(sio == 'I') grd_actinglist.tooltipText(iRow, iCol) = "입원";
- else if(sio == 'O') grd_actinglist.tooltipText(iRow, iCol) = "외래";
- else if(sio == 'E') grd_actinglist.tooltipText(iRow, iCol) = "응급";
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">액팅체크로그조회</caption>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|