123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>결핵환자신고</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <tblglydisinfo>
- <info>
- <state/>
- <reptflag/>
- <psnflag/>
- <wrtedt/>
- <seqno/>
- <pid/>
- <indd/>
- <cretno/>
- <patnm/>
- <sexflag/>
- <age/>
- <tel/>
- <mpphontel/>
- <jobcd/>
- <rgstno/>
- <rgstno2/>
- <naticd/>
- <ecntrydd/>
- <zipcd1/>
- <zipcd2/>
- <cntcaddr1/>
- <residncflag>N</residncflag>
- <pastcureflag/>
- <pastcurecnt/>
- <cureterm/>
- <bisiziflag/>
- <bisiziinocmthd/>
- <sputumdm/>
- <sputumby/>
- <sputumodm/>
- <sputumoby/>
- <tisstestlag/>
- <etctestflag/>
- <rayrsltflag/>
- <tooberrsltsize/>
- <solidsize/>
- <curefromdd/>
- <diagcd/>
- <diagnm/>
- <patflag/>
- <curetodd/>
- <curersltflag/>
- <curersltetc/>
- <curedrugcd/>
- <curedrugcdetc/>
- <cnclyn/>
- <orddeptcd/>
- <lasthistyn>Y</lasthistyn>
- <tmpcol1/>
- <tmpcol2/>
- <tmpcol21/>
- <tmpcol22/>
- <tmpcol23/>
- <tmpcol3/>
- <anotheryn/>
- <rayrsltdd/>
- <sputumdmdd/>
- <sputumbydd/>
- <etctestflagdd/>
- <tisstestlagdd/>
- <rayrsltkind/>
- <sputumdmkind/>
- <sputumbykind/>
- <etctestflagkind/>
- <tisstestlagkind/>
- <faclt/>
- <facltaddr/>
- <tbclkindcd/>
- <cureenddd/>
- <curersltflagdiag/>
- <antutbclrslt/>
- <antutbclrsltdetl/>
- <antutbclrsltdetldesc/>
- <antutbclmthd/>
- <antutbclcd/>
- <xpert/>
- <xpertdd/>
- <xpertkind/>
- <curedrugcdtxt/>
- <spcacptdt/>
- <antutbcldrug/>
- <antutbcldrugtxt/>
- <tbclkindcd02/>
- <tbclkindcd03/>
- </info>
- </tblglydisinfo>
- <getlglydisinfo/>
- <getreptdtinfo/>
- <paminfo/>
- <diaginfo/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <init>
- <A0656list>
- <A0656/>
- </A0656list>
- <P0353list>
- <P0353/>
- </P0353list>
- <A0137list>
- <A0137/>
- </A0137list>
- <A0138list>
- <A0138/>
- </A0138list>
- <A0139list>
- <A0139/>
- </A0139list>
- <A0373list>
- <A0373/>
- </A0373list>
- <A0374list>
- <A0374/>
- </A0374list>
- <A0375list>
- <A0375/>
- </A0375list>
- <A0641list>
- <A0641/>
- </A0641list>
- <A0642list/>
- </init>
- <diaginfo>
- <diagcdlist/>
- </diaginfo>
- <temp>
- <tmplist/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- zbcfGetCodeList(new Array("A0656", "P0353", "A0137", "A0138", "A0139", "A0373", "A0374", "A0375", "A0641", "A0642"),
- new Array("/root/init/A0656list", "/root/init/P0353list", "/root/init/A0137list", "/root/init/A0138list", "/root/init/A0139list", "/root/init/A0373list", "/root/init/A0374list", "/root/init/A0375list", "/root/init/A0641list", "/root/init/A0642list"));
-
- var reptflag = opener.javascript.getParameter("reptflag");
- model.setValue("/root/main/tblglydisinfo/info/reptflag", "02");
- var pid = "";
- var strRegtdt = "";
- var iDate = new Date();
- var strYearCal = "";
- var pamInfoCvs = getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
- if(pamInfoCvs != ""){ //cvs가 ""이 아닌 경우에만 처리함.
- model.removeNodeSet("/root/main/paminfo/list");
- setCSVToNode("/root/main/paminfo", pamInfoCvs);
- var ioflag = model.getValue("/root/main/paminfo/list/ioflag");
-
- if(ioflag == "I" || ioflag == "E"){
- pid = model.getValue("/root/main/paminfo/list/pid");
- indd = model.getValue("/root/main/paminfo/list/indd");
- cretno = model.getValue("/root/main/paminfo/list/cretno");
- model.setValue("/root/main/tblglydisinfo/info/pid", pid );
- model.setValue("/root/main/tblglydisinfo/info/indd", indd);
- model.setValue("/root/main/tblglydisinfo/info/cretno", cretno);
- model.setValue("/root/main/tblglydisinfo/info/psnflag", ioflag);
- model.refresh();
- }else if(ioflag == "O"){
- pid = model.getValue("/root/main/paminfo/list/pid");
- orddd = model.getValue("/root/main/paminfo/list/orddd");
- cretno = model.getValue("/root/main/paminfo/list/cretno");
- model.setValue("/root/main/tblglydisinfo/info/pid", pid );
- model.setValue("/root/main/tblglydisinfo/info/indd", orddd);
- model.setValue("/root/main/tblglydisinfo/info/cretno", cretno);
- model.setValue("/root/main/tblglydisinfo/info/psnflag", ioflag);
- model.refresh();
- }
- }else if (isPopup()){
- model.setValue("/root/main/tblglydisinfo/info/pid", opener.javascript.getParameter("pid") );
- model.setValue("/root/main/tblglydisinfo/info/indd", opener.javascript.getParameter("indd") );
- model.setValue("/root/main/tblglydisinfo/info/psnflag", opener.javascript.getParameter("psnflag") );
- model.setValue("/root/main/tblglydisinfo/info/wrtedt",opener.javascript.getParameter("wrtedt") );
- model.setValue("/root/main/tblglydisinfo/info/cretno",opener.javascript.getParameter("cretno"));
- }
- if(model.getValue("/root/main/tblglydisinfo/info/pid") != "" && model.getValue("/root/main/tblglydisinfo/info/pid") != null) {
- model.copyNode("/root/send/reqdata", "/root/main/tblglydisinfo/info");
-
- if(submit("TRASI01501")){
- if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
- model.copyNode("/root/main/tblglydisinfo", "/root/main/getlglydisinfo");
-
- model.refresh();
-
- //fChgReptDisable();
- fChkCnclYN();
- fCtrlEnableChk("rdo_test8");
- fCtrlEnableChk("chk_curedrugcd");
- fCtrlEnableChk("rdo_curersltflag");
- fCtrlEnableChk("rdo_curersltflag2");
- fCtrlEnableChk("chk_antutbcldrug");
- fCtrlEnableChk("chk_antutbclrslt");
- fCtrlEnableChk("chk_antutbclrsltdetl");
- fCtrlEnableChk("chk_tbclkindcd");
-
- fBisiziFlag();
- fCtrRdoChk();
- }
- }
- //@@
- var result = 1;
-
- var vPrcpModifyYn = opener.javascript.getParameter("PrcpModifyYn");
-
- //if(!isNull(opener.javascript.getParameter("PrcpLglyDis"))){ // 2017.05.30 처방저장 시 특정 결핵진단일때 수정
- if(!isNull(opener.javascript.getParameter("PrcpLglyDis")) && vPrcpModifyYn !="Y" ){
- //처방에서 호출한 경우 상병체크하여 초기화
- fInit();
- result=6;
- }
- //if(isPopup() && (opener.javascript.getParameter("state") == "U" || opener.javascript.getParameter("state") == "S" || !isNull(opener.javascript.getParameter("PrcpLglyDis")) ) ){ // 2017.05.30 처방저장 시 특정 결핵진단일때 수정
- if(isPopup() && (opener.javascript.getParameter("state") == "U" || opener.javascript.getParameter("state") == "S" || (!isNull(opener.javascript.getParameter("PrcpLglyDis")) && vPrcpModifyYn !="Y")) ){
- model.setValue("/root/main/tblglydisinfo/info/state", opener.javascript.getParameter("state") );
- model.setValue("/root/main/tblglydisinfo/info/wrtedt", opener.javascript.getParameter("wrtedt") );
- model.setValue("/root/main/tblglydisinfo/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" || isNull(opener.javascript.getParameter("PrcpLglyDis"))) ){ // 2017.05.30 처방저장 시 특정 결핵진단일때 수정
- }else if(isPopup() && (opener.javascript.getParameter("state") != "U" || isNull(opener.javascript.getParameter("PrcpLglyDis"))|| (isNull(opener.javascript.getParameter("PrcpLglyDis")) && vPrcpModifyYn =="Y") ) ){
- model.setValue("/root/main/tblglydisinfo/info/state", opener.javascript.getParameter("state") );
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/tblglydisinfo/info/pid"));
- model.makeValue("/root/send/reqdata/reptflag", model.getValue("/root/main/tblglydisinfo/info/reptflag"));
-
- 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(" 신고주기는 90일이므로 재신고가 불가합니다 \n 해당 환자의 신고일은 " + strRegtdt ,"E008");
- diagnm = model.getValue("/root/main/tblglydisinfo/info/diagnm");
-
-
- // 2017.05.30 처방저장 시 특정 결핵진단일때 수정
- if(opener.javascript.getParameter("PrcpModifyYn") == "Y"){
- result = 7;
- }else{
- result = messageBox(strRegtdt.substring(0,4)+"년 "+strRegtdt.substring(4,6)+"월 "+strRegtdt.substring(6,8)+"일 "
- + diagnm +"(으)로 전염병이 신고되어 있어 \n 신규 입력이 아니면 자료가 중복됩니다. \n 그래도 ", "Q003");
- }
-
- } else { //신고 내용이 없다면
- result=6;
- }
-
- if( model.getValue("/root/main/getreptdtinfo/reptdtinfo/chgyn") == 'Y' ){
- model.setValue("/root/main/tblglydisinfo/info/state", "U" );
- fChkReptYN();
- if(model.getValue("/root/temp/tmplist/tmplist/wc") == "Y") {
- model.close();
- return;
- }
- }
- }
- // model.copyNode("/root/send/reqdata", "/root/main/tblglydisinfo/info");
- // if(submit("TRASI01501")){
- if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
- model.copyNode("/root/main/tblglydisinfo", "/root/main/getlglydisinfo");
-
- model.refresh();
-
- fChgReptDisable(result);
- // fChkCnclYN();
- // fCtrlEnableChk("rdo_test8");
- // fCtrlEnableChk("chk_curedrugcd");
- // fCtrlEnableChk("rdo_curersltflag");
- // fBisiziFlag();
- // fCtrRdoChk();
- }
- // }
- model.copyNode("/root/send/reqdata", "/root/main/tblglydisinfo/info");
-
- if(submit("TRASI01501")){
- if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
- model.copyNode("/root/main/tblglydisinfo", "/root/main/getlglydisinfo");
-
- model.refresh();
-
- fChgReptDisable(result);
- fChkCnclYN();
- fCtrlEnableChk("rdo_test8");
- fCtrlEnableChk("chk_curedrugcd");
- fCtrlEnableChk("rdo_curersltflag");
- fCtrlEnableChk("rdo_curersltflag2");
- fCtrlEnableChk("chk_antutbcldrug");
- fCtrlEnableChk("chk_antutbclrslt");
- fCtrlEnableChk("chk_antutbclrsltdetl");
- fCtrlEnableChk("chk_tbclkindcd");
-
- fBisiziFlag();
- fCtrRdoChk();
- }
- }
- } else {
- grp_btn.disabled = true;
- }
- ipt_ecntrydd.disabled = true;
-
- if(!isNull(opener.javascript.getParameter("PrcpLglyDis")) && opener.javascript.getParameter("PrcpLglyDis") == "PrcpLglyDis" && !isNull(opener.javascript.getParameter("PrcpTubeSaveYn")) && opener.javascript.getParameter("PrcpTubeSaveYn") == "Y" ){
- model.setValue("/root/main/tblglydisinfo/info/curefromdd", model.getValue("/root/main/tblglydisinfo/info/indd"));
- btn_save.dispatch("DOMActivate");
- }
- /*
- //if(reptflag != "" && reptflag == "20"){
- alert(model.getValue("/root/main/tblglydisinfo/info/cureenddd"));
- if(model.getValue("/root/main/tblglydisinfo/info/cureenddd") != "" ){
- btn_save_re.disabled = true;
- ipt_cureenddd.disabled = true;
- }else{
- btn_save_re.disabled = false;
- ipt_cureenddd.disabled = false;
- }
- */
- ]]>
- </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"/>
- </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/tblglydisinfo", "/root/main/getlglydisinfo");
-
- model.makeValue("/root/main/tblglydisinfo/info/state", "");
- model.makeValue("/root/main/tblglydisinfo/info/pastcureflag", "");
- model.makeValue("/root/main/tblglydisinfo/info/cureterm", "");
- model.makeValue("/root/main/tblglydisinfo/info/pastcurecnt", "");
- model.makeValue("/root/main/tblglydisinfo/info/bisiziflag", "");
- model.makeValue("/root/main/tblglydisinfo/info/bisiziinocmthd", "");
- model.makeValue("/root/main/tblglydisinfo/info/sputumdm", "");
- model.makeValue("/root/main/tblglydisinfo/info/sputumodm", "");
- model.makeValue("/root/main/tblglydisinfo/info/tisstestlag", "");
- model.makeValue("/root/main/tblglydisinfo/info/rayrsltflag", "");
- model.makeValue("/root/main/tblglydisinfo/info/sputumby", "");
- model.makeValue("/root/main/tblglydisinfo/info/sputumoby", "");
- model.makeValue("/root/main/tblglydisinfo/info/etctestflag", "");
- model.makeValue("/root/main/tblglydisinfo/info/tooberrsltsize", "");
- model.makeValue("/root/main/tblglydisinfo/info/solidsize", "");
- model.makeValue("/root/main/tblglydisinfo/info/curefromdd", "");
- model.makeValue("/root/main/tblglydisinfo/info/diagcd", "");
- model.makeValue("/root/main/tblglydisinfo/info/diagnm", "");
- model.makeValue("/root/main/tblglydisinfo/info/patflag", "");
- model.makeValue("/root/main/tblglydisinfo/info/curedrugcd", "");
- model.makeValue("/root/main/tblglydisinfo/info/curedrugcdetc", "");
- model.makeValue("/root/main/tblglydisinfo/info/curetodd", "");
- model.makeValue("/root/main/tblglydisinfo/info/curersltflag", "");
- model.makeValue("/root/main/tblglydisinfo/info/curersltetc", "");
- model.makeValue("/root/main/tblglydisinfo/info/wrtedt", "");
- model.makeValue("/root/main/tblglydisinfo/info/cnclyn", "");
- model.makeValue("/root/main/tblglydisinfo/info/tmpcol1", "");
- model.makeValue("/root/main/tblglydisinfo/info/tmpcol2", "");
- model.makeValue("/root/main/tblglydisinfo/info/tmpcol21", "");
- model.makeValue("/root/main/tblglydisinfo/info/tmpcol22", "");
- model.makeValue("/root/main/tblglydisinfo/info/tmpcol23", "");
- model.makeValue("/root/main/tblglydisinfo/info/tmpcol3", "");
- model.makeValue("/root/main/tblglydisinfo/info/faclt", "");
- model.makeValue("/root/main/tblglydisinfo/info/facltaddr", "");
- model.makeValue("/root/main/tblglydisinfo/info/tbclkindcd", "");
- model.makeValue("/root/main/tblglydisinfo/info/cureenddd", "");
- model.makeValue("/root/main/tblglydisinfo/info/curersltflagdiag", "");
- model.makeValue("/root/main/tblglydisinfo/info/antutbclrslt", "");
- model.makeValue("/root/main/tblglydisinfo/info/antutbclrsltdetl", "");
- model.makeValue("/root/main/tblglydisinfo/info/antutbclrsltdetldesc", "");
- model.makeValue("/root/main/tblglydisinfo/info/antutbclmthd", "");
- model.makeValue("/root/main/tblglydisinfo/info/antutbclcd", "");
-
- model.makeValue("/root/main/tblglydisinfo/info/xpert", "");
- //model.makeValue("/root/main/tblglydisinfo/info/xpertdd", "");
- //model.makeValue("/root/main/tblglydisinfo/info/xpertkind", "");
- model.makeValue("/root/main/tblglydisinfo/info/curedrugcdtxt", "");
- model.makeValue("/root/main/tblglydisinfo/info/spcacptdt", "");
- model.makeValue("/root/main/tblglydisinfo/info/antutbcldrug", "");
- model.makeValue("/root/main/tblglydisinfo/info/antutbcldrugtxt", "");
-
- fCtrlEnableChk("rdo_test8");
- fCtrlEnableChk("chk_curedrugcd");
- fCtrlEnableChk("rdo_curersltflag");
- fCtrlEnableChk("rdo_curersltflag2");
- fCtrlEnableChk("chk_antutbcldrug");
- fCtrlEnableChk("chk_antutbclrslt");
- fCtrlEnableChk("chk_antutbclrsltdetl");
- fCtrlEnableChk("chk_tbclkindcd");
-
- fBisiziFlag();
- fChkCnclYN();
- }
-
- /*
- 신고대상자조회화면에서 state="S",
- 진단에서 state="I",
- 메뉴에서 상단환자정보를 가지고 조회해서 결핵 신고서가 작성 존재시 state=""
- 상태에 따라 입력가능여부 처리
- 치료종결시 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";
- }
-
- //호흡기 상담실 추가
- var vDutplcecd = getUserInfo("dutplcecd");
-
- //(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" && opener.javascript.getParameter("PrcpModifyYn") != "Y") {
- strState = "I";
- }else if (opener.javascript.getParameter("PrcpLglyDis") != null && opener.javascript.getParameter("PrcpLglyDis") == "PrcpLglyDis" && opener.javascript.getParameter("PrcpModifyYn") == "Y") {
- strState = "U";
- }
- // model.alert("strState 값 : " + strState);
- if(isPopup() && strState == "U" ){
- //@@
- if(result == "6"){
- btn_cncl.disabled = true;
- grp_main.disabled = false;
- btn_save.disabled = false; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- btn_save_re.disabled = true;
- btn_init.disabled = false; //추가 2009.11.13 JJE
- //치료결과 disable
- ipt_curersltetc.disabled = true;
- fInit();
- }else{
- btn_cncl.disabled = false;
- //grp_main.disabled = true;
- //btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
-
- grp_main.disabled = false; //20161114(결핵환자신고 변경에 따른 수정)
- btn_save.disabled = false; //20161114(결핵환자신고 변경에 따른 수정)
-
- btn_save_re.disabled = false;
- btn_init.disabled = true; //추가 2009.11.13 JJE
- }
- // //grp_btn.disabled = false;
- // grp_main.disabled = false;
- // btn_save.disabled = false; //추가(치료결과 때문에 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_save_re.disabled = true;
- btn_init.disabled = true;
- btn_cncl.disabled = true;
- }else{
- grp_main.disabled = false;
- btn_save.disabled = false;
- btn_save_re.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_btn.disabled = true;
- btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- //btn_save_re.disabled = true;
- btn_init.disabled = true; //추가 2009.11.13 JJE
- //btn_cncl.disabled = false; //추가 2009.11.13 JJE
-
- //호흡기 상담실에서 오픈시 수정가능 모드
- if(vDutplcecd == '3110300000'){
- grp_main.disabled = false;
- btn_save.disabled = false;
- btn_init.disabled = false;
- }else{
- grp_main.disabled = true;
- btn_save.disabled = true;
- btn_init.disabled = true;
- }
- }
- }else { //수정모드, 신고대상자조회에서 오픈모드가 아닐 경우... ex:최초..
- if(result == "6"){
- btn_save.disabled = false; //추가 2009.11.13 JJE
- btn_save_re.disabled = false;
- btn_init.disabled = false; //추가 2009.11.13 JJE
- btn_cncl.disabled = true; //추가 2009.11.13 JJE
- //치료결과 disable
- ipt_curersltetc.disabled = true;
- fInit();
- // rdo_curersltflag.disabled = true;
- // ipt_curetodd.disabled = true;
- } else {
- btn_cncl.disabled = false;
- grp_main.disabled = true;
- btn_save_re.disabled = false;
- ipt_cureenddd.disabled = false;
-
- btn_save.disabled = true;
- btn_save_re.disabled = true;
- btn_init.disabled = true;
- }
- return;
- }
-
- if( isNull(model.getValue("/root/main/tblglydisinfo/info/pid")) ){
- grp_main.disabled = true;
- grp_btn.disabled = true;
- }
-
- }
- /*
- * 삭제건은 제외대상으로 조회만 가능
- */
- function fChkCnclYN(){
- if(model.getValue("/root/main/tblglydisinfo/info/cnclyn") == "Y" && opener.javascript.getParameter("state") == "S"){
- messageBox("삭제된 신고서", "I009"); //메세지 추가 (2009.11.13 JJE)
- grp_btn.disabled = true;
- }
- }
-
- /*
- * 15세 미만일경우만 비시지 관련, 투베르쿨린검사 입력가능하도록 만듬
- */
- function fBisiziFlag(){
- if(model.getValue("/root/main/tblglydisinfo/info/age") < 15 ){
- chk_bisiziflag.disabled = false;
- rad_bisiziinocmthd.disabled = false;
- rdo_test8.disabled= false;
- ipt_solidsize.disabled = false;
- }else{
- chk_bisiziflag.disabled = true;
- rad_bisiziinocmthd.disabled = true;
- rdo_test8.disabled= true;
- ipt_solidsize.disabled = true;
- model.setValue("/root/main/tblglydisinfo/info/solidsize", "");
- }
- }
-
- /*
- * 컨트롤 변경에 따른 disable처리
- */
- function fCtrlEnableChk(pControlID){
- if (pControlID == "rdo_test8") { //투베르쿨린검사 선택
-
- if (model.getValue("/root/main/tblglydisinfo/info/tooberrsltsize") == "1") {
- ipt_solidsize.disabled = false;
- model.setFocus("ipt_solidsize");
- } else {
- ipt_solidsize.disabled = true;
- model.setValue("/root/main/tblglydisinfo/info/solidsize", "");
- model.refresh();
- }
-
- }
-
- if (pControlID == "chk_curedrugcd") { // 치료약제
-
- if ( isSearchString(model.getValue("/root/main/tblglydisinfo/info/curedrugcd"), "13") ) {
- input13.disabled = false;
- model.setFocus("input13");
- } else {
- input13.disabled = true;
- model.setValue("/root/main/tblglydisinfo/info/curedrugcdtxt", "");
- model.refresh();
- }
- }
-
- if (pControlID == "rdo_curersltflag") { // 치료결과및 퇴록구분
- var sChngreptcd = model.getValue("/root/main/tblglydisinfo/info/curersltflag");
- if (sChngreptcd == "99") {
- ipt_curersltetc.disabled = false;
- } else {
- ipt_curersltetc.disabled = true;
- model.setValue("/root/main/tblglydisinfo/info/curersltetc", "");
- model.refresh();
- }
- }
-
- if (pControlID == "rdo_curersltflag2") { // 치료결과및 퇴록구분
- var sChk = model.getValue("/root/main/tblglydisinfo/info/curersltflag");
- if (sChk == "08") {
- checkbox9.disabled = false;
- } else {
- model.setValue("/root/main/tblglydisinfo/info/curersltflagdiag", "");
- model.refresh();
- checkbox9.disabled = true;
- }
- }
- if (pControlID == "chk_antutbcldrug") {
- var sChk = model.getValue("/root/main/tblglydisinfo/info/antutbcldrug");
- if ((isSearchString(sChk, "13")) == true){
- input9.disabled = false;
- } else {
- model.setValue("/root/main/tblglydisinfo/info/antutbcldrugtxt", "");
- model.refresh();
- input9.disabled = true;
- }
- }
- if (pControlID == "chk_antutbclrslt") {
- var sChk = model.getValue("/root/main/tblglydisinfo/info/antutbclrslt");
- if ((isSearchString(sChk, "03")) == true){
- checkbox1.disabled = false;
- } else {
- model.setValue("/root/main/tblglydisinfo/info/antutbclrsltdetl", "");
- model.setValue("/root/main/tblglydisinfo/info/antutbclrsltdetldesc", "");
- model.refresh();
- checkbox1.disabled = true;
- input8.disabled = true;
-
- }
- }
-
- if (pControlID == "chk_antutbclrsltdetl") {
- var sChk = model.getValue("/root/main/tblglydisinfo/info/antutbclrsltdetl");
- if ((isSearchString(sChk, "03")) == true){
- input8.disabled = false;
- } else {
- model.setValue("/root/main/tblglydisinfo/info/antutbclrsltdetldesc", "");
- model.refresh();
- input8.disabled = true;
- }
- }
-
- if (pControlID == "chk_tbclkindcd") {
- var sChk = model.getValue("/root/main/tblglydisinfo/info/tbclkindcd");
-
- /*
- if ((isSearchString(sChk, "02")) == true){
- input11.disabled = false;
- } else if((isSearchString(sChk, "03")) == true){
- input12.disabled = false;
- } else {
- model.setValue("/root/main/tblglydisinfo/info/tbclkindcd02", "");
- model.setValue("/root/main/tblglydisinfo/info/tbclkindcd03", "");
- model.refresh();
- input11.disabled = true;
- input12.disabled = true;
- }
- */
- if ((isSearchString(sChk, "02")) == true){
- input11.disabled = false;
- } else {
- model.setValue("/root/main/tblglydisinfo/info/tbclkindcd02", "");
- model.refresh();
- input11.disabled = true;
- }
- if ((isSearchString(sChk, "03")) == true){
- input12.disabled = false;
- } else {
- model.setValue("/root/main/tblglydisinfo/info/tbclkindcd03", "");
- model.refresh();
- input12.disabled = true;
- }
-
-
- }
-
-
-
-
- }
-
- /*
- * 기신고서가 있는지 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/tblglydisinfo/info/pid"));
-
- // if(model.getValue("/root/main/tblglydisinfo/info/pid")!=""){
- // model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/tblglydisinfo/info/pid"));
- // } else {
- // model.makeValue("/root/send/reqdata/pid", getPatientInfo("pid"));
- // //alert(model.getValue("/root/send/reqdata/pid"));
- // }
- model.makeValue("/root/send/reqdata/reptflag", "02");
- // if(submit("TRASI01503")){
- // if(model.getValue("/root/temp/tmplist/tmplist/wc") == "Y") {
- // model.close();
- // return;
- // }
- // }
- }
- }
-
- //kimsj 091126 결핵초회진단 DEFAULT값 설정, / 결핵과거 치료력 무일경우 비활성화 체크
- // ->20140812 결핵과거치료력 삭제로 인해 객담배양검사만 Default.
- function fCtrRdoChk() {
- if ( isNull(model.getValue("/root/main/tblglydisinfo/info/sputumdm"))) radio15.select(5); //객담배양검사
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body visibility="visible" pagewidth="791" pageheight="870" style="margin-left:8; margin-right:8; ">
- <group id="grp_main" scroll="auto" style="left:0px; top:0px; width:775px; height:860px; ">
- <caption id="caption1" class="tit_2" style="left:0px; top:3px; width:69px; height:13px; text-align:center; vertical-align:middle; ">인적사항</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:21px; width:79px; height:20px; text-align:center; vertical-align:middle; ">성명</caption>
- <caption id="caption6" class="cell_1" style="left:0px; top:45px; width:79px; height:20px; text-align:center; vertical-align:middle; ">주민등록번호</caption>
- <output id="opt_zipcd1" ref="/root/main/tblglydisinfo/info/zipcd1" class="output_fix" style="left:82px; top:90px; width:48px; height:19px; "/>
- <output id="opt_12" ref="/root/main/tblglydisinfo/info/cntcaddr1" class="output_fix" style="left:233px; top:90px; width:437px; height:19px; "/>
- <output id="opt_cntcaddr1" ref="/root/main/tblglydisinfo/info/zipcd2" class="output_fix" style="left:148px; top:90px; width:48px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:68px; width:80px; height:18px; text-align:center; vertical-align:middle; ">직업</caption>
- <caption id="caption10" class="cell_1" style="left:590px; top:21px; width:42px; height:20px; text-align:center; vertical-align:middle; ">성별</caption>
- <caption id="caption11" class="cell_1" style="left:678px; top:21px; width:37px; height:20px; text-align:center; vertical-align:middle; ">연령</caption>
- <caption id="caption12" class="cell_1" style="left:199px; top:90px; width:31px; height:18px; vertical-align:middle; ">주소</caption>
- <output id="opt_patnm" ref="/root/main/tblglydisinfo/info/patnm" class="output_fix" style="left:81px; top:22px; width:100px; height:19px; "/>
- <output id="opt_rgstno" ref="/root/main/tblglydisinfo/info/rgstno" class="output_fix" style="left:82px; top:45px; width:100px; height:19px; "/>
- <output id="output1" ref="/root/main/tblglydisinfo/info/rgstno2" class="output_fix" style="left:197px; top:45px; width:100px; height:19px; "/>
- <output id="opt_sexflag" ref="/root/main/tblglydisinfo/info/sexflag" class="output_fix" style="left:635px; top:22px; width:40px; height:19px; "/>
- <output id="opt_age" ref="/root/main/tblglydisinfo/info/age" class="output_fix" style="left:718px; top:22px; width:32px; height:19px; "/>
- <caption id="caption13" class="search_no_b" style="left:185px; top:45px; width:12px; height:17px; ">-</caption>
- <caption id="caption15" class="search_no_b" style="left:134px; top:91px; width:12px; height:17px; ">-</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:90px; width:79px; height:18px; text-align:center; vertical-align:middle; ">우편번호</caption>
- <select id="chk_residncflag" ref="/root/main/tblglydisinfo/info/residncflag" overflow="visible" appearance="full" cellspacing="20" cols="6" style="left:672px; top:91px; width:80px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>거주지불명</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line1" class="line_1" style="x1:0px; y1:17px; x2:750px; y2:17px; "/>
- <line id="line55" class="line_2" style="x1:0px; y1:43px; x2:750px; y2:43px; "/>
- <line id="line56" class="line_3" style="x1:0px; y1:141px; x2:750px; y2:141px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:66px; x2:750px; y2:66px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:88px; x2:750px; y2:88px; "/>
- <caption id="caption30" class="cell_1" style="left:375px; top:68px; width:147px; height:18px; vertical-align:middle; ">입국일자(외국인에한함)</caption>
- <input id="ipt_ecntrydd" ref="/root/main/tblglydisinfo/info/ecntrydd" class="ipt__search" inputtype="date" style="left:525px; top:68px; width:125px; height:19px; "/>
- <caption id="caption31" class="cell_1" style="left:375px; top:45px; width:147px; height:20px; text-align:center; vertical-align:middle; ">국적(외국인에한함)</caption>
- <select1 id="cmb_jobcd" ref="/root/main/tblglydisinfo/info/jobcd" class="cmb__search" appearance="minimal" style="left:82px; top:68px; width:213px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0656list/A0656">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line12" class="line_2" style="x1:0px; y1:469px; x2:750px; y2:469px; "/>
- <line id="line13" class="line_1" style="x1:0px; y1:362px; x2:750px; y2:362px; "/>
- <line id="line14" class="line_2" style="x1:0px; y1:427px; x2:750px; y2:427px; "/>
- <caption id="caption25" class="cell_1" style="left:0px; top:429px; width:122px; height:39px; text-align:center; vertical-align:middle; ">환자구분</caption>
- <caption id="cap_curedrugcd" class="cell_1" style="left:0px; top:471px; width:122px; height:60px; text-align:center; vertical-align:middle; ">치료약제</caption>
- <select1 id="rad_patflag" ref="/root/main/tblglydisinfo/info/patflag" appearance="full" cellspacing="30" cols="4" vcellspacing="5" overflow="visible" style="left:125px; top:428px; width:625px; height:39px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0138list/A0138">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="cell_1" style="left:0px; top:403px; width:122px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">질병코드</caption>
- <select id="chk_curedrugcd" ref="/root/main/tblglydisinfo/info/curedrugcd" overflow="visible" appearance="full" cellspacing="18" cols="8" sep="▦" vcellspacing="5" style="left:125px; top:472px; width:625px; height:38px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0375list/A0375">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script id="script1" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("chk_curedrugcd");
- ]]>
- </script>
- </select>
- <caption id="cap_curefromdd" class="cell_1" style="left:0px; top:366px; width:121px; height:34px; text-align:center; vertical-align:middle; ">치료시작(or 예정)일</caption>
- <caption id="caption40" class="tit_2" style="left:1px; top:347px; width:130px; height:13px; vertical-align:middle; ">진단 및 초치료 약제</caption>
- <input id="ipt_curefromdd" ref="/root/main/tblglydisinfo/info/curefromdd" class="input_essential" inputtype="date" style="left:125px; top:372px; width:100px; height:19px; "/>
- <output id="opt_diagnm" ref="/root/main/tblglydisinfo/info/diagnm" class="output_fix" style="left:125px; top:405px; width:275px; height:19px; "/>
- <datagrid id="grd_diag" nodeset="/root/main/diaginfo/diaglist" visibility="hidden" caption="진단코드^진단명^caption1^caption2" colsep="^" colwidth="80, 145, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:310px; top:708px; width:263px; height:85px; ">
- <col ref="termcd" style="left:0px; top:23px; width:100px; height:23px; "/>
- <col ref="termhngnm"/>
- <col ref="termengnm" visibility="hidden"/>
- <col ref="termflag" visibility="hidden"/>
- </datagrid>
- <button id="button61" class="icon_search" style="left:405px; top:407px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.makeValue("/root/temp/lastrowcnt", "");
- // setParameter("flag", "ICD");
- // modal("SPMQP01600 ", 1,1,1,"SPMQP01600 ", "/root/temp/lastrowcnt", "/root/temp/getdata/grdfocus");
- // model.removenode("/root/temp/lastrowcnt");
- //
- // if( getStringLength(model.getValue("/root/main/diaginfo/diaglist[1]/termcd")) > 0 ){
- // model.setValue("/root/main/tblglydisinfo/info/diagcd", model.getValue("/root/main/diaginfo/diaglist[1]/termcd"));
- // model.setValue("/root/main/tblglydisinfo/info/diagnm", model.getValue("/root/main/diaginfo/diaglist[1]/termhngnm"));
- // model.refresh();
- // }
- modal("SPASI04000"); //결핵진단코드조회
- model.setValue("/root/main/tblglydisinfo/info/diagcd", getParameter("SPASI01800_diagcd"));
- model.setValue("/root/main/tblglydisinfo/info/diagnm", getParameter("SPASI01800_diagnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line16" class="line_3" style="x1:2px; y1:533px; x2:752px; y2:533px; "/>
- <input id="ipt_curetodd" ref="/root/main/tblglydisinfo/info/curetodd" class="ipt__default" inputtype="date" style="left:170px; top:751px; width:100px; height:19px; "/>
- <caption id="caption27" class="tit_2" style="left:0px; top:730px; width:95px; height:13px; vertical-align:middle; ">치료결과</caption>
- <line id="line21" class="line_1" style="x1:0px; y1:744px; x2:750px; y2:744px; "/>
- <line id="line22" class="line_2" style="x1:0px; y1:771px; x2:750px; y2:771px; "/>
- <caption id="caption37" class="cell_1" style="left:0px; top:773px; width:122px; height:48px; text-align:center; vertical-align:middle; ">치료결과 구분</caption>
- <caption id="caption38" class="cell_1" style="left:0px; top:748px; width:165px; height:23px; text-align:center; vertical-align:middle; ">치료결과판정일(또는 사망일)</caption>
- <line id="line24" class="line_3" style="x1:0px; y1:822px; x2:750px; y2:822px; "/>
- <select1 id="cmb_naticd" ref="/root/main/tblglydisinfo/info/naticd" appearance="minimal" style="left:525px; top:45px; width:175px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0353list/P0353">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var natiVal = cmb_naticd.value
- if (natiVal =="-") {
- model.setValue("/root/main/tblglydisinfo/info/ecntrydd", "");
- ipt_ecntrydd.disabled = true;
- model.refresh();
- } else {
- ipt_ecntrydd.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_curersltflag" ref="/root/main/tblglydisinfo/info/curersltflag" appearance="full" cols="8" rows="2" vcellspacing="8" overflow="visible" style="left:125px; top:774px; width:595px; height:45px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0139list/A0139">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script id="script2" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo_curersltflag");
-
- fCtrlEnableChk("rdo_curersltflag2");
- ]]>
- </script>
- </select1>
- <input id="ipt_curersltetc" ref="/root/main/tblglydisinfo/info/curersltetc" class="ipt__default" style="left:173px; top:801px; width:577px; height:19px; "/>
- <select1 id="radio2" ref="/root/main/tblglydisinfo/info/tmpcol3" visibility="hidden" appearance="full" cellspacing="7" cols="4" overflow="visible" style="left:425px; top:404px; width:220px; height:20px; ">
- <choices>
- <itemset nodeset="/root/init/A0642list/A0642">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/tblglydisinfo/info/anotheryn" style="left:234px; top:371px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/main/tblglydisinfo/info/anotheryn") == "Y"){
- ipt_curefromdd.value = ""
- ipt_curefromdd.disabled = true;
- }else{
- ipt_curefromdd.disabled = false;
- }
- ipt_curefromdd.refresh();
- ]]>
- </script>
- </bool>
- <caption id="caption26" style="left:254px; top:372px; width:154px; height:20px; ">치료안함 [타기관으로 전원]</caption>
- <group id="group1" visibility="hidden" style="left:725px; top:10px; width:20px; height:85px; ">
- <select1 id="chk_bisiziflag" ref="/root/main/tblglydisinfo/info/bisiziflag" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:150px; top:97px; width:170px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="chk_pastcureflag" ref="/root/main/tblglydisinfo/info/pastcureflag" disabled="false" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:150px; top:24px; width:185px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (chk_pastcureflag.value == 'N'){
- chk_cureterm.value="";
- chk_pastcurecnt.value="";
- chk_cureterm.disabled = true;
- chk_pastcurecnt.disabled = true;
- model.setValue("/root/main/tblglydisinfo/info/patflag","1");
- model.refresh();
-
- } else if(chk_pastcureflag.value == 'Y'){
- chk_cureterm.disabled = false;
- chk_pastcurecnt.disabled = false;
- }
-
- ]]>
- </script>
- </select1>
- <caption id="caption32" class="cell_1" style="left:375px; top:94px; width:147px; height:23px; text-align:center; vertical-align:middle; ">비시지접종법</caption>
- <select1 id="chk_pastcurecnt" ref="/root/main/tblglydisinfo/info/pastcurecnt" disabled="false" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:150px; top:49px; width:155px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1회</label>
- <value>1</value>
- </item>
- <item>
- <label>2회 이상</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption33" class="cell_1" style="left:0px; top:95px; width:145px; height:23px; text-align:center; vertical-align:middle; ">비시지 반흔</caption>
- <caption id="caption34" style="left:120px; top:72px; width:100px; height:20px; vertical-align:middle; ">*15세미만에 한함</caption>
- <caption id="caption3" class="tit_2" style="left:5px; top:1px; width:108px; height:13px; vertical-align:middle; ">결핵과거치료력</caption>
- <select1 id="chk_cureterm" ref="/root/main/tblglydisinfo/info/cureterm" disabled="false" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:525px; top:23px; width:215px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1개월미만</label>
- <value>0</value>
- </item>
- <item>
- <label>1개월이상</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption14" class="cell_1" style="left:0px; top:47px; width:145px; height:23px; text-align:center; vertical-align:middle; ">과거결핵치료받은횟수</caption>
- <line id="line18" class="line_3" style="x1:0px; y1:69px; x2:750px; y2:69px; "/>
- <line id="line19" class="line_1" style="x1:0px; y1:91px; x2:750px; y2:92px; "/>
- <select1 id="rad_bisiziinocmthd" ref="/root/main/tblglydisinfo/info/bisiziinocmthd" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:525px; top:96px; width:215px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0374list/A0374">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:375px; top:21px; width:147px; height:23px; text-align:center; vertical-align:middle; ">치료기간</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:17px; x2:750px; y2:18px; "/>
- <caption id="caption17" class="tit_2" style="left:5px; top:76px; width:70px; height:13px; vertical-align:middle; ">예방접종</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:22px; width:145px; height:23px; text-align:center; vertical-align:middle; ">결핵과거치료력</caption>
- <line id="line6" class="line_2" style="x1:0px; y1:44px; x2:750px; y2:44px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:118px; x2:750px; y2:118px; "/>
- <input id="ipt_tmpcol22" ref="/root/main/tblglydisinfo/info/tmpcol22" disabled="true" style="left:495px; top:247px; width:34px; height:19px; border-width:1; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:194px; x2:750px; y2:194px; "/>
- <input id="ipt_tmpcol23" ref="/root/main/tblglydisinfo/info/tmpcol23" disabled="true" style="left:636px; top:247px; width:34px; height:19px; border-width:1; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:143px; x2:750px; y2:144px; "/>
- <select1 id="rad_tisstestlag" appearance="full" cellspacing="12" cols="4" overflow="visible" style="left:150px; top:199px; width:215px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0137list/A0137">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rad_sputumodm" ref="/root/main/tblglydisinfo/info/sputumodm" appearance="full" cellspacing="12" cols="4" overflow="visible" style="left:150px; top:174px; width:220px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0137list/A0137">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line20" class="line_2" style="x1:0px; y1:170px; x2:750px; y2:170px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:219px; x2:750px; y2:219px; "/>
- <select1 id="rad_etctestflag" appearance="full" cellspacing="17" cols="4" overflow="visible" style="left:525px; top:198px; width:220px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0137list/A0137">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line11" class="line_3" style="x1:0px; y1:270px; x2:750px; y2:270px; "/>
- <select1 id="rad_rayrsltflag" appearance="full" cellspacing="7" cols="4" overflow="visible" style="left:150px; top:224px; width:220px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0373list/A0373">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption20" class="cell_1" style="left:0px; top:172px; width:147px; height:23px; text-align:center; vertical-align:middle; ">객담이외의 검체 도말검사</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:196px; width:147px; height:23px; text-align:center; vertical-align:middle; ">조직검사</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:246px; width:147px; height:23px; text-align:center; vertical-align:middle; ">IGRA 검사</caption>
- <caption id="caption22" class="cell_1" style="left:375px; top:196px; width:147px; height:23px; text-align:center; vertical-align:middle; ">기타검사(PCR등)</caption>
- <caption id="caption23" class="cell_1" style="left:0px; top:221px; width:147px; height:23px; text-align:center; vertical-align:middle; ">방사선사진</caption>
- <caption id="caption35" class="cell_1" style="left:375px; top:146px; width:147px; height:23px; text-align:center; vertical-align:middle; ">객담배양검사</caption>
- <caption id="caption24" class="cell_1" style="left:375px; top:221px; width:147px; height:23px; text-align:center; vertical-align:middle; ">투베르쿨린검사</caption>
- <select1 id="rdo_sputumby" appearance="full" cellspacing="12" cols="4" overflow="visible" style="left:525px; top:149px; width:220px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0137list/A0137">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" style="left:120px; top:123px; width:322px; height:20px; vertical-align:middle; ">*검사한 항목만체크함 *투베르쿨린검사는 15세미만에 한함</caption>
- <select1 id="radio1" ref="/root/main/tblglydisinfo/info/tmpcol1" appearance="full" cellspacing="0" cols="4" overflow="visible" style="left:150px; top:248px; width:595px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0641list/A0641">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/tblglydisinfo/info/tmpcol1") == "01") {
- ipt_tmpcol21.disabled = false;
- ipt_tmpcol22.disabled = true;
- ipt_tmpcol23.disabled = true;
- } else if (model.getValue("/root/main/tblglydisinfo/info/tmpcol1") == "02") {
- ipt_tmpcol21.disabled = true;
- ipt_tmpcol22.disabled = false;
- ipt_tmpcol23.disabled = true;
- } else if (model.getValue("/root/main/tblglydisinfo/info/tmpcol1") == "03") {
- ipt_tmpcol21.disabled = true;
- ipt_tmpcol22.disabled = true;
- ipt_tmpcol23.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_solidsize" ref="/root/main/tblglydisinfo/info/solidsize" class="ipt__default" style="left:593px; top:221px; width:65px; height:19px; "/>
- <caption id="caption36" class="cell_1" style="left:0px; top:147px; width:147px; height:23px; text-align:center; vertical-align:middle; ">객담도말검사</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:245px; x2:750px; y2:245px; "/>
- <select1 id="rdo_test8" ref="/root/main/tblglydisinfo/info/tooberrsltsize" appearance="full" cellspacing="70" cols="2" overflow="visible" style="left:525px; top:222px; width:220px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>경결크기</label>
- <value>1</value>
- </item>
- <item>
- <label>미검</label>
- <value>9</value>
- </item>
- </choices>
- <script id="script28" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("rdo_test8");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_sputumdm" appearance="full" cellspacing="12" cols="4" overflow="visible" style="left:150px; top:149px; width:220px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0137list/A0137">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" class="tit_2" style="left:5px; top:126px; width:95px; height:13px; vertical-align:middle; ">결핵초회진단</caption>
- <caption id="caption19" class="cell_1" style="left:375px; top:171px; width:147px; height:23px; text-align:center; vertical-align:middle; ">객담이외의 검체 배양검사</caption>
- <input id="ipt_tmpcol21" ref="/root/main/tblglydisinfo/info/tmpcol21" disabled="true" style="left:286px; top:247px; width:34px; height:19px; border-width:1; "/>
- <select1 id="rad_sputumoby" ref="/root/main/tblglydisinfo/info/sputumoby" appearance="full" cellspacing="17" cols="4" overflow="visible" style="left:525px; top:173px; width:220px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0137list/A0137">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_curedrugcdetc" ref="/root/main/tblglydisinfo/info/curedrugcdetc" class="ipt__default" style="left:0px; top:463px; width:600px; height:19px; "/>
- </group>
- <caption id="caption28" class="tit_2" style="left:0px; top:146px; width:95px; height:13px; vertical-align:middle; ">결핵초회검사</caption>
- <line id="line23" class="line_1" style="x1:0px; y1:162px; x2:750px; y2:162px; "/>
- <line id="line25" class="line_2" style="x1:0px; y1:231px; x2:750px; y2:231px; "/>
- <line id="line26" class="line_2" style="x1:0px; y1:254px; x2:750px; y2:254px; "/>
- <line id="line27" class="line_2" style="x1:0px; y1:276px; x2:750px; y2:276px; "/>
- <line id="line28" class="line_2" style="x1:0px; y1:298px; x2:750px; y2:298px; "/>
- <line id="line29" class="line_2" style="x1:0px; y1:160px; x2:750px; y2:160px; "/>
- <caption id="caption48" class="cell_1" style="left:605px; top:166px; width:147px; height:44px; text-align:center; vertical-align:middle; ">검체종류</caption>
- <line id="line30" class="line_3" style="x1:0px; y1:342px; x2:750px; y2:342px; "/>
- <input id="input31" ref="/root/main/tblglydisinfo/info/rayrsltkind" maxlength="25" style="left:606px; top:211px; width:145px; height:19px; "/>
- <input id="input32" ref="/root/main/tblglydisinfo/info/tisstestlagkind" maxlength="25" style="left:606px; top:322px; width:145px; height:19px; "/>
- <select1 id="radio3" ref="/root/main/tblglydisinfo/info/sputumdmkind" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:620px; top:233px; width:120px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>객담</label>
- <value>01</value>
- </item>
- <item>
- <label>객담 외</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio4" ref="/root/main/tblglydisinfo/info/sputumbykind" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:620px; top:256px; width:120px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>객담</label>
- <value>01</value>
- </item>
- <item>
- <label>객담 외</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio5" ref="/root/main/tblglydisinfo/info/etctestflagkind" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:620px; top:278px; width:120px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>객담</label>
- <value>01</value>
- </item>
- <item>
- <label>객담 외</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio11" ref="/root/main/tblglydisinfo/info/sputumby" appearance="full" cellspacing="56" cols="5" overflow="visible" style="left:158px; top:256px; width:340px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- <item>
- <label/>
- <value>2</value>
- </item>
- <item>
- <label/>
- <value>3</value>
- </item>
- <item>
- <label/>
- <value>4</value>
- </item>
- <item>
- <label/>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio12" ref="/root/main/tblglydisinfo/info/etctestflag" appearance="full" cellspacing="56" cols="5" overflow="visible" style="left:158px; top:278px; width:340px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- <item>
- <label/>
- <value>2</value>
- </item>
- <item>
- <label/>
- <value>3</value>
- </item>
- <item>
- <label/>
- <value>4</value>
- </item>
- <item>
- <label/>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption55" class="cell_1" style="left:203px; top:181px; width:79px; height:29px; text-align:center; vertical-align:middle; ">검사중</caption>
- <select1 id="radio13" ref="/root/main/tblglydisinfo/info/tisstestlag" appearance="full" cellspacing="56" cols="5" overflow="visible" style="left:158px; top:322px; width:337px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- <item>
- <label/>
- <value>2</value>
- </item>
- <item>
- <label/>
- <value>3</value>
- </item>
- <item>
- <label/>
- <value>4</value>
- </item>
- <item>
- <label/>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption56" class="cell_1" style="left:283px; top:181px; width:219px; height:14px; text-align:center; vertical-align:middle; ">검사완료</caption>
- <input id="input1" ref="/root/main/tblglydisinfo/info/rayrsltdd" inputtype="date" style="left:504px; top:211px; width:100px; height:19px; "/>
- <caption id="caption57" class="cell_1" style="left:0px; top:211px; width:122px; height:19px; text-align:left; vertical-align:middle; ">흉부X선검사</caption>
- <caption id="caption58" class="cell_1" style="left:283px; top:196px; width:71px; height:14px; text-align:center; vertical-align:middle; ">양성</caption>
- <caption id="caption59" class="cell_1" style="left:0px; top:255px; width:122px; height:19px; text-align:left; vertical-align:middle; ">배양검사</caption>
- <caption id="caption60" class="cell_1" style="left:356px; top:196px; width:73px; height:14px; text-align:center; vertical-align:middle; ">음성</caption>
- <caption id="caption61" class="cell_1" style="left:0px; top:277px; width:122px; height:19px; text-align:left; vertical-align:middle; ">TB-PCR검사</caption>
- <caption id="caption62" class="cell_1" style="left:430px; top:196px; width:72px; height:14px; text-align:center; vertical-align:middle; ">불명</caption>
- <caption id="caption63" class="cell_1" style="left:0px; top:322px; width:122px; height:19px; text-align:left; vertical-align:middle; ">조직검사</caption>
- <caption id="caption64" class="cell_1" style="left:0px; top:166px; width:122px; height:44px; text-align:center; vertical-align:middle; ">초회검사종류</caption>
- <caption id="caption65" class="cell_1" style="left:123px; top:166px; width:379px; height:14px; text-align:center; vertical-align:middle; ">검사 상태 및 결과</caption>
- <caption id="caption66" class="cell_1" style="left:503px; top:166px; width:101px; height:44px; text-align:center; vertical-align:middle; ">
- <![CDATA[검체채취일
- (또는 검사일자)]]>
- </caption>
- <input id="input2" ref="/root/main/tblglydisinfo/info/sputumdmdd" inputtype="date" style="left:504px; top:233px; width:100px; height:19px; "/>
- <input id="input3" ref="/root/main/tblglydisinfo/info/sputumbydd" inputtype="date" style="left:504px; top:256px; width:100px; height:19px; "/>
- <caption id="caption67" class="cell_1" style="left:123px; top:181px; width:79px; height:29px; text-align:center; vertical-align:middle; ">미실시</caption>
- <input id="input4" ref="/root/main/tblglydisinfo/info/etctestflagdd" inputtype="date" style="left:504px; top:278px; width:100px; height:19px; "/>
- <caption id="caption68" class="cell_1" style="left:0px; top:233px; width:122px; height:19px; text-align:left; vertical-align:middle; ">도말검사</caption>
- <input id="input5" ref="/root/main/tblglydisinfo/info/tisstestlagdd" inputtype="date" style="left:504px; top:322px; width:100px; height:19px; "/>
- <select1 id="radio14" ref="/root/main/tblglydisinfo/info/rayrsltflag" appearance="full" cellspacing="56" cols="5" overflow="visible" style="left:158px; top:213px; width:340px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- <item>
- <label/>
- <value>2</value>
- </item>
- <item>
- <label/>
- <value>3</value>
- </item>
- <item>
- <label/>
- <value>4</value>
- </item>
- <item>
- <label/>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio15" ref="/root/main/tblglydisinfo/info/sputumdm" appearance="full" cellspacing="56" cols="5" overflow="visible" style="left:158px; top:235px; width:340px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- <item>
- <label/>
- <value>2</value>
- </item>
- <item>
- <label/>
- <value>3</value>
- </item>
- <item>
- <label/>
- <value>4</value>
- </item>
- <item>
- <label/>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption39" class="cell_1" style="left:0px; top:112px; width:81px; height:28px; text-align:center; vertical-align:middle; ">
- <![CDATA[시설명
- (직장 학교등)]]>
- </caption>
- <input id="input6" ref="/root/main/tblglydisinfo/info/faclt" maxlength="25" style="left:83px; top:116px; width:111px; height:19px; "/>
- <caption id="caption41" class="cell_1" style="left:199px; top:113px; width:31px; height:26px; vertical-align:middle; ">주소</caption>
- <input id="input7" ref="/root/main/tblglydisinfo/info/facltaddr" maxlength="25" style="left:233px; top:117px; width:437px; height:19px; "/>
- <caption id="caption42" class="cell_1" style="left:186px; top:21px; width:77px; height:20px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <output id="output2" ref="/root/main/tblglydisinfo/info/tel" class="output_fix" style="left:266px; top:22px; width:105px; height:19px; "/>
- <caption id="caption43" class="cell_1" style="left:436px; top:366px; width:77px; height:59px; text-align:center; vertical-align:middle; ">결핵종류</caption>
- <select id="chk_ccspec" ref="/root/main/tblglydisinfo/info/antutbclrslt" navindex="36" overflow="visible" appearance="full" cols="7" vcellspacing="2" style="left:125px; top:540px; width:180px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>미실시</label>
- <value>01</value>
- </item>
- <item>
- <label>검사중</label>
- <value>02</value>
- </item>
- <item>
- <label>검사완료</label>
- <value>03</value>
- </item>
- </choices>
- <script id="script4" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("chk_antutbclrslt");
- ]]>
- </script>
- </select>
- <caption id="caption44" class="cell_1" style="left:0px; top:535px; width:122px; height:32px; text-align:center; vertical-align:middle; ">
- <![CDATA[항결핵약제
- 내성검사결과]]>
- </caption>
- <select id="checkbox1" ref="/root/main/tblglydisinfo/info/antutbclrsltdetl" navindex="36" overflow="visible" appearance="full" cols="7" vcellspacing="2" style="left:311px; top:539px; width:225px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>내성없음</label>
- <value>01</value>
- </item>
- <item>
- <label>내성있음</label>
- <value>02</value>
- </item>
- <item>
- <label>검사결과불명</label>
- <value>03</value>
- </item>
- </choices>
- <script id="script5" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("chk_antutbclrsltdetl");
- ]]>
- </script>
- </select>
- <input id="input8" ref="/root/main/tblglydisinfo/info/antutbclrsltdetldesc" maxlength="25" style="left:537px; top:539px; width:170px; height:19px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:568px; x2:750px; y2:568px; "/>
- <caption id="caption45" class="cell_1" style="left:0px; top:595px; width:122px; height:32px; text-align:center; vertical-align:middle; ">
- <![CDATA[항결핵약제
- 검사방법]]>
- </caption>
- <line id="line31" class="line_2" style="x1:0px; y1:629px; x2:750px; y2:629px; "/>
- <select id="checkbox3" ref="/root/main/tblglydisinfo/info/antutbclmthd" navindex="36" overflow="visible" appearance="full" cols="7" vcellspacing="2" style="left:125px; top:601px; width:620px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>전통적인방법</label>
- <value>01</value>
- </item>
- <item>
- <label>신속내성검사</label>
- <value>02</value>
- </item>
- <item>
- <label>실시간이중중합효소연쇄반응검사(Xpert MTB/RIF검사 등)</label>
- <value>03</value>
- </item>
- </choices>
- </select>
- <line id="line32" class="line_2" style="x1:0px; y1:693px; x2:750px; y2:693px; "/>
- <caption id="caption46" class="cell_1" style="left:0px; top:630px; width:122px; height:62px; text-align:center; vertical-align:middle; ">
- <![CDATA[항결핵약제
- 내성약제]]>
- </caption>
- <select id="checkbox7" ref="/root/main/tblglydisinfo/info/antutbcldrug" navindex="36" overflow="visible" appearance="full" cols="8" vcellspacing="2" style="left:125px; top:633px; width:625px; height:36px; border-style:none; ">
- <choices>
- <item>
- <label>INAH</label>
- <value>01</value>
- </item>
- <item>
- <label>RFC</label>
- <value>02</value>
- </item>
- <item>
- <label>PYRAZ</label>
- <value>03</value>
- </item>
- <item>
- <label>MYAMB</label>
- <value>04</value>
- </item>
- <item>
- <label>STREP</label>
- <value>05</value>
- </item>
- <item>
- <label>PROTH</label>
- <value>06</value>
- </item>
- <item>
- <label>CLOSE</label>
- <value>07</value>
- </item>
- <item>
- <label>PASCA</label>
- <value>08</value>
- </item>
- <item>
- <label>MYCOB</label>
- <value>09</value>
- </item>
- <item>
- <label>KAMAC</label>
- <value>10</value>
- </item>
- <item>
- <label>CRAV</label>
- <value>11</value>
- </item>
- <item>
- <label>AMK</label>
- <value>12</value>
- </item>
- <item>
- <label>기타</label>
- <value>13</value>
- </item>
- <item>
- <label>MOVEL</label>
- <value>14</value>
- </item>
- <item>
- <label>ZYVOX</label>
- <value>15</value>
- </item>
- <item>
- <label>CLARI</label>
- <value>16</value>
- </item>
- </choices>
- <script id="script3" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("chk_antutbcldrug");
- ]]>
- </script>
- </select>
- <input id="input9" ref="/root/main/tblglydisinfo/info/antutbcldrugtxt" maxlength="25" style="left:157px; top:673px; width:593px; height:19px; "/>
- <select id="checkbox8" ref="/root/main/tblglydisinfo/info/antutbclcd" navindex="36" overflow="visible" appearance="full" cols="7" vcellspacing="2" style="left:125px; top:698px; width:620px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>U84.30(다약제내성 결핵)</label>
- <value>01</value>
- </item>
- <item>
- <label>U84.31(광범위약제내성 결핵)</label>
- <value>02</value>
- </item>
- <item>
- <label>리팜핀단독내성 결핵</label>
- <value>03</value>
- </item>
- </choices>
- </select>
- <caption id="caption54" class="cell_1" style="left:0px; top:695px; width:122px; height:27px; text-align:center; vertical-align:middle; ">
- <![CDATA[항결핵약제
- 내성코드]]>
- </caption>
- <caption id="caption69" class="cell_1" style="left:280px; top:748px; width:122px; height:23px; text-align:center; vertical-align:middle; ">치료종료일</caption>
- <line id="line33" class="line_2" style="x1:0px; y1:723px; x2:750px; y2:723px; "/>
- <select id="checkbox9" ref="/root/main/tblglydisinfo/info/curersltflagdiag" navindex="36" overflow="visible" appearance="full" cols="7" vcellspacing="2" style="left:588px; top:777px; width:156px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>NTM</label>
- <value>01</value>
- </item>
- <item>
- <label>종양</label>
- <value>02</value>
- </item>
- <item>
- <label>기타질병</label>
- <value>03</value>
- </item>
- </choices>
- </select>
- <line id="line35" class="line_3" style="x1:0px; y1:723px; x2:750px; y2:723px; "/>
- <select id="checkbox11" ref="/root/main/tblglydisinfo/info/tbclkindcd" navindex="36" overflow="visible" appearance="full" cols="1" vcellspacing="2" style="left:515px; top:366px; width:115px; height:58px; border-style:none; ">
- <choices>
- <item>
- <label>폐결핵</label>
- <value>01</value>
- </item>
- <item>
- <label>폐외결핵</label>
- <value>02</value>
- </item>
- <item>
- <label>폐결핵+폐외결핵</label>
- <value>03</value>
- </item>
- </choices>
- <script id="script6" type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCtrlEnableChk("chk_tbclkindcd");
- ]]>
- </script>
- </select>
- <caption id="caption53" class="cell_1" style="left:375px; top:21px; width:77px; height:20px; text-align:center; vertical-align:middle; ">핸드폰번호</caption>
- <output id="output3" ref="/root/main/tblglydisinfo/info/mpphontel" class="output_fix" style="left:455px; top:22px; width:130px; height:19px; "/>
- <line id="line39" class="line_2" style="x1:0px; y1:110px; x2:750px; y2:110px; "/>
- <line id="line40" class="line_2" style="x1:0px; y1:320px; x2:750px; y2:320px; "/>
- <caption id="caption71" class="cell_1" style="left:0px; top:299px; width:122px; height:19px; text-align:left; vertical-align:middle; ">X-Pert 검사</caption>
- <select1 id="radio6" ref="/root/main/tblglydisinfo/info/xpert" appearance="full" cellspacing="56" cols="5" overflow="visible" style="left:158px; top:301px; width:340px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- <item>
- <label/>
- <value>2</value>
- </item>
- <item>
- <label/>
- <value>3</value>
- </item>
- <item>
- <label/>
- <value>4</value>
- </item>
- <item>
- <label/>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <input id="input10" ref="/root/main/tblglydisinfo/info/xpertdd" inputtype="date" style="left:504px; top:300px; width:100px; height:19px; "/>
- <select1 id="radio7" ref="/root/main/tblglydisinfo/info/xpertkind" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:620px; top:300px; width:120px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>객담</label>
- <value>01</value>
- </item>
- <item>
- <label>객담 외</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <input id="input11" ref="/root/main/tblglydisinfo/info/tbclkindcd02" maxlength="25" style="left:630px; top:384px; width:120px; height:19px; "/>
- <input id="input12" ref="/root/main/tblglydisinfo/info/tbclkindcd03" maxlength="25" style="left:630px; top:404px; width:120px; height:19px; "/>
- <line id="line41" class="line_2" style="x1:0px; y1:401px; x2:436px; y2:401px; "/>
- <caption id="caption72" style="left:305px; top:539px; width:10px; height:20px; ">(</caption>
- <caption id="caption73" style="left:708px; top:538px; width:10px; height:20px; ">)</caption>
- <input id="input13" ref="/root/main/tblglydisinfo/info/curedrugcdtxt" maxlength="25" style="left:157px; top:513px; width:593px; height:19px; "/>
- <caption id="caption74" class="cell_1" style="left:0px; top:570px; width:122px; height:23px; text-align:center; vertical-align:middle; ">검체채취일</caption>
- <line id="line17" class="line_2" style="x1:0px; y1:594px; x2:750px; y2:594px; "/>
- <caption id="caption47" style="left:127px; top:673px; width:30px; height:20px; ">기타</caption>
- <caption id="caption49" style="left:125px; top:513px; width:30px; height:20px; ">기타</caption>
- <caption id="caption50" style="left:744px; top:777px; width:10px; height:20px; ">)</caption>
- <caption id="caption51" style="left:582px; top:778px; width:10px; height:20px; ">(</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:830px; width:750px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:560px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/savedata");
-
- /* /2012/09/07 Start
- if( isRequiredControls("ipt_curefromdd","chk_curedrugcd") == false ){
- return;
- }
-
- if (isNull(model.getValue("/root/main/tblglydisinfo/info/curefromdd")) ){
- messageBox("치료시작 또는 진단일자는", "I003");
- return;
- }
-
- if (model.getValue("/root/main/tblglydisinfo/info/diagnm") == "" ){
- messageBox("질병코드는 ", "I003");
- return;
- }
- if ((model.getValue("/root/main/tblglydisinfo/info/sputumdm") == "" )||(model.getValue("/root/main/tblglydisinfo/info/sputumby")=="")||(model.getValue("/root/main/tblglydisinfo/info/sputumodm")=="")||(model.getValue("/root/main/tblglydisinfo/info/sputumoby")=="")||(model.getValue("/root/main/tblglydisinfo/info/tisstestlag")=="")||(model.getValue("/root/main/tblglydisinfo/info/etctestflag")=="")||(model.getValue("/root/main/tblglydisinfo/info/rayrsltflag")=="")){
- messageBox("결핵초회진단 항목들은 ", "I003");
- return;
- }
-
- //090722 kimsj 결핵초회진단이 모두 미검이면 BLOCK
- if ((model.getValue("/root/main/tblglydisinfo/info/sputumdm") == "4" )&&(model.getValue("/root/main/tblglydisinfo/info/tisstestlag")=="4")&&(model.getValue("/root/main/tblglydisinfo/info/rayrsltflag")=="4")){
- messageBox("최소 1개의 결핵초회진단 검사는 ", "I003");
- return;
- }
-
- if ((model.getValue("/root/main/tblglydisinfo/info/pastcureflag") == "" )){
- messageBox("결핵과거치료력은 ", "I003");
- return;
- }
-
- if ((model.getValue("/root/main/tblglydisinfo/info/pastcureflag") == "Y" )&&(model.getValue("/root/main/tblglydisinfo/info/cureterm") == "" )){
- messageBox("결핵과거치료 기간은 ", "I003");
- return;
- }
-
- if ((model.getValue("/root/main/tblglydisinfo/info/pastcureflag") == "Y" )&&(model.getValue("/root/main/tblglydisinfo/info/pastcurecnt") == "" )){
- messageBox("결핵과거치료 횟수는 ", "I003");
- return;
- }
- if (model.getValue("/root/main/tblglydisinfo/info/patflag") == "" ){
- messageBox("환자구분은 ", "I003");
- return;
- }
-
- //090722 kimsj 결핵과거치료력 = 'Y'이면서 환자구분 '신환자'인경우 -> '기타환자'로 변경요청
- if ((model.getValue("/root/main/tblglydisinfo/info/pastcureflag") == "Y" )&&(model.getValue("/root/main/tblglydisinfo/info/patflag") == "1" )){
- messageBox("결핵과거 치료력이 있는 환자입니다. 환자구분을 다시 ", "C002");
- return;
- }
-
- //090722 kimsj 치료약제 없음(Check)일 경우 BLOCK
- if (model.getValue("/root/main/tblglydisinfo/info/curedrugcd")=="99"){
- messageBox("치료약제 사용은 ", "I003");
- return;
- }
- 2012/09/07 End */
- if( model.getValue("/root/main/tblglydisinfo/info/wrtedt") == "" || model.getValue("/root/main/tblglydisinfo/info/wrtedt") == null ){
- model.setValue("/root/main/tblglydisinfo/info/state", "I");
- model.setValue("/root/main/tblglydisinfo/info/wrtedt", getCurrentDate() +""+ getCurrentTime());
- } else {
- //kimsj 100407 체크기간 경과시 데이터가 있을 경우 신규신고가 아닌 수정현상 발생 -> 신규 신고할 수있도록 수정 (현재는 처방 체크 10일로 확인 - 변경필요)
- var vbf10days = ((getCurrentDate().toDate()).getAddDate(-3,"M")).getDateFormat();
- var vwrtddt = (model.getValue("/root/main/tblglydisinfo/info/wrtedt")).substring(0, 8);
- if ( vwrtddt <= vbf10days) {
- model.setValue("/root/main/tblglydisinfo/info/state", "I");
- model.setValue("/root/main/tblglydisinfo/info/wrtedt", getCurrentDate() +""+ getCurrentTime());
- } else {
- model.setValue("/root/main/tblglydisinfo/info/state", "U");
- }
- }
- model.setValue("/root/main/tblglydisinfo/info/reptflag", "02");
- //신고대상자조회 조건에 진료과가 있어서 추가 20071018 김홍점
- model.setValue("/root/main/tblglydisinfo/info/orddeptcd", model.getValue("/root/main/paminfo/list/orddeptcd"));
- // IGRA 검사 결과 값을 넣을때 그 값을 tempcol2에 넣어준다.
- var tempcol1 = model.getValue("/root/main/tblglydisinfo/info/tmpcol1")
- var tempcol21 = model.getValue("/root/main/tblglydisinfo/info/tmpcol21")
- var tempcol22 = model.getValue("/root/main/tblglydisinfo/info/tmpcol21")
- var tempcol23 = model.getValue("/root/main/tblglydisinfo/info/tmpcol21")
- if (tempcol1 == "01" && isNull(tempcol21) ) {
- messageBox("IGRA검사 Quantiferon In- Tube 값을 입력하여야 합니다.", "I");
- return;
- }
-
- if (tempcol1 == "02" && isNull(tempcol22) ) {
- messageBox("IGRA검사 Quantiferon TB-Gold 값을 입력하여야 합니다.", "I");
- return;
- }
-
- if (tempcol1 == "03" && isNull(tempcol23) ) {
- messageBox("IGRA검사 T-SPOT 값을 입력하여야 합니다.", "I");
- return;
- }
- if (!isNull(tempcol21 )) {
- model.setValue("/root/main/tblglydisinfo/info/tmpcol2", tempcol21);
- } else if (!isNull(tempcol22 )) {
- model.setValue("/root/main/tblglydisinfo/info/tmpcol2", tempcol22);
- } else if (!isNull(tempcol23 )) {
- model.setValue("/root/main/tblglydisinfo/info/tmpcol2", tempcol23);
- }
-
- //2012/09/07 Start
- var curefromdd=model.getValue("/root/main/tblglydisinfo/info/curefromdd");
- var anotheryn=model.getValue("/root/main/tblglydisinfo/info/anotheryn");
- if(curefromdd=="" && anotheryn==""){
- messageBox("[치료시작(또는 예정)일]을 입력하시거나 [타병원으로 전원]을 체크", "I008");
- model.setValue("/root/main/tblglydisinfo/info/wrtedt", "");
- return;
- }
- //2012/09/07 End
- model.copyNode("/root/send/savedata","/root/main/tblglydisinfo/info");
-
- //@@
- var Curstate = model.getValue("/root/main/tblglydisinfo/info/state");
- if(submit("TXASI01501")){
- model.copyNode("/root/main/tblglydisinfo", "/root/main/getlglydisinfo");
- fBisiziFlag();
- fCtrlEnableChk("chk_curedrugcd");
- fCtrlEnableChk("rdo_curersltflag");
- fChgReptDisable();
- model.refresh();
-
- //@@
- if(Curstate == "I"){
- if(!isNull(opener.javascript.getParameter("PrcpLglyDis")) && opener.javascript.getParameter("PrcpLglyDis") == "PrcpLglyDis" && !isNull(opener.javascript.getParameter("PrcpTubeSaveYn")) && opener.javascript.getParameter("PrcpTubeSaveYn") == "Y" ){
- messageBox ( "결핵으로 인한 산정특례 등록으로 결핵신고서가\n자동으로 저장되었습니다.\n\n[관련 : 결핵예방법 제8조]\n문의: 본원 호흡기상담실(5952), 칠곡 결핵담당(2427)", "I" );
- } else {
- messageBox("저장되었습니다","I");
-
- /*
- var result = messageBox("저장되었습니다. 해당 결핵치료종료를 등록 ","S001"); //저장 후 결핵치료등록 여부
- if( result == "6" ){
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/savedata");
- model.makeValue("/root/main/tblglydisinfo/info/cureenddd", getCurrentDate());
- model.makeValue("/root/main/tblglydisinfo/info/trgtmankind02flag", "Y");
- model.copyNode("/root/send/savedata","/root/main/tblglydisinfo/info");
- if(submit("TXASI01501")){
- model.close();
- }
- }
- */
- }
- }else if (Curstate == "U"){
- messageBox("수정되었습니다.","I");
- }
- model.close();
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_cncl" class="btn4_letter2" style="left:620px; 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(!isNull(model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt")) ){
- 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/tblglydisinfo/info/state", "D");
- model.copyNode("/root/send/savedata","/root/main/tblglydisinfo/info");
-
- if(submit("TXASI01501") != false){
- model.copyNode("/root/main/tblglydisinfo", "/root/main/getlglydisinfo");
- model.refresh();
-
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/tblglydisinfo/info/pid"));
- model.makeValue("/root/send/reqdata/reptflag", model.getValue("/root/main/tblglydisinfo/info/reptflag"));
- if(submit("TRASI01502", false)){
- if( isNull(model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt")) ){
- messageBox("삭제" ,"I001");
- window.close();
- }
- }
-
- fBisiziFlag();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:679px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.resetInstanceNode("/root/main/tblglydisinfo");
- fInit();
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_save_re" class="btn2_letter4" visibility="hidden" style="left:515px; top:750px; width:64px; height:19px; ">
- <caption>치료종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/savedata");
-
- //model.setValue("/root/main/tblglydisinfo/info/reptflag", "20");
- model.makeValue("/root/main/tblglydisinfo/info/trgtmankind02flag", "Y");
- model.copyNode("/root/send/savedata","/root/main/tblglydisinfo/info");
- if(submit("TXASI01501")){
- model.close();
- }
-
- ]]>
- </script>
- </button>
- <input id="ipt_cureenddd" ref="/root/main/tblglydisinfo/info/cureenddd" class="input_essential" inputtype="date" style="left:406px; top:750px; width:100px; height:19px; "/>
- <input id="input14" ref="/root/main/tblglydisinfo/info/spcacptdt" class="input_essential" inputtype="date" style="left:125px; top:572px; width:100px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|