123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPP01530_지연사유.xrw
- * 설 명 : 지연사유 조회화면
- * 설 계 자 : 이재오
- * 작 성 자 : 이재오
- * 작 성 일 : 2013.02.26
- * 수정이력 :
- * 기 타 :
- -->
- <?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>지연사유 환자목록조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <refinfo>
- <refinfolist>
- <instcd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <sexage/>
- <extrpartcnts/>
- <diagcnts/>
- <memocnts/>
- </refinfolist>
- </refinfo>
- </main>
- <send/>
- <init>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <delayresn>
- <delayresnlist>
- <ptno/>
- </delayresnlist>
- </delayresn>
- <resncd>
- <resncdlist>
- <instcd/>
- <flagcd/>
- <resncd/>
- <resncnts/>
- </resncdlist>
- </resncd>
- </init>
- <hidden>
- <acptfromdd/>
- <acpttodd/>
- <pid/>
- </hidden>
- <message/>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
- <submission id="TRLPP01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/refinfo/refinfolist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 관심증례 화면
- * @ver : 2007.08.31 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
-
- //----------------------------------------------------
- model.removeNodeset("/root/main/refinfo/refinfolist");
-
- //--------------------------
- // 시스템일자 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102");
-
- //--------------
- // 지연사유 조회
- model.resetInstanceNode("/root/init/resncd");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/baseflagcd", "'31'");
- submit("TRLPZ00103", false);
- //-----------------------------------------------------------------
- // model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
- // iNo = getNodesetCount("/root/init/resncd/resncdlist");
- // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/instcd", getUserInfo("dutplceinstcd"));
- // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/flagcd", "31");
- // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncd", "-");
- // model.makeValue("/root/init/resncd/resncdlist["+(Number(iNo) + 1)+"]/resncnts", "-");
- model.copyNode("/root/init/delayresn", "/root/init/resncd");
-
-
- //------------
- // 초기값 설정
- model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 정도일자(From)
- model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 정도일자(To)
-
- //-------------
- model.refresh();
- }
-
- /* @group : 관심증례 화면
- * @ver : 2007.08.2 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 감사판독 소요시간 조회 처리 함수
- */
- function fGetRefInfoList() {
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/refinfo/refinfolist");
-
- //----------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reffromdd", model.getValue("/root/hidden/acptfromdd"));
- model.makeValue("/root/send/reftodd", model.getValue("/root/hidden/acpttodd"));
- model.makeValue("/root/send/pid", model.getValue("/root/hidden/pid"));
- model.makeValue("/root/send/resncd", model.getValue("/root/init/delayresn"));
- alert(model.getValue("/root/send/instcd"));
- if(model.getValue("/root/init/delayresn") == "") {
- // alert("지연사유를 선택하세요");
- cbo_delaytime.refresh();
- }
- //-------------------
- submit("TRLPP01503");
- }
-
- /* @group : 관심증례
- * @ver : 2007.08.24 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 관심증례 Excel저장 처리 Function
- */
- function fExeSaveToExcel() {
- grd_refinfolist.saveExcel("C:\\SMLPP01500_관심증례.xls", "관심증례", false, false);
- messageBox("C:\\SMLPP01500_관심증례.xls 파일생성이 ", "I002");
- }
-
- /* @group : 관심증례
- * @ver : 2008.03.13 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호 입력 처리 Function
- */
- function fExeRefValKeyPress() {
-
- if(event.keyCode == 13) {
- model.setValue("/root/hidden/pid", ipt_pid.currentText);
- ipt_pid.refresh();
-
- //----------------
- fGetRefInfoList();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_btn" style="left:0px; top:13px; width:1185px; height:77px; ">
- <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="button13" class="btn6_letter5" navindex="6" style="left:5px; top:3px; width:92px; height:22px; ">
- <caption>EXCEL저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- lpzfExeSaveToExcel(grd_refinfolist, "관심증례목록");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1190px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:129px; height:14px; ">지연사유 환자조회</caption>
- </group>
- <group id="grp_biz" style="left:0px; top:45px; width:1185px; height:715px; ">
- <datagrid id="grd_refinfolist" nodeset="/root/main/refinfo/refinfolist" class="datagrid2" caption="기관코드^ptno^병리번호^등록번호^환자명^성별/나이^장기명^진 단^지연사유" colsep="^" colwidth="0, 0, 100, 80, 80, 70, 150,465, 130" explorerbar="sortshow" rowheader="seq" rowsep="|" navindex="5" style="left:0px; top:75px; width:1116px; height:635px; ">
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col class="text_left" ref="dispptno"/>
- <col class="text_center" ref="pid"/>
- <col class="text_left" ref="patnm"/>
- <col class="text_center" ref="sexage"/>
- <col class="text_left" ref="extrpartcnts"/>
- <col class="text_left" ref="diagcnts"/>
- <col ref="memocnts"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_refinfolist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( grd_refinfolist.row == 0 ) return;
-
- var dispptno = model.getValue("/root/main/refinfo/refinfolist["+ grd_refinfolist.row +"]/dispptno");
- var sflag = dispptno ;
- setParameter("opener_parameter_id", sflag);
- modal("SMLPR00100", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:1px; top:0px; width:1145px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1139px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:883px; y1:12px; x2:883px; y2:34px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:14px; width:86px; height:17px; ">조회일자 :</caption>
- <caption id="caption5" class="search_no_b" style="left:207px; top:13px; width:12px; height:17px; ">~</caption>
- <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:893px; top:12px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRefInfoList();
- ]]>
- </script>
- </button>
- <input id="ipt_cnclfromdd" ref="/root/hidden/acptfromdd" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:104px; top:13px; width:100px; height:19px; "/>
- <input id="ipt_cncltodd" ref="/root/hidden/acpttodd" class="input_s_essential" navindex="2" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:223px; top:13px; width:100px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:676px; top:14px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="ipt_pid" ref="/root/hidden/pid" navindex="3" style="left:768px; top:13px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValKeyPress();
- ]]>
- </script>
- </input>
- <select1 id="cbo_delaytime" ref="/root/init/delayresn" appearance="minimal" style="left:440px; top:15px; width:229px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/delayresn/resncdlist">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:350px; top:15px; width:86px; height:17px; ">지연사유 :</caption>
- </group>
- <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:185px; height:13px; ">지연사유 환자목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1149px; y2:70px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|