123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>HIV-AIDS 신고</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <lglydisinfo>
- <info>
- <state>I</state>
- <psnflag/>
- <patnm/>
- <sexflag/>
- <age/>
- <rgstno/>
- <rgstno2/>
- <zipcd1/>
- <zipcd2/>
- <tel/>
- <cntcaddr1/>
- <cntcaddr2/>
- <pid/>
- <wrtedt/>
- <seqno/>
- <instcd/>
- <reptflag>09</reptflag>
- <lglydiscd/>
- <ioeflag/>
- <orddd/>
- <indd/>
- <cretno/>
- <deptcd/>
- <wrteid/>
- <jobcd/>
- <procernm/>
- <residncflag/>
- <idflag/>
- <symp/>
- <diagnm/>
- <attackdd/>
- <diagdd/>
- <diagcd/>
- <dethyn/>
- <cnfsnwtstrslt/>
- <estminfcpath/>
- <estminfcareacd/>
- <estminfcareanaticd/>
- <naticd/>
- <ecntrydd/>
- <ecntrytodd/>
- <stayterm/>
- <chngreptkind/>
- <updtreptcnts/>
- <updtreptdd/>
- <updtreptrid/>
- <reptdt/>
- <reptrid/>
- <preinochstflag/>
- <pastcureflag/>
- <cureterm/>
- <pastcurecnt/>
- <bisiziflag/>
- <bisiziinocmthd/>
- <sputumdm/>
- <sputumby/>
- <sputumodm/>
- <sputumoby/>
- <etctestflag/>
- <rayrsltflag/>
- <tooberrsltsize/>
- <solidsize/>
- <inhospflag/>
- <curefromdd/>
- <curetodd/>
- <curersltflag/>
- <curersltetc/>
- <dethflag/>
- <cncldt/>
- <diagmthd/>
- <diagmthdcnts/>
- <cnclerid/>
- <lglydiscnts/>
- <tisstestlag/>
- <testpartcd/>
- <testpartremcnts/>
- <testmthdcd/>
- <plaqflagcd/>
- <brwavetestflag/>
- <brwavetestcnts/>
- <raytestflag/>
- <raytestcnts/>
- <crbrfldtestflag/>
- <crbrfldtestcnts/>
- <prnpagenetestflag/>
- <codonnm/>
- <codonflag/>
- <codonflag2/>
- <codoncnts/>
- <patflag/>
- <patflag2/>
- <dngrcascd/>
- <dngrcasremcnts/>
- <infcnts/>
- <dethdd/>
- <estminfcpathremcnts/>
- <tmpcol1/>
- <tmpcol2/>
- <tmpcol3/>
- <etcnts1/>
- <etcnts2/>
- <etcnts3/>
- <matrno/>
- <fstdiagdd/>
- <sympremcnts/>
- <lglykindcd/>
- <relyn/>
- <cnfmtestinstcd/>
- <cnfmtestinstnm/>
- <testrslt1/>
- <testrslt2/>
- <brthdd/>
- <lasthistyn>Y</lasthistyn>
- </info>
- </lglydisinfo>
- <getlglydisinfo/>
- <getreptdtinfo/>
- <paminfo/>
- <diaginfo/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <init>
- <M0149list/>
- <P0353list/>
- <A0132list/>
- <A0632list/>
- <A0631list/>
- <A0629list/>
- <A0369list/>
- <A0630list/>
- </init>
- <diaginfo>
- <diagcdlist/>
- </diaginfo>
- <temp>
- <tmplist/>
- <initinfo/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("M0149", "P0353", "A0132", "A0632", "A0631", "A0629", "A0369", "A0630"),
- new Array("/root/init/M0149list", "/root/init/P0353list", "/root/init/A0132list", "/root/init/A0632list", "/root/init/A0631list"
- , "/root/init/A0629list", "/root/init/A0369list", "/root/init/A0630list")
- , true, new Array("cdid","cdid","cdid","cdid","cdid","cdid","cdid","cdid") );
- model.setValue("/root/main/lglydisinfo/info/reptflag", "09");
-
- //임시 - 공통코드 변경 완료되면, 성가 오픈 후 삭제할 것
- /*
- var nodes = instance1.selectNodes("/root/init/A0629list/A0629");
- if( nodes.length > 0 ){
- for( var i=0; i<nodes.length; i++ ){
- var node = nodes.item(i);
- var cdidNode = node.selectSingleNode("cdid");
- var cdidText = cdidNode.text;
- model.setValue(cdidNode, cdidText.substr(1, 1));
- }
- }
- */
-
- var ioflag = "";
- var pid = "";
- var orddd = "";
- var cretno = "";
- 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);
- ioflag = model.getValue("/root/main/paminfo/list/ioflag");
- pid = model.getValue("/root/main/paminfo/list/pid");
- cretno = model.getValue("/root/main/paminfo/list/cretno");
- if(ioflag == "O") orddd = model.getValue("/root/main/paminfo/list/orddd");
- else orddd = model.getValue("/root/main/paminfo/list/indd");
-
- }else{
- if(isPopup()){
- ioflag = opener.javascript.getParameter("psnflag");
- pid = opener.javascript.getParameter("pid");
- cretno = opener.javascript.getParameter("cretno");
- orddd = opener.javascript.getParameter("indd");
- }
- }
- model.setValue("/root/main/lglydisinfo/info/pid", pid );
- model.setValue("/root/main/lglydisinfo/info/orddd", orddd );
- model.setValue("/root/main/lglydisinfo/info/indd", orddd);
- model.setValue("/root/main/lglydisinfo/info/psnflag", ioflag );
- model.setValue("/root/main/lglydisinfo/info/cretno", cretno );
- if( !isNull(model.getValue("/root/main/lglydisinfo/info/pid")) ) {
- if(submit("TRASI03401", false) ){ //초기값 조회
- model.copyNode("/root/send/reqdata", "/root/main/lglydisinfo/info");
-
- if(submit("TRASI01501", false) ) {//환자인적정보 조회
- if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- //model.setValue("/root/main/lglydisinfo/info/lglydiscd", model.getValue("/root/temp/initinfo/info/lglydiscd"));
- //fCtrlEnableChk("rdo");
- //fCtrlEnableChk("rdo_chgrept");
- //fCtrlEnableChk("rdo_estminfcarea");
- model.refresh();
- fChkCnclYN();
- //fChgReptDisable();
-
- }
- }
- }
- var result = 1;
- if(isPopup() && (opener.javascript.getParameter("state") == "U" || opener.javascript.getParameter("state") == "S")){
- model.setValue("/root/main/lglydisinfo/info/state", opener.javascript.getParameter("state") );
- model.setValue("/root/main/lglydisinfo/info/wrtedt", opener.javascript.getParameter("wrtedt") );
- model.setValue("/root/main/lglydisinfo/info/seqno", opener.javascript.getParameter("seqno") );
-
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/reptdt", opener.javascript.getParameter("reptdt")); //추가 (2009.11.13 JJE)
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/reptyn", opener.javascript.getParameter("reptyn")); //추가 (2009.11.13 JJE)
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/chgyn", opener.javascript.getParameter("chgyn")); //추가 (2009.11.13 JJE)
- model.makeValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt", opener.javascript.getParameter("prt_reptdt")); //추가 (2009.11.13 JJE)
-
- }else if(isPopup() && opener.javascript.getParameter("state") != "U" && opener.javascript.getParameter("state") != "S"){
- //fChkReptYN();
- model.setValue("/root/main/lglydisinfo/info/state", opener.javascript.getParameter("state") );
- model.makeValue("/root/send/reqdata/pid", pid);
- model.makeValue("/root/send/reqdata/reptflag", model.getValue("/root/main/lglydisinfo/info/reptflag"));
- strRegtdt = "";
-
- if (submit("TRASI01502")){
- strRegtdt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt");
- }
- if( !isNull(model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptyn")) && model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptyn") == 'N' ){
- //messageBox(" 신고주기는 12개월이므로 재신고가 불가합니다 \n 해당 환자의 신고일은 " + strRegtdt ,"E008");
- var a = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
- var lglydisnm = "";
- if(a=="605"){
- lglydisnm="인체면역바이러스 감염"
- }else if(a=="606"){
- lglydisnm="후천성면역결핍증환자"
- }
- messageBox(strRegtdt.substring(0,4)+"년 "+strRegtdt.substring(4,6)+"월 "+strRegtdt.substring(6,8)+"일 "
- + lglydisnm +"(으)로 전염병이 신고되어 있습니다, \n 해당 상병은 추가 신고가 불필요합니다.", "I");
- model.close();
- return;
- }
-
- model.makeValue("/root/send/reqdata/hardcdno", "9");
- model.makeValue("/root/send/reqdata/trgtcd", model.getValue("/root/main/lglydisinfo/info/reptflag"));
-
- }
- // if(submit("TRASI03401", false) ){ //초기값 조회
- // model.copyNode("/root/send/reqdata", "/root/main/lglydisinfo/info");
- //
- // if(submit("TRASI01501", false) ) {//환자인적정보 조회
- if( !isNull(model.getValue("/root/main/getlglydisinfo/info/pid")) ){
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- //model.setValue("/root/main/lglydisinfo/info/lglydiscd", model.getValue("/root/temp/initinfo/info/lglydiscd"));
- //fCtrlEnableChk("rdo");
- //fCtrlEnableChk("rdo_chgrept");
- //fCtrlEnableChk("rdo_estminfcarea");
- model.refresh();
- // fChkCnclYN();
- fChgReptDisable(result);
-
- }
- // }
- // }
- }else{
- grp_btn.disabled = true;
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSD00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRASI01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getlglydisinfo"/>
- <submission id="TRASI01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/getreptdtinfo"/>
- <submission id="TRASI01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/tmplist"/>
- <submission id="TRASI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/initinfo"/>
- <submission id="TXASI03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/getlglydisinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript">
- <![CDATA[
- /*
- 초기화화면 버튼 클릭시
- */
- function fInit(){
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- //fCtrlEnableChk("rdo");
- //fCtrlEnableChk("rdo_chgrept");
- //fCtrlEnableChk("rdo_estminfcarea");
- }
-
- /*
- 삭제된건은 조회만 가능
- */
- function fChkCnclYN(){
- if(model.getValue("/root/main/lglydisinfo/info/cnclyn") == "Y" && opener.javascript.getParameter("state") == "S"){
- messageBox("삭제된 신고서", "I009"); //메세지 추가 (2009.11.13 JJE)
- grp_btn.disabled = true;
- }
- }
- /*
- 신고대상자조회화면에서 state="S",
- 진단에서 state="I",
- 퇴원시 1군, 일본뇌염 이고 법정전염병신고서가 작성되어 있을경우 state="U"
- 메뉴에서 상단환자정보를 가지고 조회해서 법정전염병 신고서가 작성되어 있고 전염병이 1군, 일본뇌염이 존재시 state="U"
- 상태에 따라 입력가능여부 처리
- */
- function fChgReptDisable(){
- //grp_chg.disabled = true;
- if( isPopup() ){
- var strState = opener.javascript.getParameter("state");
- var menuParam = opener.javascript.getParameter("menuparam");
- }else {
- var strState = "I";
- }
- //(start) 수정 상태 셋팅 추가, 수정 및 삭제를 가능하도록 하기 위함 (2009.11.03 JJE)
- var chkWrtedt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt");
- var chkReptdt = model.getValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt");
- if(!isNull(chkWrtedt)) chkWrtedt = chkWrtedt.substring(0, 8);
- if(!isNull(chkReptdt)) chkReptdt = chkReptdt.substring(0, 8);btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- if(!isNull(chkWrtedt) && chkWrtedt != "99991231" && !isNull(chkReptdt) && chkReptdt == "99991231" && isNull(strState)){
- var strState = "U"; //작성은 됐고, 출력(신고)는 안한 상태
- }
- //(end) 수정 상태 셋팅 끝
- if(isPopup() && strState == "U" ){
- grp_main.disabled = true;
- //grp_chg.disabled = false;
- btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- btn_init.disabled = true; //추가 2009.11.13 JJE
- btn_cncl.disabled = false; //추가 2009.11.13 JJE
- return;
- }else if(isPopup() && strState == "S" ){
- if(menuParam != "" && !isNull(menuParam)){
- //진료메뉴에서 호출시.
- if(opener.javascript.getParameter("DisabledChk")=="Y"){ //삭제된 신고서
- grp_main.disabled = true;
- btn_save.disabled = true;
- btn_init.disabled = true;
- btn_cncl.disabled = true;
- }else{
-
- grp_main.disabled = false;
- btn_save.disabled = false;
- btn_init.disabled = false;
- btn_cncl.disabled = false;
- }
- }else{
- //진료와 감염관리실 이외의 사용자일 경우 삭제버튼 불활성화 않음.
- if(opener.javascript.getParameter("LglyDeptChk")=="N"){
- btn_cncl.disabled=true;
- }else{
- btn_cncl.disabled=false;
- }
- grp_main.disabled = true;
- //grp_chg.disabled = true;
- //grp_btn.disabled = true;
- btn_save.disabled = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
- btn_init.disabled = true; //추가 2009.11.13 JJE
- //btn_cncl.disabled = false; //추가 2009.11.13 JJE
- }
- return;
- }else if(isPopup() && strState != "U" ){
- grp_main.disabled = false;
- //grp_chg.disabled = true;
- //chx_grup2bac8.disabled = true;
- //chx_grup3bac3.disabled = true;
- btn_save.disabled = false; //추가 2009.11.13 JJE
- btn_init.disabled = false; //추가 2009.11.13 JJE
- btn_cncl.disabled = true; //추가 2009.11.13 JJE
- return;
- }
- }
-
- function fCtrlEnableChk(pControlID){
- if (pControlID == "rdo") { //전염병 선택
- var sInfecd = model.getValue("/root/main/lglydisinfo/info/lglydiscd");
- /*
- if (sInfecd == "499") {
- ipt_newbacsymp.disabled = false;
- model.setFocus("ipt_newbacsymp");
- } else {
- ipt_newbacsymp.disabled = true;
- model.setValue("/root/main/lglydisinfo/info/grup4lglydisnewsymp", "");
- model.refresh();
- }
-
- if (sInfecd == "999") {
- model.setFocus("btn_apntlglydisnm");
- } else {
- model.setValue("/root/main/lglydisinfo/info/apntlglydisnm", "");
- model.refresh();
- }
- */
- } else if (pControlID == "rdo_estminfcarea") { // 추정감염지역
- if (model.getValue("/root/main/lglydisinfo/info/estminfcarea") == "O") {
- cmb_estminfcareanaticd.disabled = false;
- ipt_estminfcareastayterm.disabled = false;
- model.setFocus("cmb_2");
- } else {
- cmb_estminfcareanaticd.disabled = true;
- ipt_estminfcareastayterm.disabled = true;
- model.setValue("/root/main/lglydisinfo/info/estminfcareanaticd", "");
- model.setValue("/root/main/lglydisinfo/info/estminfcareastayterm", "");
- model.refresh();
- }
- }
- }
-
- /*
- * 신고된 신고서가 있는지 check
- */
- function fChkReptYN() {
-
- var diagList = instance1.selectNodes("/root/diaginfo/diagcdlist");
- var diagcd = "";
- var statcd = "";
-
- if(diagList.length > 0 ) {
- for(var i=0 ; i< diagList.length ; i++) {
- status = model.getValue("/root/diaginfo/diagcdlist["+ i +"]/status");
- if(status == "I" || status == "U" || status == "-") {
- diagcd += model.getValue("/root/diaginfo/diagcdlist["+ i +"]/diagcd").substr(0,4) + "▦"; //확장코드 자르기
- statcd += model.getValue("/root/diaginfo/diagcdlist["+ i +"]/status") + "▦";
- }
- }
- }
-
- if(diagcd != "") {
- model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/diagcd", diagcd);
- model.makeValue("/root/send/reqdata/status", statcd);
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/lglydisinfo/info/pid"));
- model.makeValue("/root/send/reqdata/reptflag", "09");
- if(submit("TRASI01503", false)) {
- if(model.getValue("/root/temp/tmplist/tmplist/wc") == "Y") {
- model.close();
- return;
- }
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="772" pageheight="795" guideline="1,744;1,361;" style="margin-left:8; margin-right:8; ">
- <group id="grp_tle" style="left:0px; top:0px; width:756; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:480px; height:14px; ">인체면역결핍바이러스 감염인 / 후천성면역결핍증 환자 발견(사망) 신고·보고</caption>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:-19px; x2:750px; y2:-18px; "/>
- <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:508px; top:585px; width:222px; height:90px; ">
- <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>
- <output id="opt_cntcaddr1" ref="/root/main/lglydisinfo/info/cntcaddr1" class="output_fix" style="left:102px; top:72px; width:523px; height:19px; "/>
- <caption id="caption48" class="cell_1" style="left:0px; top:70px; width:100px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption40" class="search_no_b" style="left:684px; top:71px; width:12px; height:17px; ">-</caption>
- <output id="opt_zipcd1" ref="/root/main/lglydisinfo/info/zipcd1" class="output_fix" style="left:635px; top:72px; width:48px; height:19px; "/>
- <output id="opt_zipcd2" ref="/root/main/lglydisinfo/info/zipcd2" class="output_fix" style="left:695px; top:72px; width:48px; height:19px; "/>
- <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:755px; height:750px; ">
- <line id="line4" class="line_1" style="x1:0px; y1:-19px; x2:750px; y2:-18px; "/>
- <line id="line5" class="line_1" style="x1:0px; y1:2px; x2:750px; y2:2px; "/>
- <line id="line51" class="line_3" style="x1:0px; y1:745px; x2:750px; y2:745px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:7px; width:100px; height:23px; vertical-align:middle; ">신고 구분</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:31px; width:100px; height:23px; vertical-align:middle; ">성별</caption>
- <caption id="caption13" class="cell_1" style="left:365px; top:30px; width:100px; height:23px; vertical-align:middle; ">생년월일</caption>
- <caption id="caption15" class="cell_1" style="left:563px; top:30px; width:80px; height:23px; vertical-align:middle; ">가검물번호</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:79px; width:100px; height:23px; vertical-align:middle; ">최초진단일</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:104px; width:100px; height:23px; vertical-align:middle; ">확인진단일</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:128px; width:100px; height:122px; vertical-align:middle; ">검사소견</caption>
- <caption id="caption19" class="cell_1" style="left:365px; top:79px; width:100px; height:49px; vertical-align:middle; ">확인검사기관</caption>
- <line id="line7" class="line_2" style="x1:0px; y1:29px; x2:750px; y2:29px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:53px; x2:750px; y2:53px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:102px; x2:360px; y2:102px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:126px; x2:750px; y2:126px; "/>
- <caption id="caption20" class="cell_1" style="left:365px; top:129px; width:100px; height:121px; vertical-align:middle; ">추정감염경로</caption>
- <line id="line10" class="line_2" style="x1:0px; y1:251px; x2:750px; y2:251px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:252px; width:100px; height:23px; vertical-align:middle; ">사망여부</caption>
- <caption id="caption22" class="cell_1" style="left:264px; top:252px; width:100px; height:23px; vertical-align:middle; ">사망자 성명</caption>
- <caption id="caption23" class="cell_1" style="left:464px; top:252px; width:124px; height:23px; vertical-align:middle; ">사망자 주민등록번호</caption>
- <line id="line11" class="line_2" style="x1:0px; y1:274px; x2:750px; y2:274px; "/>
- <caption id="caption24" class="cell_1" style="left:0px; top:276px; width:100px; height:33px; vertical-align:middle; ">
- <![CDATA[주요사망원인
- (진단명)]]>
- </caption>
- <line id="line12" class="line_2" style="x1:0px; y1:309px; x2:750px; y2:309px; "/>
- <caption id="caption25" class="cell_1" style="left:0px; top:311px; width:100px; height:23px; vertical-align:middle; ">사망일자</caption>
- <caption id="caption26" class="cell_1" style="left:365px; top:311px; width:217px; height:23px; vertical-align:middle; ">사망과 후천성면역결핍증과의 관련성</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:335px; width:100px; height:412px; vertical-align:middle; ">
- <![CDATA[후천성면역
- 결핍증환자
- 관련 임상증상
- (사망전
- 주요증상 포함)]]>
- </caption>
- <select id="checkbox3" ref="/root/main/lglydisinfo/info/symp" overflow="visible" appearance="full" sep="," style="left:100px; top:337px; width:647px; height:410px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0630list/A0630">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <line id="line13" class="line_2" style="x1:0px; y1:333px; x2:750px; y2:333px; "/>
- <output id="output5" ref="/root/main/lglydisinfo/info/brthdd" class="output_fix" format="yyyy-mm-dd" style="left:467px; top:32px; width:93px; height:19px; "/>
- <input id="input9" ref="/root/main/lglydisinfo/info/fstdiagdd" navindex="16" inputtype="date" format="yyyy-mm-dd" style="left:102px; top:80px; width:259px; height:19px; "/>
- <select1 id="radio2" ref="/root/main/lglydisinfo/info/sexflag" disabled="true" appearance="full" cellspacing="30" cols="2" vcellspacing="5" overflow="visible" style="left:102px; top:31px; width:125px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio1" ref="/root/main/lglydisinfo/info/lglydiscd" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:102px; top:9px; width:644px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>인체면역바이러스 감염인</label>
- <value>605</value>
- </item>
- <item>
- <label>후천성면역결핍증환자</label>
- <value>606</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/main/lglydisinfo/info/diagdd" navindex="16" inputtype="date" format="yyyy-mm-dd" style="left:102px; top:104px; width:259px; height:19px; "/>
- <input id="input5" ref="/root/main/lglydisinfo/info/patnm" style="left:366px; top:253px; width:96px; height:19px; "/>
- <output id="output2" ref="/root/main/lglydisinfo/info/rgstno" class="output_fix" style="left:590px; top:254px; width:73px; height:19px; "/>
- <output id="output6" ref="/root/main/lglydisinfo/info/rgstno2" class="output_fix" style="left:672px; top:254px; width:73px; height:19px; "/>
- <caption id="caption28" class="search_no_b" style="left:662px; top:254px; width:12px; height:17px; ">-</caption>
- <textarea id="textarea1" ref="/root/main/lglydisinfo/info/diagnm" style="left:102px; top:276px; width:623px; height:30px; "/>
- <input id="input6" ref="/root/main/lglydisinfo/info/dethdd" navindex="16" inputtype="date" format="yyyy-mm-dd" style="left:101px; top:312px; width:226px; height:19px; "/>
- <input id="input13" ref="/root/main/lglydisinfo/info/estminfcpathremcnts" style="left:555px; top:225px; width:189px; height:19px; "/>
- <input id="input7" ref="/root/main/lglydisinfo/info/sympremcnts" style="left:189px; top:722px; width:557px; height:19px; "/>
- <select id="checkbox1" ref="/root/main/lglydisinfo/info/etctestflag" overflow="visible" appearance="full" sep="," vcellspacing="5" style="left:102px; top:130px; width:259px; height:115px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0631list/A0631">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <input id="input1" ref="/root/main/lglydisinfo/info/testrslt1" style="left:252px; top:132px; width:40px; height:19px; "/>
- <input id="input2" ref="/root/main/lglydisinfo/info/testrslt2" style="left:252px; top:157px; width:40px; height:19px; "/>
- <button id="button61" class="icon_search" style="left:730px; top:284px; 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/lglydisinfo/info/diagcd", model.getValue("/root/main/diaginfo/diaglist[1]/termcd"));
- model.setValue("/root/main/lglydisinfo/info/diagnm", model.getValue("/root/main/diaginfo/diaglist[1]/termhngnm"));
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <select1 id="radio3" ref="/root/main/lglydisinfo/info/dethyn" appearance="full" cols="2" overflow="visible" style="left:102px; top:253px; width:153px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0369list/A0369">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="radio4" ref="/root/main/lglydisinfo/info/relyn" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:584px; top:313px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" style="left:586px; top:83px; width:100px; height:20px; ">보건환경연구원</caption>
- <select1 id="radio5" ref="/root/main/lglydisinfo/info/cnfmtestinstcd" appearance="full" vcellspacing="5" overflow="visible" style="left:466px; top:81px; width:170px; height:40px; border-style:none; ">
- <choices>
- <item>
- <label>보건환경연구원</label>
- <value>01</value>
- </item>
- <item>
- <label>질병관리본부(국립보건연구원)</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <input id="input4" ref="/root/main/lglydisinfo/info/cnfmtestinstnm" style="left:484px; top:82px; width:100px; height:19px; "/>
- <select1 id="radio6" ref="/root/main/lglydisinfo/info/estminfcpath" appearance="full" overflow="visible" style="left:466px; top:130px; width:278px; height:115px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0629list/A0629">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" style="left:292px; top:135px; width:57px; height:20px; ">(cells/ml)</caption>
- <caption id="caption3" style="left:291px; top:155px; width:68px; height:20px; ">(copies/ml)</caption>
- <input id="input8" ref="/root/main/lglydisinfo/info/matrno" style="left:644px; top:32px; width:100px; height:19px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:765px; width:744px; height:27px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <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");
- /*
- if( isRequiredControls("ipt_attackdd","ipt_diagdd") == false ) {
- return;
- }
- */
- if( isNull(model.getValue("/root/main/lglydisinfo/info/lglydiscd")) ){
- messageBox("전염병은", "I003");
- return;
- }
- /*
- if(isNull(model.getValue("/root/main/lglydisinfo/info/attackdd")) ){
- messageBox("발병일은 필수입력입니다.");
- return;
- }
- */
- if(isNull(model.getValue("/root/main/lglydisinfo/info/diagdd")) ){
- messageBox("진단일은", "I003");
- return;
- }
-
- if( isNull(model.getValue("/root/main/lglydisinfo/info/wrtedt")) ){
- model.setValue("/root/main/lglydisinfo/info/state", "I");
- } else {
- model.setValue("/root/main/lglydisinfo/info/state", "U");
- }
-
- model.setValue("/root/main/lglydisinfo/info/reptflag", "09");
- model.setValue("/root/main/lglydisinfo/info/orddeptcd", model.getValue("/root/main/paminfo/list/orddeptcd"));
- model.setValue("/root/main/lglydisinfo/info/updtreptcnts", ""); //변경신고내용
- model.setValue("/root/main/lglydisinfo/info/diagcd",model.getValue("/root/diaginfo/diagcdlist/diagcd"));
-
- /*
- if( model.getValue("/root/main/lglydisinfo/info/cnfmtestinstcd") != "" ){
- model.setValue("/root/main/lglydisinfo/info/cnfmtestinstnm", radio5.label);
- }
- */
-
- model.copyNode("/root/send/savedata","/root/main/lglydisinfo/info");
- //@@
- var Curstate = model.getValue("/root/main/lglydisinfo/info/state");
- if(submit("TXASI03401", false)){
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
-
- model.refresh();
- //@@
- if(Curstate == "I"){
- messageBox("저장되었습니다","I");
- }else if (Curstate == "U"){
- messageBox("수정되었습니다.","I");
- }
- model.close();
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_cncl" class="btn4_letter2" style="left:618px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/send");
- model.makeNode("/root/send/savedata");
-
- //if(model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt") != '99991231235959' ){
- if(model.getValue("/root/main/getreptdtinfo/reptdtinfo/prt_reptdt").substring(0,8) != "99991231" ){ //작성일자가 아닌 신고일자로 체크하도록 수정 (2009.11.13 JJE)
- messageBox(" 이미 신고된 건은 삭제 " ,"E001");
- return;
- }
- var result = messageBox("","Q001"); //삭제하시겠습니까?
-
- if (result == "7"){
- messageBox("삭제가 취소되었습니다","I");
- return;
- }else if (result == "6"){
- model.setValue("/root/main/lglydisinfo/info/state", "D");
- model.copyNode("/root/send/savedata","/root/main/lglydisinfo/info");
-
- if(submit("TXASI03401", false) != false){
-
- model.copyNode("/root/main/lglydisinfo", "/root/main/getlglydisinfo");
- model.refresh();
-
- model.makeValue("/root/send/reqdata/pid", model.getValue("/root/main/lglydisinfo/info/pid"));
- model.makeValue("/root/send/reqdata/reptflag", model.getValue("/root/main/lglydisinfo/info/reptflag"));
- if(submit("TRASI01502", false)){
- if( isNull(model.getValue("/root/main/getreptdtinfo/reptdtinfo/reptdt")) ){
- messageBox("삭제" ,"I001");
- window.close();
- }
- }
- }
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:675px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.resetInstanceNode("/root/main");
- fInit();
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|