123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 건수분석자료.xrw
- * 설 명 : 건수분석자료
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2007.07.04
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <cntlist>
- <tclsnm/>
- <tclscnt/>
- <testcd/>
- </cntlist>
- <cntdetlist>
- <dispseq/>
- <pid/>
- <patnm/>
- <patage/>
- <patsex/>
- <orddeptnm/>
- <orddrnm/>
- <tclsnm/>
- <reptrslt/>
- <rgstdd/>
- <prcpdd/>
- <bcolldt/>
- <spcacptdt/>
- <lastreptdt/>
- </cntdetlist>
- </main>
- <send xmlns="">
- <srchym/>
- <srchym2/>
- <srchbdioflag/>
- <getgbn>1</getgbn>
- <detgbn/>
- <oflag/>
- <iflag/>
- <sflag/>
- <ois/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script ev:event="xforms-ready" type="javascript">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLNP00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntlist"/>
- <submission id="TRLNP00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntdetlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fSetInit(){
- model.removeNodeset("/root/main/cntlist");
- model.removeNodeset("/root/main/cntdetlist");
- var toDay = getCurrentDate();
- model.setValue("/root/send/srchym", toDay);
- input3.attribute("format") = "yyyy-mm-dd";
- model.setValue("/root/send/srchym2", toDay);
- input1.attribute("format") = "yyyy-mm-dd";
- model.refresh();
- }
-
- function fGetTestCntList(){
-
- var O = model.getValue("/root/send/oflag"); // 외래
- var I = model.getValue("/root/send/iflag"); // 입원
- var S = model.getValue("/root/send/sflag"); // 건진
- var OIS = "";
-
- if(O == "1"){
- OIS = OIS + "1";
- }else{
- OIS = OIS + "0";
- }
- if(I == "1"){
- OIS = OIS + "1";
- }else{
- OIS = OIS + "0";
- }
- if(S == "1"){
- OIS = OIS + "1";
- }else{
- OIS = OIS + "0";
- }
-
- // 000 전체
- // 001 건진
- // 010 입원
- // 011 입원 건진
- // 100 외래
- // 101 외래 건진
- // 110 외래 입원
- // 111 전체
-
-
-
- model.setValue("/root/send/ois", OIS);
-
- model.removeNodeset("/root/main/cntlist");
- model.removeNodeset("/root/main/cntdetlist");
- submit("TRLNP00701");
-
- var detgbn = model.getValue("/root/send/detgbn");
-
- if(detgbn == "1"){
- submit("TRLNP00702");
- }
- model.refresh();
-
- }
-
- function fReportPrint(){
- //exeReportPreview("RPLNP00600", "XMLSTR", "", "", "true", "", "", "", "","true");
- exeReportPreview("RPLNP00600", "XMLSTR", "", "");
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:220px; y2:70px; "/>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; font-weight:bold; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <button id="btn_Ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fGetTestCntList();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="search_name" style="left:25px; top:8px; width:89px; height:17px; text-align:left; ">조회일자 :</caption>
- <input id="input3" ref="/root/send/srchym" class="input_default" inputtype="date" format="yyyy-mm" style="left:165px; top:8px; width:95px; height:19px; font-weight:normal; "/>
- <input id="input1" ref="/root/send/srchym2" class="input_default" inputtype="date" format="yyyy-mm" style="left:330px; top:8px; width:95px; height:19px; font-weight:normal; "/>
- <caption id="caption8" style="left:264px; top:10px; width:20px; height:20px; text-align:center; ">~</caption>
- <select1 id="combo1" ref="/root/send/getgbn" appearance="minimal" style="left:835px; top:8px; width:105px; height:19px; font-weight:normal; ">
- <choices>
- <item>
- <label>환자명순</label>
- <value>1</value>
- </item>
- <item>
- <label>결과일순</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:460px; top:8px; width:89px; height:17px; text-align:left; ">조회구분 :</caption>
- <select id="checkbox2" ref="/root/send/oflag" overflow="visible" appearance="full" style="left:552px; top:9px; width:58px; height:20px; font-weight:normal; border-style:none; ">
- <choices>
- <item>
- <label>외래</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/send/iflag" overflow="visible" appearance="full" style="left:607px; top:9px; width:58px; height:20px; font-weight:normal; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="checkbox4" ref="/root/send/sflag" overflow="visible" appearance="full" style="left:662px; top:9px; width:58px; height:20px; font-weight:normal; border-style:none; ">
- <choices>
- <item>
- <label>건진</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="caption4" style="left:120px; top:8px; width:45px; height:20px; ">채혈일</caption>
- <caption id="caption5" style="left:285px; top:8px; width:45px; height:20px; ">결과일</caption>
- <caption id="caption7" class="search_name" style="left:745px; top:8px; width:98px; height:17px; text-align:left; ">정렬순서 :</caption>
- </group>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:134px; height:14px; ">검사별 건수</caption>
- <datagrid id="grd_cntlist" nodeset="/root/main/cntlist" caption="검사명^건수" colwidth="150, 65" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="25" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:220px; height:640px; font-weight:normal; ">
- <col ref="tclsnm" style="text-align:center; "/>
- <col ref="tclscnt" style="text-align:center; "/>
- <col ref="testcd" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <button id="btn_excel" class="btn2_letter4" navindex="2" visibility="hidden" style="left:0px; top:719px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_cntlist.saveExcel(fileName);
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:235px; top:55px; width:70px; height:13px; ">상세조회</caption>
- <line id="line2" class="line_1" style="x1:230px; y1:70px; x2:1195px; y2:70px; "/>
- <datagrid id="grd_cntdetlist" nodeset="/root/main/cntdetlist" caption="^등록번호^환자명^연령^성별^진료과^주치의^검사명^결과^등록일자^처방일자^채혈일자^접수일자^결과일자" colwidth="20, 75, 75, 35, 35, 80, 75, 180,80,130, 90, 130, 130, 130" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="25" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:230px; top:75px; width:965px; height:640px; font-weight:normal; ">
- <col ref="dispseq" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="patage" style="text-align:center; "/>
- <col ref="patsex" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="tclsnm" style="text-align:center; "/>
- <col ref="reptrslt" style="text-align:center; "/>
- <col ref="rgstdd" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="bcolldt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="spcacptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- </datagrid>
- <select id="checkbox1" ref="/root/send/detgbn" overflow="visible" appearance="full" style="left:305px; top:55px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- </choices>
- </select>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">핵의학 구분별 검사수</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fReportPrint();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|