123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHR01000.xrw
- * 설 명 : 검사결과관리[비자건진]
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2007.09.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>
- <acptlst>
- <all>
- <pid/>
- <visano/>
- <hngnm/>
- <engnm/>
- <statflag/>
- <ordtm/>
- <waitstarttm/>
- <pkgnm/>
- <orddd/>
- <sex/>
- <age/>
- <cmpynm>
- </cmpynm>
- <rgstno1/>
- <rgstno2/>
- <cmpycd/>
- <pkgcd/>
- <rsrvdd/>
- <rsrvno/>
- <cretno/>
- <orddeptcd/>
- <healexamflag/>
- <healexamdetlflag/>
- <acptremcnts/>
- <psptno/>
- <trnfileno/>
- <gender/>
- <brthdd/>
- </all>
- </acptlst>
- <acptinfo>
- <item>
- <pid/>
- <hngnm/>
- <engnm/>
- <rgstno1/>
- <rgstno2/>
- <sex/>
- <age/>
- <cmpycd/>
- <cmpynm/>
- <pkgcd/>
- <pkgnm/>
- <schlgrde/>
- <clsid/>
- <stuid/>
- <plceflag/>
- <orddd/>
- <judgdd/>
- <judgdrid/>
- <drnm/>
- <reexamfg/>
- <remcnts/>
- <rsltremcnts/>
- <statflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <cretno/>
- <orddd/>
- <judgdrid/>
- <judgdd/>
- <judgcnts1/>
- </item>
- <rsltlst>
- <letter>
- <engnm/>
- <sex/>
- <visano/>
- <age/>
- <lstdate/>
- <subclass/>
- <reqtests/>
- <rsltreqtests/>
- <specoption/>
- <signdrcd/>
- </letter>
- </rsltlst>
- </acptinfo>
- <vsltlist>
- <vsltinfo>
- <healexamflag/>
- <rsrvdd/>
- <rsrvno/>
- <examseq/>
- <sendaddressflag/>
- <senddd/>
- <retestitem/>
- <remark/>
- <subclass/>
- <requiretest/>
- <resultoftest/>
- <specialoption/>
- <letterdoctor/>
- <iudgb/>
- </vsltinfo>
- </vsltlist>
- <doctorlst>
- <item>
- <signdrhan/>
- <signdreng/>
- <signdrposhan/>
- <signdrposeng/>
- <signdrdepthan/>
- <signdrdepteng/>
- <signdrdivihan/>
- <signdrdivieng/>
- <instnmhan/>
- <instnmeng/>
- <seq/>
- </item>
- </doctorlst>
- <print>
- <letter>
- <patinfo/>
- <letterinfo/>
- </letter>
- </print>
- </main>
- <send>
- <srchhealexamdetlflag/>
- <srchfromdd/>
- <srchtodd/>
- <srchcmpycd/>
- <srchcmpynm/>
- <srchpkgcd/>
- <srchpkgnm/>
- <srchpid2/>
- <srchpnm/>
- <srchroomcd/>
- <srchinstcd/>
- <srchhealexamflag/>
- <srchtestcd2/>
- <srchrsltflag/>
- <srchstyle/>
- <srchexamseq/>
- <windowloadinstance>SMAHA04610</windowloadinstance>
- <save>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <pid/>
- <orddd/>
- <cretno/>
- <pkgcd/>
- <saverslt/>
- <savetext/>
- <saveinqr/>
- <resultoftest/>
- <specialoption/>
- <requiretest/>
- <subclass/>
- <visano/>
- <signdrseq/>
- <signdrdept/>
- <signdr/>
- <signdrpos/>
- <signdrdivi/>
- <instnm/>
- </save>
- <srchorddd/>
- <srchcretno/>
- <srchrsrvdd/>
- <srchrsrvno/>
- <srchpid/>
- <srchinqrflag/>
- <srchbrtharea/>
- <srchstatfg>G</srchstatfg>
- <srchgb/>
- <saveout>
- <pid/>
- <orddd/>
- <cretno/>
- <healexamflag/>
- <rsrvdd/>
- <rsrvno/>
- <healexamdetlflag/>
- <instcd/>
- </saveout>
- <iemr>
- <pid/>
- <orddeptcd/>
- <indd/>
- <docucd/>
- <ioflag/>
- <pagetot/>
- <cmc_spcid/>
- <cmc_orddate/>
- <cmc_orderseqno/>
- <treatno/>
- </iemr>
- <srchuserid/>
- <srchdeptcd/>
- <result>
- <lab/>
- <che/>
- <nuc/>
- <mic/>
- <eds/>
- <style/>
- </result>
- </send>
- <init>
- <baseinfo>
- <choiflaglst/>
- <hedetlflaglst/>
- <rslttypelst/>
- <plceflag/>
- <brtharealst/>
- <pamcdlst>
- <uncocdlst/>
- <disccdlst/>
- </pamcdlst>
- <inqrflag/>
- <drlst>
- <itemdr/>
- </drlst>
- <statlst/>
- <rptgroup/>
- <initsendaddress>
- <combo/>
- </initsendaddress>
- <initsendaddressflag/>
- <initsendaddressflag2/>
- <initexaminfo>
- <combo/>
- </initexaminfo>
- <initaddrinfo/>
- </baseinfo>
- <send>
- <srchhealexamflag/>
- <srchhealexamdetlflag/>
- <srchpid2/>
- <srchpnm/>
- <srchfromdd/>
- <srchbrtharea/>
- <srchtodd/>
- <srchgb/>
- </send>
- </init>
- <hidden/>
- <temp>
- <item>
- <signdrseq/>
- <signdreng/>
- <signdrposeng/>
- <signdrdepteng/>
- <signdrdivieng/>
- <instnmeng/>
- </item>
- <popupmenu>
- <grid01>
- <item>
- <name>그룹 선택</name>
- <func>fAllCheck</func>
- </item>
- <item>
- <name>그룹 선택 취소</name>
- <func>fUnAllCheck</func>
- </item>
- </grid01>
- </popupmenu>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.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/AHA001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(checkOpener()) {
- var sFlag = opener.javascript.getParameter("SMAHA04610_PARAM1");
- // 건진구분,건진상세구분 셋팅
- if(sFlag == "") {
- m_vHealexamflag = "G"
- m_vHealexamdetlflag = "G02"
- }else {
- m_vHealexamflag = sFlag.substr(0,1);
- m_vHealexamdetlflag = sFlag;
- }
- model.setValue("/root/send/save/healexamflag" , m_vHealexamflag);
- model.setValue("/root/send/save/healexamdetlflag" , m_vHealexamdetlflag);
-
- var sHopedd = opener.javascript.getParameter("SMAHA04610_PARAM2");
- var sPid = opener.javascript.getParameter("SMAHA04610_PARAM3");
- var sBrthArea = opener.javascript.getParameter("SMAHA04610_PARAM4");
- // 국가,일자,등록번호 셋팅
- model.setValue("/root/init/send/srchbrtharea" , sBrthArea );
- model.setValue("/root/init/send/srchfromdd" , sHopedd);
- model.setValue("/root/init/send/srchpid2" , sPid);
- ipt_pid.refresh();
- // 등록번호에 따른 신상정보 조회
- fGetPatInfo(2);
- model.setValue(ipt_pid.attribute("ref"), model.getValue("/root/temp/patinfo/item/pid") );
- model.setValue(ipt_pnm.attribute("ref"), model.getValue("/root/temp/patinfo/item/hngnm") );
-
- }
- fGetBasicCdList();
- fSrchInit();
- fInit(false);
- fGetRsltPatList();
-
- healGetCodeList( new Array("S040", "S050", "R001"),
- new Array("/root/init/baseinfo/initsendaddressflag", "/root/init/baseinfo/initsendaddressflag2", "/root/init/baseinfo/initaddrinfo") );
- submit("TRAHA00001");
- if (model.getValue("/root/init/send/srchbrtharea") == "AR"){
- copyNodesetType("/root/init/baseinfo/initsendaddress/combo", "/root/init/baseinfo/initsendaddressflag/S040", "replace");
- }else{
- copyNodesetType("/root/init/baseinfo/initsendaddress/combo", "/root/init/baseinfo/initsendaddressflag2/S050", "replace");
- }
- model.makeValue("/root/init/addrinfo/CF1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CF1']/cdnm"));
- model.makeValue("/root/init/addrinfo/CP1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP1']/cdnm"));
- model.makeValue("/root/init/addrinfo/CP2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP2']/cdnm"));
- model.makeValue("/root/init/addrinfo/E01", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E01']/cdnm"));
- model.makeValue("/root/init/addrinfo/E02", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E02']/cdnm"));
- model.makeValue("/root/init/addrinfo/E03", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E03']/cdnm"));
- model.makeValue("/root/init/addrinfo/E04", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E04']/cdnm"));
- model.makeValue("/root/init/addrinfo/K01", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K01']/cdnm"));
- model.makeValue("/root/init/addrinfo/K02", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K02']/cdnm"));
- model.makeValue("/root/init/addrinfo/K03", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K03']/cdnm"));
- model.makeValue("/root/init/addrinfo/K04", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K04']/cdnm"));
- model.makeValue("/root/init/addrinfo/PV1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'PV1']/cdnm"));
- model.makeValue("/root/init/addrinfo/PV2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'PV2']/cdnm"));
- model.makeValue("/root/init/addrinfo/VF1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'VF1']/cdnm"));
- model.makeValue("/root/init/addrinfo/logoimg", getImageURL("cmc"));
- model.toggle("case_all");
- btn_all.selected = true;
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRAHB01502" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/room/roomlst"/>
- <bind id="bind_rslt" ref="/root/main/rsltlst/item/testrsltcnts" readonly="../rsltflag="O""/>
- <submission id="TRAHA04611" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/acptlst"/>
- <submission id="TRAHA04612" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/baseinfo/initexaminfo"/>
- <submission id="TRAHA04613" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/vsltlist"/>
- <submission id="TRAHB01504" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/baseinfo/drlst"/>
- <submission id="TXAHA04611" ref="/root/main/vsltlist/vsltinfo" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAHA00001"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- var m_vHealexamflag = "";
- var m_vHealexamdetlflag = "";
-
-
- /**===================================================================================
- *초기화
- * bDetl => true : 건진자별 상세내역만 초기화
- =====================================================================================*/
- function fInit(bDetl){
- model.removeNodeset(grd_allacptlst.nodeset);
- model.resetInstanceNode("");
- if( bDetl) {
- return ;
- }
- model.resetInstanceNode("/root/main/info/item");
- model.refresh();
- }
-
- /**===================================================================================
- ** 조회조건 초기화
- =====================================================================================*/
- function fSrchInit(){
- cmb_srchhealexamdetlflag.refresh();
- cmb_srchhealexamdetlflag.value = m_vHealexamdetlflag;
-
- cmb_brtharea.select(0);
-
- model.setValue("/root/init/send/srchtodd" , getCurrentDate());
- model.setValue("/root/init/send/srchfromdd" , getCurrentDate().toDate("YYYYMMDD").getAddDate(-3,"M").getDateFormat("YYYYMMDD"));
-
-
- }
- /**===================================================================================
- *기본코드 내역 가져오기
- =====================================================================================*/
- function fGetBasicCdList(){
- if( m_vHealexamflag == "" ) {
- var sFlag = getScreenMenuParameter();
-
- if(sFlag == "") {
- m_vHealexamflag = "G";
- m_vHealexamdetlflag = "G02";
- }else {
- m_vHealexamflag = sFlag.substr(0,1);
- m_vHealexamdetlflag = sFlag;
- }
- }
- openLoadingBar("기초정보 ") ;//처리중 화면을 오픈한다.
-
- zbcfGetCodeList( new Array("A0070","A0465", "A0066","A0110","A0106", "A0107")
- , new Array( "/root/init/baseinfo/hedetlflaglst"
- , "/root/init/baseinfo/brtharealst"
- , "/root/init/baseinfo/plceflag"
- , "/root/init/baseinfo/inqrflag"
- , "/root/init/baseinfo/statlst") );
- submit("TRZBC00101");
-
- //비자건진에서 사용하는 의사목록 select
- //submit("TRAHA43210");
-
- //검사실 코드조회
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- submit("TRAHB01502");
-
- //판정의 조회
- model.setValue("/root/send/srchhealexamflag" , m_vHealexamflag);
- model.makeNode("/root/send/srchcond" );
- model.setValue("/root/send/srchcond", "J");
- submit("TRAHB01504");
-
- closeLoadingBar() ;//처리중 화면을 close한다.
-
-
-
- }
- /**===================================================================================
- *사용자 부서 정보
- =====================================================================================*/
- function fSetSuppDeptcd() {
- var dutplcecd = getUserInfo("dutplcecd");
- var selectplcecd = getScreenPrestDeptCd();
- if ( selectplcecd == "" ) {
- selectplcecd = dutplcecd;
- }
- model.setValue("/root/send/srchdeptcd" , selectplcecd);
- }
- /**===================================================================================
- *결과입력대상자 가져오기
- *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
- =====================================================================================*/
- function fGetRsltPatList(){
- openLoadingBar("재검레터 대상 건진자리스트") ;//처리중 화면을 오픈한다.
- model.removeNodeset(grd_allacptlst.nodeset);
- model.resetInstanceNode("/root/send");
-
- model.setValue("/root/send/srchhealexamdetlflag", model.getValue("/root/init/send/srchhealexamdetlflag") );
- model.setValue("/root/send/srchpid", model.getValue("/root/init/send/srchpid2") );
- model.setValue("/root/send/srchpnm", model.getValue("/root/init/send/srchpnm") );
- model.setValue("/root/send/srchtodd", model.getValue("/root/init/send/srchtodd") );
- model.setValue("/root/send/srchfromdd", model.getValue("/root/init/send/srchfromdd"));
- model.setValue("/root/send/srchbrtharea", model.getValue("/root/init/send/srchbrtharea"));
- model.setValue("/root/send/srchgb", model.getValue("/root/init/send/srchgb"));
- var shealexamdetlflag = model.getValue("/root/init/send/srchhealexamdetlflag");
- var shealexamflag = shealexamdetlflag.substr(0,1);
- model.setValue("/root/send/srchhealexamflag" , shealexamflag);
- model.makeValue("/root/send/srchstatfg" , model.getValue("/root/init/send/srchstatfg"));
- submit("TRAHA04611");
-
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /**=============================================================================================================
- *결과 내역을 조회하기 위한 조건정보 체크
- =============================================================================================================*/
- function fCheckExamInfo(){
- var idx = grd_allacptlst.row;
- if( idx < 1) {
- //messageBox("수진자를 ", "C002");
- return false;
- }
- model.copyNode("/root/main/acptinfo/item", grd_allacptlst.nodeset + "[" + idx + "]");
- //결과내역가져오기
- var sNode = grd_allacptlst.nodeset + "[" + idx + "]/";
-
- var rsrvdd = model.getValue(sNode + "rsrvdd");
- var rsrvno = model.getValue(sNode + "rsrvno");
- var pid = model.getValue(sNode + "pid");
- var orddd = model.getValue(sNode + "orddd");
- var cretno = model.getValue(sNode + "cretno");
- var pkgcd = model.getValue(sNode + "pkgcd");
- if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
- messageBox("유효하지 않은 데이터 입니다!", "E999", "");
- return false;
- }
- model.resetInstanceNode("/root/send");
-
- model.setValue("/root/send/srchhealexamdetlflag" , model.getValue("/root/init/send/srchhealexamdetlflag") );
- model.setValue("/root/send/srchpnm" , model.getValue("/root/init/send/srchpnm") );
- model.setValue("/root/send/srchfromdd" , model.getValue("/root/init/send/srchfromdd") );
- model.setValue("/root/send/srchtodd" , model.getValue("/root/init/send/srchtodd") );
-
- model.setValue("/root/send/srchrsrvdd" , rsrvdd );
- model.setValue("/root/send/srchrsrvno" , rsrvno );
- model.setValue("/root/send/srchpid" , pid );
- model.setValue("/root/send/srchorddd" , orddd );
- model.setValue("/root/send/srchcretno" , cretno );
- model.setValue("/root/send/srchhealexamflag" , m_vHealexamflag );
- model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd") );
- model.setValue("/root/send/srchpkgcd" , pkgcd);
-
- // ahafSetScreenTopPatInfo( pid , orddd , cretno );
- }
-
- /**=============================================================================================================
- @desc : 종합건진 결과 내역 조회
- =============================================================================================================*/
- function fGetRsltInfo(){
- model.resetInstanceNode("/root/main/acptinfo/item");
-
- if( fCheckExamInfo() == false ){
- model.refresh();
- return ;
- }
-
- openLoadingBar("비자레터정보 ") ;//처리중 화면을 오픈한다.
-
- model.setValue("/root/send/srchhealexamflag", model.getValue("/root/main/acptlst/all[" + grd_allacptlst.row + "]/healexamflag"));
- model.setValue("/root/send/srchrsrvdd", model.getValue("/root/main/acptlst/all[" + grd_allacptlst.row + "]/rsrvdd"));
- model.setValue("/root/send/srchrsrvno", model.getValue("/root/main/acptlst/all[" + grd_allacptlst.row + "]/rsrvno"));
- submit("TRAHA04612");
- combo2.select(0);
- readfunc();
-
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /**
- @desc : 선택형 결과입력
- */
- function fAddRsltChoi(){
- var idx = grd_allacptlst.row ;
- if( idx < 1) return ;
- var oldrslt = model.getValue(grd_allacptlst.nodeset + "[" + idx + "]/rsltcnts" );
-
- if( grd_choilst.col != 1 ) return ;
-
- var i = grd_choilst.row;
- if( i < 1) return ;
-
- var nodeList = instance1.selectNodes(grd_choilst.nodeset +"[sel='Y']");
-
- var rslt = "";
- var node = null;
- if( nodeList.length > 0 ){
- for( var j = 0 ; j < nodeList.length ; j++){
- rslt = rslt + nodeList.item(j).rsltcd.text + ":" + nodeList.item(j).rsltnm.text + "\n" ;
- }
- }
- model.setValue(grd_allacptlst.nodeset + "[" + idx + "]/testrsltcnts", rslt );
- grd_allacptlst.refresh();
- }
- /**===================================================================================
- @desc : 결과입력
- @param : 결과내역
- ===================================================================================*/
- function fSaveColgRslt(){
-
- var vSaveNum = getGridUpdateData(grd_allacptlst);
- var vSaveText = getGridUpdateData(grd_rslttextlst);
- if( (vSaveNum == "") && (vSaveText == "") ) {
- messageBox("저장할 내역이 ", "I004");
- return ;
- }
- var vHfg = m_vHealexamflag;
- if( vHfg == "" ) {
- messageBox("건진구분이 ", "I004");
- return ;
- }
- model.resetInstanceNode("/root/send/save" );
- var vRsrvdd = model.getValue("/root/main/acptinfo/item/rsrvdd") ;
- var vRsrvno = model.getValue("/root/main/acptinfo/item/rsrvno") ;
- var vOrddd = model.getValue("/root/main/acptinfo/item/orddd") ;
- var vCretno = model.getValue("/root/main/acptinfo/item/cretno") ;
- var vPid = model.getValue("/root/main/acptinfo/item/pid") ;
-
- if( (vRsrvdd == "" ) || (vRsrvno == "") || (vPid == "") || (vOrddd == "") || (vCretno == "") ) {
- messageBox("건진정보가 ", "I004");
- return ;
- }
- model.setValue("/root/send/save/healexamflag" , vHfg );
- model.setValue("/root/send/save/healexamdetlflag", model.getValue("/root/init/send/srchhealexamdetlflag") );
- model.setValue("/root/send/save/rsrvdd" , vRsrvdd);
- model.setValue("/root/send/save/rsrvno" , vRsrvno);
- model.setValue("/root/send/save/pid" , vPid);
- model.setValue("/root/send/save/orddd" , vOrddd );
- model.setValue("/root/send/save/cretno" , vCretno );
- model.setValue("/root/send/save/pkgcd" , model.getValue("/root/main/acptinfo/item/pkgcd"));
- model.makeNode("/root/send/save/saverslt");
- model.setValue("/root/send/save/saverslt" , grd_allacptlst.getUpdateData());
- model.makeNode("/root/send/save/savetext");
- model.setValue("/root/send/save/savetext" , grd_rslttextlst.getUpdateData());
- openLoadingBar("검사결과정보 저장중 ") ;//처리중 화면을 오픈한다.
- var ret = submit("TXAHA43201");
- closeLoadingBar() ;//처리중 화면을 close한다.
-
- if( ret == true ){
- fGetRsltInfo();
- }
- }
- /**=============================================================================================================
- *입력결과 저장
- =================================================================================================================*/
- function fSaveRslt(vMod) {
- var vSaveNum = "";
- var vSaveText = "";
- var vSaveInqr = "";
- var vHfg = "G";
- var vRsrvdd = model.getValue("/root/main/acptinfo/item/rsrvdd") ;
- var vRsrvno = model.getValue("/root/main/acptinfo/item/rsrvno") ;
- var vOrddd = model.getValue("/root/main/acptinfo/item/orddd") ;
- var vCretno = model.getValue("/root/main/acptinfo/item/cretno") ;
- var vPid = model.getValue("/root/main/acptinfo/item/pid") ;
-
- if( (vRsrvdd == "" ) || (vRsrvno == "") || (vPid == "") || (vOrddd == "") || (vCretno == "") ) {
- messageBox("건진정보가 ", "I004");
- return ;
- }
-
- model.setValue("/root/send/save/healexamflag" , vHfg );
- model.setValue("/root/send/save/healexamdetlflag", model.getValue("/root/init/send/srchhealexamdetlflag") );
- model.setValue("/root/send/save/rsrvdd" , vRsrvdd);
- model.setValue("/root/send/save/rsrvno" , vRsrvno);
- model.setValue("/root/send/save/pid" , vPid);
- model.setValue("/root/send/save/orddd" , vOrddd );
- model.setValue("/root/send/save/cretno" , vCretno );
- model.setValue("/root/send/save/pkgcd" , model.getValue("/root/main/acptinfo/item/pkgcd"));
-
- if(vMod == "A" || vMod == "R" ) {
- vSaveNum = getGridUpdateData(grd_allacptlst);
- vSaveText = getGridUpdateData(grd_rslttextlst);
- if( (vSaveNum == "") && (vSaveText == "") ) {
- messageBox("저장할 내역이 ", "I004");
- return ;
- }
- model.makeNode("/root/send/save/saverslt");
- model.makeNode("/root/send/save/savetext");
- model.setValue("/root/send/save/saverslt" ,vSaveNum);
- model.setValue("/root/send/save/savetext" ,vSaveText);
- }
- if(vMod == "A" || vMod == "I") {
- vSaveInqr = getGridUpdateData(grd_inqrlst);
- if( (vSaveInqr == "") ) {
- messageBox("저장할 내역이 ", "I004");
- return ;
- }
- model.makeNode("/root/send/save/saveinqr");
- model.setValue("/root/send/save/saveinqr",vSaveInqr);
- }
- if(vMod == "A" || vMod == "V"){
- var letterdoctor = cmb_doctorlst.label;
- var letterdoctorseq = cmb_doctorlst.value;
-
- model.setValue("/root/temp/item/signdrseq", letterdoctorseq);
-
- //선택된 서명의사에 관한 정보
- submit("TRAHA43211");
-
- model.setValue("/root/send/save/resultoftest", model.getValue("/root/main/acptinfo/rsltlst/letter/rsltreqtests"));
- model.setValue("/root/send/save/specialoption", model.getValue("/root/main/acptinfo/rsltlst/letter/specoption"));
- model.setValue("/root/send/save/requiretest", model.getValue("/root/main/acptinfo/rsltlst/letter/reqtests"));
- model.setValue("/root/send/save/subclass", model.getValue("/root/main/acptinfo/rsltlst/letter/subclass"));
- model.setValue("/root/send/save/signdrseq", model.getValue("/root/temp/item/signdrseq"));
- model.setValue("/root/send/save/signdrdept", model.getValue("/root/temp/item/signdrdepteng"));
- model.setValue("/root/send/save/signdr", model.getValue("/root/temp/item/signdreng"));
- model.setValue("/root/send/save/signdrpos", model.getValue("/root/temp/item/signdrposeng"));
- model.setValue("/root/send/save/signdrdivi", model.getValue("/root/temp/item/signdrdivieng"));
- model.setValue("/root/send/save/instnm", model.getValue("/root/temp/item/instnmeng"));
- model.setValue("/root/send/save/visano", model.getValue("root/main/acptinfo/rsltlst/info/visano"));
- }
- openLoadingBar("결과 저장 중입니다..") ;//처리중 화면을 오픈한다.
- var ret = submit("TXAHA43201");
- closeLoadingBar() ;//처리중 화면을 close한다
- if( ret == true){
- fGetRsltInfo();
- }
- }
- /**===================================================================================
- @desc : 공통 저장정보관련 초기화
- =====================================================================================*/
- function fInitSaveData(){
- model.resetInstanceNode("/root/send/save");
- }
- /**===================================================================================
- @desc : Visa Letter 종합판정구문 선택
- =====================================================================================*/
- function fGetVisaLetterCont(vEditObj){
- if( vEditObj == null ) return ;
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM1", "Y");
- setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM7", m_vHealexamflag );
- // setParameter("SPAHR00300_PARAM8", "G02");
-
- modal("SPAHR00300", 100, 100, "SPAHR00300");
-
- if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
- for( var i = 0 ; i < vNodeList.length ; i++){
- vJudgCnts += vNodeList.item(i).judghangshrtcnts.text;
- }
- model.setValue( vEditObj.attribute("ref") , vJudgCnts );
- vEditObj.refresh();
- }
- /**===================================================================================
- @desc : Visa Letter 종합판정구문 선택
- =====================================================================================*/
- function fModifyDoctor(){
- modal("SPAHR00601", 200, 200, "SPAHR00601");
- }
-
- function readfunc(){
- model.resetInstanceNode("/root/main/vsltlist/vsltinfo");
- if (model.getValue("/root/send/srchexamseq") != ""){
- if (submit("TRAHA04613", false)){
- if (model.getValue("/root/main/vsltlist/vsltinfo/rsrvdd") == ""){
- model.setValue("/root/main/vsltlist/vsltinfo/iudgb", "I");
- button2.disabled = true;
- }else{
- model.setValue("/root/main/vsltlist/vsltinfo/iudgb", "U");
- button2.disabled = false;
- }
- model.setValue("/root/main/vsltlist/vsltinfo/healexamflag", model.getValue("/root/send/srchhealexamflag"));
- model.setValue("/root/main/vsltlist/vsltinfo/rsrvdd", model.getValue("/root/send/srchrsrvdd"));
- model.setValue("/root/main/vsltlist/vsltinfo/rsrvno", model.getValue("/root/send/srchrsrvno"));
- model.setValue("/root/main/vsltlist/vsltinfo/examseq", model.getValue("/root/send/srchexamseq"));
- button5.disabled = false;
- }
- model.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1193;1,1195;2,786;2,783;" 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:159px; height:14px; ">
- <![CDATA[재검레터]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //getPatInfo();
- ]]>
- </script>
- </caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1193px; height:742px; ">
- <caption id="caption7" class="tit_2" style="left:314px; top:63px; width:151px; height:13px; ">기본사항</caption>
- <line id="line4" class="line_1" style="x1:314px; y1:79px; x2:1190px; y2:79px; "/>
- <line id="line5" class="line_2" style="x1:313px; y1:173px; x2:1028px; y2:173px; "/>
- <line id="line6" class="line_2" style="x1:314px; y1:107px; x2:1190px; y2:107px; "/>
- <caption id="caption16" class="cell_1" style="left:314px; top:109px; width:74px; height:23px; vertical-align:middle; ">패키지명</caption>
- <output id="opt_pkgnm" ref="/root/main/acptinfo/item/pkgnm" class="output_fix" style="left:391px; top:111px; width:401px; height:19px; "/>
- <textarea id="tar_remcnts" ref="/root/main/acptinfo/item/judgcnts1" disabled="true" style="left:391px; top:134px; width:798px; height:45px; "/>
- <caption id="caption17" class="cell_1" style="left:314px; top:134px; width:74px; height:47px; vertical-align:middle; ">판정</caption>
- <select1 id="cmb_statflag" ref="/root/main/acptinfo/item/statflag" class="combo_default" disabled="true" appearance="minimal" style="left:1040px; top:86px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" style="left:795px; top:84px; width:64px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <caption id="caption22" class="cell_1" style="left:968px; top:84px; width:69px; height:23px; vertical-align:middle; ">상태</caption>
- <caption id="caption18" class="cell_1" style="left:320px; top:285px; width:95px; height:23px; vertical-align:middle; ">참고사항</caption>
- <input id="input4" ref="/root/main/vsltlist/vsltinfo/remark" class="input_default" style="left:417px; top:287px; width:663px; height:19px; "/>
- <line id="line9" class="line_3" style="x1:314px; y1:183px; x2:1190px; y2:183px; "/>
- <group id="group5" style="left:0px; top:14px; width:1193px; height:41px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1118px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRsltPatList();
- ]]>
- </script>
- </button>
- <line id="line7" style="x1:1095px; y1:5px; x2:1095px; y2:35px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_srchpat" navindex="2" class="icon_search" style="left:942px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00100", "pnm", ipt_pnm.currentText , "N", "/root/send" ,ipt_pid.attribute("ref"), ipt_pnm.attribute("ref"));
- if( model.getValue(ipt_pid.attribute("ref")) != "" ) fGetRsltPatList();
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/init/send/srchpid2" navindex="4" class="input_search" style="left:870px; top:8px; width:66px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode != 13) return ;
- var spid = model.getValue("/root/init/send/srchpid2");
- fGetPatInfo(2);
- model.setValue(ipt_pid.attribute("ref"), model.getValue("/root/temp/patinfo/item/pid") );
- model.setValue(ipt_pnm.attribute("ref"), model.getValue("/root/temp/patinfo/item/hngnm") );
- fGetRsltPatList();
- ]]>
- </script>
- </input>
- <input id="ipt_pnm" ref="/root/init/send/srchpnm" navindex="3" class="input_search" disabled="true" style="left:963px; top:8px; width:83px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchpat","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption23" class="search_name" style="left:766px; top:10px; width:99px; height:17px; ">신검자검색 :</caption>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/init/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" style="left:96px; top:8px; width:108px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetRsltPatList();
- /*
- //판정의 조회
- model.setValue("/root/send/srchhealexamflag" , model.getValue("/root/init/send/srchhealexamdetlflag").substr(0, 1));
- model.makeNode("/root/send/srchcond" );
- model.setValue("/root/send/srchcond", "J");
- submit("TRAHB01504");
- */
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">검진구분 :</caption>
- <caption id="caption3" class="search_name" style="left:225px; top:11px; width:66px; height:17px; ">국가 :</caption>
- <select1 id="cmb_brtharea" ref="/root/init/send/srchbrtharea" class="combo_search" appearance="minimal" style="left:292px; top:9px; width:118px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/brtharealst/A0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetRsltPatList();
- if (model.getValue("/root/init/send/srchbrtharea") == "AR"){
- copyNodesetType("/root/init/baseinfo/initsendaddress/combo", "/root/init/baseinfo/initsendaddressflag/S040", "replace");
- }else{
- copyNodesetType("/root/init/baseinfo/initsendaddress/combo", "/root/init/baseinfo/initsendaddressflag2/S050", "replace");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_srchfromdd" ref="/root/init/send/srchfromdd" navindex="1" class="input_s_essential" inputtype="date" style="left:522px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ) fGetRsltPatList();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRsltPatList();
- ]]>
- </script>
- </input>
- <caption id="caption11" class="search_name" style="left:435px; top:10px; width:94px; height:17px; ">신검일자:</caption>
- <input id="ipt_srchtodd" ref="/root/init/send/srchtodd" navindex="1" class="input_s_essential" inputtype="date" style="left:637px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ) fGetRsltPatList();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRsltPatList();
- ]]>
- </script>
- </input>
- <caption id="caption2" style="left:623px; top:10px; width:15px; height:20px; ">~</caption>
- </group>
- <line id="line12" class="line_2" style="x1:314px; y1:132px; x2:1190px; y2:132px; "/>
- <button id="button12" class="btn2_letter4" visibility="hidden" style="left:728px; top:86px; width:64px; height:19px; ">
- <caption>진행상황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // alert("준비중입니다.");
- ]]>
- </script>
- </button>
- <output id="opt_sex" ref="/root/main/acptinfo/item/sex" class="output_fix" style="left:862px; top:86px; width:50px; height:19px; "/>
- <output id="opt_hngnm" ref="/root/main/acptinfo/item/engnm" class="output_fix" style="left:572px; top:86px; width:219px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:314px; top:84px; width:74px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption24" class="cell_1" style="left:505px; top:84px; width:64px; height:23px; vertical-align:middle; ">영문성명</caption>
- <output id="opt_pid" ref="/root/main/acptinfo/item/pid" class="output_fix" style="left:391px; top:86px; width:110px; height:19px; "/>
- <output id="output5" ref="/root/main/acptinfo/item/age" class="output_fix" style="left:915px; top:86px; width:50px; height:19px; "/>
- <button id="btn_savepatinfo" class="btn5_letter4" visibility="hidden" style="left:1115px; top:285px; width:64px; height:19px; ">
- <caption>문진저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("문진을 ", "Q002") == 6 ) {
- fSaveRslt("I"); //fSaveRsltInfo
- gridMergeRow(grd_allacptlst);
- grdImage(grd_allacptlst)
-
- }
- ]]>
- </script>
- </button>
- <button id="btn_doctmodify" class="btn2_letter6" visibility="hidden" style="left:845px; top:530px; width:81px; height:19px; ">
- <caption>서명의사수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fModifyDoctor();
- ]]>
- </script>
- </button>
- <button id="btn_all" class="btn_sw" group="tab" style="left:0px; top:64px; width:84px; height:22px; ">
- <caption>전체</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case_all");
- btn_all.selected = true;
- model.setValue("/root/init/send/srchgb", "1");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_tod" class="btn_sw" group="tab" style="left:85px; top:64px; width:84px; height:22px; ">
- <caption>당일</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case_tod");
- btn_tod.selected = true;
- model.setValue("/root/init/send/srchgb", "2");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <group id="group2" style="left:0px; top:85px; width:310px; height:655px; ">
- <caption id="caption12" class="tit_2" style="left:0px; top:8px; width:151px; height:13px; ">
- <![CDATA[대기자리스트]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, model.getValue("/root/init/send/srchfromdd") + "_건진자", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- grd_acptlst.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </caption>
- <line id="line1" class="line_1" style="x1:0px; y1:24px; x2:309px; y2:24px; "/>
- <datagrid id="grd_allacptlst" nodeset="/root/main/acptlst/all" caption="등록번호^비자연번^한글성명^영문성명^성별^나이^패키지명^상태^건진시간^대기시간^orddd^단체명,^rrgstno1^rrgstno2^cmpycd^pkgcd^rsrvdd^rsrvno^cretno^진료과^건진구분^건진상세구분^acptremcnts^psptno^trnfileno^gender^brthdd" colwidth="68, 77, 62, 100, 40, 40, 150, 53, 42, 33, 45, 45, 46, 49, 44, 53, 46, 62, 45, 50, 57, 62, 40, 50, 50, 50, 50" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:29px; width:308px; height:624px; ">
- <col ref="pid"/>
- <col ref="visano"/>
- <col ref="hngnm"/>
- <col ref="engnm"/>
- <col ref="sex" visibility="hidden"/>
- <col ref="age" visibility="hidden"/>
- <col ref="pkgnm"/>
- <col ref="statflag" type="combo" visibility="hidden" disabled="true">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordtm" visibility="hidden"/>
- <col ref="waitstarttm" visibility="hidden"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="rgstno1" visibility="hidden"/>
- <col ref="rgstno2" visibility="hidden"/>
- <col ref="cmpycd" visibility="hidden"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="acptremcnts" visibility="hidden"/>
- <col ref="psptno" visibility="hidden"/>
- <col ref="trnfileno" visibility="hidden"/>
- <col ref="gender" visibility="hidden"/>
- <col ref="brthdd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (isDataCell()) {
- fGetRsltInfo();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_acptlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grd_letter" ref="/root/main/acptinfo/rsltlst/letter" style="left:320px; top:313px; width:780px; height:420px; ">
- <caption id="caption1" class="cell_1" style="left:0px; top:103px; width:95px; height:85px; vertical-align:middle; ">Required tests</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:191px; width:95px; height:95px; vertical-align:middle; ">Result of required tests</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:290px; width:95px; height:101px; vertical-align:middle; ">Specialist Opnion</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:15px; width:95px; height:85px; vertical-align:middle; ">서브클래스</caption>
- <textarea id="tar_resultoftest" ref="/root/main/vsltlist/vsltinfo/resultoftest" style="left:98px; top:191px; width:662px; height:95px; "/>
- <textarea id="tar_specialoption" ref="/root/main/vsltlist/vsltinfo/specialoption" style="left:98px; top:290px; width:662px; height:101px; "/>
- <textarea id="tar_requiretest" ref="/root/main/vsltlist/vsltinfo/requiretest" style="left:98px; top:103px; width:662px; height:85px; "/>
- <textarea id="tar_subclass" ref="/root/main/vsltlist/vsltinfo/subclass" style="left:98px; top:15px; width:662px; height:85px; "/>
- <select1 id="cmb_doctordeptlst" ref="/root/main/acptinfo/rsltlst/letter/signdrdeptcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:420px; top:392px; width:269px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/doctordeptlst/A0485">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:0px; top:396px; width:95px; height:21px; vertical-align:middle; ">서명의사</caption>
- <caption id="caption20" class="cell_1" visibility="hidden" style="left:329px; top:392px; width:84px; height:21px; vertical-align:middle; ">서명의사부서</caption>
- <select1 id="cmb_doctorlst" ref="/root/main/vsltlist/vsltinfo/letterdoctor" class="combo_default" appearance="minimal" style="left:98px; top:396px; width:207px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <button id="btn_resultoftest" class="btn2_letter5" visibility="visible" style="left:325px; top:568px; width:75px; height:19px; ">
- <caption>내용선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetVisaLetterCont(tar_resultoftest);
- ]]>
- </script>
- </button>
- <button id="btn_sepcialoption" class="btn2_letter5" visibility="visible" style="left:325px; top:673px; width:75px; height:19px; ">
- <caption>내용선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetVisaLetterCont(tar_specialoption);
- ]]>
- </script>
- </button>
- <button id="btn_requiretest" class="btn2_letter5" visibility="visible" style="left:325px; top:468px; width:75px; height:19px; ">
- <caption>내용선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetVisaLetterCont(tar_requiretest);
- ]]>
- </script>
- </button>
- <button id="btn_subclass" class="btn2_letter5" visibility="visible" style="left:325px; top:383px; width:75px; height:19px; ">
- <caption>내용선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetVisaLetterCont(tar_subclass);
- ]]>
- </script>
- </button>
- <caption id="caption15" class="cell_1" style="left:320px; top:259px; width:95px; height:23px; vertical-align:middle; ">재검사항목</caption>
- <input id="input1" ref="/root/main/vsltlist/vsltinfo/retestitem" style="left:417px; top:261px; width:663px; height:19px; "/>
- <caption id="caption19" class="cell_1" style="left:795px; top:109px; width:64px; height:23px; vertical-align:middle; ">판정의</caption>
- <input id="input2" ref="/root/main/acptinfo/item/judgdrid" disabled="true" style="left:862px; top:111px; width:103px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:968px; top:109px; width:69px; height:23px; vertical-align:middle; ">판정일자</caption>
- <input id="input3" ref="/root/main/acptinfo/item/judgdd" disabled="true" format="yyyy-mm-dd" style="left:1040px; top:111px; width:150px; height:19px; text-align:center; "/>
- <caption id="caption26" class="cell_1" style="left:320px; top:233px; width:95px; height:23px; vertical-align:middle; ">발송지</caption>
- <caption id="caption27" class="cell_1" style="left:830px; top:233px; width:64px; height:23px; vertical-align:middle; ">발송일자</caption>
- <input id="input5" ref="/root/main/vsltlist/vsltinfo/senddd" format="yyyy-mm-dd" style="left:897px; top:235px; width:103px; height:19px; text-align:center; "/>
- <button id="button1" navindex="2" class="icon_search" style="left:1086px; top:263px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.load( "SPAHR05010_코드조회(재검사항목).xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" , "/root/main/vsltlist/vsltinfo/retestitem" , "/root/init/degnitemlevlcd" );
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/vsltlist/vsltinfo/sendaddressflag" appearance="minimal" style="left:417px; top:235px; width:400px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initsendaddress/combo">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption28" class="cell_1" style="left:320px; top:209px; width:95px; height:23px; vertical-align:middle; ">재검레터구분</caption>
- <select1 id="combo2" ref="/root/send/srchexamseq" appearance="minimal" style="left:417px; top:210px; width:135px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexaminfo/combo">
- <label ref="examnm"/>
- <value ref="examseq"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- readfunc();
- ]]>
- </script>
- </select1>
- <caption id="caption13" class="tit_2" style="left:315px; top:190px; width:104px; height:13px; ">비자레터 정보</caption>
- <input id="input6" ref="/root/main/vsltlist/vsltinfo/iudgb" visibility="hidden" style="left:1055px; top:210px; width:100px; height:20px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:756px; width:1195px; height:27px; ">
- <line id="line30" style="x1:507px; y1:5px; x2:507px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line31" style="x1:906px; y1:4px; x2:906px; y2:26px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line47" style="x1:673px; y1:4px; x2:673px; y2:26px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_outrsltview" class="btn3_letter6" style="left:0px; top:5px; width:104px; height:22px; ">
- <caption>통합검사결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //ahafOpenRsltView(opt_pid.attribute("ref") );
- modal("SMAER00800","","","","",opt_pid.attribute("ref"),"/root/send/data/singdata/srchpid");
- ]]>
- </script>
- </button>
- <button id="btn_colgjudg" class="btn3_letter6" visibility="hidden" style="left:400px; top:5px; width:104px; height:22px; ">
- <caption>종합판정관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- clearParameter("SMAHR00500_PARAM1");
- clearParameter("SMAHR00500_PARAM2");
- setParameter ("SMAHR00500_PARAM1", model.getValue("/root/main/acptlst/item[" + grd_acptlst.row + "]/healexamflag"));
- setParameter ("SMAHR00500_PARAM2", model.getValue("/root/main/acptlst/item[" + grd_acptlst.row + "]/pid"));
- modal("SMAHR00500");
- ]]>
- </script>
- </button>
- <button id="btn_letter_print" class="btn6_letter4" style="left:107px; top:5px; width:80px; height:22px; ">
- <caption>레터출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- copyNodesetType("/root/main/print/letter/patinfo","/root/main/acptinfo/item","replace");
- copyNodesetType("/root/main/print/letter/letterinfo","/root/main/vsltlist/vsltinfo","replace");
-
- exeReportPreview("RPAHR04610", "XMLSTR", "", "", "false","","","","","true", "", "");
- ]]>
- </script>
- </button>
- </group>
- <button id="button5" class="btn5_letter4" disabled="true" style="left:1040px; top:761px; width:64px; height:19px; ">
- <caption>레터저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("비자레터내역을 ", "Q002") == 6 ) {
- if (submit("TXAHA04611")){
- readfunc();
- }
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter4" disabled="true" style="left:1110px; top:761px; width:64px; height:19px; ">
- <caption>레터삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("비자레터내역을 ", "Q001") == 6 ) {
- model.setValue("/root/main/vsltlist/vsltinfo/iudgb", "D");
- if (submit("TXAHA04611")){
- readfunc();
- }
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|