SPASI03400_크로이츠펠트야콥병.xrw 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>크로이츠펠트-야콥병 신고</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <lglydisinfo>
  11. <info>
  12. <state>I</state>
  13. <psnflag/>
  14. <patnm/>
  15. <sexflag/>
  16. <age/>
  17. <rgstno/>
  18. <rgstno2/>
  19. <zipcd1/>
  20. <zipcd2/>
  21. <tel/>
  22. <cntcaddr1/>
  23. <cntcaddr2/>
  24. <pid/>
  25. <wrtedt/>
  26. <seqno/>
  27. <instcd/>
  28. <reptflag>06</reptflag>
  29. <lglydiscd/>
  30. <ioeflag/>
  31. <orddd/>
  32. <indd/>
  33. <cretno/>
  34. <deptcd/>
  35. <wrteid/>
  36. <jobcd/>
  37. <procernm/>
  38. <residncflag/>
  39. <idflag/>
  40. <symp/>
  41. <diagnm/>
  42. <attackdd/>
  43. <diagdd/>
  44. <diagcd/>
  45. <dethyn/>
  46. <cnfsnwtstrslt/>
  47. <estminfcpath/>
  48. <estminfcareacd/>
  49. <estminfcareanaticd/>
  50. <naticd/>
  51. <ecntrydd/>
  52. <ecntrytodd/>
  53. <stayterm/>
  54. <staytermday/>
  55. <chngreptkind/>
  56. <updtreptcnts/>
  57. <updtreptdd/>
  58. <updtreptrid/>
  59. <reptdt/>
  60. <reptrid/>
  61. <preinochstflag/>
  62. <pastcureflag/>
  63. <cureterm/>
  64. <pastcurecnt/>
  65. <bisiziflag/>
  66. <bisiziinocmthd/>
  67. <sputumdm/>
  68. <sputumby/>
  69. <sputumodm/>
  70. <sputumoby/>
  71. <etctestflag/>
  72. <rayrsltflag/>
  73. <tooberrsltsize/>
  74. <solidsize/>
  75. <inhospflag/>
  76. <curefromdd/>
  77. <curetodd/>
  78. <curersltflag/>
  79. <curersltetc/>
  80. <dethflag/>
  81. <cncldt/>
  82. <diagmthd/>
  83. <diagmthdcnts/>
  84. <cnclerid/>
  85. <lglydiscnts/>
  86. <tisstestlag/>
  87. <testpartcd/>
  88. <testpartremcnts/>
  89. <testmthdcd/>
  90. <plaqflagcd/>
  91. <brwavetestflag/>
  92. <brwavetestcnts/>
  93. <raytestflag/>
  94. <raytestcnts/>
  95. <crbrfldtestflag/>
  96. <crbrfldtestcnts/>
  97. <prnpagenetestflag/>
  98. <codonnm/>
  99. <codonflag/>
  100. <codonflag2/>
  101. <codoncnts/>
  102. <patflag/>
  103. <patflag2/>
  104. <dngrcascd/>
  105. <dngrcasremcnts/>
  106. <infcnts/>
  107. <dethdd/>
  108. <estminfcpathremcnts/>
  109. <tmpcol1/>
  110. <tmpcol2/>
  111. <tmpcol3/>
  112. <etcnts1/>
  113. <etcnts2/>
  114. <etcnts3/>
  115. <lglykindcd/>
  116. <relyn/>
  117. <testrslt1/>
  118. <testrslt2/>
  119. <lasthistyn>Y</lasthistyn>
  120. </info>
  121. </lglydisinfo>
  122. <getlglydisinfo>
  123. <info/>
  124. </getlglydisinfo>
  125. <getreptdtinfo>
  126. </getreptdtinfo>
  127. <paminfo/>
  128. </main>
  129. <send>
  130. <reqdata/>
  131. <savedata/>
  132. </send>
  133. <hidden>
  134. </hidden>
  135. <init>
  136. <M0149list/>
  137. <P0353list/>
  138. <A0132list/>
  139. <A0620list/>
  140. <A0621list/>
  141. <A0622list/>
  142. <A0623list/>
  143. <A0624list/>
  144. <A0625list/>
  145. <A0626list/>
  146. <A0627list/>
  147. <A0633list/>
  148. <A0634list/>
  149. </init>
  150. <diaginfo>
  151. <diagcdlist/>
  152. </diaginfo>
  153. <temp>
  154. <tmplist/>
  155. <initinfo/>
  156. </temp>
  157. </root>
  158. </instance>
  159. <script type="javascript" ev:event="xforms-ready">
  160. <![CDATA[
  161. zbcfGetCodeList(new Array("M0149", "P0353", "A0132", "A0620", "A0621", "A0622", "A0623", "A0624", "A0625", "A0626", "A0627", "A0633", "A0634"),
  162. new Array("/root/init/M0149list", "/root/init/P0353list", "/root/init/A0132list", "/root/init/A0620list", "/root/init/A0621list"
  163. , "/root/init/A0622list", "/root/init/A0623list", "/root/init/A0624list", "/root/init/A0625list", "/root/init/A0626list", "/root/init/A0627list", "/root/init/A0633list", "/root/init/A0634list")
  164. , true, new Array("cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid") );
  165. model.setValue("/root/main/lglydisinfo/info/reptflag", "06");
  166. //임시 (공통코드 자릿수 축소 후 삭제 예정
  167. var A0624list = instance1.selectNodes("/root/init/A0624list/A0624");
  168. for(var i=0; i<A0624list.length; i++){
  169. var node = A0624list.item(i);
  170. var cdid = node.selectSingleNode("cdid");
  171. model.setValue(cdid, cdid.text.substr(1,1));
  172. }
  173. var ioflag = "";
  174. var pid = "";
  175. var orddd = "";
  176. var cretno = "";
  177. var strRegtdt = "";
  178. var iDate = new Date();
  179. var strYearCal = "";
  180. var wrtedt="";
  181. var pamInfoCvs = getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
  182. if(pamInfoCvs != ""){ //cvs가 ""이 아닌 경우에만 처리함.
  183. model.removeNodeSet("/root/main/paminfo/list");
  184. setCSVToNode("/root/main/paminfo", pamInfoCvs);
  185. ioflag = model.getValue("/root/main/paminfo/list/ioflag");
  186. pid = model.getValue("/root/main/paminfo/list/pid");
  187. cretno = model.getValue("/root/main/paminfo/list/cretno");
  188. if(ioflag == "O") orddd = model.getValue("/root/main/paminfo/list/orddd");
  189. else orddd = model.getValue("/root/main/paminfo/list/indd");
  190. }else{
  191. if(isPopup()){
  192. ioflag = opener.javascript.getParameter("psnflag");
  193. pid = opener.javascript.getParameter("pid");
  194. cretno = opener.javascript.getParameter("cretno");
  195. orddd = opener.javascript.getParameter("indd");
  196. //@@
  197. wrtedt = opener.javascript.getParameter("wrtedt");
  198. //model.setValue("/root/main/cngntlsyphsmmrsltreptinfo/cngntlsyphsmmrsltreptlist/wrtedt",opener.javascript.getParameter("wrtedt") );
  199. }
  200. }
  201. model.setValue("/root/main/lglydisinfo/info/pid", pid );
  202. model.setValue("/root/main/lglydisinfo/info/orddd", orddd );
  203. model.setValue("/root/main/lglydisinfo/info/indd", orddd);
  204. model.setValue("/root/main/lglydisinfo/info/psnflag", ioflag );
  205. model.setValue("/root/main/lglydisinfo/info/cretno", cretno );
  206. model.setValue("/root/main/lglydisinfo/info/wrtedt",wrtedt);
  207. if( !isNull(model.getValue("/root/main/lglydisinfo/info/pid")) ) {
  208. //@@
  209. if(submit("TRASI03401", false) ){ //초기값 조회
  210. model.copyNode("/root/send/reqdata", "/root/main/lglydisinfo/info");
  211. if(submit("TRASI01501", false) ) {//환자인적정보 조회
  212. if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
  213. model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
  214. model.setValue("/root/main/lglydisinfo/info/lglydiscd", model.getValue("/root/temp/initinfo/info/lglydiscd"));
  215. model.refresh();
  216. //fCtrlEnableChk("rdo");
  217. //fCtrlEnableChk("rdo_chgrept");
  218. //fCtrlEnableChk("rdo_estminfcarea");
  219. fChkCnclYN();
  220. //fChgReptDisable();
  221. //@@
  222. //fChgReptDisable(result);
  223. }
  224. }
  225. }
  226. //@@
  227. var result = 1;
  228. if(!isNull(opener.javascript.getParameter("PrcpLglyDis"))){
  229. //처방에서 호출한 경우 상병체크하여 초기화
  230. fInit();
  231. result=6;
  232. }
  233. if(isPopup() && (opener.javascript.getParameter("state") == "U" || opener.javascript.getParameter("state") == "S" || !isNull(opener.javascript.getParameter("PrcpLglyDis")) )){
  234. model.setValue("/root/main/lglydisinfo/info/state", opener.javascript.getParameter("state") );
  235. model.setValue("/root/main/lglydisinfo/info/wrtedt", opener.javascript.getParameter("wrtedt") );
  236. model.setValue("/root/main/lglydisinfo/info/seqno", opener.javascript.getParameter("seqno") );
  237. model.makeValue("/root/main/getreptdtinfo/reptdtinfo/reptdt", opener.javascript.getParameter("reptdt")); //추가 (2009.11.13 JJE)
  238. model.makeValue("/root/main/getreptdtinfo/reptdtinfo/reptyn", opener.javascript.getParameter("reptyn")); //추가 (2009.11.13 JJE)
  239. model.makeValue("/root/main/getreptdtinfo/reptdtinfo/chgyn", opener.javascript.getParameter("chgyn")); //추가 (2009.11.13 JJE)
  240. model.makeValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt", opener.javascript.getParameter("prt_reptdt")); //추가 (2009.11.13 JJE)
  241. //}else if(isPopup() && opener.javascript.getParameter("state") != "U" && opener.javascript.getParameter("state") != "S" ){
  242. }else if(isPopup() && (opener.javascript.getParameter("state") != "U" || isNull(opener.javascript.getParameter("PrcpLglyDis"))) ){
  243. //fChkReptYN();
  244. model.setValue("/root/main/lglydisinfo/info/state", opener.javascript.getParameter("state") );
  245. model.makeValue("/root/send/reqdata/pid", pid);
  246. model.makeValue("/root/send/reqdata/reptflag", model.getValue("/root/main/lglydisinfo/info/reptflag"));
  247. strRegtdt = "";
  248. if (submit("TRASI01502")){
  249. strRegtdt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt");
  250. }
  251. if( model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptyn") != "" && model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptyn") != null ){ //100616 이미 신고내용이 존재할 경우(기간 고려X - 기간 : Y, N)
  252. //messageBox(" 신고주기는 12개월이므로 재신고가 불가합니다 \n 해당 환자의 신고일은 " + strRegtdt ,"E008");
  253. //@@재호출 메시지 내용 변경
  254. //result = messageBox("신고주기는 12개월이므로 재신고가 불가합니다 \n 해당 환자의 신고일은 " + strRegtdt+ "입니다. \n \n수정", "S001");
  255. result = messageBox(strRegtdt.substring(0,4)+"년 "+strRegtdt.substring(4,6)+"월 "+strRegtdt.substring(6,8)+"일 "
  256. + "크로이츠펠트-야콥병 (으)로 전염병이 신고되어 있어 \n 신규 입력이 아니면 자료가 중복됩니다. \n 그래도 ", "Q003");
  257. //model.close();
  258. //return;
  259. } else { //신고 내용이 없다면
  260. result=6;
  261. }
  262. }
  263. model.makeValue("/root/send/reqdata/hardcdno", "9");
  264. model.makeValue("/root/send/reqdata/trgtcd", model.getValue("/root/main/lglydisinfo/info/reptflag"));
  265. // if(submit("TRASI03401", false) ){ //초기값 조회
  266. // model.copyNode("/root/send/reqdata", "/root/main/lglydisinfo/info");
  267. //
  268. // if(submit("TRASI01501", false) ) {//환자인적정보 조회
  269. if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
  270. // model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
  271. // model.setValue("/root/main/lglydisinfo/info/lglydiscd", model.getValue("/root/temp/initinfo/info/lglydiscd"));
  272. //
  273. model.refresh();
  274. //fCtrlEnableChk("rdo");
  275. //fCtrlEnableChk("rdo_chgrept");
  276. //fCtrlEnableChk("rdo_estminfcarea");
  277. fChkCnclYN();
  278. //fChgReptDisable();
  279. //@@
  280. fChgReptDisable(result);
  281. model.refresh();
  282. }
  283. // }
  284. // }
  285. }else{
  286. grp_btn.disabled = true;
  287. return;
  288. }
  289. return;
  290. ]]>
  291. </script>
  292. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  293. <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  294. <submission id="TRASI01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getlglydisinfo"/>
  295. <submission id="TRASI01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getreptdtinfo"/>
  296. <submission id="TRASI01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/tmplist"/>
  297. <submission id="TRASI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/initinfo"/>
  298. <submission id="TXASI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/getlglydisinfo"/>
  299. </model>
  300. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  301. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  302. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  303. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  304. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  305. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  306. <script type="javascript">
  307. <![CDATA[
  308. /*
  309. 초기화화면 버튼 클릭시
  310. */
  311. function fInit(){
  312. model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
  313. //값을 없애도록 수정..
  314. model.makeValue("/root/main/lglydisinfo/info/state", "");
  315. model.makeValue("/root/main/lglydisinfo/info/wrtedt", "");
  316. model.makeValue("/root/main/lglydisinfo/info/seqno", "");
  317. model.makeValue("/root/main/lglydisinfo/info/attackdd", "");
  318. model.makeValue("/root/main/lglydisinfo/info/diagdd", "");
  319. model.makeValue("/root/main/lglydisinfo/info/patflag", "");
  320. model.makeValue("/root/main/lglydisinfo/info/patflag2", "");
  321. model.makeValue("/root/main/lglydisinfo/info/dethflag", "");
  322. model.makeValue("/root/main/lglydisinfo/info/dethdd", "");
  323. model.makeValue("/root/main/lglydisinfo/info/lglykindcd", "");
  324. model.makeValue("/root/main/lglydisinfo/info/tisstestlag", "");
  325. model.makeValue("/root/main/lglydisinfo/info/testpartcd", "");
  326. model.makeValue("/root/main/lglydisinfo/info/testpartremcnts", "");
  327. model.makeValue("/root/main/lglydisinfo/info/testmthdcd", "");
  328. model.makeValue("/root/main/lglydisinfo/info/plaqflagcd", "");
  329. model.makeValue("/root/main/lglydisinfo/info/brwavetestflag", "");
  330. model.makeValue("/root/main/lglydisinfo/info/brwavetestcnts", "");
  331. model.makeValue("/root/main/lglydisinfo/info/raytestflag", "");
  332. model.makeValue("/root/main/lglydisinfo/info/raytestcnts", "");
  333. model.makeValue("/root/main/lglydisinfo/info/crbrfldtestflag", "");
  334. model.makeValue("/root/main/lglydisinfo/info/crbrfldtestcnts", "");
  335. model.makeValue("/root/main/lglydisinfo/info/prnpagenetestflag", "");
  336. model.makeValue("/root/main/lglydisinfo/info/codonnm", "");
  337. model.makeValue("/root/main/lglydisinfo/info/codonflag", "");
  338. model.makeValue("/root/main/lglydisinfo/info/codonflag2", "");
  339. model.makeValue("/root/main/lglydisinfo/info/codoncnts", "");
  340. model.makeValue("/root/main/lglydisinfo/info/etcnts1", "");
  341. model.makeValue("/root/main/lglydisinfo/info/lglydiscnts", "");
  342. model.makeValue("/root/main/lglydisinfo/info/dngrcascd", "");
  343. model.makeValue("/root/main/lglydisinfo/info/dngrcasremcnts", "");
  344. model.makeValue("/root/main/lglydisinfo/info/estminfcareacd", "");
  345. model.makeValue("/root/main/lglydisinfo/info/etcnts2", "");
  346. model.makeValue("/root/main/lglydisinfo/info/ecntrytodd", "");
  347. model.makeValue("/root/main/lglydisinfo/info/ecntrydd", "");
  348. model.makeValue("/root/main/lglydisinfo/info/stayterm", "");
  349. model.makeValue("/root/main/lglydisinfo/info/staytermday", "");
  350. model.makeValue("/root/main/lglydisinfo/info/infcnts", "");
  351. //fCtrlEnableChk("rdo");
  352. //fCtrlEnableChk("rdo_chgrept");
  353. //fCtrlEnableChk("rdo_estminfcarea");
  354. }
  355. /*
  356. 삭제된건은 조회만 가능
  357. */
  358. function fChkCnclYN(){
  359. if(model.getValue("/root/main/lglydisinfo/info/cnclyn") == "Y" && opener.javascript.getParameter("state") == "S" ){
  360. messageBox("삭제된 신고서", "I009"); //메세지 추가 (2009.11.13 JJE)
  361. grp_btn.disabled = true;
  362. }
  363. }
  364. /*
  365. 신고대상자조회화면에서 state="S",
  366. 진단에서 state="I",
  367. 퇴원시 1군, 일본뇌염 이고 법정전염병신고서가 작성되어 있을경우 state="U"
  368. 메뉴에서 상단환자정보를 가지고 조회해서 법정전염병 신고서가 작성되어 있고 전염병이 1군, 일본뇌염이 존재시 state="U"
  369. 상태에 따라 입력가능여부 처리
  370. */
  371. //function fChgReptDisable(){
  372. //@@
  373. function fChgReptDisable(result){
  374. //grp_chg.disabled = true;
  375. if( isPopup() ){
  376. var strState = opener.javascript.getParameter("state");
  377. var menuParam = opener.javascript.getParameter("menuparam");
  378. }else {
  379. var strState = "I";
  380. }
  381. //(start) 수정 상태 셋팅 추가, 수정 및 삭제를 가능하도록 하기 위함 (2009.11.03 JJE)
  382. var chkWrtedt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt");
  383. var chkReptdt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt");
  384. if(!isNull(chkWrtedt)) chkWrtedt = chkWrtedt.substring(0, 8);
  385. if(!isNull(chkReptdt)) chkReptdt = chkReptdt.substring(0, 8);
  386. if(!isNull(chkWrtedt) && chkWrtedt != "99991231" && !isNull(chkReptdt) && chkReptdt == "99991231" && isNull(strState)){
  387. var strState = "U"; //작성은 됐고, 출력(신고)는 안한 상태
  388. }
  389. //(end) 수정 상태 셋팅 끝
  390. //100622 진료 처방저장 시(작성은 됐고, 출력(신고)는 안한 상태 와 상관없음) -- 정리 필요
  391. if (opener.javascript.getParameter("PrcpLglyDis") != null && opener.javascript.getParameter("PrcpLglyDis") == "PrcpLglyDis" ) strState = "I";
  392. if(isPopup() && strState == "U" ){
  393. //@@
  394. if(result == "6"){
  395. grp_main.disabled = false;
  396. btn_save.disabled = false; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
  397. btn_init.disabled = false; //추가 2009.11.13 JJE
  398. btn_cncl.disabled = true; //추가 2009.11.13 JJE
  399. fInit();
  400. }else{
  401. grp_main.disabled = true;
  402. btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
  403. btn_init.disabled = true; //추가 2009.11.13 JJE
  404. btn_cncl.disabled = false; //추가 2009.11.13 JJE
  405. }
  406. // grp_main.disabled = true;
  407. // //grp_chg.disabled = false;
  408. // btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
  409. // btn_init.disabled = true; //추가 2009.11.13 JJE
  410. // btn_cncl.disabled = false; //추가 2009.11.13 JJE
  411. return;
  412. }else if(isPopup() && strState == "S" ){
  413. if(menuParam != "" && !isNull(menuParam)){
  414. //진료메뉴에서 호출시.
  415. if(opener.javascript.getParameter("DisabledChk")=="Y"){ //삭제된 신고서
  416. grp_main.disabled = true;
  417. btn_save.disabled = true;
  418. btn_init.disabled = true;
  419. btn_cncl.disabled = true;
  420. }else{
  421. grp_main.disabled = false;
  422. btn_save.disabled = false;
  423. btn_init.disabled = false;
  424. btn_cncl.disabled = false;
  425. }
  426. }else{
  427. //진료와 감염관리실 이외의 사용자일 경우 삭제버튼 불활성화 않음.
  428. if(opener.javascript.getParameter("LglyDeptChk")=="N"){
  429. btn_cncl.disabled=true;
  430. }else{
  431. btn_cncl.disabled=false;
  432. }
  433. grp_main.disabled = true;
  434. //grp_chg.disabled = true;
  435. //grp_btn.disabled = true;
  436. btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
  437. btn_init.disabled = true; //추가 2009.11.13 JJE
  438. //btn_cncl.disabled = false; //추가 2009.11.13 JJE
  439. }
  440. return;
  441. }else if(isPopup() && strState != "U" ){
  442. if(result == "6"){
  443. grp_main.disabled = false;
  444. btn_save.disabled = false; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
  445. btn_init.disabled = false; //추가 2009.11.13 JJE
  446. btn_cncl.disabled = true; //추가 2009.11.13 JJE
  447. fInit();
  448. }else{
  449. grp_main.disabled = true;
  450. btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
  451. btn_init.disabled = true; //추가 2009.11.13 JJE
  452. btn_cncl.disabled = false; //추가 2009.11.13 JJE
  453. }
  454. return;
  455. }
  456. }
  457. function fCtrlEnableChk(pControlID){
  458. if (pControlID == "rdo") { //전염병 선택
  459. var sInfecd = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
  460. /*
  461. if (sInfecd == "499") {
  462. ipt_newbacsymp.disabled = false;
  463. model.setFocus("ipt_newbacsymp");
  464. } else {
  465. ipt_newbacsymp.disabled = true;
  466. model.setValue("/root/main/lglydisinfo/info/grup4lglydisnewsymp", "");
  467. model.refresh();
  468. }
  469. if (sInfecd == "999") {
  470. model.setFocus("btn_apntlglydisnm");
  471. } else {
  472. model.setValue("/root/main/lglydisinfo/info/apntlglydisnm", "");
  473. model.refresh();
  474. }
  475. */
  476. } else if (pControlID == "rdo_estminfcarea") { // 추정감염지역
  477. if (model.getValue("/root/main/lglydisinfo/info/estminfcarea") == "O") {
  478. cmb_estminfcareanaticd.disabled = false;
  479. ipt_estminfcareastayterm.disabled = false;
  480. model.setFocus("cmb_2");
  481. } else {
  482. cmb_estminfcareanaticd.disabled = true;
  483. ipt_estminfcareastayterm.disabled = true;
  484. model.setValue("/root/main/lglydisinfo/info/estminfcareanaticd", "");
  485. model.setValue("/root/main/lglydisinfo/info/estminfcareastayterm", "");
  486. model.refresh();
  487. }
  488. }
  489. }
  490. /*
  491. * 신고된 신고서가 있는지 check
  492. */
  493. function fChkReptYN() {
  494. var diagList = instance1.selectNodes("/root/diaginfo/diagcdlist");
  495. var diagcd = "";
  496. var statcd = "";
  497. if(diagList.length > 0 ) {
  498. for(var i=0 ; i< diagList.length ; i++) {
  499. status = model.getValue("/root/diaginfo/diagcdlist["+ i +"]/status");
  500. if(status == "I" || status == "U" || status == "-") {
  501. diagcd += model.getValue("/root/diaginfo/diagcdlist["+ i +"]/diagcd").substr(0,4) + "▦"; //확장코드 자르기
  502. statcd += model.getValue("/root/diaginfo/diagcdlist["+ i +"]/status") + "▦";
  503. }
  504. }
  505. }
  506. if(diagcd != "") {
  507. model.removeNodeset("/root/send/reqdata");
  508. model.makeValue("/root/send/reqdata/diagcd", diagcd);
  509. model.makeValue("/root/send/reqdata/status", statcd);
  510. model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/lglydisinfo/info/pid"));
  511. model.makeValue("/root/send/reqdata/reptflag", "06");
  512. if(submit("TRASI01503", false)) {
  513. if(model.getValue("/root/temp/tmplist/tmplist/wc") == "Y") {
  514. model.close();
  515. return;
  516. }
  517. }
  518. }
  519. }
  520. ]]>
  521. </script>
  522. </xhtml:head>
  523. <xhtml:body pagewidth="772" pageheight="800" guideline="1,748;" style="margin-left:8; margin-right:8; ">
  524. <group id="grp_tle" style="left:0px; top:0px; width:756; height:13px; ">
  525. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:371px; height:14px; ">크로이츠펠트-야콥병 신고서</caption>
  526. </group>
  527. <line id="line2" class="line_1" style="x1:0px; y1:-19px; x2:750px; y2:-18px; "/>
  528. <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:755px; height:755px; ">
  529. <line id="line4" class="line_1" style="x1:0px; y1:-19px; x2:750px; y2:-18px; "/>
  530. <caption id="caption14" class="cell_1" style="left:0px; top:6px; width:100px; height:23px; vertical-align:middle; ">환자 성명</caption>
  531. <caption id="caption15" class="cell_1" style="left:0px; top:32px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  532. <output id="output1" ref="/root/main/lglydisinfo/info/zipcd1" class="output_fix" style="left:103px; top:58px; width:48px; height:19px; "/>
  533. <output id="output2" ref="/root/main/lglydisinfo/info/cntcaddr1" class="output_fix" style="left:102px; top:82px; width:645px; height:19px; "/>
  534. <output id="output3" ref="/root/main/lglydisinfo/info/zipcd2" class="output_fix" style="left:174px; top:58px; width:48px; height:19px; "/>
  535. <caption id="caption16" class="cell_1" style="left:216px; top:7px; width:68px; height:23px; vertical-align:middle; ">성별</caption>
  536. <output id="output4" ref="/root/main/lglydisinfo/info/patnm" class="output_fix" style="left:103px; top:8px; width:110px; height:19px; "/>
  537. <output id="output5" ref="/root/main/lglydisinfo/info/rgstno" class="output_fix" style="left:103px; top:34px; width:80px; height:19px; "/>
  538. <output id="output6" ref="/root/main/lglydisinfo/info/rgstno2" class="output_fix" style="left:203px; top:34px; width:80px; height:19px; "/>
  539. <caption id="caption17" class="search_no_b" style="left:187px; top:33px; width:12px; height:17px; ">-</caption>
  540. <caption id="caption18" class="search_no_b" style="left:156px; top:58px; width:12px; height:17px; ">-</caption>
  541. <caption id="caption19" class="cell_1" style="left:0px; top:562px; width:100px; height:122px; text-align:left; vertical-align:middle; ">
  542. <![CDATA[추정감염지역
  543. 및 위험지역]]>
  544. </caption>
  545. <caption id="caption20" class="cell_1" style="left:0px; top:521px; width:100px; height:40px; vertical-align:middle; ">
  546. <![CDATA[질병분류
  547. 관련소견]]>
  548. </caption>
  549. <caption id="caption21" class="cell_1" style="left:101px; top:563px; width:167px; height:82px; vertical-align:middle; ">위험요인</caption>
  550. <caption id="caption22" class="cell_1" style="left:0px; top:685px; width:100px; height:65px; vertical-align:middle; ">
  551. <![CDATA[양성위험요인에
  552. 대한 구체적소견]]>
  553. </caption>
  554. <caption id="caption25" class="cell_1" style="left:0px; top:56px; width:100px; height:48px; vertical-align:middle; ">주소 및 전화번호</caption>
  555. <caption id="caption26" class="cell_1" style="left:0px; top:105px; width:100px; height:23px; vertical-align:middle; ">발병일</caption>
  556. <caption id="caption27" class="cell_1" style="left:0px; top:130px; width:100px; height:44px; vertical-align:middle; ">환자분류</caption>
  557. <caption id="caption28" class="cell_1" style="left:0px; top:175px; width:100px; height:76px; vertical-align:middle; ">질병분류</caption>
  558. <caption id="caption29" class="cell_1" style="left:0px; top:253px; width:100px; height:267px; vertical-align:middle; ">검사소견</caption>
  559. <caption id="caption30" class="cell_1" style="left:101px; top:252px; width:243px; height:23px; text-align:center; vertical-align:middle; ">검사방법</caption>
  560. <line id="line5" class="line_1" style="x1:0px; y1:2px; x2:750px; y2:2px; "/>
  561. <line id="line6" class="line_2" style="x1:0px; y1:30px; x2:750px; y2:30px; "/>
  562. <line id="line7" class="line_2" style="x1:0px; y1:54px; x2:750px; y2:54px; "/>
  563. <line id="line8" class="line_2" style="x1:100px; y1:79px; x2:750px; y2:78px; "/>
  564. <line id="line9" class="line_2" style="x1:0px; y1:128px; x2:750px; y2:128px; "/>
  565. <line id="line10" class="line_2" style="x1:0px; y1:175px; x2:750px; y2:175px; "/>
  566. <line id="line11" class="line_2" style="x1:0px; y1:251px; x2:750px; y2:251px; "/>
  567. <line id="line12" class="line_2" style="x1:5px; y1:560px; x2:755px; y2:560px; "/>
  568. <caption id="caption35" class="cell_1" style="left:415px; top:7px; width:70px; height:23px; vertical-align:middle; ">연령</caption>
  569. <caption id="caption37" class="cell_1" style="left:570px; top:6px; width:65px; height:23px; vertical-align:middle; ">직업</caption>
  570. <caption id="caption38" class="cell_1" style="left:286px; top:33px; width:199px; height:23px; vertical-align:middle; ">보호자성명( 만 19세 미만인 경우)</caption>
  571. <input id="input6" ref="/root/main/lglydisinfo/info/procernm" class="ipt__default" style="left:487px; top:34px; width:170px; height:19px; "/>
  572. <caption id="caption44" class="cell_1" style="left:286px; top:56px; width:59px; height:23px; vertical-align:middle; ">전화번호</caption>
  573. <select1 id="radio1" ref="/root/main/lglydisinfo/info/sexflag" disabled="true" appearance="full" cellspacing="30" cols="2" vcellspacing="5" overflow="visible" style="left:287px; top:8px; width:125px; height:20px; border-style:none; ">
  574. <choices>
  575. <item>
  576. <label>남</label>
  577. <value>M</value>
  578. </item>
  579. <item>
  580. <label>여</label>
  581. <value>F</value>
  582. </item>
  583. </choices>
  584. </select1>
  585. <input id="input7" ref="/root/main/lglydisinfo/info/age" class="ipt__default" disabled="true" style="left:515px; top:8px; width:35px; height:19px; text-align:right; "/>
  586. <output id="output7" ref="/root/main/lglydisinfo/info/tel" class="output_fix" style="left:347px; top:58px; width:138px; height:19px; "/>
  587. <select1 id="combo1" ref="/root/main/lglydisinfo/info/jobcd" class="cmb__default" appearance="minimal" style="left:637px; top:8px; width:110px; height:19px; ">
  588. <choices>
  589. <itemset nodeset="/root/init/M0149list/M0149">
  590. <label ref="cdnm"/>
  591. <value ref="cdid"/>
  592. </itemset>
  593. </choices>
  594. <script id="script1" type="javascript" ev:event="xforms-value-changed">
  595. <![CDATA[
  596. //fCtrlEnableChk("rdo");
  597. ]]>
  598. </script>
  599. </select1>
  600. <caption id="caption54" style="left:500px; top:11px; width:25px; height:15px; ">만</caption>
  601. <caption id="caption57" style="left:540px; top:11px; width:25px; height:15px; text-align:right; vertical-align:middle; ">세</caption>
  602. <line id="line22" class="line_2" style="x1:0px; y1:103px; x2:750px; y2:103px; "/>
  603. <caption id="caption58" class="cell_1" style="left:380px; top:105px; width:100px; height:23px; vertical-align:middle; ">진단일</caption>
  604. <caption id="caption59" style="left:170px; top:150px; width:10px; height:25px; ">[</caption>
  605. <caption id="caption60" style="left:405px; top:150px; width:10px; height:25px; ">]</caption>
  606. <caption id="caption61" class="cell_1" style="left:420px; top:130px; width:60px; height:44px; vertical-align:middle; ">현상태</caption>
  607. <line id="line30" class="line_2" style="x1:490px; y1:152px; x2:755px; y2:152px; "/>
  608. <caption id="caption62" style="left:484px; top:153px; width:45px; height:20px; ">사망일</caption>
  609. <input id="input10" ref="/root/main/lglydisinfo/info/dethdd" navindex="20" inputtype="date" style="left:530px; top:154px; width:217px; height:19px; "/>
  610. <select id="checkbox4" ref="/root/main/lglydisinfo/info/lglykindcd" navindex="21" overflow="visible" appearance="full" cellspacing="150" cols="2" sep="," vcellspacing="5" style="left:102px; top:177px; width:645px; height:75px; border-style:none; ">
  611. <choices>
  612. <itemset nodeset="/root/init/A0633list/A0633">
  613. <label ref="cdnm"/>
  614. <value ref="cdid"/>
  615. </itemset>
  616. </choices>
  617. </select>
  618. <caption id="caption12" class="cell_1" style="left:346px; top:252px; width:401px; height:23px; text-align:center; vertical-align:middle; ">검 사 결 과</caption>
  619. <line id="line13" class="line_2" style="x1:345px; y1:252px; x2:345px; y2:542px; "/>
  620. <line id="line21" class="line_2" style="x1:100px; y1:343px; x2:750px; y2:343px; "/>
  621. <line id="line38" class="line_2" style="x1:345px; y1:298px; x2:750px; y2:298px; "/>
  622. <caption id="caption23" style="left:345px; top:278px; width:85px; height:20px; text-align:center; ">부위</caption>
  623. <caption id="caption24" style="left:345px; top:301px; width:85px; height:20px; text-align:center; ">방법</caption>
  624. <line id="line39" class="line_2" style="x1:345px; y1:321px; x2:750px; y2:321px; "/>
  625. <caption id="caption33" style="left:345px; top:324px; width:85px; height:20px; text-align:center; ">양상</caption>
  626. <line id="line40" class="line_2" style="x1:430px; y1:276px; x2:430px; y2:343px; "/>
  627. <select id="checkbox6" ref="/root/main/lglydisinfo/info/testpartcd" navindex="20" overflow="visible" appearance="full" cellspacing="32" cols="3" sep="," style="left:440px; top:278px; width:195px; height:20px; border-style:none; ">
  628. <choices>
  629. <itemset nodeset="/root/init/A0620list/A0620">
  630. <label ref="cdnm"/>
  631. <value ref="cdid"/>
  632. </itemset>
  633. </choices>
  634. </select>
  635. <caption id="caption34" style="left:635px; top:276px; width:10px; height:25px; ">(</caption>
  636. <caption id="caption63" style="left:740px; top:276px; width:10px; height:25px; ">)</caption>
  637. <input id="input3" ref="/root/main/lglydisinfo/info/testpartremcnts" style="left:645px; top:278px; width:95px; height:19px; "/>
  638. <select id="checkbox7" ref="/root/main/lglydisinfo/info/testmthdcd" navindex="24" overflow="visible" appearance="full" cellspacing="42" cols="2" sep="," style="left:440px; top:300px; width:285px; height:20px; vertical-align:bottom; border-style:none; ">
  639. <choices>
  640. <itemset nodeset="/root/init/A0621list/A0621">
  641. <label ref="cdnm"/>
  642. <value ref="cdid"/>
  643. </itemset>
  644. </choices>
  645. </select>
  646. <select id="checkbox8" ref="/root/main/lglydisinfo/info/plaqflagcd" dropmode="25" overflow="visible" appearance="full" cellspacing="30" cols="2" sep="," style="left:440px; top:324px; width:300px; height:20px; vertical-align:bottom; border-style:none; ">
  647. <choices>
  648. <itemset nodeset="/root/init/A0622list/A0622">
  649. <label ref="cdnm"/>
  650. <value ref="cdid"/>
  651. </itemset>
  652. </choices>
  653. </select>
  654. <caption id="caption64" style="left:130px; top:301px; width:60px; height:20px; ">조직 검사</caption>
  655. <caption id="caption65" style="left:215px; top:301px; width:10px; height:20px; ">(</caption>
  656. <caption id="caption66" style="left:300px; top:301px; width:10px; height:20px; ">)</caption>
  657. <caption id="caption70" style="left:130px; top:343px; width:60px; height:20px; ">뇌파검사</caption>
  658. <caption id="caption71" style="left:215px; top:343px; width:10px; height:20px; ">(</caption>
  659. <caption id="caption72" style="left:300px; top:343px; width:10px; height:20px; ">)</caption>
  660. <caption id="caption73" style="left:130px; top:365px; width:78px; height:20px; ">방사선학 검사</caption>
  661. <caption id="caption74" style="left:215px; top:365px; width:10px; height:20px; ">(</caption>
  662. <caption id="caption75" style="left:300px; top:365px; width:10px; height:20px; ">)</caption>
  663. <caption id="caption76" style="left:130px; top:387px; width:78px; height:20px; ">뇌척수액 검사</caption>
  664. <caption id="caption77" style="left:215px; top:387px; width:10px; height:20px; ">(</caption>
  665. <caption id="caption78" style="left:300px; top:387px; width:10px; height:20px; ">)</caption>
  666. <line id="line14" class="line_2" style="x1:100px; y1:364px; x2:750px; y2:364px; "/>
  667. <line id="line17" class="line_2" style="x1:100px; y1:386px; x2:750px; y2:386px; "/>
  668. <line id="line42" class="line_2" style="x1:100px; y1:408px; x2:750px; y2:408px; "/>
  669. <line id="line43" class="line_2" style="x1:345px; y1:430px; x2:750px; y2:430px; "/>
  670. <line id="line15" class="line_2" style="x1:345px; y1:452px; x2:750px; y2:452px; "/>
  671. <line id="line45" class="line_2" style="x1:100px; y1:496px; x2:750px; y2:496px; "/>
  672. <line id="line46" class="line_2" style="x1:0px; y1:519px; x2:750px; y2:519px; "/>
  673. <caption id="caption80" style="left:130px; top:454px; width:10px; height:20px; ">(</caption>
  674. <caption id="caption81" style="left:215px; top:454px; width:10px; height:20px; ">)</caption>
  675. <caption id="caption82" class="cell_1" style="left:101px; top:496px; width:243px; height:23px; text-align:left; vertical-align:middle; ">기타검사소견</caption>
  676. <caption id="caption83" style="left:505px; top:407px; width:10px; height:25px; ">)</caption>
  677. <caption id="caption84" style="left:400px; top:407px; width:10px; height:25px; ">(</caption>
  678. <input id="input4" ref="/root/main/lglydisinfo/info/codonnm" navindex="32" style="left:409px; top:410px; width:95px; height:19px; "/>
  679. <caption id="caption85" style="left:635px; top:476px; width:10px; height:25px; ">)</caption>
  680. <caption id="caption86" style="left:360px; top:476px; width:31px; height:25px; ">기타(</caption>
  681. <input id="input5" ref="/root/main/lglydisinfo/info/codoncnts" navindex="34" style="left:395px; top:478px; width:240px; height:19px; "/>
  682. <caption id="caption13" style="left:360px; top:410px; width:60px; height:20px; ">코오론</caption>
  683. <caption id="caption87" style="left:525px; top:409px; width:60px; height:20px; ">돌연변이</caption>
  684. <caption id="caption88" style="left:360px; top:431px; width:93px; height:20px; ">코오론129 다형 (</caption>
  685. <select id="checkbox15" ref="/root/main/lglydisinfo/info/codonflag" navindex="33" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="," style="left:455px; top:432px; width:180px; height:20px; vertical-align:bottom; border-style:none; ">
  686. <choices>
  687. <itemset nodeset="/root/init/A0623list/A0623">
  688. <label ref="cdnm"/>
  689. <value ref="cdid"/>
  690. </itemset>
  691. </choices>
  692. </select>
  693. <caption id="caption90" style="left:636px; top:431px; width:10px; height:25px; ">)</caption>
  694. <select id="checkbox17" ref="/root/main/lglydisinfo/info/dngrcascd" navindex="37" overflow="visible" appearance="full" cellspacing="60" cols="2" sep="," style="left:270px; top:562px; width:477px; height:85px; border-style:none; ">
  695. <choices>
  696. <itemset nodeset="/root/init/A0627list/A0627">
  697. <label ref="cdnm"/>
  698. <value ref="cdid"/>
  699. </itemset>
  700. </choices>
  701. </select>
  702. <line id="line47" class="line_2" style="x1:269px; y1:563px; x2:269px; y2:674px; "/>
  703. <caption id="caption92" style="left:130px; top:434px; width:126px; height:20px; ">PRNP 유전자 돌연변이</caption>
  704. <line id="line48" class="line_2" style="x1:100px; y1:644px; x2:755px; y2:644px; "/>
  705. <caption id="caption93" style="left:710px; top:643px; width:10px; height:25px; ">)</caption>
  706. <caption id="caption94" style="left:363px; top:667px; width:92px; height:20px; ">(여행/거주시기</caption>
  707. <caption id="caption95" style="left:727px; top:666px; width:20px; height:20px; ">일)</caption>
  708. <caption id="caption96" class="cell_1" style="left:101px; top:646px; width:167px; height:38px; vertical-align:middle; ">
  709. <![CDATA[최근 30년간
  710. 해외여행 / 거주 여부]]>
  711. </caption>
  712. <line id="line49" class="line_2" style="x1:0px; y1:683px; x2:750px; y2:683px; "/>
  713. <textarea id="textarea1" ref="/root/main/lglydisinfo/info/infcnts" navindex="43" style="left:102px; top:686px; width:645px; height:63px; "/>
  714. <line id="line51" class="line_3" visibility="hidden" style="x1:0px; y1:750px; x2:750px; y2:750px; "/>
  715. <input id="input13" ref="/root/main/lglydisinfo/info/dngrcasremcnts" style="left:588px; top:625px; width:149px; height:19px; "/>
  716. <textarea id="textarea2" ref="/root/main/lglydisinfo/info/lglydiscnts" navindex="36" style="left:102px; top:524px; width:645px; height:35px; "/>
  717. <input id="input14" ref="/root/main/lglydisinfo/info/etcnts1" navindex="35" style="left:349px; top:499px; width:398px; height:19px; "/>
  718. <input id="input16" ref="/root/main/lglydisinfo/info/raytestcnts" navindex="29" style="left:350px; top:366px; width:397px; height:19px; "/>
  719. <input id="input17" ref="/root/main/lglydisinfo/info/crbrfldtestcnts" navindex="31" style="left:350px; top:387px; width:397px; height:19px; "/>
  720. <input id="input18" ref="/root/main/lglydisinfo/info/brwavetestcnts" navindex="27" style="left:350px; top:345px; width:397px; height:19px; "/>
  721. <caption id="caption79" style="left:737px; top:620px; width:10px; height:25px; ">)</caption>
  722. <caption id="caption91" style="left:580px; top:620px; width:10px; height:25px; ">(</caption>
  723. <select id="checkbox5" ref="/root/main/lglydisinfo/info/codonflag2" navindex="33" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="," style="left:455px; top:456px; width:180px; height:20px; vertical-align:bottom; border-style:none; ">
  724. <choices>
  725. <itemset nodeset="/root/init/A0634list/A0634">
  726. <label ref="cdnm"/>
  727. <value ref="cdid"/>
  728. </itemset>
  729. </choices>
  730. </select>
  731. <caption id="caption67" style="left:360px; top:455px; width:93px; height:20px; ">코오론219 다형 (</caption>
  732. <line id="line37" class="line_2" style="x1:345px; y1:476px; x2:750px; y2:476px; "/>
  733. <caption id="caption68" style="left:636px; top:455px; width:10px; height:25px; ">)</caption>
  734. <select1 id="radio2" ref="/root/main/lglydisinfo/info/dethflag" navindex="19" appearance="full" cols="5" overflow="visible" style="left:480px; top:132px; width:268px; height:20px; border-style:none; ">
  735. <choices>
  736. <itemset nodeset="/root/init/A0624list/A0624">
  737. <label ref="cdnm"/>
  738. <value ref="cdid"/>
  739. </itemset>
  740. </choices>
  741. <script type="javascript" ev:event="xforms-value-changed">
  742. <![CDATA[
  743. if( model.getValue("/root/main/lglydisinfo/info/dethflag") != "04" ) input10.disabled = true;
  744. else input10.disabled = false;
  745. ]]>
  746. </script>
  747. </select1>
  748. <select1 id="radio3" ref="/root/main/lglydisinfo/info/patflag" navindex="17" appearance="full" rows="1" vcellspacing="5" overflow="visible" style="left:102px; top:130px; width:70px; height:45px; border-style:none; ">
  749. <choices>
  750. <itemset nodeset="/root/init/A0625list/A0625">
  751. <label ref="cdnm"/>
  752. <value ref="cdid"/>
  753. </itemset>
  754. </choices>
  755. <script type="javascript" ev:event="xforms-value-changed">
  756. <![CDATA[
  757. if( model.getValue("/root/main/lglydisinfo/info/patflag") == "1" ) radio4.disabled = true;
  758. else radio4.disabled = false;
  759. ]]>
  760. </script>
  761. </select1>
  762. <select1 id="radio4" ref="/root/main/lglydisinfo/info/patflag2" navindex="18" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:177px; top:154px; width:235px; height:20px; border-style:none; ">
  763. <choices>
  764. <itemset nodeset="/root/init/A0626list/A0626">
  765. <label ref="cdnm"/>
  766. <value ref="cdid"/>
  767. </itemset>
  768. </choices>
  769. </select1>
  770. <select1 id="radio5" ref="/root/main/lglydisinfo/info/tisstestlag" navindex="22" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:225px; top:302px; width:75px; height:20px; border-style:none; ">
  771. <choices>
  772. <item>
  773. <label>유</label>
  774. <value>Y</value>
  775. </item>
  776. <item>
  777. <label>무</label>
  778. <value>N</value>
  779. </item>
  780. </choices>
  781. </select1>
  782. <select1 id="radio6" ref="/root/main/lglydisinfo/info/prnpagenetestflag" navindex="31" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:137px; top:455px; width:75px; height:20px; border-style:none; ">
  783. <choices>
  784. <item>
  785. <label>유</label>
  786. <value>Y</value>
  787. </item>
  788. <item>
  789. <label>무</label>
  790. <value>N</value>
  791. </item>
  792. </choices>
  793. </select1>
  794. <select1 id="radio7" ref="/root/main/lglydisinfo/info/brwavetestflag" navindex="26" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:225px; top:345px; width:75px; height:20px; border-style:none; ">
  795. <choices>
  796. <item>
  797. <label>유</label>
  798. <value>Y</value>
  799. </item>
  800. <item>
  801. <label>무</label>
  802. <value>N</value>
  803. </item>
  804. </choices>
  805. </select1>
  806. <select1 id="radio8" ref="/root/main/lglydisinfo/info/raytestflag" navindex="28" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:225px; top:367px; width:75px; height:20px; border-style:none; ">
  807. <choices>
  808. <item>
  809. <label>유</label>
  810. <value>Y</value>
  811. </item>
  812. <item>
  813. <label>무</label>
  814. <value>N</value>
  815. </item>
  816. </choices>
  817. </select1>
  818. <select1 id="radio9" ref="/root/main/lglydisinfo/info/crbrfldtestflag" navindex="30" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:225px; top:387px; width:75px; height:20px; border-style:none; ">
  819. <choices>
  820. <item>
  821. <label>유</label>
  822. <value>Y</value>
  823. </item>
  824. <item>
  825. <label>무</label>
  826. <value>N</value>
  827. </item>
  828. </choices>
  829. </select1>
  830. <select1 id="radio10" ref="/root/main/lglydisinfo/info/estminfcareacd" navindex="38" appearance="full" cellspacing="5" cols="2" vcellspacing="2" overflow="visible" style="left:270px; top:648px; width:477px; height:20px; border-style:none; ">
  831. <choices>
  832. <item>
  833. <label>없음</label>
  834. <value>H</value>
  835. </item>
  836. <item>
  837. <label>있음 (여행/거주지역</label>
  838. <value>O</value>
  839. </item>
  840. </choices>
  841. <script type="javascript" ev:event="xforms-value-changed">
  842. <![CDATA[
  843. if( model.getValue("/root/main/lglydisinfo/info/estminfcareacd") == "H" ) {
  844. input11.disabled = true;
  845. ipt_ecntrydd.disabled = true;
  846. ipt_stayterm.disabled = true;
  847. ipt_staytermday.disabled = true;
  848. model.setValue("/root/main/lglydisinfo/info/etcnts2", "");
  849. model.setValue("/root/main/lglydisinfo/info/ecntrydd", "");
  850. model.setValue("/root/main/lglydisinfo/info/stayterm", "");
  851. model.setValue("/root/main/lglydisinfo/info/staytermday", "");
  852. } else {
  853. input11.disabled = false;
  854. ipt_ecntrydd.disabled = false;
  855. ipt_stayterm.disabled = false;
  856. ipt_staytermday.disabled = false;
  857. }
  858. model.refresh();
  859. ]]>
  860. </script>
  861. </select1>
  862. <input id="ipt_attackdd" ref="/root/main/lglydisinfo/info/attackdd" navindex="15" inputtype="date" format="yyyy-mm-dd" style="left:102px; top:107px; width:275px; height:19px; "/>
  863. <input id="ipt_diagdd" ref="/root/main/lglydisinfo/info/diagdd" navindex="16" inputtype="date" format="yyyy-mm-dd" style="left:482px; top:107px; width:265px; height:19px; "/>
  864. <input id="ipt_stayterm" ref="/root/main/lglydisinfo/info/stayterm" navindex="41" visibility="visible" format="#,###" style="left:643px; top:666px; width:28px; height:19px; "/>
  865. <input id="ipt_staytermday" ref="/root/main/lglydisinfo/info/staytermday" navindex="42" visibility="visible" format="99" style="left:698px; top:666px; width:28px; height:19px; "/>
  866. <input id="ipt_ecntrydd" ref="/root/main/lglydisinfo/info/ecntrydd" navindex="40" inputtype="date" style="left:495px; top:666px; width:91px; height:19px; "/>
  867. <input id="ipt_ecntrytodd" ref="/root/main/lglydisinfo/info/ecntrytodd" navindex="40" visibility="hidden" style="left:320px; top:665px; width:35px; height:19px; "/>
  868. <caption id="caption1" style="left:455px; top:667px; width:45px; height:20px; ">입국일:</caption>
  869. <caption id="caption2" style="left:587px; top:667px; width:54px; height:20px; ">체류기간:</caption>
  870. <caption id="caption3" style="left:671px; top:667px; width:30px; height:20px; ">개월</caption>
  871. <select id="chk_residncflag" ref="/root/main/lglydisinfo/info/residncflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:488px; top:59px; width:86px; height:20px; border-style:none; ">
  872. <choices>
  873. <item>
  874. <label>거주지 불명</label>
  875. <value>Y</value>
  876. </item>
  877. </choices>
  878. </select>
  879. <select id="chk_idflag" ref="/root/main/lglydisinfo/info/idflag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:579px; top:59px; width:86px; height:20px; border-style:none; ">
  880. <choices>
  881. <item>
  882. <label>신원미상</label>
  883. <value>Y</value>
  884. </item>
  885. </choices>
  886. </select>
  887. <input id="input11" ref="/root/main/lglydisinfo/info/etcnts2" navindex="39" style="left:495px; top:646px; width:205px; height:19px; "/>
  888. </group>
  889. <group id="grp_btn" style="left:0px; top:770px; width:756px; height:27px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  890. <button id="btn_save" class="btn4_letter2" style="left:570px; top:3px; width:56px; height:22px; ">
  891. <caption>저장</caption>
  892. <script type="javascript" ev:event="DOMActivate">
  893. <![CDATA[
  894. model.removeNodeset("/root/send");
  895. model.makeNode("/root/send/savedata");
  896. if( isRequiredControls("ipt_attackdd","ipt_diagdd") == false ) {
  897. return;
  898. }
  899. if( isNull(model.getValue("/root/main/lglydisinfo/info/lglydiscd")) ){
  900. //messageBox("전염병은", "I003");
  901. //return;
  902. model.setValue("/root/main/lglydisinfo/info/lglydiscd","206");
  903. }
  904. if(isNull(model.getValue("/root/main/lglydisinfo/info/attackdd")) ){
  905. messageBox("발병일은 필수입력입니다.");
  906. return;
  907. }
  908. if(isNull(model.getValue("/root/main/lglydisinfo/info/diagdd")) ){
  909. messageBox("진단일은 필수입력입니다.");
  910. return;
  911. }
  912. if( model.getValue("/root/main/lglydisinfo/info/estminfcareacd") == "O" && model.getValue("/root/main/lglydisinfo/info/staytermday") > "30" ) {
  913. messageBox("체류기간 일은 30일을 넘을 수 없습니다.", "I");
  914. return;
  915. }
  916. if( isNull(model.getValue("/root/main/lglydisinfo/info/wrtedt")) ){
  917. model.setValue("/root/main/lglydisinfo/info/state", "I");
  918. //model.setValue("/root/main/lglydisinfo/info/wrtedt", getCurrentDate() +""+getCurrentTime());
  919. } else {
  920. model.setValue("/root/main/lglydisinfo/info/state", "U");
  921. }
  922. var frdd = model.getValue("/root/main/lglydisinfo/info/ecntrydd");
  923. var todd = model.getValue("/root/main/lglydisinfo/info/ecntrytodd");
  924. if( !isNull(frdd) && !isNull(todd) ){
  925. var term = getDateInterval(frdd, todd, "dd");
  926. model.setValue("/root/main/lglydisinfo/info/stayterm", term); //잘못된 내용 확인 필요
  927. }
  928. model.setValue("/root/main/lglydisinfo/info/reptflag", "06");
  929. model.setValue("/root/main/lglydisinfo/info/orddeptcd", model.getValue("/root/main/paminfo/list/orddeptcd"));
  930. model.setValue("/root/main/lglydisinfo/info/updtreptcnts", ""); //변경신고내용
  931. model.setValue("/root/main/lglydisinfo/info/diagcd",model.getValue("/root/diaginfo/diagcdlist/diagcd"));
  932. model.copyNode("/root/send/savedata","/root/main/lglydisinfo/info");
  933. //@@
  934. var Curstate = model.getValue("/root/main/lglydisinfo/info/state")
  935. if(submit("TXASI03401", false)){
  936. model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
  937. //fCtrlEnableChk("rdo");
  938. //fCtrlEnableChk("rdo_chgrept");
  939. //fCtrlEnableChk("rdo_estminfcarea");
  940. //fChgReptDisable();
  941. model.refresh();
  942. //@@
  943. if(Curstate == "I"){
  944. messageBox("저장되었습니다","I");
  945. }else if (Curstate == "U"){
  946. messageBox("수정되었습니다.","I");
  947. }
  948. model.close();
  949. }
  950. ]]>
  951. </script>
  952. </button>
  953. <button id="btn_cncl" class="btn4_letter2" style="left:628px; top:3px; width:56px; height:22px; ">
  954. <caption>삭제</caption>
  955. <script type="javascript" ev:event="DOMActivate">
  956. <![CDATA[
  957. model.removeNodeset("/root/send");
  958. model.makeNode("/root/send/savedata");
  959. //if(model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt") != '99991231235959' ){
  960. if(model.getValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt").substring(0,8) != "99991231" ){ //작성일자가 아닌 신고일자로 체크하도록 수정 (2009.11.13 JJE)
  961. messageBox(" 이미 신고된 건은 삭제 " ,"E001");
  962. return;
  963. }
  964. var result = messageBox("","Q001"); //삭제하시겠습니까?
  965. if (result == "7"){
  966. messageBox("삭제가 취소되었습니다","I");
  967. return;
  968. }else if (result == "6"){
  969. model.setValue("/root/main/lglydisinfo/info/state", "D");
  970. model.copyNode("/root/send/savedata","/root/main/lglydisinfo/info");
  971. if(submit("TXASI03401", false)){
  972. model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
  973. messageBox("삭제" ,"I001");
  974. model.refresh();
  975. }
  976. window.close();
  977. }
  978. ]]>
  979. </script>
  980. </button>
  981. <button id="btn_init" class="btn4_letter3" style="left:685px; top:3px; width:68px; height:22px; ">
  982. <caption>초기화</caption>
  983. <script type="javascript" ev:event="DOMActivate">
  984. <![CDATA[
  985. //model.resetInstanceNode("/root/main");
  986. fInit();
  987. model.refresh();
  988. ]]>
  989. </script>
  990. </button>
  991. </group>
  992. </xhtml:body>
  993. </xhtml:html>