123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <patlist>
- <patlist>
- <ioflag/>
- <pid/>
- <hngnm/>
- <prcpdd/>
- <execdt/>
- <prcpnm/>
- <orddrid/>
- <recbfyn/>
- <fstrecdt/>
- <recaftyn/>
- <lastrecdt/>
- </patlist>
- </patlist>
- </main>
- <send>
- <fromdd/>
- <todd/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function ChkDate(){
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
-
- if( fromdd > todd ){
- messageBox("시작일자가 종료일자보다 클 수","I004"); //없습니다.
- return false;
- }else if( todd > getCurrentDate() ){
- messageBox("종료일자가 현재일자("+getCurrentDate()+")보다 클 수","I004");//없습니다.
- return false;
- }
- }
- ]]>
- </script>
- <submission id="TRMRS02000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patlist"/>
- </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/carecomweb/js/CareCom.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:399px; height:13px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">기간별 시술목록 처방에 따른 환자명단 조회</caption>
- <group id="group2" style="left:0px; top:21px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1064px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rtn = ChkDate();
-
- if( rtn != "false" ){
- if (submit("TRMRS02000")){
- } else {
- messageBox("조회를","E009");
- }
- }else{
- return;
- }
-
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:1054px; y1:7px; x2:1054px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:18px; top:9px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회일자 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:107px; top:8px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ChkDate();
- ]]>
- </script>
- </input>
- <caption id="caption5" style="left:209px; top:12px; width:15px; height:13px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:223px; top:8px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ChkDate();
- ]]>
- </script>
- </input>
- <button id="btn_excel" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
- var dt = "";
-
- if(fromdd == todd) {
- dt = fromdd;
- } else {
- dt = fromdd + "~" + todd;
- }
-
- var fileName = window.fileDialog("save", ",", false, "기간별 환자 시술목록(" + dt + ")", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- grd_patlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
-
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_patlist" nodeset="/root/main/patlist/patlist" class="datagrid2" caption="입/외^환자번호^환자명^시술처방일^시술액팅일시^시술처방명^처방의사^시술기록
작성여부^최초인증저장일시^시술후 기록
작성여부^최초인증저장일시" colsep="^" colwidth="47, 70, 75, 85, 115, 350, 70, 60, 115, 70, 115" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:1195px; height:705px; ">
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="prcpnm"/>
- <col ref="orddrid"/>
- <col ref="recbfyn" style="text-align:center; "/>
- <col ref="fstrecdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="recaftyn" style="text-align:center; "/>
- <col ref="lastrecdt" format="yyyy-mm-dd hh:nn:ss"/>
- </datagrid>
- <line id="line8" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
- </xhtml:body>
- </xhtml:html>
|