123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <lglydisinfo>
- <info>
- <state>I</state>
- <psnflag/>
- <patnm/>
- <sexflag/>
- <age/>
- <rgstno/>
- <rgstno2/>
- <zipcd1/>
- <zipcd2/>
- <tel/>
- <cntcaddr1/>
- <cntcaddr2/>
- <pid/>
- <wrtedt/>
- <seqno/>
- <instcd/>
- <reptflag>06</reptflag>
- <lglydiscd/>
- <ioeflag/>
- <orddd/>
- <indd/>
- <cretno/>
- <deptcd/>
- <wrteid/>
- <jobcd/>
- <procernm/>
- <residncflag/>
- <idflag/>
- <symp/>
- <diagnm/>
- <attackdd/>
- <diagdd/>
- <diagcd/>
- <dethyn/>
- <cnfsnwtstrslt/>
- <estminfcpath/>
- <estminfcareacd/>
- <estminfcareanaticd/>
- <naticd/>
- <ecntrydd/>
- <ecntrytodd/>
- <stayterm/>
- <staytermday/>
- <chngreptkind/>
- <updtreptcnts/>
- <updtreptdd/>
- <updtreptrid/>
- <reptdt/>
- <reptrid/>
- <preinochstflag/>
- <pastcureflag/>
- <cureterm/>
- <pastcurecnt/>
- <bisiziflag/>
- <bisiziinocmthd/>
- <sputumdm/>
- <sputumby/>
- <sputumodm/>
- <sputumoby/>
- <etctestflag/>
- <rayrsltflag/>
- <tooberrsltsize/>
- <solidsize/>
- <inhospflag/>
- <curefromdd/>
- <curetodd/>
- <curersltflag/>
- <curersltetc/>
- <dethflag/>
- <cncldt/>
- <diagmthd/>
- <diagmthdcnts/>
- <cnclerid/>
- <lglydiscnts/>
- <tisstestlag/>
- <testpartcd/>
- <testpartremcnts/>
- <testmthdcd/>
- <plaqflagcd/>
- <brwavetestflag/>
- <brwavetestcnts/>
- <raytestflag/>
- <raytestcnts/>
- <crbrfldtestflag/>
- <crbrfldtestcnts/>
- <prnpagenetestflag/>
- <codonnm/>
- <codonflag/>
- <codonflag2/>
- <codoncnts/>
- <patflag/>
- <patflag2/>
- <dngrcascd/>
- <dngrcasremcnts/>
- <infcnts/>
- <dethdd/>
- <estminfcpathremcnts/>
- <tmpcol1/>
- <tmpcol2/>
- <tmpcol3/>
- <etcnts1/>
- <etcnts2/>
- <etcnts3/>
- <lglykindcd/>
- <relyn/>
- <testrslt1/>
- <testrslt2/>
- <lasthistyn>Y</lasthistyn>
- </info>
- </lglydisinfo>
- <getlglydisinfo>
- <info/>
- </getlglydisinfo>
- <getreptdtinfo>
- </getreptdtinfo>
- <paminfo/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- </hidden>
- <init>
- <M0149list/>
- <P0353list/>
- <A0132list/>
- <A0620list/>
- <A0621list/>
- <A0622list/>
- <A0623list/>
- <A0624list/>
- <A0625list/>
- <A0626list/>
- <A0627list/>
- <A0633list/>
- <A0634list/>
- </init>
- <diaginfo>
- <diagcdlist/>
- </diaginfo>
- <temp>
- <tmplist/>
- <initinfo/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("M0149", "P0353", "A0132", "A0620", "A0621", "A0622", "A0623", "A0624", "A0625", "A0626", "A0627", "A0633", "A0634"),
- new Array("/root/init/M0149list", "/root/init/P0353list", "/root/init/A0132list", "/root/init/A0620list", "/root/init/A0621list"
- , "/root/init/A0622list", "/root/init/A0623list", "/root/init/A0624list", "/root/init/A0625list", "/root/init/A0626list", "/root/init/A0627list", "/root/init/A0633list", "/root/init/A0634list")
- , true, new Array("cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid") );
- model.setValue("/root/main/lglydisinfo/info/reptflag", "06");
-
- //임시 (공통코드 자릿수 축소 후 삭제 예정
- var A0624list = instance1.selectNodes("/root/init/A0624list/A0624");
- for(var i=0; i<A0624list.length; i++){
- var node = A0624list.item(i);
- var cdid = node.selectSingleNode("cdid");
- model.setValue(cdid, cdid.text.substr(1,1));
- }
-
- var ioflag = "";
- var pid = "";
- var orddd = "";
- var cretno = "";
- var strRegtdt = "";
- var iDate = new Date();
- var strYearCal = "";
- var wrtedt="";
- var pamInfoCvs = getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
-
- if(pamInfoCvs != ""){ //cvs가 ""이 아닌 경우에만 처리함.
- model.removeNodeSet("/root/main/paminfo/list");
- setCSVToNode("/root/main/paminfo", pamInfoCvs);
- ioflag = model.getValue("/root/main/paminfo/list/ioflag");
- pid = model.getValue("/root/main/paminfo/list/pid");
- cretno = model.getValue("/root/main/paminfo/list/cretno");
- if(ioflag == "O") orddd = model.getValue("/root/main/paminfo/list/orddd");
- else orddd = model.getValue("/root/main/paminfo/list/indd");
-
- }else{
- if(isPopup()){
- ioflag = opener.javascript.getParameter("psnflag");
- pid = opener.javascript.getParameter("pid");
- cretno = opener.javascript.getParameter("cretno");
- orddd = opener.javascript.getParameter("indd");
- //@@
- wrtedt = opener.javascript.getParameter("wrtedt");
- //model.setValue("/root/main/cngntlsyphsmmrsltreptinfo/cngntlsyphsmmrsltreptlist/wrtedt",opener.javascript.getParameter("wrtedt") );
- }
- }
- model.setValue("/root/main/lglydisinfo/info/pid", pid );
- model.setValue("/root/main/lglydisinfo/info/orddd", orddd );
- model.setValue("/root/main/lglydisinfo/info/indd", orddd);
- model.setValue("/root/main/lglydisinfo/info/psnflag", ioflag );
- model.setValue("/root/main/lglydisinfo/info/cretno", cretno );
- model.setValue("/root/main/lglydisinfo/info/wrtedt",wrtedt);
- if( !isNull(model.getValue("/root/main/lglydisinfo/info/pid")) ) {
-
- //@@
- if(submit("TRASI03401", false) ){ //초기값 조회
- model.copyNode("/root/send/reqdata", "/root/main/lglydisinfo/info");
-
- if(submit("TRASI01501", false) ) {//환자인적정보 조회
-
- if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- model.setValue("/root/main/lglydisinfo/info/lglydiscd", model.getValue("/root/temp/initinfo/info/lglydiscd"));
-
- model.refresh();
-
- //fCtrlEnableChk("rdo");
- //fCtrlEnableChk("rdo_chgrept");
- //fCtrlEnableChk("rdo_estminfcarea");
- fChkCnclYN();
- //fChgReptDisable();
- //@@
- //fChgReptDisable(result);
- }
- }
- }
-
- //@@
- var result = 1;
- if(!isNull(opener.javascript.getParameter("PrcpLglyDis"))){
- //처방에서 호출한 경우 상병체크하여 초기화
- fInit();
- result=6;
- }
- if(isPopup() && (opener.javascript.getParameter("state") == "U" || opener.javascript.getParameter("state") == "S" || !isNull(opener.javascript.getParameter("PrcpLglyDis")) )){
- model.setValue("/root/main/lglydisinfo/info/state", opener.javascript.getParameter("state") );
- model.setValue("/root/main/lglydisinfo/info/wrtedt", opener.javascript.getParameter("wrtedt") );
- model.setValue("/root/main/lglydisinfo/info/seqno", opener.javascript.getParameter("seqno") );
-
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/reptdt", opener.javascript.getParameter("reptdt")); //추가 (2009.11.13 JJE)
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/reptyn", opener.javascript.getParameter("reptyn")); //추가 (2009.11.13 JJE)
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/chgyn", opener.javascript.getParameter("chgyn")); //추가 (2009.11.13 JJE)
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt", opener.javascript.getParameter("prt_reptdt")); //추가 (2009.11.13 JJE)
-
- //}else if(isPopup() && opener.javascript.getParameter("state") != "U" && opener.javascript.getParameter("state") != "S" ){
- }else if(isPopup() && (opener.javascript.getParameter("state") != "U" || isNull(opener.javascript.getParameter("PrcpLglyDis"))) ){
- //fChkReptYN();
- model.setValue("/root/main/lglydisinfo/info/state", opener.javascript.getParameter("state") );
- model.makeValue("/root/send/reqdata/pid", pid);
- model.makeValue("/root/send/reqdata/reptflag", model.getValue("/root/main/lglydisinfo/info/reptflag"));
- strRegtdt = "";
-
- if (submit("TRASI01502")){
- strRegtdt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt");
- }
-
- if( model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptyn") != "" && model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptyn") != null ){ //100616 이미 신고내용이 존재할 경우(기간 고려X - 기간 : Y, N)
- //messageBox(" 신고주기는 12개월이므로 재신고가 불가합니다 \n 해당 환자의 신고일은 " + strRegtdt ,"E008");
- //@@재호출 메시지 내용 변경
- //result = messageBox("신고주기는 12개월이므로 재신고가 불가합니다 \n 해당 환자의 신고일은 " + strRegtdt+ "입니다. \n \n수정", "S001");
- result = messageBox(strRegtdt.substring(0,4)+"년 "+strRegtdt.substring(4,6)+"월 "+strRegtdt.substring(6,8)+"일 "
- + "크로이츠펠트-야콥병 (으)로 전염병이 신고되어 있어 \n 신규 입력이 아니면 자료가 중복됩니다. \n 그래도 ", "Q003");
- //model.close();
- //return;
- } else { //신고 내용이 없다면
- result=6;
- }
- }
-
- model.makeValue("/root/send/reqdata/hardcdno", "9");
- model.makeValue("/root/send/reqdata/trgtcd", model.getValue("/root/main/lglydisinfo/info/reptflag"));
-
- // if(submit("TRASI03401", false) ){ //초기값 조회
- // model.copyNode("/root/send/reqdata", "/root/main/lglydisinfo/info");
- //
- // if(submit("TRASI01501", false) ) {//환자인적정보 조회
-
- if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
- // model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- // model.setValue("/root/main/lglydisinfo/info/lglydiscd", model.getValue("/root/temp/initinfo/info/lglydiscd"));
- //
- model.refresh();
-
- //fCtrlEnableChk("rdo");
- //fCtrlEnableChk("rdo_chgrept");
- //fCtrlEnableChk("rdo_estminfcarea");
- fChkCnclYN();
- //fChgReptDisable();
- //@@
- fChgReptDisable(result);
- model.refresh();
- }
- // }
- // }
- }else{
- grp_btn.disabled = true;
- return;
- }
- return;
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRASI01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getlglydisinfo"/>
- <submission id="TRASI01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getreptdtinfo"/>
- <submission id="TRASI01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/tmplist"/>
- <submission id="TRASI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/initinfo"/>
- <submission id="TXASI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/getlglydisinfo"/>
- </model>
- <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/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript">
- <![CDATA[
- /*
- 초기화화면 버튼 클릭시
- */
- function fInit(){
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
-
- //값을 없애도록 수정..
- model.makeValue("/root/main/lglydisinfo/info/state", "");
- model.makeValue("/root/main/lglydisinfo/info/wrtedt", "");
- model.makeValue("/root/main/lglydisinfo/info/seqno", "");
- model.makeValue("/root/main/lglydisinfo/info/attackdd", "");
- model.makeValue("/root/main/lglydisinfo/info/diagdd", "");
- model.makeValue("/root/main/lglydisinfo/info/patflag", "");
- model.makeValue("/root/main/lglydisinfo/info/patflag2", "");
- model.makeValue("/root/main/lglydisinfo/info/dethflag", "");
- model.makeValue("/root/main/lglydisinfo/info/dethdd", "");
- model.makeValue("/root/main/lglydisinfo/info/lglykindcd", "");
- model.makeValue("/root/main/lglydisinfo/info/tisstestlag", "");
- model.makeValue("/root/main/lglydisinfo/info/testpartcd", "");
- model.makeValue("/root/main/lglydisinfo/info/testpartremcnts", "");
- model.makeValue("/root/main/lglydisinfo/info/testmthdcd", "");
- model.makeValue("/root/main/lglydisinfo/info/plaqflagcd", "");
- model.makeValue("/root/main/lglydisinfo/info/brwavetestflag", "");
- model.makeValue("/root/main/lglydisinfo/info/brwavetestcnts", "");
- model.makeValue("/root/main/lglydisinfo/info/raytestflag", "");
- model.makeValue("/root/main/lglydisinfo/info/raytestcnts", "");
- model.makeValue("/root/main/lglydisinfo/info/crbrfldtestflag", "");
- model.makeValue("/root/main/lglydisinfo/info/crbrfldtestcnts", "");
- model.makeValue("/root/main/lglydisinfo/info/prnpagenetestflag", "");
- model.makeValue("/root/main/lglydisinfo/info/codonnm", "");
- model.makeValue("/root/main/lglydisinfo/info/codonflag", "");
- model.makeValue("/root/main/lglydisinfo/info/codonflag2", "");
- model.makeValue("/root/main/lglydisinfo/info/codoncnts", "");
- model.makeValue("/root/main/lglydisinfo/info/etcnts1", "");
- model.makeValue("/root/main/lglydisinfo/info/lglydiscnts", "");
- model.makeValue("/root/main/lglydisinfo/info/dngrcascd", "");
- model.makeValue("/root/main/lglydisinfo/info/dngrcasremcnts", "");
- model.makeValue("/root/main/lglydisinfo/info/estminfcareacd", "");
- model.makeValue("/root/main/lglydisinfo/info/etcnts2", "");
- model.makeValue("/root/main/lglydisinfo/info/ecntrytodd", "");
- model.makeValue("/root/main/lglydisinfo/info/ecntrydd", "");
- model.makeValue("/root/main/lglydisinfo/info/stayterm", "");
- model.makeValue("/root/main/lglydisinfo/info/staytermday", "");
- model.makeValue("/root/main/lglydisinfo/info/infcnts", "");
-
- //fCtrlEnableChk("rdo");
- //fCtrlEnableChk("rdo_chgrept");
- //fCtrlEnableChk("rdo_estminfcarea");
-
- }
-
- /*
- 삭제된건은 조회만 가능
- */
- function fChkCnclYN(){
- if(model.getValue("/root/main/lglydisinfo/info/cnclyn") == "Y" && opener.javascript.getParameter("state") == "S" ){
- messageBox("삭제된 신고서", "I009"); //메세지 추가 (2009.11.13 JJE)
- grp_btn.disabled = true;
- }
- }
- /*
- 신고대상자조회화면에서 state="S",
- 진단에서 state="I",
- 퇴원시 1군, 일본뇌염 이고 법정전염병신고서가 작성되어 있을경우 state="U"
- 메뉴에서 상단환자정보를 가지고 조회해서 법정전염병 신고서가 작성되어 있고 전염병이 1군, 일본뇌염이 존재시 state="U"
- 상태에 따라 입력가능여부 처리
- */
- //function fChgReptDisable(){
- //@@
- function fChgReptDisable(result){
- //grp_chg.disabled = true;
- if( isPopup() ){
- var strState = opener.javascript.getParameter("state");
- var menuParam = opener.javascript.getParameter("menuparam");
- }else {
- var strState = "I";
- }
- //(start) 수정 상태 셋팅 추가, 수정 및 삭제를 가능하도록 하기 위함 (2009.11.03 JJE)
- var chkWrtedt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt");
- var chkReptdt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt");
- if(!isNull(chkWrtedt)) chkWrtedt = chkWrtedt.substring(0, 8);
- if(!isNull(chkReptdt)) chkReptdt = chkReptdt.substring(0, 8);
- if(!isNull(chkWrtedt) && chkWrtedt != "99991231" && !isNull(chkReptdt) && chkReptdt == "99991231" && isNull(strState)){
- var strState = "U"; //작성은 됐고, 출력(신고)는 안한 상태
- }
- //(end) 수정 상태 셋팅 끝
-
- //100622 진료 처방저장 시(작성은 됐고, 출력(신고)는 안한 상태 와 상관없음) -- 정리 필요
- if (opener.javascript.getParameter("PrcpLglyDis") != null && opener.javascript.getParameter("PrcpLglyDis") == "PrcpLglyDis" ) strState = "I";
- if(isPopup() && strState == "U" ){
- //@@
- if(result == "6"){
- grp_main.disabled = false;
- btn_save.disabled = false; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- btn_init.disabled = false; //추가 2009.11.13 JJE
- btn_cncl.disabled = true; //추가 2009.11.13 JJE
- fInit();
- }else{
- grp_main.disabled = true;
- btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- btn_init.disabled = true; //추가 2009.11.13 JJE
- btn_cncl.disabled = false; //추가 2009.11.13 JJE
- }
-
- // grp_main.disabled = true;
- // //grp_chg.disabled = false;
- // btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- // btn_init.disabled = true; //추가 2009.11.13 JJE
- // btn_cncl.disabled = false; //추가 2009.11.13 JJE
- return;
- }else if(isPopup() && strState == "S" ){
- if(menuParam != "" && !isNull(menuParam)){
- //진료메뉴에서 호출시.
-
- if(opener.javascript.getParameter("DisabledChk")=="Y"){ //삭제된 신고서
- grp_main.disabled = true;
- btn_save.disabled = true;
- btn_init.disabled = true;
- btn_cncl.disabled = true;
- }else{
- grp_main.disabled = false;
- btn_save.disabled = false;
- btn_init.disabled = false;
- btn_cncl.disabled = false;
- }
- }else{
- //진료와 감염관리실 이외의 사용자일 경우 삭제버튼 불활성화 않음.
- if(opener.javascript.getParameter("LglyDeptChk")=="N"){
- btn_cncl.disabled=true;
- }else{
- btn_cncl.disabled=false;
- }
- grp_main.disabled = true;
- //grp_chg.disabled = true;
- //grp_btn.disabled = true;
- btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- btn_init.disabled = true; //추가 2009.11.13 JJE
- //btn_cncl.disabled = false; //추가 2009.11.13 JJE
- }
- return;
- }else if(isPopup() && strState != "U" ){
- if(result == "6"){
- grp_main.disabled = false;
- btn_save.disabled = false; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- btn_init.disabled = false; //추가 2009.11.13 JJE
- btn_cncl.disabled = true; //추가 2009.11.13 JJE
- fInit();
- }else{
- grp_main.disabled = true;
- btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- btn_init.disabled = true; //추가 2009.11.13 JJE
- btn_cncl.disabled = false; //추가 2009.11.13 JJE
- }
- return;
- }
- }
-
- function fCtrlEnableChk(pControlID){
- if (pControlID == "rdo") { //전염병 선택
- var sInfecd = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
- /*
- if (sInfecd == "499") {
- ipt_newbacsymp.disabled = false;
- model.setFocus("ipt_newbacsymp");
- } else {
- ipt_newbacsymp.disabled = true;
- model.setValue("/root/main/lglydisinfo/info/grup4lglydisnewsymp", "");
- model.refresh();
- }
-
- if (sInfecd == "999") {
- model.setFocus("btn_apntlglydisnm");
- } else {
- model.setValue("/root/main/lglydisinfo/info/apntlglydisnm", "");
- model.refresh();
- }
- */
- } else if (pControlID == "rdo_estminfcarea") { // 추정감염지역
- if (model.getValue("/root/main/lglydisinfo/info/estminfcarea") == "O") {
- cmb_estminfcareanaticd.disabled = false;
- ipt_estminfcareastayterm.disabled = false;
- model.setFocus("cmb_2");
- } else {
- cmb_estminfcareanaticd.disabled = true;
- ipt_estminfcareastayterm.disabled = true;
- model.setValue("/root/main/lglydisinfo/info/estminfcareanaticd", "");
- model.setValue("/root/main/lglydisinfo/info/estminfcareastayterm", "");
- model.refresh();
- }
- }
- }
-
- /*
- * 신고된 신고서가 있는지 check
- */
- function fChkReptYN() {
-
- var diagList = instance1.selectNodes("/root/diaginfo/diagcdlist");
- var diagcd = "";
- var statcd = "";
-
- if(diagList.length > 0 ) {
- for(var i=0 ; i< diagList.length ; i++) {
- status = model.getValue("/root/diaginfo/diagcdlist["+ i +"]/status");
- if(status == "I" || status == "U" || status == "-") {
- diagcd += model.getValue("/root/diaginfo/diagcdlist["+ i +"]/diagcd").substr(0,4) + "▦"; //확장코드 자르기
- statcd += model.getValue("/root/diaginfo/diagcdlist["+ i +"]/status") + "▦";
- }
- }
- }
-
- if(diagcd != "") {
- model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/diagcd", diagcd);
- model.makeValue("/root/send/reqdata/status", statcd);
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/lglydisinfo/info/pid"));
- model.makeValue("/root/send/reqdata/reptflag", "06");
- if(submit("TRASI01503", false)) {
- if(model.getValue("/root/temp/tmplist/tmplist/wc") == "Y") {
- model.close();
- return;
- }
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="772" pageheight="800" guideline="1,748;" style="margin-left:8; margin-right:8; ">
- <group id="grp_tle" style="left:0px; top:0px; width:756; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:371px; height:14px; ">크로이츠펠트-야콥병 신고서</caption>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:-19px; x2:750px; y2:-18px; "/>
- <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:755px; height:755px; ">
- <line id="line4" class="line_1" style="x1:0px; y1:-19px; x2:750px; y2:-18px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:6px; width:100px; height:23px; vertical-align:middle; ">환자 성명</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:32px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <output id="output1" ref="/root/main/lglydisinfo/info/zipcd1" class="output_fix" style="left:103px; top:58px; width:48px; height:19px; "/>
- <output id="output2" ref="/root/main/lglydisinfo/info/cntcaddr1" class="output_fix" style="left:102px; top:82px; width:645px; height:19px; "/>
- <output id="output3" ref="/root/main/lglydisinfo/info/zipcd2" class="output_fix" style="left:174px; top:58px; width:48px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:216px; top:7px; width:68px; height:23px; vertical-align:middle; ">성별</caption>
- <output id="output4" ref="/root/main/lglydisinfo/info/patnm" class="output_fix" style="left:103px; top:8px; width:110px; height:19px; "/>
- <output id="output5" ref="/root/main/lglydisinfo/info/rgstno" class="output_fix" style="left:103px; top:34px; width:80px; height:19px; "/>
- <output id="output6" ref="/root/main/lglydisinfo/info/rgstno2" class="output_fix" style="left:203px; top:34px; width:80px; height:19px; "/>
- <caption id="caption17" class="search_no_b" style="left:187px; top:33px; width:12px; height:17px; ">-</caption>
- <caption id="caption18" class="search_no_b" style="left:156px; top:58px; width:12px; height:17px; ">-</caption>
- <caption id="caption19" class="cell_1" style="left:0px; top:562px; width:100px; height:122px; text-align:left; vertical-align:middle; ">
- <![CDATA[추정감염지역
- 및 위험지역]]>
- </caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:521px; width:100px; height:40px; vertical-align:middle; ">
- <![CDATA[질병분류
- 관련소견]]>
- </caption>
- <caption id="caption21" class="cell_1" style="left:101px; top:563px; width:167px; height:82px; vertical-align:middle; ">위험요인</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:685px; width:100px; height:65px; vertical-align:middle; ">
- <![CDATA[양성위험요인에
- 대한 구체적소견]]>
- </caption>
- <caption id="caption25" class="cell_1" style="left:0px; top:56px; width:100px; height:48px; vertical-align:middle; ">주소 및 전화번호</caption>
- <caption id="caption26" class="cell_1" style="left:0px; top:105px; width:100px; height:23px; vertical-align:middle; ">발병일</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:130px; width:100px; height:44px; vertical-align:middle; ">환자분류</caption>
- <caption id="caption28" class="cell_1" style="left:0px; top:175px; width:100px; height:76px; vertical-align:middle; ">질병분류</caption>
- <caption id="caption29" class="cell_1" style="left:0px; top:253px; width:100px; height:267px; vertical-align:middle; ">검사소견</caption>
- <caption id="caption30" class="cell_1" style="left:101px; top:252px; width:243px; height:23px; text-align:center; vertical-align:middle; ">검사방법</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:2px; x2:750px; y2:2px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:30px; x2:750px; y2:30px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:54px; x2:750px; y2:54px; "/>
- <line id="line8" class="line_2" style="x1:100px; y1:79px; x2:750px; y2:78px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:128px; x2:750px; y2:128px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:175px; x2:750px; y2:175px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:251px; x2:750px; y2:251px; "/>
- <line id="line12" class="line_2" style="x1:5px; y1:560px; x2:755px; y2:560px; "/>
- <caption id="caption35" class="cell_1" style="left:415px; top:7px; width:70px; height:23px; vertical-align:middle; ">연령</caption>
- <caption id="caption37" class="cell_1" style="left:570px; top:6px; width:65px; height:23px; vertical-align:middle; ">직업</caption>
- <caption id="caption38" class="cell_1" style="left:286px; top:33px; width:199px; height:23px; vertical-align:middle; ">보호자성명( 만 19세 미만인 경우)</caption>
- <input id="input6" ref="/root/main/lglydisinfo/info/procernm" class="ipt__default" style="left:487px; top:34px; width:170px; height:19px; "/>
- <caption id="caption44" class="cell_1" style="left:286px; top:56px; width:59px; height:23px; vertical-align:middle; ">전화번호</caption>
- <select1 id="radio1" ref="/root/main/lglydisinfo/info/sexflag" disabled="true" appearance="full" cellspacing="30" cols="2" vcellspacing="5" overflow="visible" style="left:287px; top:8px; width:125px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <input id="input7" ref="/root/main/lglydisinfo/info/age" class="ipt__default" disabled="true" style="left:515px; top:8px; width:35px; height:19px; text-align:right; "/>
- <output id="output7" ref="/root/main/lglydisinfo/info/tel" class="output_fix" style="left:347px; top:58px; width:138px; height:19px; "/>
- <select1 id="combo1" ref="/root/main/lglydisinfo/info/jobcd" class="cmb__default" appearance="minimal" style="left:637px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0149list/M0149">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script id="script1" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fCtrlEnableChk("rdo");
- ]]>
- </script>
- </select1>
- <caption id="caption54" style="left:500px; top:11px; width:25px; height:15px; ">만</caption>
- <caption id="caption57" style="left:540px; top:11px; width:25px; height:15px; text-align:right; vertical-align:middle; ">세</caption>
- <line id="line22" class="line_2" style="x1:0px; y1:103px; x2:750px; y2:103px; "/>
- <caption id="caption58" class="cell_1" style="left:380px; top:105px; width:100px; height:23px; vertical-align:middle; ">진단일</caption>
- <caption id="caption59" style="left:170px; top:150px; width:10px; height:25px; ">[</caption>
- <caption id="caption60" style="left:405px; top:150px; width:10px; height:25px; ">]</caption>
- <caption id="caption61" class="cell_1" style="left:420px; top:130px; width:60px; height:44px; vertical-align:middle; ">현상태</caption>
- <line id="line30" class="line_2" style="x1:490px; y1:152px; x2:755px; y2:152px; "/>
- <caption id="caption62" style="left:484px; top:153px; width:45px; height:20px; ">사망일</caption>
- <input id="input10" ref="/root/main/lglydisinfo/info/dethdd" navindex="20" inputtype="date" style="left:530px; top:154px; width:217px; height:19px; "/>
- <select id="checkbox4" ref="/root/main/lglydisinfo/info/lglykindcd" navindex="21" overflow="visible" appearance="full" cellspacing="150" cols="2" sep="," vcellspacing="5" style="left:102px; top:177px; width:645px; height:75px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0633list/A0633">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption12" class="cell_1" style="left:346px; top:252px; width:401px; height:23px; text-align:center; vertical-align:middle; ">검 사 결 과</caption>
- <line id="line13" class="line_2" style="x1:345px; y1:252px; x2:345px; y2:542px; "/>
- <line id="line21" class="line_2" style="x1:100px; y1:343px; x2:750px; y2:343px; "/>
- <line id="line38" class="line_2" style="x1:345px; y1:298px; x2:750px; y2:298px; "/>
- <caption id="caption23" style="left:345px; top:278px; width:85px; height:20px; text-align:center; ">부위</caption>
- <caption id="caption24" style="left:345px; top:301px; width:85px; height:20px; text-align:center; ">방법</caption>
- <line id="line39" class="line_2" style="x1:345px; y1:321px; x2:750px; y2:321px; "/>
- <caption id="caption33" style="left:345px; top:324px; width:85px; height:20px; text-align:center; ">양상</caption>
- <line id="line40" class="line_2" style="x1:430px; y1:276px; x2:430px; y2:343px; "/>
- <select id="checkbox6" ref="/root/main/lglydisinfo/info/testpartcd" navindex="20" overflow="visible" appearance="full" cellspacing="32" cols="3" sep="," style="left:440px; top:278px; width:195px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0620list/A0620">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption34" style="left:635px; top:276px; width:10px; height:25px; ">(</caption>
- <caption id="caption63" style="left:740px; top:276px; width:10px; height:25px; ">)</caption>
- <input id="input3" ref="/root/main/lglydisinfo/info/testpartremcnts" style="left:645px; top:278px; width:95px; height:19px; "/>
- <select id="checkbox7" ref="/root/main/lglydisinfo/info/testmthdcd" navindex="24" overflow="visible" appearance="full" cellspacing="42" cols="2" sep="," style="left:440px; top:300px; width:285px; height:20px; vertical-align:bottom; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0621list/A0621">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select id="checkbox8" ref="/root/main/lglydisinfo/info/plaqflagcd" dropmode="25" overflow="visible" appearance="full" cellspacing="30" cols="2" sep="," style="left:440px; top:324px; width:300px; height:20px; vertical-align:bottom; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0622list/A0622">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption64" style="left:130px; top:301px; width:60px; height:20px; ">조직 검사</caption>
- <caption id="caption65" style="left:215px; top:301px; width:10px; height:20px; ">(</caption>
- <caption id="caption66" style="left:300px; top:301px; width:10px; height:20px; ">)</caption>
- <caption id="caption70" style="left:130px; top:343px; width:60px; height:20px; ">뇌파검사</caption>
- <caption id="caption71" style="left:215px; top:343px; width:10px; height:20px; ">(</caption>
- <caption id="caption72" style="left:300px; top:343px; width:10px; height:20px; ">)</caption>
- <caption id="caption73" style="left:130px; top:365px; width:78px; height:20px; ">방사선학 검사</caption>
- <caption id="caption74" style="left:215px; top:365px; width:10px; height:20px; ">(</caption>
- <caption id="caption75" style="left:300px; top:365px; width:10px; height:20px; ">)</caption>
- <caption id="caption76" style="left:130px; top:387px; width:78px; height:20px; ">뇌척수액 검사</caption>
- <caption id="caption77" style="left:215px; top:387px; width:10px; height:20px; ">(</caption>
- <caption id="caption78" style="left:300px; top:387px; width:10px; height:20px; ">)</caption>
- <line id="line14" class="line_2" style="x1:100px; y1:364px; x2:750px; y2:364px; "/>
- <line id="line17" class="line_2" style="x1:100px; y1:386px; x2:750px; y2:386px; "/>
- <line id="line42" class="line_2" style="x1:100px; y1:408px; x2:750px; y2:408px; "/>
- <line id="line43" class="line_2" style="x1:345px; y1:430px; x2:750px; y2:430px; "/>
- <line id="line15" class="line_2" style="x1:345px; y1:452px; x2:750px; y2:452px; "/>
- <line id="line45" class="line_2" style="x1:100px; y1:496px; x2:750px; y2:496px; "/>
- <line id="line46" class="line_2" style="x1:0px; y1:519px; x2:750px; y2:519px; "/>
- <caption id="caption80" style="left:130px; top:454px; width:10px; height:20px; ">(</caption>
- <caption id="caption81" style="left:215px; top:454px; width:10px; height:20px; ">)</caption>
- <caption id="caption82" class="cell_1" style="left:101px; top:496px; width:243px; height:23px; text-align:left; vertical-align:middle; ">기타검사소견</caption>
- <caption id="caption83" style="left:505px; top:407px; width:10px; height:25px; ">)</caption>
- <caption id="caption84" style="left:400px; top:407px; width:10px; height:25px; ">(</caption>
- <input id="input4" ref="/root/main/lglydisinfo/info/codonnm" navindex="32" style="left:409px; top:410px; width:95px; height:19px; "/>
- <caption id="caption85" style="left:635px; top:476px; width:10px; height:25px; ">)</caption>
- <caption id="caption86" style="left:360px; top:476px; width:31px; height:25px; ">기타(</caption>
- <input id="input5" ref="/root/main/lglydisinfo/info/codoncnts" navindex="34" style="left:395px; top:478px; width:240px; height:19px; "/>
- <caption id="caption13" style="left:360px; top:410px; width:60px; height:20px; ">코오론</caption>
- <caption id="caption87" style="left:525px; top:409px; width:60px; height:20px; ">돌연변이</caption>
- <caption id="caption88" style="left:360px; top:431px; width:93px; height:20px; ">코오론129 다형 (</caption>
- <select id="checkbox15" ref="/root/main/lglydisinfo/info/codonflag" navindex="33" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="," style="left:455px; top:432px; width:180px; height:20px; vertical-align:bottom; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0623list/A0623">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption90" style="left:636px; top:431px; width:10px; height:25px; ">)</caption>
- <select id="checkbox17" ref="/root/main/lglydisinfo/info/dngrcascd" navindex="37" overflow="visible" appearance="full" cellspacing="60" cols="2" sep="," style="left:270px; top:562px; width:477px; height:85px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0627list/A0627">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <line id="line47" class="line_2" style="x1:269px; y1:563px; x2:269px; y2:674px; "/>
- <caption id="caption92" style="left:130px; top:434px; width:126px; height:20px; ">PRNP 유전자 돌연변이</caption>
- <line id="line48" class="line_2" style="x1:100px; y1:644px; x2:755px; y2:644px; "/>
- <caption id="caption93" style="left:710px; top:643px; width:10px; height:25px; ">)</caption>
- <caption id="caption94" style="left:363px; top:667px; width:92px; height:20px; ">(여행/거주시기</caption>
- <caption id="caption95" style="left:727px; top:666px; width:20px; height:20px; ">일)</caption>
- <caption id="caption96" class="cell_1" style="left:101px; top:646px; width:167px; height:38px; vertical-align:middle; ">
- <![CDATA[최근 30년간
- 해외여행 / 거주 여부]]>
- </caption>
- <line id="line49" class="line_2" style="x1:0px; y1:683px; x2:750px; y2:683px; "/>
- <textarea id="textarea1" ref="/root/main/lglydisinfo/info/infcnts" navindex="43" style="left:102px; top:686px; width:645px; height:63px; "/>
- <line id="line51" class="line_3" visibility="hidden" style="x1:0px; y1:750px; x2:750px; y2:750px; "/>
- <input id="input13" ref="/root/main/lglydisinfo/info/dngrcasremcnts" style="left:588px; top:625px; width:149px; height:19px; "/>
- <textarea id="textarea2" ref="/root/main/lglydisinfo/info/lglydiscnts" navindex="36" style="left:102px; top:524px; width:645px; height:35px; "/>
- <input id="input14" ref="/root/main/lglydisinfo/info/etcnts1" navindex="35" style="left:349px; top:499px; width:398px; height:19px; "/>
- <input id="input16" ref="/root/main/lglydisinfo/info/raytestcnts" navindex="29" style="left:350px; top:366px; width:397px; height:19px; "/>
- <input id="input17" ref="/root/main/lglydisinfo/info/crbrfldtestcnts" navindex="31" style="left:350px; top:387px; width:397px; height:19px; "/>
- <input id="input18" ref="/root/main/lglydisinfo/info/brwavetestcnts" navindex="27" style="left:350px; top:345px; width:397px; height:19px; "/>
- <caption id="caption79" style="left:737px; top:620px; width:10px; height:25px; ">)</caption>
- <caption id="caption91" style="left:580px; top:620px; width:10px; height:25px; ">(</caption>
- <select id="checkbox5" ref="/root/main/lglydisinfo/info/codonflag2" navindex="33" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="," style="left:455px; top:456px; width:180px; height:20px; vertical-align:bottom; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0634list/A0634">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <caption id="caption67" style="left:360px; top:455px; width:93px; height:20px; ">코오론219 다형 (</caption>
- <line id="line37" class="line_2" style="x1:345px; y1:476px; x2:750px; y2:476px; "/>
- <caption id="caption68" style="left:636px; top:455px; width:10px; height:25px; ">)</caption>
- <select1 id="radio2" ref="/root/main/lglydisinfo/info/dethflag" navindex="19" appearance="full" cols="5" overflow="visible" style="left:480px; top:132px; width:268px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0624list/A0624">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/lglydisinfo/info/dethflag") != "04" ) input10.disabled = true;
- else input10.disabled = false;
- ]]>
- </script>
- </select1>
- <select1 id="radio3" ref="/root/main/lglydisinfo/info/patflag" navindex="17" appearance="full" rows="1" vcellspacing="5" overflow="visible" style="left:102px; top:130px; width:70px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0625list/A0625">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/lglydisinfo/info/patflag") == "1" ) radio4.disabled = true;
- else radio4.disabled = false;
- ]]>
- </script>
- </select1>
- <select1 id="radio4" ref="/root/main/lglydisinfo/info/patflag2" navindex="18" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:177px; top:154px; width:235px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0626list/A0626">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="radio5" ref="/root/main/lglydisinfo/info/tisstestlag" navindex="22" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:225px; top:302px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio6" ref="/root/main/lglydisinfo/info/prnpagenetestflag" navindex="31" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:137px; top:455px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio7" ref="/root/main/lglydisinfo/info/brwavetestflag" navindex="26" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:225px; top:345px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio8" ref="/root/main/lglydisinfo/info/raytestflag" navindex="28" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:225px; top:367px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio9" ref="/root/main/lglydisinfo/info/crbrfldtestflag" navindex="30" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:225px; top:387px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio10" ref="/root/main/lglydisinfo/info/estminfcareacd" navindex="38" appearance="full" cellspacing="5" cols="2" vcellspacing="2" overflow="visible" style="left:270px; top:648px; width:477px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>없음</label>
- <value>H</value>
- </item>
- <item>
- <label>있음 (여행/거주지역</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/lglydisinfo/info/estminfcareacd") == "H" ) {
- input11.disabled = true;
- ipt_ecntrydd.disabled = true;
- ipt_stayterm.disabled = true;
- ipt_staytermday.disabled = true;
- model.setValue("/root/main/lglydisinfo/info/etcnts2", "");
- model.setValue("/root/main/lglydisinfo/info/ecntrydd", "");
- model.setValue("/root/main/lglydisinfo/info/stayterm", "");
- model.setValue("/root/main/lglydisinfo/info/staytermday", "");
- } else {
- input11.disabled = false;
- ipt_ecntrydd.disabled = false;
- ipt_stayterm.disabled = false;
- ipt_staytermday.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_attackdd" ref="/root/main/lglydisinfo/info/attackdd" navindex="15" inputtype="date" format="yyyy-mm-dd" style="left:102px; top:107px; width:275px; height:19px; "/>
- <input id="ipt_diagdd" ref="/root/main/lglydisinfo/info/diagdd" navindex="16" inputtype="date" format="yyyy-mm-dd" style="left:482px; top:107px; width:265px; height:19px; "/>
- <input id="ipt_stayterm" ref="/root/main/lglydisinfo/info/stayterm" navindex="41" visibility="visible" format="#,###" style="left:643px; top:666px; width:28px; height:19px; "/>
- <input id="ipt_staytermday" ref="/root/main/lglydisinfo/info/staytermday" navindex="42" visibility="visible" format="99" style="left:698px; top:666px; width:28px; height:19px; "/>
- <input id="ipt_ecntrydd" ref="/root/main/lglydisinfo/info/ecntrydd" navindex="40" inputtype="date" style="left:495px; top:666px; width:91px; height:19px; "/>
- <input id="ipt_ecntrytodd" ref="/root/main/lglydisinfo/info/ecntrytodd" navindex="40" visibility="hidden" style="left:320px; top:665px; width:35px; height:19px; "/>
- <caption id="caption1" style="left:455px; top:667px; width:45px; height:20px; ">입국일:</caption>
- <caption id="caption2" style="left:587px; top:667px; width:54px; height:20px; ">체류기간:</caption>
- <caption id="caption3" style="left:671px; top:667px; width:30px; height:20px; ">개월</caption>
- <select id="chk_residncflag" ref="/root/main/lglydisinfo/info/residncflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:488px; top:59px; width:86px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>거주지 불명</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_idflag" ref="/root/main/lglydisinfo/info/idflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:579px; top:59px; width:86px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>신원미상</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <input id="input11" ref="/root/main/lglydisinfo/info/etcnts2" navindex="39" style="left:495px; top:646px; width:205px; height:19px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:770px; width:756px; height:27px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <button id="btn_save" class="btn4_letter2" style="left:570px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/savedata");
-
- if( isRequiredControls("ipt_attackdd","ipt_diagdd") == false ) {
- return;
- }
-
- if( isNull(model.getValue("/root/main/lglydisinfo/info/lglydiscd")) ){
- //messageBox("전염병은", "I003");
- //return;
- model.setValue("/root/main/lglydisinfo/info/lglydiscd","206");
- }
- if(isNull(model.getValue("/root/main/lglydisinfo/info/attackdd")) ){
- messageBox("발병일은 필수입력입니다.");
- return;
- }
- if(isNull(model.getValue("/root/main/lglydisinfo/info/diagdd")) ){
- messageBox("진단일은 필수입력입니다.");
- return;
- }
- if( model.getValue("/root/main/lglydisinfo/info/estminfcareacd") == "O" && model.getValue("/root/main/lglydisinfo/info/staytermday") > "30" ) {
- messageBox("체류기간 일은 30일을 넘을 수 없습니다.", "I");
- return;
- }
-
- if( isNull(model.getValue("/root/main/lglydisinfo/info/wrtedt")) ){
- model.setValue("/root/main/lglydisinfo/info/state", "I");
- //model.setValue("/root/main/lglydisinfo/info/wrtedt", getCurrentDate() +""+getCurrentTime());
- } else {
- model.setValue("/root/main/lglydisinfo/info/state", "U");
- }
-
- var frdd = model.getValue("/root/main/lglydisinfo/info/ecntrydd");
- var todd = model.getValue("/root/main/lglydisinfo/info/ecntrytodd");
- if( !isNull(frdd) && !isNull(todd) ){
- var term = getDateInterval(frdd, todd, "dd");
- model.setValue("/root/main/lglydisinfo/info/stayterm", term); //잘못된 내용 확인 필요
- }
-
- model.setValue("/root/main/lglydisinfo/info/reptflag", "06");
- model.setValue("/root/main/lglydisinfo/info/orddeptcd", model.getValue("/root/main/paminfo/list/orddeptcd"));
- model.setValue("/root/main/lglydisinfo/info/updtreptcnts", ""); //변경신고내용
- model.setValue("/root/main/lglydisinfo/info/diagcd",model.getValue("/root/diaginfo/diagcdlist/diagcd"));
-
- model.copyNode("/root/send/savedata","/root/main/lglydisinfo/info");
- //@@
- var Curstate = model.getValue("/root/main/lglydisinfo/info/state")
- if(submit("TXASI03401", false)){
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- //fCtrlEnableChk("rdo");
- //fCtrlEnableChk("rdo_chgrept");
- //fCtrlEnableChk("rdo_estminfcarea");
- //fChgReptDisable();
- model.refresh();
- //@@
- if(Curstate == "I"){
- messageBox("저장되었습니다","I");
- }else if (Curstate == "U"){
- messageBox("수정되었습니다.","I");
- }
- model.close();
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_cncl" class="btn4_letter2" style="left:628px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/savedata");
-
- //if(model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt") != '99991231235959' ){
- if(model.getValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt").substring(0,8) != "99991231" ){ //작성일자가 아닌 신고일자로 체크하도록 수정 (2009.11.13 JJE)
- messageBox(" 이미 신고된 건은 삭제 " ,"E001");
- return;
- }
- var result = messageBox("","Q001"); //삭제하시겠습니까?
-
- if (result == "7"){
- messageBox("삭제가 취소되었습니다","I");
- return;
- }else if (result == "6"){
- model.setValue("/root/main/lglydisinfo/info/state", "D");
- model.copyNode("/root/send/savedata","/root/main/lglydisinfo/info");
-
- if(submit("TXASI03401", false)){
-
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- messageBox("삭제" ,"I001");
- model.refresh();
- }
- window.close();
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:685px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.resetInstanceNode("/root/main");
- fInit();
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|