123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <?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>
- <dethotptlist>
- <dethotptinfo>
- <type/>
- <orddrnm/>
- <orddrid/>
- <orddeptnm/>
- <orddeptcd/>
- <orddd/>
- <pid/>
- </dethotptinfo>
- </dethotptlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <pid/>
- <hngnm/>
- <srchfromdd/>
- <srchtodd/>
- </send>
- <init/>
- <hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </source>
- </hidden>
- </root>
- </instance>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/main/patinfo"/>
- <submission id="TRPAO00003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp_deth"/>
- <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" ev:event="xforms-ready">
- <![CDATA[
- // 날짜 기간 선택
- model.setValue("/root/send/srchfromdd", getCurrentDate().toDate().getAddDate(-1,"Y").getDateFormat());
- model.setValue("/root/send/srchtodd", "99991231");
-
- if(checkOpener()){
- var pid = opener.javascript.getParameter("SPPMO02000_PID");
- if( pid != '' && pid != ' ' && pid != '-' ){
- model.setValue("/root/send/pid", pid);
- btn_search.dispatch("DOMActivate");
- }
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="680" pageheight="343" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:663px; height:316px; ">
- <group id="group2" style="left:0px; top:0px; width:662px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:662px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:0px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:590px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/send/pid");
- var hngnm = model.getValue("/root/send/hngnm");
- if( pid == '' || pid == '' || pid == '-' ){
- messageBox("등록번호가 없습니다. 환자조회 후 다시 시도해 주세요.", "E999", "");
- return false;
- }else{
- model.setValue("/root/hidden/source/srchcond", "1");
- model.setValue("/root/hidden/source/pid", pid);
- if(submit("TRPMC02500")){
- if( getNodesetCount("/root/main/patinfo/patinfolist/pid") > 0 ){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.refresh();
- }else{
- messageBox("존재하지 않는 등록번호입니다. 등록번호를 확인하세요.", 'E999', '');
- return false;
- }
- }else{
- return false;
- }
- }
-
- if(submit("TRPAO00003")){
- model.resetInstanceNode("/root/main/dethotptlist");
- model.copyNode("/root/main/dethotptlist", "/root/temp_deth");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:574px; y1:7px; x2:574px; y2:29px; "/>
- <input id="input3" ref="/root/send/pid" class="input_search" style="left:86px; top:8px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setValue("/root/send/pid", input3.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:260px; top:10px; width:86px; height:17px; ">조회일자 :</caption>
- <button id="button1" accesskey="f2" class="icon_search" style="left:160px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
- if(model.getValue("/root/main/popupendflag") == 'ok'){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:345px; top:8px; width:95px; height:19px; "/>
- <caption id="caption50" class="search_n_b" style="left:444px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:460px; top:8px; width:95px; height:19px; "/>
- <input id="input1" ref="/root/send/hngnm" class="input_search" disabled="true" style="left:180px; top:8px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setValue("/root/send/pid", input3.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:225px; height:13px; ">외래 미시행내역</caption>
- <datagrid id="grd_dethotptlist" nodeset="/root/main/dethotptlist/dethotptinfo" caption="환자번호^진료일자^진료과^진료의사^비고^수신자명^희망진료일자" colsep="^" colwidth="90, 90, 120, 90, 100" dataheight="23" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:65px; width:662px; height:249px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:662px; y2:60px; "/>
- <col ref="pid" visibility="hidden"/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:left; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="type" style="text-align:left; "/>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:663px; height:27px; ">
- <button id="btn_close" class="btn4_letter2" style="left:606px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:662px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|