123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHA00920_재검및타과의뢰관리.xrw
- * 설 명 : 재검및타과의뢰관리
- * 설 계 자 : 서원식
- * 작 성 자 : 서원식
- * 작 성 일 : 2012.05.25
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <rsrvacptlst>
- <item>
- <healexamflag/>
- <rsrvdd/>
- <rsrvno/>
- <healexamdetlflag/>
- <rsltcnstdd/>
- <rsltcnstrsrvstarttm/>
- <hngnm/>
- <pid/>
- <orddd/>
- <rsltcnstdrnm/>
- <telno/>
- <mpphon/>
- <age/>
- <sex/>
- <rrgstno/>
- <address/>
- <vipyn/>
- <clntgrde/>
- </item>
- </rsrvacptlst>
- <afterColgJudgInfo>
- <judginfo>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <pid/>
- <orddd/>
- <cretno/>
- <judgdd/>
- <judgtm/>
- <judgdrid/>
- <pkgcd/>
- <shrthngjudgcnts/>
- <shrtengjudgcnts/>
- <hngjudgcnts/>
- <engjudgcnts/>
- <prntyn/>
- <rsltcnstdrid/>
- <afhngjudgcnts/>
- </judginfo>
- <afexamlist>
- <item/>
- </afexamlist>
- </afterColgJudgInfo>
- </main>
- <init>
- <judg>
- <drlst>
- <itemdr/>
- </drlst>
- </judg>
- <cnst>
- <drlst>
- <itemdr>
- </itemdr>
- </drlst>
- </cnst>
- <baseinfo>
- <rsltcnstflaglst/>
- <orddeptcdlst/>
- </baseinfo>
- </init>
- <send>
- <srchdata>
- <srchhealexamflag>C</srchhealexamflag>
- <srchhealexamdetlflag>C01</srchhealexamdetlflag>
- <srchtype>rsrvdd</srchtype>
- <srchrsltcnstflag/>
- <srchfromdd/>
- <srchtodd/>
- <srchdr/>
- <srchhngnm/>
- <srchpid/>
- </srchdata>
- <srchdr>
- <srchhealexamflag>C</srchhealexamflag>
- <srchhealexamdetlflag>C01</srchhealexamdetlflag>
- <srchcond/>
- </srchdr>
- <srchjudg>
- <srchhealexamflag>C</srchhealexamflag>
- <srchhealexamdetlflag>C01</srchhealexamdetlflag>
- <srchrsrvdd/>
- <srchrsrvno/>
- <srchinstcd/>
- <srchpid/>
- <srchorddd/>
- <srchcretno/>
- </srchjudg>
- <srchaftercolgJudg>
- <healexamflag>C</healexamflag>
- <healexamdetlflag>C01</healexamdetlflag>
- <rsrvdd/>
- <rsrvno/>
- <pid/>
- </srchaftercolgJudg>
- </send>
- <savedata/>
- <temp>
- <judginfo/>
- </temp>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitInfo(); //정보 초기화
- fGetBasicCdList(); //기본코드 내역 가져오기
- fGetBaseInfo(); //기본/공통코드 정보를 조회
- var curDt = getCurrentDate();
- model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
- model.setValue(ipt_srchtodd.attribute("ref") , curDt);
- // model.setValue(ipt_srchfromdd.attribute("ref") , "20120723");
- // model.setValue(ipt_srchtodd.attribute("ref") , "20120723");
- model.refresh();
- ]]>
- </script>
- <submission id="TRAHA00001"/>
- <submission id="TRAHA00002"/>
- <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdr" replace="instance" resultref="/root/init/cnst/drlst"/>
- <submission id="TRAHA00920" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/rsrvacptlst"/>
- <submission id="TRAHR00600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchaftercolgJudg" replace="instance" resultref="/root/main/afterColgJudgInfo"/>
- <submission id="TXAHR00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveAfexam" replace="instance" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript">
- <![CDATA[
- /**===================================================================================
- *정보 초기화
- *=====================================================================================*/
- function fInitInfo(){
- model.removeNodeset("/root/main/rsrvacptlst");
- model.removeNodeset("/root/main/afterColgJudgInfo/judginfo");
- model.removeNodeset("/root/main/afterColgJudgInfo/afexamlist/item");
-
- hngnm.value = "";
- pid.value = "";
- orddd.value = "";
- rsltcnstdd.value = "";
- }
- /**===================================================================================
- *기본코드 정보를 조회
- *=====================================================================================*/
- function fGetBaseInfo() {
- healGetCodeList( new Array("S610"), new Array("/root/init/baseinfo/orddeptcdlst") );
- model.removenode("/root/init/baseinfo/orddeptcdlst/S610[0]");
- }
- /**===================================================================================
- *기본코드 내역 가져오기
- *=====================================================================================*/
- function fGetBasicCdList(){
- //판정의조회
- model.setValue("/root/send/srchdr/srchcond" , "J");
- submit("TRAHB01504");
- model.copyNode("/root/init/judg/drlst", "/root/init/cnst/drlst");
-
- //상담의조회
- model.setValue("/root/send/srchdr/srchcond" , "C");
- submit("TRAHB01504");
-
- //상담의 - 전체추가
- astfAddCombo("/root/init/cnst/drlst", "itemdr", "drid,drnm", ",전체");
-
- //결과상담구분
- healGetCodeListSubmit(new Array("S080"), new Array("/root/init/baseinfo/rsltcnstflaglst"), false);
- model.setValue("/root/send/srchdata/srchrsltcnstflag", "01");
-
- }
-
- /**==========================================================================================================================
- * 재검및타과의뢰 대상자 조회
- *==========================================================================================================================*/
- function GetRsrvList(){
- submit("TRAHA00920");
- }
- /**===================================================================================
- * 추후관리 조회(종합판정, 추가검사, 재검 및 타과의뢰)
- =====================================================================================*/
- function fSearchAfterColgJudgInfo(){
- model.removenode("/root/main/judgdetl/judginfo/afhngjudgcnts")
- model.removeNodeset("/root/main/afterColgJudgInfo/afexamlist");
-
- var vRsrvdd = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("rsrvdd"));
- var vRsrvno = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("rsrvno"));
- var vPid = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("pid"));
- model.setValue("/root/send/srchaftercolgJudg/rsrvdd" , vRsrvdd);
- model.setValue("/root/send/srchaftercolgJudg/rsrvno" , vRsrvno);
- model.setValue("/root/send/srchaftercolgJudg/pid" , vPid);
-
- if(vRsrvdd == "" && vRsrvno == ""){
- messageBox("환자정보가", "E016");
- return;
- }else{
- /*
- 3개 submission 통합하여 조회함.
- TRAHR00502 - SMAHR00500_종합판정관리.xrw
- TRAHR00506 - SMAHR00500_종합판정관리.xrw
- */
- submit("TRAHR00600");
- hngnm.value = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("hngnm"));
- pid.value = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("pid"));
- orddd.value = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("orddd"));
- rsltcnstdd.value = grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("rsltcnstdd"));
- }
- model.refresh();
- }
-
- /**===================================================================================
- *의뢰 저장
- =====================================================================================*/
- function fSaveAfexam(){
- var updData = grd_afexamlist.getUpdateData();
- if(updData == ""){
- messageBox("저장할 데이터가 존재하지 않습니다.", "E999");
- return false;
- }
-
- model.makeValue("/root/send/saveAfexam/item", updData);
- if(submit("TXAHR00603")){
- messageBox("저장이", "I002");
- return true;
- }else{
- return false;
- }
- }
-
- /**===================================================================================
- *판정 출력
- =====================================================================================*/
- function fPrintAfterColgJudgInfo(){
- model.resetInstanceNode("/root/rexprnt/viewinfo");
- model.makeValue("/root/rexprnt/viewinfo/pid" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("pid")));
- model.makeValue("/root/rexprnt/viewinfo/sex" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("sex")));
- model.makeValue("/root/rexprnt/viewinfo/orddeptcd" , "건강증진센터");
- model.makeValue("/root/rexprnt/viewinfo/hngnm" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("hngnm")));
- model.makeValue("/root/rexprnt/viewinfo/age" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("age")));
- model.makeValue("/root/rexprnt/viewinfo/orddd" , grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("orddd")));
- model.makeValue("/root/rexprnt/viewinfo/afhngjudgcnts" , model.getValue("/root/main/afterColgJudgInfo/judginfo/afhngjudgcnts"));
-
- model.makeNode("/root/rexprnt/viewinfo/afexamlist/item");
- copyNodesetType("/root/rexprnt/viewinfo/afexamlist/item" , "root/main/afterColgJudgInfo/afexamlist/item[aftype='B']", "replace", model, model);
-
- exeReportPreview("RPAHR00600", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,788;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:13px; ">재검및타과의뢰관리</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:15px; width:1195px; height:740px; ">
- <group id="group5" style="left:0px; top:5px; width:1195px; height:50px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1190px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption11" class="search_name" style="left:5px; top:16px; width:105px; height:17px; ">조회기준 :</caption>
- <select1 id="rdo_srchcond" ref="/root/send/srchdata/srchtype" class="radio_search" appearance="full" cellspacing="2" cols="2" overflow="visible" style="left:96px; top:16px; width:119px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>상담일</label>
- <value>rsrvdd</value>
- </item>
- <item>
- <label>건진일</label>
- <value>orddd</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_rsltcnstflag" ref="/root/send/srchdata/srchrsltcnstflag" class="combo" appearance="minimal" style="left:220px; top:16px; width:83px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/S080">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:312px; top:16px; width:64px; height:17px; ">일자 :</caption>
- <input id="ipt_srchfromdd" ref="/root/send/srchdata/srchfromdd" class="input_s_essential" inputtype="date" style="left:378px; top:16px; width:95px; height:19px; "/>
- <caption id="caption19" class="search_n_b" style="left:476px; top:16px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_srchtodd" ref="/root/send/srchdata/srchtodd" class="input_s_essential" inputtype="date" style="left:490px; top:16px; width:95px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:590px; top:16px; width:90px; height:17px; ">상담의 :</caption>
- <select1 id="cmb_srchdr" ref="/root/send/srchdata/srchdr" class="combo_search" appearance="minimal" style="left:670px; top:16px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cnst/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:745px; top:16px; width:61px; height:17px; ">성명 :</caption>
- <input id="ipt_srchpnm" ref="/root/send/srchdata/srchhngnm" class="input_search" imemode="hangul" style="left:810px; top:16px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13){
- ipt_srchpnm.value = ipt_srchpnm.currentText;
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:883px; top:16px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="ipt_srchpid" ref="/root/send/srchdata/srchpid" class="input_search" style="left:973px; top:16px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13){
- ipt_srchpid.value = ipt_srchpid.currentText;
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <line id="line2" class="line_4" style="x1:1117px; y1:15px; x2:1117px; y2:37px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1124px; top:15px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitInfo();
- GetRsrvList();
-
- //2016/05/04 VIP여부 색깔 넣음
- for(var i=1; i <= grd_rsrvacpt.rows; i++){
- var vipyn = grd_rsrvacpt.valueMatrix( i , grd_rsrvacpt.colRef("vipyn"));
- if(vipyn=="Y"){
- grd_rsrvacpt.rowStyle(i, "data", "background-color") = "#FFC0CB";
- }else{
- grd_rsrvacpt.rowStyle(i, "data", "background-color") = "#FFFFFF";
- }
- }
- //2016/05/04 VIP여부 색깔 넣음
- ]]>
- </script>
- </button>
- <button id="btn_srchpat" class="icon_search" style="left:1042px; top:17px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00920", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), ipt_srchpnm.attribute("ref") );
- ]]>
- </script>
- </button>
- </group>
- <button id="button1" class="btn2_letter4" style="left:250px; top:63px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if(fileName != "") grd_rsrvacpt.saveExcel(fileName, "SheetName", false, false, "", "", false);
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:315px; y2:85px; "/>
- <datagrid id="grd_rsrvacpt" nodeset="/root/main/rsrvacptlst/item" caption="healexamflag^rsrvdd^rsrvno^healexamdetlflag^상담일자^상담시간^성명^등록번호^검진일자^상담의^연락처^휴대전화^나이^성별^주민번호^주소^vipyn^clntgrde" colsep="^" colwidth="10, 10, 10, 10, 70, 60, 52, 56, 70, 60, 100, 100, 40, 40, 100, 500, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:90px; width:315px; height:650px; ">
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="rsltcnstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsltcnstrsrvstarttm" format="hh:nn" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="pid" style="text-align:left; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsltcnstdrnm" style="text-align:center; "/>
- <col ref="telno" style="text-align:center; "/>
- <col ref="mpphon" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col ref="address" style="text-align:left; "/>
- <col ref="vipyn" visibility="hidden" style="text-align:left; "/>
- <col ref="clntgrde" visibility="hidden" style="text-align:left; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()){
- //2016/10/25 동명이인 관련 알림 팝업
- fChkPatNameC(grd_rsrvacpt.nodeset, "hngnm", grd_rsrvacpt.valueMatrix(grd_rsrvacpt.row, grd_rsrvacpt.colRef("hngnm")));
- //2016/10/25 동명이인 관련 알림 팝업
-
- fSearchAfterColgJudgInfo();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line13" class="line_1" style="x1:325px; y1:85px; x2:1187px; y2:85px; "/>
- <caption id="caption10" class="cell_1" style="left:325px; top:90px; width:53px; height:355px; text-align:center; vertical-align:middle; ">한글</caption>
- <textarea id="tar_judghngcnts2" ref="/root/main/afterColgJudgInfo/judginfo/afhngjudgcnts" scroll="vertical" style="left:380px; top:90px; width:807px; height:355px; "/>
- <caption id="caption5" class="cell_1" style="left:885px; top:61px; width:59px; height:23px; vertical-align:middle; ">판정일자</caption>
- <input id="ipt_judgdd" ref="/root/main/judgdetl/judginfo/item/judgdd" class="input" disabled="true" inputtype="date" style="left:947px; top:63px; width:95px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:1045px; top:61px; width:45px; height:23px; vertical-align:middle; ">판정의</caption>
- <select1 id="cmb_judgdr" ref="/root/main/afterColgJudgInfo/judginfo/judgdrid" class="combo" disabled="true" appearance="minimal" style="left:1093px; top:63px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judg/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line3" class="line_1" style="x1:325px; y1:476px; x2:1187px; y2:476px; "/>
- <input id="judgdd" ref="/root/main/afterColgJudgInfo/judginfo/judgdd" class="output_fix" disabled="true" style="left:947px; top:63px; width:95px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:325px; top:60px; width:35px; height:23px; vertical-align:middle; ">성명</caption>
- <output id="hngnm" class="output_fix" visibility="visible" style="left:365px; top:62px; width:65px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:435px; top:60px; width:55px; height:23px; vertical-align:middle; ">등록번호</caption>
- <output id="pid" class="output_fix" visibility="visible" style="left:495px; top:62px; width:80px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:580px; top:60px; width:55px; height:23px; vertical-align:middle; ">검진일자</caption>
- <output id="orddd" class="output_fix" visibility="visible" style="left:640px; top:62px; width:80px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:725px; top:60px; width:55px; height:23px; vertical-align:middle; ">상담일자</caption>
- <output id="rsltcnstdd" class="output_fix" visibility="visible" style="left:785px; top:62px; width:80px; height:19px; "/>
- <datagrid id="grd_afexamlist" nodeset="/root/main/afterColgJudgInfo/afexamlist/item" caption="healexamflag^rsrvdd^rsrvno^seq^healexamdetlflag^통보^구분^코드^검사명^월구분^이전결과^재검결과^검사일자^상담일자^진료의뢰과^진료의^비고" colsep="^" colwidth="10, 10, 10, 10, 10, 30, 40, 70, 90, 50, 80, 80, 90, 90, 80, 70, 300" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:325px; top:480px; width:862px; height:260px; ">
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="seq" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col checkvalue="Y,N" ref="afnotiyn" type="checkbox"/>
- <col ref="aftype" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>추가</label>
- <value>A</value>
- </item>
- <item>
- <label>재검</label>
- <value>B</value>
- </item>
- <item>
- <label>타과</label>
- <value>C</value>
- </item>
- <item>
- <label>연장</label>
- <value>D</value>
- </item>
- <item>
- <label>전화</label>
- <value>E</value>
- </item>
- <item>
- <label>방문</label>
- <value>F</value>
- </item>
- </choices>
- </col>
- <col ref="testcd" type="inputbutton" style="padding-left:5; "/>
- <col ref="testnm" type="output" style="padding-left:5; "/>
- <col ref="monthgb" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>1개월</label>
- <value>1</value>
- </item>
- <item>
- <label>3개월</label>
- <value>3</value>
- </item>
- <item>
- <label>6개월</label>
- <value>6</value>
- </item>
- <item>
- <label>9개월</label>
- <value>9</value>
- </item>
- </choices>
- </col>
- <col ref="berslt" type="input"/>
- <col ref="afrslt" type="input"/>
- <col ref="aforddd" type="inputdate" style="text-align:center; "/>
- <col ref="cnstdd" type="inputdate" style="text-align:center; "/>
- <col ref="afdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/orddeptcdlst/S610">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="afdrnm" type="input"/>
- <col ref="remcnts" type="input"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_afexamlist.col == grd_afexamlist.colRef("testcd")){
- model.removeNodeset("/root/main/detlcodelst/item");
- modal("SPAHA00801"); //선택화면 Call
-
- if(model.getValue("/root/temp/okflag") == "ok"){
- model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/aftype" , model.getValue("/root/main/detlcodelst/item[" + 1 + "]/aftype"));
- model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/testcd" , model.getValue("/root/main/detlcodelst/item[" + 1 + "]/etcdetlcd"));
- model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/testnm" , model.getValue("/root/main/detlcodelst/item[" + 1 + "]/etcdetlnm"));
- if(grd_afexamlist.rowStatus(grd_afexamlist.row)!=1){ // Insert가 아닐때 업데이트로 변경
- grd_afexamlist.rowStatus(grd_afexamlist.row)=2;
- }
- model.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_del" class="btn2_letter3" style="left:1133px; top:454px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_afexamlist, true);
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter3" style="left:1076px; top:454px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_afexamlist.addRow();
- var healexamflag = model.getValue("/root/send/srchaftercolgJudg/healexamflag");
- var healexamdetlflag = model.getValue("/root/send/srchaftercolgJudg/healexamdetlflag");
- var rsrvdd = model.getValue("/root/send/srchaftercolgJudg/rsrvdd");
- var rsrvno = model.getValue("/root/send/srchaftercolgJudg/rsrvno");
- model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/healexamflag" , healexamflag);
- model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/healexamdetlflag" , healexamdetlflag);
- model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/rsrvdd" , rsrvdd);
- model.makeValue("/root/main/afterColgJudgInfo/afexamlist/item["+ grd_afexamlist.row +"]/rsrvno" , rsrvno);
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_save" class="btn4_letter4" style="left:1107px; top:760px; width:80px; height:22px; ">
- <caption>의뢰저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fSaveAfexam()){
- fSearchAfterColgJudgInfo();
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn6_letter6" style="left:90px; top:760px; width:104px; height:22px; ">
- <caption>판정기록출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrintAfterColgJudgInfo();
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter4" style="left:5px; top:760px; width:80px; height:22px; ">
- <caption>명단출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main/export/srchfromdd" , model.getValue("/root/send/srchdata/srchfromdd").toDate().getDateFormat("YYYY/MM/DD"));
- model.makeValue("/root/main/export/srchtodd" , model.getValue("/root/send/srchdata/srchtodd").toDate().getDateFormat("YYYY/MM/DD"));
- exeReportPreview("RPAHA00920", "XMLSTR", "/root/main/export","", "false","","","","","false");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|