123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <?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>
- <patlist>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <prcpdd/>
- <rsltdd/>
- <prcpcd/>
- <prcpnm/>
- <spccd/>
- <baccd/>
- <reptrslt/>
- <depthngnm/>
- <wardnm/>
- <diagnm/>
- </patlist>
- </main>
- <send>
- <reqdata>
- <srchkind/>
- <srchfromdd/>
- <srchtodd/>
- </reqdata>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/reqdata/srchkind", "ALL");
- model.setValue("/root/send/reqdata/srchfromdd", getCurrentDate());
- model.setValue("/root/send/reqdata/srchtodd", getCurrentDate());
- model.refresh();
- ]]>
- </script>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRASI01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.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/numericHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript">
- <![CDATA[
- function date_add(sDate, nDays){
- var yy = parseInt(sDate.substr(0,4), 10);
- var mm = parseInt(sDate.substr(4,2), 10);
- var dd = parseInt(sDate.substr(6,2), 10);
-
- var d = new Date(yy, mm - 1, dd + nDays);
-
- yy = d.getFullYear().toString();
- mm = d.getMonth() + 1; mm = (mm < 10) ? '0' + mm : mm.toString();
- dd = d.getDate(); dd = (dd < 10) ? '0' + dd : dd.toString();
-
- return yy + mm + dd;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:130px; height:13px; ">급성호흡기감염증</caption>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:12px; top:25px; width:733px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="lbl_PID" class="search_name" style="left:21px; top:31px; width:69px; height:17px; vertical-align:middle; ">구 분 :</caption>
- <select1 id="cmb_srchkind" ref="/root/send/reqdata/srchkind" appearance="minimal" style="left:95px; top:31px; width:125px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>LPD301</label>
- <value>LPD301</value>
- </item>
- <item>
- <label>LMV113</label>
- <value>LMV113</value>
- </item>
- <item>
- <label>LPD122</label>
- <value>LPD122</value>
- </item>
- <item>
- <label>LPD154</label>
- <value>LPD154</value>
- </item>
- <item>
- <label>LMR801</label>
- <value>LMR801</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:225px; top:31px; width:118px; height:17px; vertical-align:middle; ">검 색 기 간 :</caption>
- <caption id="caption10" style="left:442px; top:31px; width:15px; height:20px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/reqdata/srchfromdd" class="input_s_essential" inputtype="date" style="left:335px; top:31px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.makeValue("/root/send/reqdata/srchtodd", date_add(ipt_fromdd.value, 6));
- ipt_todd.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/reqdata/srchtodd" class="input_s_essential" disabled="true" inputtype="date" style="left:464px; top:31px; width:100px; height:19px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:575px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRASI01004");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn1_letter4" style="left:635px; top:30px; width:80px; height:22px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", "|", true, "", "", "Excel Files(*.xlsx)|*.xls");
-
- if (fileName != ""){
- datagrid1.saveExcel(fileName, "SheetName", false, false, "", "", false);
- }
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/patlist" caption="환자번호^환자명^성별^나이^처방일^결과보고일^처방코드^처방명^검체^균명^결과값^진료과^병동명^진단명" colsep="^" colwidth="76, 72, 30, 58, 56, 70, 71, 138, 48, 45, 75, 118, 95, 148" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:11px; top:62px; width:1139px; height:708px; text-align:center; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="prcpdd"/>
- <col ref="rsltdd"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="spccd"/>
- <col ref="baccd"/>
- <col ref="reptrslt"/>
- <col ref="depthngnm"/>
- <col ref="wardnm"/>
- <col ref="diagnm"/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|