123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- <?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>
- <pinfo>
- <plist/>
- </pinfo>
- </main>
- <send>
- </send>
- <init>
- <sdate/>
- <edate/>
- <bastime/>
- <outflag/>
- <emcd/>
- <nowflag/>
- </init>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <submission id="TRMNE09502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/temp" resultref="/root/temp/emcdinfo"/>
- <submission id="TRMMO08041" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/pinfo"/>
- <submission id="TRMMO08042" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" resultref="/root/temp/drinfo"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // if (submit("TRMNE09502")) {
- // model.setValue("/root/init/emcd", model.getValue("/root/temp/emcdinfo/emcd"));
- // }
- model.removeNodeset("/root/main/pinfo/plist");
-
- var tmpSrchdd = new Date();
- tmpSrchdd.setDate(tmpSrchdd.getDate() - 1);
-
- var sdate = tmpSrchdd.getDateFormat("YYYYMMDD");
- var edate = getCurrentDate();
-
- model.makeValue("/root/init/sdate", sdate);
- model.makeValue("/root/init/edate", edate);
- model.makeValue("/root/init/bastime", "0600");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </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/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/-->
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1180px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:1180px; y2:61px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:986px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removeNodeSet ("/root/send" );
-
- model.makeValue("/root/send/cond/sdate", model.getValue("/root/init/sdate") );
- model.makeValue("/root/send/cond/edate", model.getValue("/root/init/edate") );
- model.makeValue("/root/send/cond/bastime", model.getValue("/root/init/bastime") );
- model.makeValue("/root/send/cond/outflag", model.getValue("/root/init/outflag") );
- //model.makeValue("/root/send/cond/emcd", model.getValue("/root/init/emcd") );
- model.makeValue("/root/send/cond/nowflag", model.getValue("/root/init/nowflag") );
-
- submit("TRMMO08042");
-
- model.removeNodeSet ("/root/main/pinfo/plist");
- submit("TRMMO08041");
-
- for(var i = 1; i <= grd_troplist.rows; i++){
- if (i > 1) {
- j = i - 1;
- oldposcd = model.getValue("/root/main/pinfo/plist[" + j + "]/gbn");
- newposcd = model.getValue("/root/main/pinfo/plist[" + i + "]/gbn");
-
- if (oldposcd != newposcd) {
- grd_troplist.cellstyle("border-bottom-color", j, 0, j, 14) = '#ff0000';
- } else {
- grd_troplist.cellstyle("border-bottom-color", j, 0, j, 14) = '#C0C0C0';
- }
- }
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_troplist" nodeset="/root/main/pinfo/plist" autoresize="true" caption="환자구분^현위치^환자번호^이름^성별/나이^진단명^진료과^전문의^담당의^내원일시^내원일시^퇴실일시^퇴실일시^응급진료결과^수술" colsep="^" colwidth="60, 80, 60, 80, 60, 195, 110, 50, 50, 70, 40, 70, 40, 145, 50" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:120px; width:1180px; height:400px; ">
- <col ref="gbn" style="text-align:center; "/>
- <col ref="curpos"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="diagnm"/>
- <col ref="orddeptnm"/>
- <col ref="jatdoctnm"/>
- <col ref="datdoctnm"/>
- <col ref="chosdd" format="yyyy-mm-dd"/>
- <col ref="chostm" format="hh:nn"/>
- <col ref="outrmdd" format="yyyy-mm-dd"/>
- <col ref="outrmtm" format="hh:nn"/>
- <col ref="outrmcd"/>
- <col ref="opflag" style="text-align:center; "/>
- </datagrid>
- <input id="input3" ref="/root/init/sdate" class="input_search" inputtype="date" style="left:95px; top:31px; width:93px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </input>
- <input id="input1" ref="/root/init/edate" class="input_search" inputtype="date" style="left:213px; top:31px; width:93px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:195px; top:31px; width:20px; height:20px; ">~</caption>
- <caption id="caption8" class="search_name" style="left:10px; top:31px; width:95px; height:17px; ">검색조건 :</caption>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:315px; height:13px; ">권역 외상센터 회진 대상자 리스트</caption>
- <line id="line2" style="x1:972px; y1:29px; x2:972px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="button1" class="btn1_letter2" style="left:1100px; top:30px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var curtime = getCurrentTime().substr(0, 4);
- model.makeValue("/root/init/curtime", curtime);
- exeReportPreview("RPMMO08040", "XMLSTR","","","");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:350px; top:31px; width:95px; height:17px; ">기준시간:</caption>
- <input id="input2" ref="/root/init/bastime" format="hh:nn" style="left:435px; top:31px; width:50px; height:19px; text-align:center; "/>
- <select id="checkbox1" ref="/root/init/outflag" overflow="visible" appearance="full" style="left:870px; top:32px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>퇴실조건 제외</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <datagrid id="grd_oplist" nodeset="/root/main/pinfo/oplist" caption="현위치^환자번호^이름^성별/나이^진단명^진료과^전문의^담당의^내원일시^내원일시^퇴실일시^퇴실일시^응급진료결과^집도과^집도의^수술명^상태^수술일^입실시간^퇴실시간" colsep="^" colwidth="80, 60, 80, 60, 145, 105, 50, 50, 70, 40, 70, 40, 145, 105, 55, 100, 42, 70, 105, 105" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:527px; width:1180px; height:237px; ">
- <col ref="curpos"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="diagnm"/>
- <col ref="orddeptnm"/>
- <col ref="jatdoctnm"/>
- <col ref="datdoctnm"/>
- <col ref="chosdd" format="yyyy-mm-dd"/>
- <col ref="chostm" format="hh:nn"/>
- <col ref="outrmdd" format="yyyy-mm-dd"/>
- <col ref="outrmtm" format="hh:nn"/>
- <col ref="outrmcd"/>
- <col ref="perfdeptnm"/>
- <col ref="perfdrnm"/>
- <col ref="opnm"/>
- <col ref="opstatcd"/>
- <col ref="opschedd" format="yyyy-mm-dd"/>
- <col ref="patinroomdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="patoutroomdt" format="yyyy-mm-dd hh:nn"/>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:522px; x2:1180px; y2:522px; "/>
- <select id="checkbox2" ref="/root/init/nowflag" overflow="visible" appearance="full" style="left:490px; top:32px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>현재시간까지</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="button2" class="btn1_letter2" style="left:1043px; top:30px; width:56px; height:22px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var curDate = getCurrentDate();
-
- var fileName = window.fileDialog("save", ",", false, "회진리스트_" + curDate, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- //grd_troplist.saveExcel("회진리스트_" + curDate + ".xls", "회진대상환자", false, false, "", "");
- grd_troplist.saveExcel(fileName, "SheetName", false, false, "", "");
-
- var fileName = window.fileDialog("save", ",", false, "수술리스트_" + curDate, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- // grd_oplist.saveExcel("수술리스트_" + curDate + ".xls", "수술환자", false, false, "", "");
- grd_oplist.saveExcel(fileName, "SheetName", false, false, "", "");
-
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/temp/drinfo" caption="센터장^권역외상센터 당직의^권역외상센터 당직의^권역외상센터 당직의^권역외상센터 당직의^권역외상센터 당직의^권역외상센터 당직의^권역외상센터 당직의^권역외상센터 당직의" colsep="^" colwidth="100,60,100,60,100,60,100,60,100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:66px; width:1180px; height:48px; ">
- <col ref="drnm" style="text-align:center; "/>
- <col ref="deptnm1" style="text-align:center; "/>
- <col ref="drnm1" style="text-align:center; "/>
- <col ref="deptnm2" style="text-align:center; "/>
- <col ref="drnm2" style="text-align:center; "/>
- <col ref="deptnm3" style="text-align:center; "/>
- <col ref="drnm3" style="text-align:center; "/>
- <col ref="deptnm4" style="text-align:center; "/>
- <col ref="drnm4" style="text-align:center; "/>
- </datagrid>
- <line id="line4" class="line_1" style="x1:0px; y1:115px; x2:1180px; y2:115px; "/>
- </xhtml:body>
- </xhtml:html>
|