123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHB01400.xrw
- * 설 명 : 기관및판정의관리
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 : 2007.08.01
- * 수정이력 : 2007.10.04 김다영 화면권한추가
- * 기 타 :
- -->
- <?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="">
- <send>
- <srchpid/>
- <healexamdetlflag/>
- <srchpnm2/>
- </send>
- <main>
- <reexam>
- <item>
- <pid/>
- <hngnm/>
- <hopedd/>
- <pkgnm/>
- <hometel/>
- <mpphontel/>
- <addr/>
- <notiyn/>
- <nexthopedd/>
- <reexamcdlst/>
- <cnts/>
- <healexamdetlflag/>
- <orgrsrvdd/>
- <orgrsrvno/>
- <nextrsrvdd/>
- <nextrsrvno/>
- </item>
- </reexam>
- </main>
- <init>
- <baseinfo>
- <assocd/>
- <healexamflaglst/>
- <ghealexamdetlflaglst/>
- <chealexamdetlflaglst/>
- <healexamdetlflaglst>
- <item/>
- </healexamdetlflaglst>
- <comcode/>
- </baseinfo>
- </init>
- <hidden/>
- <case_mode/>
- <temp>
- <addr>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <zipcdseq/>
- </addr>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <!-- <submission id="TRAHB00201" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/inqrlst"/>
- <submission id="TRZBC00101"/> -->
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- model.removeNodeset("/root/main/reexam");
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA04112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/assolist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fGetBaseInfo(){
- // 건진기관구분
- zbcfGetCodeList( new Array("A0068","A0069","A0070","P0008","P0010","P0032"),
- new Array("/root/init/baseinfo/healexamflaglst"
- ,"/root/init/baseinfo/chealexamdetlflaglst"
- ,"/root/init/baseinfo/ghealexamdetlflaglst"
- ,"/root/init/baseinfo/comcode"
- ,"/root/init/baseinfo/comcode"
- ,"/root/init/baseinfo/comcode") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/chealexamdetlflaglst/A0069", "after");
- copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/ghealexamdetlflaglst/A0070", "after");
- }
- function fGetReexam(){
- if(model.getValue("/root/send/srchpid") == "" && (model.getValue("/root/send/srchfromdd") == "" || model.getValue("/root/send/srchtodd") == ""))
- {
- messageBox("시행일자 혹은 환자를 선택하셔야 합니다.", "E");
- return;
- }
- model.removeNodeset("/root/main/reexam");
- submit("TRAHA04112");
- }
- function fSetData(vMulti){
- if( !checkOpener() ) return ;
-
- var vDestXPath = opener.javascript.getParameter("SPAHB00600_PARAM5");
-
- var rowNum = grd_reexamlst.row;
-
- opener.model.setValue(vDestXPath+"/pid", model.getValue("/root/main/reexam/item[" + rowNum + "]/pid"));
- opener.model.setValue(vDestXPath+"/hngnm", model.getValue("/root/main/reexam/item[" + rowNum + "]/hngnm"));
- opener.model.setValue(vDestXPath+"/hopedd", model.getValue("/root/main/reexam/item[" + rowNum + "]/hopedd"));
- opener.model.setValue(vDestXPath+"/pkgnm", model.getValue("/root/main/reexam/item[" + rowNum + "]/pkgnm"));
- opener.model.setValue(vDestXPath+"/hometel", model.getValue("/root/main/reexam/item[" + rowNum + "]/hometel"));
- opener.model.setValue(vDestXPath+"/mpphontel", model.getValue("/root/main/reexam/item[" + rowNum + "]/mpphontel"));
- opener.model.setValue(vDestXPath+"/addr", model.getValue("/root/main/reexam/item[" + rowNum + "]/addr"));
- opener.model.setValue(vDestXPath+"/healexamdetlflag", model.getValue("/root/main/reexam/item[" + rowNum + "]/healexamdetlflag"));
- opener.model.setValue(vDestXPath+"/orgrsrvdd", model.getValue("/root/main/reexam/item[" + rowNum + "]/rsrvdd"));
- opener.model.setValue(vDestXPath+"/orgrsrvno", model.getValue("/root/main/reexam/item[" + rowNum + "]/rsrvno"));
- opener.model.refresh();
- window.close();
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="700" pageheight="450" guideline="1,686;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:680px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:134px; height:14px; ">재미검 대상자 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:680px; height:382px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:675px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:675px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:610px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetReexam();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:594px; y1:5px; x2:594px; y2:27px; "/>
- <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" imemode="hangul" style="left:306px; top:8px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- inputEnterKey("btn_srchpat", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_srchpat" class="icon_search" style="left:421px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
- ]]>
- </script>
- </button>
- <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:441px; top:8px; width:120px; height:19px; "/>
- <caption id="caption49" class="search_name" style="left:217px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/healexamdetlflag" class="combo_search" appearance="minimal" style="left:90px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflaglst/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:5px; top:8px; width:86px; height:17px; ">건진구분 :</caption>
- </group>
- <datagrid id="grd_reexamlst" nodeset="/root/main/reexam/item" autoresize="true" caption="등록번호^성명^신체검사일^패키지명^연락처1^연락처2^주소^건진구분^원예약등록일^원예약등록번호" colsep="^" colwidth="80, 71, 80, 120, 90, 90, 160, 70, 100, 120, 128, 100, 100, 100, 100" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:54px; width:675px; height:326px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="hopedd"/>
- <col ref="pkgnm"/>
- <col ref="hometel"/>
- <col ref="mpphontel"/>
- <col ref="addr"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsrvdd" type="input" visibility="hidden"/>
- <col ref="rsrvno" type="input" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetData("Y");
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:50px; x2:674px; y2:51px; "/>
- </group>
- <button id="btn_cancel" class="btn4_letter2" style="left:620px; top:397px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="onclick"/>
- </button>
- <button id="btn_confirm" class="btn4_letter2" style="left:561px; top:397px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var idx=grd_reexamlst.row;
- if(idx>0){
- fSetData("Y");
- }
- else{
- window.close();
- }
- //fSetData("Y");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|