123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- <?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>On Call 관리 (응급실, 수술실)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- <orddept/>
- <userlist/>
- </init>
- <main>
- <cond>
- <condflag/>
- <condkind/>
- <fromdd/>
- <todd/>
- <condacpt>E</condacpt>
- <sortkind/>
- <patflagcd>E</patflagcd>
- </cond>
- <oncalllist/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO33501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/oncalllist"/>
- <submission id="TXMMO33201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/oncalllist"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitOnCall("P");
- ]]>
- </script>
- </model>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO33200.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1100" pageheight="700">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:695px; height:14px; ">On Call 내역</caption>
- <group id="group1" style="left:0px; top:15px; width:1075px; height:665px; ">
- <button id="btn_save" class="btn5_letter2" disabled="true" style="left:943px; top:50px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveOnCallInfo("P");
- ]]>
- </script>
- </button>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1075px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input3" ref="/root/main/cond/fromdd" inputtype="date" style="left:95px; top:15px; width:90px; height:19px; "/>
- <input id="input6" ref="/root/main/cond/todd" inputtype="date" style="left:195px; top:15px; width:90px; height:19px; "/>
- <caption id="caption1" style="left:185px; top:16px; width:11px; height:20px; ">~</caption>
- <button id="button1" class="btn1_letter2" style="left:1005px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetAfterOnCallList();
- ]]>
- </script>
- </button>
- <line id="line2" style="x1:993px; y1:12px; x2:993px; y2:34px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:71px; x2:1075px; y2:71px; "/>
- <caption id="caption15" class="tit_2" style="left:0px; top:54px; width:188px; height:13px; text-align:left; ">On Call 내역</caption>
- <caption id="caption2" class="search_name" style="left:315px; top:13px; width:61px; height:17px; ">결재 :</caption>
- <select1 id="radio2" ref="/root/main/cond/condacpt" appearance="full" cols="3" overflow="visible" style="left:375px; top:13px; width:145px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>결재</label>
- <value>Y</value>
- </item>
- <item>
- <label>미결재</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line3" class="line_3" style="x1:0px; y1:661px; x2:1075px; y2:661px; "/>
- <datagrid id="grd_oncalllist" nodeset="/root/main/oncalllist/info" caption="saveflag^calldeptcd^환자구분^진료과^사번^성명^등록번호^환자명^신청일시^시작시간^종료시간^접수^등록일자^상태^신청내용^작업내용" colsep="^" colwidth="0, 0, 65, 110, 75, 70, 75, 70, 0, 115, 115, 40, 75, 30, 200, 200" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:76px; width:1075px; height:583px; text-align:center; ">
- <col ref="saveflag"/>
- <col ref="calldeptcd"/>
- <col ref="patflagcd" type="combo">
- <choices>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>일반</label>
- <value>S</value>
- </item>
- <item>
- <label>외상</label>
- <value>T</value>
- </item>
- </choices>
- </col>
- <col ref="calldeptnm"/>
- <col ref="calldrid"/>
- <col ref="calldrnm"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="appdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="arvdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="enddt" format="yyyy-mm-dd hh:nn"/>
- <col checkvalue="Y,N" ref="acptyn" type="checkbox"/>
- <col ref="rgstdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="statcd" type="combo">
- <choices>
- <item>
- <label>신청</label>
- <value>A</value>
- </item>
- <item>
- <label>도착</label>
- <value>R</value>
- </item>
- <item>
- <label>완료</label>
- <value>E</value>
- </item>
- <item>
- <label>삭제</label>
- <value>X</value>
- </item>
- </choices>
- </col>
- <col ref="appcnts" style="text-align:left; "/>
- <col ref="workcnts" style="text-align:left; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_oncalllist.row;
- if( iRow > 0 ){
- if( model.getValue("/root/main/oncalllist/info["+iRow+"]/statcd") != "E" ){
- alert("완료 상태가 아닙니다.");
- model.setValue("/root/main/oncalllist/info["+iRow+"]/acptyn", "N");
- return;
- }
- model.setValue("/root/main/oncalllist/info["+iRow+"]/saveflag", "U");
- }
- ]]>
- </script>
- </datagrid>
- <select1 id="radio1" ref="/root/main/cond/condkind" appearance="full" cellspacing="5" overflow="visible" style="left:30px; top:6px; width:60px; height:32px; border-style:none; ">
- <choices>
- <item>
- <label>등록일</label>
- <value>A</value>
- </item>
- <item>
- <label>시작일</label>
- <value>R</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:10px; top:13px; width:26px; height:17px; "/>
- <caption id="caption4" class="search_name" style="left:810px; top:13px; width:61px; height:17px; ">정렬 :</caption>
- <select1 id="radio3" ref="/root/main/cond/sortkind" appearance="full" cols="2" overflow="visible" style="left:870px; top:13px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>의사별</label>
- <value>D</value>
- </item>
- <item>
- <label>환자별</label>
- <value>P</value>
- </item>
- </choices>
- </select1>
- <button id="button2" class="btn2_letter2" style="left:987px; top:50px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPMMO33500", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter2" style="left:1031px; top:50px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "On Call 내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_oncalllist.saveExcel(fileName, "On Call 내역", false, false, "", "", false);
- }
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:545px; top:13px; width:61px; height:17px; ">구분 :</caption>
- <select1 id="radio4" ref="/root/main/cond/patflagcd" appearance="full" cols="4" overflow="visible" style="left:605px; top:13px; width:180px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>일반</label>
- <value>S</value>
- </item>
- <item>
- <label>외상</label>
- <value>T</value>
- </item>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|