123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <cond>
- <unpredd/>
- <dschdd/>
- <fromdd/>
- <todd/>
- <dschfromdd/>
- <dschtodd/>
- <unpredeptcd/>
- <indschdeptcd/>
- <unpredr/>
- <drkind/>
- </cond>
- <unpreplist>
- <unpreplist>
- <deptnm/>
- <doctkindflag/>
- <unprepdrnm/>
- <pid/>
- <patnm/>
- <cnt/>
- <indd/>
- <dschdd/>
- <dschdept/>
- <indx/>
- </unpreplist>
- </unpreplist>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <orddept/>
- <userlist/>
- <unpredrkind>
- <row>
- <cdnm>Total</cdnm>
- <cdid>T</cdid>
- </row>
- <row>
- <cdnm>Staff</cdnm>
- <cdid>St</cdid>
- </row>
- <row>
- <cdnm>Resident</cdnm>
- <cdid>R</cdid>
- </row>
- <row>
- <cdnm>Intern</cdnm>
- <cdid>I</cdid>
- </row>
- </unpredrkind>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "A");
- addComboItem("cmb_indschdeptcd", "전체", "-", "above");
- addComboItem("cmb_unpredr", "전체", "-", "above");
-
-
- model.removeNodeset("/root/main/unpreplist");
- // model.setValue("/root/main/cond/fromdd", getCurrentDate());
- // model.setValue("/root/main/cond/todd" , getCurrentDate());
- // model.setValue("/root/main/cond/dschfromdd", getCurrentDate());
- // model.setValue("/root/main/cond/dschtodd" , getCurrentDate());
- model.setValue("/root/main/cond/unpredeptcd", "-");
- model.setValue("/root/main/cond/indschdeptcd", "-");
- model.setValue("/root/main/cond/unpredr", "-");
- chk_drkind.select(0);
- model.refresh();
- ]]>
- </script>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMRI01200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/unpreplist"/>
- </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/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body 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:60px; "/>
- <button id="btn_req" class="btn1_letter2" style="left:1130px; top:40px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var unpredd = model.getValue("/root/main/cond/unpredd");
- var dschdd = model.getValue("/root/main/cond/dschdd");
- var drkind = model.getValue("/root/main/cond/drkind");
- if(unpredd == "" && dschdd == ""){
- messageBox("조회기간을 ","C002");
- return false;
- }
- if(drkind == ""){
- messageBox("의사구분을 ","C002");
- return false;
- }
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMRI01200");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <line id="line5" style="x1:1110px; y1:28px; x2:1110px; y2:73px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="tit_2" style="left:3px; top:88px; width:108px; height:14px; ">미비현황조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:106px; x2:1194px; y2:106px; "/>
- <datagrid id="grd_unpreplist" nodeset="/root/main/unpreplist/unpreplist" caption="미비과^구분^의사명^등록번호^환자명^회차^입원일^퇴원일^퇴원과^INDEX^인덱스" colsep="^" colwidth="100, 60, 100, 100, 100, 60, 100, 100, 100, 60" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:111px; width:1194px; height:655px; ">
- <col ref="deptnm"/>
- <col ref="doctkindflag"/>
- <col ref="unprepdrnm"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="cnt"/>
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="dschdd" format="yyyy-mm-dd"/>
- <col ref="dschdept"/>
- <col ref="indx"/>
- </datagrid>
- <button id="btn_ex" class="btn2_letter2" style="left:1148px; top:84px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- grd_unpreplist.saveExcel(fileName, "colhiddenextend:false;col_0:label;col_1:label;col_2:label;col_3:label;");
- }
- ]]>
- </script>
- </button>
- <caption id="caption7" class="search_name" style="left:345px; top:55px; width:86px; height:17px; ">퇴원과 :</caption>
- <caption id="caption8" style="left:224px; top:32px; width:15px; height:15px; ">~</caption>
- <caption id="caption9" class="search_name" style="left:30px; top:30px; width:99px; height:17px; ">미비입력일 :</caption>
- <caption id="caption1" style="left:224px; top:57px; width:15px; height:15px; ">~</caption>
- <caption id="caption2" class="search_name" style="left:30px; top:55px; width:99px; height:17px; ">퇴원일 :</caption>
- <caption id="caption3" class="search_name" style="left:345px; top:30px; width:86px; height:17px; ">미비과 :</caption>
- <caption id="caption4" class="search_name" style="left:570px; top:30px; width:86px; height:17px; ">미비의사 :</caption>
- <caption id="caption5" class="search_name" style="left:570px; top:55px; width:86px; height:17px; ">의사구분 :</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" disabled="true" inputtype="date" style="left:130px; top:30px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" disabled="true" inputtype="date" style="left:240px; top:30px; width:90px; height:19px; "/>
- <input id="ipt_dschfromdd" ref="/root/main/cond/dschfromdd" disabled="true" inputtype="date" style="left:130px; top:55px; width:90px; height:19px; "/>
- <input id="ipt_dschtodd" ref="/root/main/cond/dschtodd" disabled="true" inputtype="date" style="left:240px; top:55px; width:90px; height:19px; "/>
- <select1 id="cmb_unpredeptcd" ref="/root/main/cond/unpredeptcd" class="combo_search" appearance="minimal" style="left:419px; top:30px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- mmbfGetUserComboList("/root/send/reqdata" , "/root/init/userlist", cmb_unpredeptcd.value, "0330");
- model.setValue("/root/main/cond/unpredr", "-");
- addComboItem("cmb_unpredr", "전체", "-", "above");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_indschdeptcd" ref="/root/main/cond/indschdeptcd" class="combo_search" appearance="minimal" style="left:419px; top:55px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_unpredr" ref="/root/main/cond/unpredr" class="combo_search" appearance="minimal" style="left:659px; top:30px; width:143px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_drkind" ref="/root/main/cond/drkind" overflow="visible" appearance="full" cellspacing="4" cols="5" rows="1" sep="','" style="left:658px; top:55px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/unpredrkind/row">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var drkind = model.getValue("/root/main/cond/drkind");
- if(drkind.search("T") > -1){
- model.setValue("/root/main/cond/drkind", "T");
- }
- model.refresh();
- chk_drkind.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_unpredd" ref="/root/main/cond/unpredd" overflow="visible" appearance="full" style="left:13px; top:30px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var unpredd = model.getValue("/root/main/cond/unpredd");
- if(unpredd == "Y"){
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
- model.setValue("/root/main/cond/fromdd", getCurrentDate());
- model.setValue("/root/main/cond/todd", getCurrentDate());
- }
- else{
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- model.setValue("/root/main/cond/fromdd", "");
- model.setValue("/root/main/cond/todd", "");
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_dschdd" ref="/root/main/cond/dschdd" overflow="visible" appearance="full" style="left:13px; top:56px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var dschdd = model.getValue("/root/main/cond/dschdd");
- if(dschdd == "Y"){
- ipt_dschfromdd.disabled = false;
- ipt_dschtodd.disabled = false;
- model.setValue("/root/main/cond/dschfromdd", getCurrentDate());
- model.setValue("/root/main/cond/dschtodd", getCurrentDate());
- }
- else{
- ipt_dschfromdd.disabled = true;
- ipt_dschtodd.disabled = true;
- model.setValue("/root/main/cond/dschfromdd", "");
- model.setValue("/root/main/cond/dschtodd", "");
- }
- model.refresh();
- ]]>
- </script>
- </select>
- </xhtml:body>
- </xhtml:html>
|