12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>법정감염병 발생신고</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <lglydisinfo>
- <info>
- <state/>
- <reptflag/>
- <psnflag/>
- <patnm/>
- <sexflag/>
- <age/>
- <job/>
- <jobcd/>
- <rgstno/>
- <rgstno2/>
- <procernm/>
- <zipcd1/>
- <zipcd2/>
- <cntcaddr1/>
- <cntcaddr2/>
- <tel/>
- <residncflag/>
- <idflag/>
- <wrtedt/>
- <seqno/>
- <pid/>
- <lglydiscd/>
- <grup4lglydisnewsymp/>
- <apntlglydisnm/>
- <attackdd/>
- <diagdd/>
- <dethyn/>
- <dethresn/>
- <patflag/>
- <cnfmsnwtestrslt/>
- <estminfcpath/>
- <estminfcarea/>
- <estminfcareanaticd/>
- <stayfromdd/>
- <staytodd/>
- <chgrept/>
- <chgzipcd1/>
- <chgzipcd2/>
- <chgzipcdseq/>
- <chgreptaddr/>
- <chgreptaddrdtl/>
- <updtreptcnts/>
- <indd/>
- <cretno/>
- <cnclyn/>
- <orddeptcd/>
- <diagcd/>
- <lasthistyn>Y</lasthistyn>
- <prcporddeptcd/>
- <prcporddd/>
- <hngnm/>
- <wardnm/>
- <wardcd/>
- </info>
- </lglydisinfo>
- <getlglydisinfo>
- <info/>
- </getlglydisinfo>
- <getreptdtinfo>
- </getreptdtinfo>
- <paminfo/>
- <getlglydiscdinfo/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <reqlglydiscd/>
- </send>
- <hidden>
- </hidden>
- <init>
- <M0149list>
- <M0149/>
- </M0149list>
- <P0353list>
- <P0353/>
- </P0353list>
- <A0131list>
- <A0131/>
- </A0131list>
- <A0132list>
- <A0132/>
- </A0132list>
- <A0370list>
- <A0370/>
- </A0370list>
- <A0369list>
- <A0369/>
- </A0369list>
- <A0371list>
- <A0371/>
- </A0371list>
- <A0372list>
- <A0372/>
- </A0372list>
- </init>
- <diaginfo>
- <diagcdlist/>
- </diaginfo>
- <temp>
- <tmplist/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("M0149" //직업
- , "P0353" //국적명
- , "A0131" //추정감염경로
- , "A0132" //추정감염지역
- , "A0369" //사망여부
- , "A0370" //환자분류
- , "A0371" //확진검사결과
- , "A0372"), //변경신고
- new Array("/root/init/M0149list"
- , "/root/init/P0353list"
- , "/root/init/A0131list"
- , "/root/init/A0132list"
- , "/root/init/A0369list"
- , "/root/init/A0370list"
- , "/root/init/A0371list"
- , "/root/init/A0372list"));
-
- model.setValue("/root/main/lglydisinfo/info/reptflag", "01"); //신고서구분 ( 01 : 법정감염병신고 )
-
- var strRegtdt = "";
- var strYearCal = "";
- var pamInfoCvs = getGlobalVariable("paminfo");
-
- if(pamInfoCvs != ""){ //상단정보
- model.removeNodeSet("/root/main/paminfo/list");
- setCSVToNode("/root/main/paminfo", pamInfoCvs);
-
- model.setValue("/root/main/lglydisinfo/info/psnflag", model.getValue("/root/main/paminfo/list/ioflag"));
- model.setValue("/root/main/lglydisinfo/info/pid", model.getValue("/root/main/paminfo/list/pid"));
- model.setValue("/root/main/lglydisinfo/info/cretno", model.getValue("/root/main/paminfo/list/cretno"));
-
- if(model.getValue("/root/main/paminfo/list/ioflag") == "O"){
- model.setValue("/root/main/lglydisinfo/info/indd", model.getValue("/root/main/paminfo/list/orddd"));
- } else {
- model.setValue("/root/main/lglydisinfo/info/indd", model.getValue("/root/main/paminfo/list/indd"));
- }
- }else if (isPopup()){// 팝업
- model.setValue("/root/main/lglydisinfo/info/pid", opener.javascript.getParameter("pid"));
- model.setValue("/root/main/lglydisinfo/info/indd", opener.javascript.getParameter("indd"));
- model.setValue("/root/main/lglydisinfo/info/psnflag", opener.javascript.getParameter("psnflag"));
- model.setValue("/root/main/lglydisinfo/info/wrtedt", opener.javascript.getParameter("wrtedt"));
- model.setValue("/root/main/lglydisinfo/info/cretno", opener.javascript.getParameter("cretno"));
- }
-
- if( !isNull(model.getValue("/root/main/lglydisinfo/info/pid")) ) {
- var result = 1;
- model.copyNode("/root/send/reqdata", "/root/main/lglydisinfo/info");
-
- if(submit("TRASI01501", false)){
- if(isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){ // 외래->입원, 입원->외래로 저장한 case를 조회하기 위해.
- model.makeValue("/root/send/reqdata/indd", model.getValue("/root/main/getlglydisinfo/info/attackdd"));
- submit("TRASI01501");
- }
-
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- model.refresh();
-
- 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/seqno", opener.javascript.getParameter("seqno"));
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/reptdt", opener.javascript.getParameter("reptdt"));
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/reptyn", opener.javascript.getParameter("reptyn"));
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/chgyn", opener.javascript.getParameter("chgyn"));
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt", opener.javascript.getParameter("prt_reptdt"));
-
- if(opener.javascript.getParameter("state") == 'S'){
-
- var disnm = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var c = document.controls("chx_grup"+a+"bac"+b);
-
- if (c != null) {
- c.item(0).attribute("color")="#0000ff";
- c.item(0).attribute("font-weight")="bold";
- }
- }
-
- }else if( isPopup() && (opener.javascript.getParameter("state") != "U" || isNull(opener.javascript.getParameter("PrcpLglyDis"))) ){
- model.setValue("/root/main/lglydisinfo/info/state", opener.javascript.getParameter("state") );
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/lglydisinfo/info/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)
- var disnm = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
- var lglydisnm = null;
-
- if(disnm=="499" || disnm=="999"){
- switch(disnm){
- case '499': lglydisnm = model.getValue("/root/main/lglydisinfo/info/grup4lglydisnewsymp"); break;
- case '999': lglydisnm = model.getValue("/root/main/lglydisinfo/info/apntlglydisnm"); break;
- }
- }else{
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var disCtrl = document.controls("chx_grup"+a+"bac"+b);
- if (disCtrl != null) {
- lglydisnm = disCtrl.label;
- }
- }
- fInit();
- model.refresh();
- result=6;
-
- //진료화면에서 추가 시 초기화로 저장
- // result = messageBox(strRegtdt.substring(0,4)+"년 "+strRegtdt.substring(4,6)+"월 "+strRegtdt.substring(6,8)+"일 "
- // + lglydisnm +"(으)로 전염병이 신고되어 있어 신규 입력이 아니면 자료가 중복됩니다. \n 그래도", "Q003");
- // result=6;
- // if(result =="7"){
- // fInit();
- // model.refresh();
- // }
- //
- // } else { //신고 내용이 없다면
- // result=6;
- // }
- }
-
- if(!isNull(opener.javascript.getParameter("PrcpLglyDis"))){ //처방에서 호출했는가 여부
- result=6;
- //처방화면에서 무조건 insert
- fInit();
- model.refresh();
-
- var lglydiscd = "";
- var sPrcpLglyDisCd = opener.javascript.getParameter("PrcpLglyDisCd");
- var sPrcpIcd10Cd = opener.javascript.getParameter("PrcpIcd10Cd");
-
- model.makeValue("/root/send/reqlglydiscd/prcpicd10cd", sPrcpIcd10Cd);
- model.makeValue("/root/send/reqlglydiscd/reptflag","01");
- submit("TRASI01504");//상병 체크를 위한 submit
-
- //상병에 파란색 볼드체 표시
- if(!isNull(sPrcpLglyDisCd) && sPrcpLglyDisCd.length == 3) { //상병에 파란색 볼드체 표시
- lglydiscd = sPrcpLglyDisCd;
- } else {
- lglydiscd = model.getValue("/root/main/getlglydiscdinfo/info/lglydiscd");
- }
-
- alert(lglydiscd);
-
- model.setValue("/root/main/lglydisinfo/info/lglydiscd", lglydiscd);
- if( lglydiscd == "416" ){ //J09조류인플루엔자의 경우
- model.setValue("/root/main/lglydisinfo/info/lglydiscd", "499");
-
- chx_newbac.item(0).attribute("color")="#0000ff";
- chx_newbac.item(0).attribute("font-weight")="bold";
- }else if( lglydiscd =="999" ){
- chx_apntlglydis.item(0).attribute("color")="#0000ff";
- chx_apntlglydis.item(0).attribute("font-weight")="bold";
- }else{
- var disnm = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var c = document.controls("chx_grup"+a+"bac"+b);
-
- if (c != null) {
- c.item(0).attribute("color")="#0000ff";
- c.item(0).attribute("font-weight")="bold";
- }
- }
- }else{ //처방호출이 아닌경우
- if( !isNull(model.getValue("/root/main/lglydisinfo/info/pid")) ){
- fChkCnclYN(); //삭제된 신고건인지 체크
- // var MenuParam = getScreenMenuParameter(); //화면 ID 분기
- // alert(MenuParam);
- // if(MenuParam == "MM"){
- // alert("test : " + MenuParam);
- // fInit();
- // }
- fCtrlEnableChk("rdo");
- fCtrlEnableChk("rdo_chgrept");
- fCtrlEnableChk("rdo_estminfcarea");
-
- rdo_dethyn.dispatch("onclick");
- }
- }
- }
- }else{
- grp_btn.disabled = true; //pid is null
- }
-
- //화면 오픈시 진단일 오늘날짜로 셋팅
- model.setValue("/root/main/lglydisinfo/info/diagdd", getCurrentDate());
- model.refresh();
-
- ]]>
- </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="TXASI01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/getlglydisinfo"/>
- <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"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- ]]>
- </script>
- <submission id="TRASI01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqlglydiscd" resultref="/root/main/getlglydiscdinfo"/>
- </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/stringHelper.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/lglydiscd", "");
- model.makeValue("/root/main/lglydisinfo/info/grup4lglydisnewsymp", "");
- model.makeValue("/root/main/lglydisinfo/info/apntlglydisnm", "");
- model.makeValue("/root/main/lglydisinfo/info/attackdd", "");
- model.makeValue("/root/main/lglydisinfo/info/diagdd", "");
- model.makeValue("/root/main/lglydisinfo/info/cnfmsnwtestrslt", "");
- //model.makeValue("/root/main/lglydisinfo/info/patflag", "");
- model.makeValue("/root/main/lglydisinfo/info/patflag", model.getValue("/root/main/paminfo/list/ioflag"));
- model.makeValue("/root/main/lglydisinfo/info/cnfmsnwtestrslt", "");
- model.makeValue("/root/main/lglydisinfo/info/estminfcpath", "");
- model.makeValue("/root/main/lglydisinfo/info/estminfcarea", "");
- model.makeValue("/root/main/lglydisinfo/info/estminfcareanaticd", "");
- model.makeValue("/root/main/lglydisinfo/info/stayfromdd", "");
- model.makeValue("/root/main/lglydisinfo/info/chgrept", "");
- model.makeValue("/root/main/lglydisinfo/info/chgzipcd1", "");
- model.makeValue("/root/main/lglydisinfo/info/chgzipcd2", "");
- model.makeValue("/root/main/lglydisinfo/info/chgreptaddr", "");
- model.makeValue("/root/main/lglydisinfo/info/chgreptaddrdtl", "");
- model.makeValue("/root/main/lglydisinfo/info/dethyn","");
- model.makeValue("/root/main/lglydisinfo/info/dethresn","");
-
- model.makeValue("/root/main/lglydisinfo/info/hngnm","");
- model.makeValue("/root/main/lglydisinfo/info/wardnm","");
- model.makeValue("/root/main/lglydisinfo/info/wardcd","");
-
-
-
- fCtrlEnableChk("rdo");
- fCtrlEnableChk("rdo_chgrept");
- fCtrlEnableChk("rdo_estminfcarea");
-
- }
-
- /*
- 삭제된건은 조회만 가능
- */
- function fChkCnclYN(){
- if(model.getValue("/root/main/lglydisinfo/info/cnclyn") == "Y" ){
- if( opener.javascript.getParameter("state") == "S" ){
- messageBox("삭제된 신고서", "I009");
- grp_btn.disabled = true;
- }else{
- fInit();
- }
- }
- }
- /*
- 신고대상자조회화면에서 state="S",
- 진단에서 state="I",
- 퇴원시 1군, 일본뇌염 이고 법정전염병신고서가 작성되어 있을경우 state="U"
- 메뉴에서 상단환자정보를 가지고 조회해서 법정전염병 신고서가 작성되어 있고 전염병이 1군, 일본뇌염이 존재시 state="U"
- 상태에 따라 입력가능여부 처리
- */
- 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"){
- btn_cncl.disabled = true;
- grp_main.disabled = false;
- btn_save.disabled = false;
- btn_init.disabled = false;
-
- fInit();
-
- }else{
- btn_cncl.disabled = false;
- grp_main.disabled = true;
- btn_save.disabled = true;
- btn_init.disabled = true;
- }
- 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;
- grp_chg.disabled = true;
- btn_save.disabled = true;
- }else{
- //100622 감염관리부서 - 변경신고 가능 (제1군전염병 및 일본뇌염)
- var sLglydis = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
- if ( sLglydis == "101" || sLglydis == "102" || sLglydis == "103" || sLglydis == "104" || sLglydis == "105" || sLglydis == "106" || sLglydis == "209" ) {
- grp_chg.disabled = false;
- btn_save.disabled = false;
- fCtrlEnableChk("rdo_chgrept");
- } else {
- grp_chg.disabled = true;
- btn_save.disabled = true;
- }
- btn_cncl.disabled=false;
- }
- grp_main.disabled = true;
- btn_init.disabled = true;
- }
- return;
-
- }else if(isPopup() && strState != "U" ){ //수정모드, 신고대상자조회에서 오픈모드가 아닐 경우... ex:최초..
- if(result == "6"){
- btn_save.disabled = false;
- btn_init.disabled = false;
- btn_cncl.disabled = true;
- grp_main.disabled = false;
- grp_chg.disabled = true;
-
- fInit();
-
- } else {
- btn_cncl.disabled = false;
- grp_main.disabled = true;
- btn_save.disabled = true;
- btn_init.disabled = true;
- }
- 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_stayfromdd.disabled = false;
- ipt_staytodd.disabled = false;
- model.setFocus("cmb_2");
- } else {
- cmb_estminfcareanaticd.disabled = true;
- ipt_stayfromdd.disabled = true;
- ipt_staytodd.disabled = true;
- model.setValue("/root/main/lglydisinfo/info/estminfcareanaticd", "");
- model.setValue("/root/main/lglydisinfo/info/stayfromdd", "");
- model.setValue("/root/main/lglydisinfo/info/staytodd", "");
- model.refresh();
- }
- } else if (pControlID == "rdo_chgrept") { // 변경신고
- var sChngreptcd = model.getValue("/root/main/lglydisinfo/info/chgrept");
- if (sChngreptcd == "4") {
- ipt_chgreptaddrdtl.disabled = false;
- button1.disabled = false;
- } else {
- ipt_chgreptaddrdtl.disabled = true;
- button1.disabled = true;
- model.setValue("/root/main/lglydisinfo/info/chgreptaddr", "");
- model.setValue("/root/main/lglydisinfo/info/chgreptaddrdtl", "");
- model.setValue("/root/main/lglydisinfo/info/chgzipcd1", "");
- model.setValue("/root/main/lglydisinfo/info/chgzipcd2", "");
- 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", "01");
- if(submit("TRASI01503")) {
- if(model.getValue("/root/temp/tmplist/tmplist/wc") == "Y") {
- model.close();
- return;
- }
- }
- }
- }
-
- var prechk="";
- var cnt = 0;
- function fClkLglyDis(){
- if(!isNull(opener.javascript.getParameter("PrcpLglyDis"))){ //처방에서 호출시에만 적용
- var sPrcpLglyDisCd = opener.javascript.getParameter("PrcpLglyDisCd");
- if(isNull(sPrcpLglyDisCd) || sPrcpLglyDisCd.length != 3) { //상병에 파란색 볼드체 표시
- sPrcpLglyDisCd = model.getValue("/root/main/getlglydiscdinfo/info/lglydiscd");
- }
-
- //@@하이잭취소후 추가
- if(cnt=="0"){
- if(sPrcpLglyDisCd=="416"){ //J09조류인플루엔자의 경우
- chx_newbac.item(0).attribute("color")="000000";
- chx_newbac.item(0).attribute("font-weight")="normal";
- }else if(sPrcpLglyDisCd=="999"){
- chx_apntlglydis.item(0).attribute("color")="000000";
- chx_apntlglydis.item(0).attribute("font-weight")="normal";
- }else{
- var disnm = sPrcpLglyDisCd;
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var c = document.controls("chx_grup"+a+"bac"+b);
- //2012/11/19 Start
- // if (!isNull(c)) {
- if(c!=null){
- //2012/11/19 End
- c.item(0).attribute("color")="000000";
- c.item(0).attribute("font-weight")="normal";
- }
- }
- }
- //색상초기화
- var chkcd = "";
- if(sPrcpLglyDisCd=="416"){
- chkcd = 499;
- }else{
- chkcd = sPrcpLglyDisCd;
- }
-
- if(!isNull(prechk) && (prechk != chkcd ) ){
- if(prechk=="499"){
- chx_newbac.item(0).attribute("color")="000000";
- chx_newbac.item(0).attribute("font-weight")="normal";
- }else if(prechk=="999"){
- chx_apntlglydis.item(0).attribute("color")="000000";
- chx_apntlglydis.item(0).attribute("font-weight")="normal";
- }else{
- var disnm = prechk;
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var c = document.controls("chx_grup"+a+"bac"+b);
- if (c != null) {
- c.item(0).attribute("color")="000000";
- c.item(0).attribute("font-weight")="normal";
- }
- }
- }
-
- prechk = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
-
- if(prechk=="499"){
- chx_newbac.item(0).attribute("color")="#0000ff";
- chx_newbac.item(0).attribute("font-weight")="bold";
- }else if(prechk=="999"){
- chx_apntlglydis.item(0).attribute("color")="#0000ff";
- chx_apntlglydis.item(0).attribute("font-weight")="bold";
- }else{
- var disnm = prechk;
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var c = document.controls("chx_grup"+a+"bac"+b);
- if (c != null) {
- c.item(0).attribute("color")="#0000ff";
- c.item(0).attribute("font-weight")="bold";
- }
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="800" pageheight="720" style="margin-left:8; margin-right:8; ">
- <group id="grp_chg" visibility="hidden" style="left:5px; top:603px; width:751px; height:50px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <caption id="caption56" class="tit_2" style="left:5px; top:3px; width:272px; height:13px; vertical-align:middle; ">변경신고(제1군전염병 및 일본뇌염에 한함)</caption>
- <caption id="caption47" class="cell_1" style="left:0px; top:22px; width:79px; height:23px; vertical-align:middle; ">변경신고</caption>
- <select1 id="rdo_chgrept" ref="/root/main/lglydisinfo/info/chgrept" appearance="full" cols="4" overflow="visible" style="left:80px; top:23px; width:200px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0372list/A0372">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script id="script48" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo_chgrept");
- ]]>
- </script>
- </select1>
- <button id="button1" class="icon_search" disabled="true" style="left:370px; top:24px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rcv_zipcdhead_path = '/root/main/lglydisinfo/info/chgzipcd1';
- var rcv_zipcdfoot_path = '/root/main/lglydisinfo/info/chgzipcd2';
- var rcv_seqno_path = '/root/main/lglydisinfo/info/chgzipcdseq';
- var rcv_address_path = '/root/main/lglydisinfo/info/chgreptaddr';
- var term = model.getValue("recv_zipcdhead_path");
-
- zbcfOpenZipCodeList("address", term, rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
- ]]>
- </script>
- </button>
- <line id="line35" class="line_1" style="x1:0px; y1:17px; x2:750px; y2:17px; "/>
- <output id="opt_chgzipcd1" ref="/root/main/lglydisinfo/info/chgzipcd1" class="output_fix" style="left:282px; top:23px; width:38px; height:19px; "/>
- <output id="opt_chgzipcd2" ref="/root/main/lglydisinfo/info/chgzipcd2" class="output_fix" style="left:330px; top:23px; width:38px; height:19px; "/>
- <caption id="caption8" class="search_no_b" style="left:320px; top:23px; width:12px; height:17px; ">-</caption>
- <output id="ipt_chgreptaddr" ref="/root/main/lglydisinfo/info/chgreptaddr" class="output_fix" disabled="true" appearance="output" style="left:388px; top:23px; width:155px; height:19px; "/>
- <input id="ipt_chgreptaddrdtl" ref="/root/main/lglydisinfo/info/chgreptaddrdtl" class="ipt__default" disabled="true" style="left:545px; top:23px; width:205px; height:19px; "/>
- <line id="line34" class="line_3" style="x1:0px; y1:46px; x2:750px; y2:46px; "/>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:765px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; 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:16px; width:765px; height:694px; ">
- <caption id="caption55" style="left:180px; top:580px; width:528px; height:20px; vertical-align:middle; ">( 국명 : 체류기간 : ~ )</caption>
- <select1 id="chx_grup4bac01" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="55" cols="2" overflow="visible" style="left:315px; top:320px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>황열</label>
- <value>401</value>
- </item>
- </choices>
- <script id="script18" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac02" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="55" cols="2" overflow="visible" style="left:371px; top:320px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>뎅기열</label>
- <value>402</value>
- </item>
- </choices>
- <script id="script1" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac13" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="55" cols="2" overflow="visible" style="left:83px; top:320px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>보툴리누스중독증</label>
- <value>413</value>
- </item>
- </choices>
- <script id="script3" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <line id="line18" class="line_1" style="x1:0px; y1:-19px; x2:750px; y2:-18px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:9px; width:69px; height:13px; vertical-align:middle; ">인적사항</caption>
- <caption id="caption30" class="tit_2" style="left:5px; top:134px; width:69px; height:13px; vertical-align:middle; ">감염병명</caption>
- <caption id="caption31" class="cell_1" style="left:0px; top:28px; width:100px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption32" class="cell_1" style="left:0px; top:52px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
- <output id="opt_zipcd1" ref="/root/main/lglydisinfo/info/zipcd1" class="output_fix" style="left:103px; top:79px; width:48px; height:19px; "/>
- <output id="opt_cntcaddr1" ref="/root/main/lglydisinfo/info/cntcaddr1" class="output_fix" style="left:102px; top:102px; width:643px; height:19px; "/>
- <output id="opt_zipcd2" ref="/root/main/lglydisinfo/info/zipcd2" class="output_fix" style="left:174px; top:79px; width:48px; height:19px; "/>
- <caption id="caption36" class="cell_1" style="left:216px; top:29px; width:68px; height:23px; vertical-align:middle; ">성별</caption>
- <output id="opt_patnm" ref="/root/main/lglydisinfo/info/patnm" class="output_fix" style="left:103px; top:29px; width:110px; height:19px; "/>
- <output id="opt_rgstno" ref="/root/main/lglydisinfo/info/rgstno" class="output_fix" style="left:103px; top:54px; width:80px; height:19px; "/>
- <output id="opt_rgstno2" ref="/root/main/lglydisinfo/info/rgstno2" class="output_fix" style="left:203px; top:54px; width:80px; height:19px; "/>
- <caption id="caption39" class="search_no_b" style="left:187px; top:53px; width:12px; height:17px; ">-</caption>
- <caption id="caption40" class="search_no_b" style="left:156px; top:79px; width:12px; height:17px; ">-</caption>
- <select1 id="chx_grup2bac08" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:83px; top:200px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>B형간염(급성)</label>
- <value>208</value>
- </item>
- </choices>
- <script id="script6" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac01" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:83px; top:226px; width:97px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>말라리아</label>
- <value>301</value>
- </item>
- </choices>
- <script id="script7" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac02" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:187px; top:226px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>한센병</label>
- <value>302</value>
- </item>
- </choices>
- <script id="script8" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac04" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:280px; top:226px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>성홍열</label>
- <value>304</value>
- </item>
- </choices>
- <script id="script10" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac05" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:375px; top:226px; width:115px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>수막구균성수막염</label>
- <value>305</value>
- </item>
- </choices>
- <script id="script11" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac06" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:495px; top:226px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>레지오넬라증</label>
- <value>306</value>
- </item>
- </choices>
- <script id="script12" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac07" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:623px; top:226px; width:107px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>비브리오패혈증</label>
- <value>307</value>
- </item>
- </choices>
- <script id="script13" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac08" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:83px; top:248px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>발진티푸스</label>
- <value>308</value>
- </item>
- </choices>
- <script id="script14" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac09" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:187px; top:248px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>발진열</label>
- <value>309</value>
- </item>
- </choices>
- <script id="script15" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac10" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:375px; top:248px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>쯔쯔가무시증</label>
- <value>310</value>
- </item>
- </choices>
- <script id="script16" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac11" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:495px; top:248px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>렙토스피라증</label>
- <value>311</value>
- </item>
- </choices>
- <script id="script17" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac12" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:623px; top:248px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>브루셀라증</label>
- <value>312</value>
- </item>
- </choices>
- <script id="script19" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac13" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:280px; top:248px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>탄저</label>
- <value>313</value>
- </item>
- </choices>
- <script id="script20" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac14" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:83px; top:270px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>공수병</label>
- <value>314</value>
- </item>
- </choices>
- <script id="script21" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac15" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:187px; top:270px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>신증후군(유행성)출혈열</label>
- <value>315</value>
- </item>
- </choices>
- <script id="script22" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac16" ref="/root/main/lglydisinfo/info/lglydiscd" visibility="hidden" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:375px; top:270px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>인플루엔자</label>
- <value>316</value>
- </item>
- </choices>
- <script id="script23" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac14" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:315px; top:342px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>두창</label>
- <value>414</value>
- </item>
- </choices>
- <script id="script24" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_newbac" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="55" cols="6" overflow="visible" style="left:83px; top:412px; width:202px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>신종감염병증후군(증상 및 징후)</label>
- <value>499</value>
- </item>
- </choices>
- <script id="script30" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_apntlglydis" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="55" cols="6" overflow="visible" style="left:83px; top:440px; width:317px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>보건복지부장관이 지정하는 전염병중 해당 병명 기입</label>
- <value>999</value>
- </item>
- </choices>
- <script id="script31" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <caption id="caption41" class="cell_1" style="left:0px; top:551px; width:79px; height:23px; vertical-align:middle; ">추정감염경로</caption>
- <caption id="caption42" class="cell_1" style="left:0px; top:578px; width:79px; height:23px; vertical-align:middle; ">추정감염지역</caption>
- <caption id="caption43" class="cell_1" style="left:0px; top:524px; width:79px; height:23px; vertical-align:middle; ">환자등분류</caption>
- <caption id="cap_attackdd" class="cell_1" style="left:0px; top:497px; width:79px; height:23px; vertical-align:middle; ">발병일</caption>
- <caption id="caption45" class="cell_1" style="left:377px; top:524px; width:81px; height:23px; vertical-align:middle; ">확진검사결과</caption>
- <caption id="caption46" class="cell_1" style="left:0px; top:604px; width:79px; height:23px; vertical-align:middle; ">사망여부</caption>
- <caption id="caption48" class="cell_1" style="left:0px; top:77px; width:100px; height:48px; vertical-align:middle; ">주소 및 전화번호</caption>
- <caption id="caption49" class="cell_1" style="left:0px; top:154px; width:80px; height:23px; vertical-align:middle; ">제1군</caption>
- <caption id="caption50" class="cell_1" style="left:0px; top:178px; width:80px; height:44px; vertical-align:middle; ">제2군</caption>
- <caption id="caption51" class="cell_1" style="left:0px; top:224px; width:80px; height:89px; vertical-align:middle; ">제3군</caption>
- <caption id="caption52" class="cell_1" style="left:0px; top:316px; width:80px; height:117px; vertical-align:middle; ">제4군</caption>
- <caption id="caption53" class="cell_1" style="left:0px; top:437px; width:80px; height:23px; vertical-align:middle; ">지정</caption>
- <caption id="cap_diagdd" class="cell_1" style="left:185px; top:497px; width:79px; height:23px; vertical-align:middle; ">진단일</caption>
- <input id="ipt_attackdd" ref="/root/main/lglydisinfo/info/attackdd" class="input_essential" inputtype="date" style="left:82px; top:498px; width:100px; height:19px; "/>
- <input id="ipt_diagdd" ref="/root/main/lglydisinfo/info/diagdd" class="input_essential" inputtype="date" style="left:267px; top:498px; width:100px; height:19px; "/>
- <line id="line19" class="line_1" style="x1:0px; y1:24px; x2:750px; y2:24px; "/>
- <line id="line20" class="line_2" style="x1:0px; y1:50px; x2:750px; y2:50px; "/>
- <line id="line21" class="line_3" style="x1:0px; y1:123px; x2:750px; y2:123px; "/>
- <line id="line22" class="line_1" style="x1:0px; y1:150px; x2:750px; y2:150px; "/>
- <line id="line23" class="line_2" style="x1:0px; y1:75px; x2:750px; y2:75px; "/>
- <line id="line24" class="line_2" style="x1:100px; y1:100px; x2:750px; y2:99px; "/>
- <line id="line25" class="line_2" style="x1:0px; y1:176px; x2:748px; y2:176px; "/>
- <line id="line26" class="line_2" style="x1:0px; y1:222px; x2:748px; y2:222px; "/>
- <line id="line27" class="line_2" style="x1:0px; y1:314px; x2:747px; y2:314px; "/>
- <line id="line28" class="line_2" style="x1:0px; y1:434px; x2:750px; y2:434px; "/>
- <line id="line29" class="line_3" style="x1:0px; y1:463px; x2:750px; y2:463px; "/>
- <line id="line31" class="line_2" style="x1:0px; y1:522px; x2:750px; y2:522px; "/>
- <line id="line32" class="line_2" style="x1:0px; y1:576px; x2:750px; y2:576px; "/>
- <line id="line33" class="line_3" style="x1:0px; y1:628px; x2:750px; y2:628px; "/>
- <input id="ipt_stayfromdd" ref="/root/main/lglydisinfo/info/stayfromdd" class="ipt__default" inputtype="date" style="left:390px; top:579px; width:90px; height:19px; "/>
- <input id="ipt_staytodd" ref="/root/main/lglydisinfo/info/staytodd" class="ipt__default" inputtype="date" style="left:505px; top:579px; width:90px; height:19px; "/>
- <input id="ipt_apntlglydisnm" ref="/root/main/lglydisinfo/info/apntlglydisnm" disabled="true" style="left:396px; top:440px; width:324px; height:19px; "/>
- <input id="ipt_newbacsymp" ref="/root/main/lglydisinfo/info/grup4lglydisnewsymp" class="ipt__default" style="left:286px; top:412px; width:460px; height:19px; "/>
- <line id="line36" class="line_2" style="x1:0px; y1:549px; x2:750px; y2:549px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:494px; x2:750px; y2:495px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:476px; width:69px; height:13px; vertical-align:middle; ">감염정보</caption>
- <caption id="caption3" class="cell_1" style="left:415px; top:29px; width:65px; height:23px; vertical-align:middle; ">연령</caption>
- <caption id="caption4" class="cell_1" style="left:570px; top:28px; width:65px; height:23px; vertical-align:middle; ">직업</caption>
- <caption id="caption5" class="cell_1" style="left:286px; top:53px; width:194px; height:23px; vertical-align:middle; ">보호자성명( 만 19세 미만인 경우)</caption>
- <input id="ipt_procernm" ref="/root/main/lglydisinfo/info/procernm" class="ipt__default" style="left:482px; top:54px; width:155px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:286px; top:77px; width:65px; height:23px; vertical-align:middle; ">전화번호</caption>
- <select1 id="rdo_sexflag" ref="/root/main/lglydisinfo/info/sexflag" disabled="true" appearance="full" cellspacing="30" cols="2" vcellspacing="5" overflow="visible" style="left:287px; top:30px; 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="ipt_age" ref="/root/main/lglydisinfo/info/age" class="ipt__default" disabled="true" style="left:482px; top:29px; width:86px; height:19px; "/>
- <output id="out_tel" ref="/root/main/lglydisinfo/info/tel" class="output_fix" style="left:353px; top:79px; width:129px; height:19px; "/>
- <select id="chk_residncflag" ref="/root/main/lglydisinfo/info/residncflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:484px; top:79px; 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:570px; top:79px; width:86px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>신원미상</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="chx_grup1bac01" ref="/root/main/lglydisinfo/info/lglydiscd" class="rdo" appearance="full" cellspacing="38" cols="6" overflow="visible" style="left:83px; top:155px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>콜레라</label>
- <value>101</value>
- </item>
- </choices>
- <script id="script34" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup1bac03" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="38" cols="6" overflow="visible" style="left:169px; top:155px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>장티푸스</label>
- <value>103</value>
- </item>
- </choices>
- <script id="script36" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup1bac04" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="38" cols="6" overflow="visible" style="left:270px; top:155px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>파라티푸스</label>
- <value>104</value>
- </item>
- </choices>
- <script id="script37" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup1bac05" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="38" cols="6" overflow="visible" style="left:376px; top:155px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>세균성이질</label>
- <value>105</value>
- </item>
- </choices>
- <script id="script38" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup1bac06" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="38" cols="6" overflow="visible" style="left:487px; top:155px; width:152px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>장출혈성대장균감염증</label>
- <value>106</value>
- </item>
- </choices>
- <script id="script39" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac02" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:83px; top:178px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>백일해</label>
- <value>202</value>
- </item>
- </choices>
- <script id="script41" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac01" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:169px; top:178px; width:82px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>디프테리아</label>
- <value>201</value>
- </item>
- </choices>
- <script id="script40" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac03" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:277px; top:178px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>파상풍</label>
- <value>203</value>
- </item>
- </choices>
- <script id="script42" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac04" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:353px; top:178px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>홍역</label>
- <value>204</value>
- </item>
- </choices>
- <script id="script43" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac05" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:414px; top:178px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유행성이하선염</label>
- <value>205</value>
- </item>
- </choices>
- <script id="script44" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac07" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:530px; top:178px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>폴리오</label>
- <value>207</value>
- </item>
- </choices>
- <script id="script46" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac06" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:606px; top:178px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>풍진</label>
- <value>206</value>
- </item>
- </choices>
- <script id="script45" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_jobcd" ref="/root/main/lglydisinfo/info/jobcd" class="cmb__default" appearance="minimal" style="left:637px; top:29px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0149list/M0149">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script id="script47" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_estminfcarea" ref="/root/main/lglydisinfo/info/estminfcarea" appearance="full" cols="2" overflow="visible" style="left:85px; top:580px; width:95px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0132list/A0132">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script id="script49" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo_estminfcarea");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_estminfcpath" ref="/root/main/lglydisinfo/info/estminfcpath" appearance="full" cols="4" overflow="visible" style="left:85px; top:552px; width:615px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0131list/A0131">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_cnfmsnwtestrslt" ref="/root/main/lglydisinfo/info/cnfmsnwtestrslt" appearance="full" cols="4" overflow="visible" style="left:460px; top:525px; width:290px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0371list/A0371">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_dethyn" ref="/root/main/lglydisinfo/info/dethyn" appearance="full" cols="2" overflow="visible" style="left:85px; top:604px; width:179px; height:23px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0369list/A0369">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/main/lglydisinfo/info/dethyn")=="N"){
- input1.disabled=true;
- model.setValue("/root/main/lglydisinfo/info/dethresn", "");
- }else if(model.getValue("/root/main/lglydisinfo/info/dethyn")=="Y"){
- input1.disabled=false;
- }
- rdo_dethyn.refresh();
- input1.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_patflag" ref="/root/main/lglydisinfo/info/patflag" appearance="full" cols="3" overflow="visible" style="left:85px; top:528px; width:180px; height:15px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0370list/A0370">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_estminfcareanaticd" ref="/root/main/lglydisinfo/info/estminfcareanaticd" appearance="minimal" style="left:225px; top:579px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0353list/P0353">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_apntlglydisnm" class="icon_search" style="left:725px; top:442px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- modal("SPASI02900");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="chx_grup4bac15" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:452px; top:320px; width:150px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>중증급성호흡기 증후군</label>
- <value>415</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac16" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:452px; top:342px; width:175px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>동물인플루엔자 인체감염증</label>
- <value>416</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac17" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:371px; top:342px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>야토병</label>
- <value>417</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac18" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:200px; top:365px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>큐열</label>
- <value>418</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup1bac07" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="38" cols="6" overflow="visible" style="left:665px; top:155px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>A형 간염</label>
- <value>107</value>
- </item>
- </choices>
- <script id="script35" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac18" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:375px; top:270px; width:130px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>크로이츠펠트야콥병</label>
- <value>318</value>
- </item>
- </choices>
- <script id="script51" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac19" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:83px; top:292px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>매독(1기)</label>
- <value>319</value>
- </item>
- </choices>
- <script id="script52" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac19" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:200px; top:320px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>페스트</label>
- <value>419</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac20" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:83px; top:342px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>신종인플루엔자</label>
- <value>420</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac21" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:315px; top:365px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>라임병</label>
- <value>421</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac22" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:200px; top:342px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>진드기매개뇌염</label>
- <value>422</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac23" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:638px; top:320px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유비저</label>
- <value>423</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac24" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:638px; top:342px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>치쿤구니아열</label>
- <value>424</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac25" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:83px; top:365px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>웨스트나일열</label>
- <value>425</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup4bac26" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:414px; top:365px; width:120px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>바이러스성출혈열</label>
- <value>426</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac11" ref="/root/main/lglydisinfo/info/lglydiscd" visibility="hidden" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:193px; top:200px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>B형간염(산모)</label>
- <value>211</value>
- </item>
- </choices>
- <script id="script5" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac12" ref="/root/main/lglydisinfo/info/lglydiscd" visibility="hidden" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:297px; top:200px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>B형간염(주산기)</label>
- <value>212</value>
- </item>
- </choices>
- <script id="script9" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac09" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:189px; top:200px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>일본뇌염</label>
- <value>209</value>
- </item>
- </choices>
- <script id="script2" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup2bac10" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:278px; top:201px; width:50px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>수두</label>
- <value>210</value>
- </item>
- </choices>
- <script id="script4" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="radio2" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:333px; top:200px; width:170px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>b형헤모필루스 인플루엔자</label>
- <value>502</value>
- </item>
- </choices>
- <script id="script27" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac20" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:187px; top:292px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>매독(2기)</label>
- <value>320</value>
- </item>
- </choices>
- <script id="script25" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup3bac21" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:280px; top:292px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>매독(선천성)</label>
- <value>321</value>
- </item>
- </choices>
- <script id="script26" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_2" style="x1:3px; y1:602px; x2:748px; y2:602px; "/>
- <caption id="caption9" class="cell_1" style="left:267px; top:604px; width:130px; height:23px; vertical-align:middle; ">사망원인(원사인기준)</caption>
- <input id="input1" ref="/root/main/lglydisinfo/info/dethresn" style="left:400px; top:607px; width:350px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/lglydisinfo/info/psnflag" disabled="true" appearance="full" cols="3" overflow="visible" style="left:460px; top:499px; width:185px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>기타</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:377px; top:497px; width:81px; height:23px; vertical-align:middle; ">입원여부</caption>
- <select1 id="radio3" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:83px; top:389px; width:171px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>중증열성혈소판 감소증후군</label>
- <value>503</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="radio4" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="45" cols="6" vcellspacing="5" overflow="visible" style="left:665px; top:178px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>폐렴구균</label>
- <value>504</value>
- </item>
- </choices>
- <script id="script28" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup5bac05" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:260px; top:389px; width:151px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>중동호흡기증후군</label>
- <value>505</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup5bac06" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" overflow="visible" style="left:414px; top:389px; width:166px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>지카바이러스</label>
- <value>506</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup5bac07" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:375px; top:292px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>C형간염</label>
- <value>507</value>
- </item>
- </choices>
- <script id="script29" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup5bac08" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:495px; top:292px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>VRSA</label>
- <value>508</value>
- </item>
- </choices>
- <script id="script32" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- <select1 id="chx_grup5bac09" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="35" cols="6" vcellspacing="5" overflow="visible" style="left:625px; top:292px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>CRE</label>
- <value>509</value>
- </item>
- </choices>
- <script id="script33" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkLglyDis();
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_btn2" visibility="hidden" style="left:537px; top:648px; width:210px; height:27px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <button id="button2" class="btn4_letter3" style="left:130px; top:0px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.resetInstanceNode("/root/main");
- fInit();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:73px; 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;
- }
-
- if(isNull(model.getValue("/root/main/lglydisinfo/info/attackdd")) ){
- messageBox("발병일은 필수입력입니다.");
- return;
- }
- if(isNull(model.getValue("/root/main/lglydisinfo/info/diagdd")) ){
- messageBox("진단일은 필수입력입니다.");
- return;
- }
-
- if (isNull(model.getValue("/root/main/lglydisinfo/info/dethyn"))||isNull(model.getValue("/root/main/lglydisinfo/info/patflag"))||isNull(model.getValue("/root/main/lglydisinfo/info/cnfmsnwtestrslt"))||isNull(model.getValue("/root/main/lglydisinfo/info/estminfcpath"))||isNull(model.getValue("/root/main/lglydisinfo/info/estminfcarea"))){
- messageBox("감염정보는 ", "I003");
- 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");
- }
- model.setValue("/root/main/lglydisinfo/info/reptflag", "01");
- //신고대상자조회 조건에 진료과가 있어서 추가 20071018 김홍점
- model.setValue("/root/main/lglydisinfo/info/orddeptcd", model.getValue("/root/main/paminfo/list/orddeptcd"));
-
- if(model.getValue("/root/main/lglydisinfo/info/chgrept") == '4'){
- model.setValue("/root/main/lglydisinfo/info/updtreptcnts", model.getValue("/root/main/lglydisinfo/info/chgzipcd1") + "^"
- + model.getValue("/root/main/lglydisinfo/info/chgzipcd2") + "^"
- + model.getValue("/root/main/lglydisinfo/info/chgreptaddr") + "^"
- + model.getValue("/root/main/lglydisinfo/info/chgreptaddrdtl") );
- }else{
- 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("TXASI01501")){
- 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>
- </group>
- <group id="grp_btn" style="left:537px; top:648px; width:210px; height:27px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <button id="btn_init" class="btn4_letter3" style="left:130px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_cncl" class="btn4_letter2" style="left:73px; 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/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("TXASI01501") != false){
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- model.makeValue("/root/send/reqdata/state", "" );
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/lglydisinfo/info/pid"));
- model.makeValue("/root/send/reqdata/reptflag", model.getValue("/root/main/lglydisinfo/info/reptflag"));
- if(submit("TRASI01502", false)){
- if( isNull(model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt")) ){
- messageBox("삭제" ,"I001");
- window.close();
- }
- }
- }
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:15px; 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;
- }
-
- //kimsj 100118 지정 전염병 체크시 병명 필수입력
- if (model.getValue("/root/main/lglydisinfo/info/lglydiscd") == "999" && isNull(model.getValue("/root/main/lglydisinfo/info/apntlglydisnm")) ) {
- messageBox("지정 전염병 체크 시 해당병명은", "I003");
- return;
- }
-
- //요청번호 : 20170928022 저장시 필수체크 삭제 처리
- /*
- if(isNull(model.getValue("/root/main/lglydisinfo/info/attackdd")) ){
- messageBox("발병일은 필수입력입니다.");
- return;
- }
- if(isNull(model.getValue("/root/main/lglydisinfo/info/diagdd")) ){
- messageBox("진단일은 필수입력입니다.");
- return;
- }
-
- if (isNull(model.getValue("/root/main/lglydisinfo/info/dethyn"))||isNull(model.getValue("/root/main/lglydisinfo/info/patflag"))||isNull(model.getValue("/root/main/lglydisinfo/info/cnfmsnwtestrslt"))||isNull(model.getValue("/root/main/lglydisinfo/info/estminfcpath"))||isNull(model.getValue("/root/main/lglydisinfo/info/estminfcarea"))){
- messageBox("감염정보는", "I003");
- return;
- }
- */
-
-
- //2012/11/19 Start
- /*
- if (model.getValue("/root/main/lglydisinfo/info/staytodd") != "" && model.getValue("/root/main/lglydisinfo/info/staytodd") > "30" ) {
- messageBox("체류기간 일은 30일을 넘을 수 없습니다.", "I");
- return;
- }
- */
- //2012/11/19 End
- 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());
- // model.makeValue("/root/main/lglydisinfo/info/reptdt", getCurrentDate() +""+getCurrentTime());
- } else {
- model.setValue("/root/main/lglydisinfo/info/state", "U");
- }
- model.setValue("/root/main/lglydisinfo/info/reptflag", "01");
- //신고대상자조회 조건에 진료과가 있어서 추가 20071018 김홍점
- model.setValue("/root/main/lglydisinfo/info/orddeptcd", model.getValue("/root/main/paminfo/list/orddeptcd"));
-
- if(model.getValue("/root/main/lglydisinfo/info/chgrept") == '4'){
- if(isNull(model.getValue("/root/main/lglydisinfo/info/chgreptaddr")) ){
- messageBox("주소변경 값이 필요합니다.", "I");
- model.setFocus("ipt_chgreptaddrdtl");
- return;
- }
- model.setValue("/root/main/lglydisinfo/info/updtreptcnts", model.getValue("/root/main/lglydisinfo/info/chgzipcd1") + "^"
- + model.getValue("/root/main/lglydisinfo/info/chgzipcd2") + "^"
- + model.getValue("/root/main/lglydisinfo/info/chgreptaddr") + "^"
- + model.getValue("/root/main/lglydisinfo/info/chgreptaddrdtl") );
- }else{
- model.setValue("/root/main/lglydisinfo/info/updtreptcnts", "");
- }
-
- model.setValue("/root/main/lglydisinfo/info/diagcd",model.getValue("/root/diaginfo/diagcdlist/diagcd"));
-
- var pamInfoCvs = getGlobalVariable("paminfo");
- if(pamInfoCvs != ""){
- //20160203 - sms전송 메세지 추가
- model.setValue("/root/main/lglydisinfo/info/hngnm", model.getValue("/root/main/paminfo/list/hngnm"));
-
- var vOrdtype = model.getValue("/root/main/paminfo/list/ordtype");
- if(vOrdtype == "I"){
- var wardnm = model.getValue("/root/main/paminfo/list/wardnm");
- var wardcd = model.getValue("/root/main/paminfo/list/wardcd");
- model.setValue("/root/main/lglydisinfo/info/wardnm",wardnm);
- model.setValue("/root/main/lglydisinfo/info/wardcd",wardcd);
- }else{
- var orddeptnm = model.getValue("/root/main/paminfo/list/orddeptnm");
- var orddeptcd = model.getValue("/root/main/paminfo/list/orddeptcd");
- model.setValue("/root/main/lglydisinfo/info/wardnm",orddeptnm);
- model.setValue("/root/main/lglydisinfo/info/wardcd",orddeptcd);
- }
- }
- model.copyNode("/root/send/savedata","/root/main/lglydisinfo/info");
-
- var Curstate = model.getValue("/root/main/lglydisinfo/info/state");
- if(submit("TXASI01501")){
- 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>
- </group>
- </xhtml:body>
- </xhtml:html>
|