123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563 |
- /*
- - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
- 중증외상 등록정보 ( SPMMO06900_응급실중증외상등록.xrw - JScript )
- - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
- */
- var sERSTRM_PATH = "/root/main/strminfo";
- var vFlag = 1;
- var vFlag2 = true;
- var IsDaeSang = true;
- /**
- * @desc : 화면 초기화
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fInitialize_SPMMO06900(){
-
- window.height = "870";
- window.width = "930";
-
- //콤보 초기값
- fCmbInit();
- //중증외상 대상 환자인지 체크
- //fCheckScope();
- freqGetERStrmInfo();
-
- }
- /**
- * @desc : 콤보 초기값 셋팅
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fCmbInit() {
- // 진료과
- var instcd = getUserInfo("dutplceinstcd");
- //var standard_yn = "orduseyn";
- // var standard_yn = "rcptuseyn";
- // var ord_deptflag = 'D';
- // var rslt_ref = "/root/init/dept";
- // var sort_method = "depthngnm";
- //zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_method);
- // sort_field = "depthngnm";
- // zsdfGetInOutOrdDeptList(instcd, rslt_ref, sort_field, sort_method);
- // 공통코드 목록 가져오기
- zbcfGetCodeList(
- new Array("M0120",
- "M0121",
- "M0122",
- "M0573",
- "M0125",
- "M0118",
- "M0535",
- "M0576",
- "M0119",
- "M0571",
- "M0574",
- "M0584",
- "M0572",
- "M0577",
- "M0578",
- "M0579",
- "M0580",
- "M0117",
- "M0583",
- "M0535",
- "M0581",
- "M0582" ) ,
- new Array("/root/init/M0120list",
- "/root/init/M0121list",
- "/root/init/M0122list",
- "/root/init/M0573list",
- "/root/init/M0125list",
- "/root/init/M0118list",
- "/root/init/M0535list",
- "/root/init/M0576list",
- "/root/init/M0119list",
- "/root/init/M0571list",
- "/root/init/M0574list",
- "/root/init/M0584list",
- "/root/init/M0572list",
- "/root/init/M0577list",
- "/root/init/M0578list",
- "/root/init/M0579list",
- "/root/init/M0580list",
- "/root/init/M0117list",
- "/root/init/M0583list",
- "/root/init/M0535list",
- "/root/init/M0581list",
- "/root/init/M0582list" ));
-
- //추가
- addComboItem("cmb_taip", "-", "-", "above"); // 교통사고 손상당사자
- addComboItem("cmb_emrt", "-", "-", "above"); // 응급진료 결과
- addComboItem("cmb_dcrt", "-", "-", "above"); // 입원 후 결과
- addComboItem("cmb_gcse", "0점", "0", "above"); // GCS
- addComboItem("cmb_gcsv", "0점", "0", "above");
- addComboItem("cmb_gcsp", "0점", "0", "above");
- addComboItem("cmb_gcsm", "0점", "0", "above");
-
-
- model.refresh();
- }
- /**
- * @desc : 초기화
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fInit() {
- cmb_taip.select(0);
- cmb_emrt.select(0);
- cmb_dcrt.select(0);
- cmb_gcse.select(0);
- cmb_gcsv.select(0);
- cmb_gcsp.select(0);
- cmb_gcsm.select(0);
- cmb_dgkd.select(0);
- cmb_arcf.select(0);
- cmb_arcs.select(0);
- cmb_taip.select(0);
- cmb_inrt.select(0);
-
- model.setValue("/root/main/strminfo/hscd", "-"); //요양기관번호
- model.setValue("/root/main/strminfo/sex", "-"); //성별
- model.setValue("/root/main/strminfo/dgkd", "-"); //내원사유(질병여부)
- model.setValue("/root/main/strminfo/arcf", "-"); //내원사유(의도성여부)
- model.setValue("/root/main/strminfo/arcs", "-"); //내원사유(손상기전)
- model.setValue("/root/main/strminfo/tsbt", "-"); //보호장구
- model.setValue("/root/main/strminfo/tscs", "-"); //보호장구
- model.setValue("/root/main/strminfo/tsfa", "-"); //보호장구
- model.setValue("/root/main/strminfo/tssa", "-"); //보호장구
- model.setValue("/root/main/strminfo/tshm", "-"); //보호장구
- model.setValue("/root/main/strminfo/tspt", "-"); //보호장구
- model.setValue("/root/main/strminfo/tsno", "-"); //보호장구
- model.setValue("/root/main/strminfo/tsur", "-"); //보호장구
- model.setValue("/root/main/strminfo/tsuk", "-"); //보호장구
- model.setValue("/root/main/strminfo/inrt", "-"); //내원경로
- model.setValue("/root/main/strminfo/fhcd", "-"); //전원보낸 의료기관명
- model.setValue("/root/main/strminfo/fhnm", "-"); //전원보낸 의료기관명(기타)
- model.setValue("/root/main/strminfo/intp", "-"); //의료기관종류
- model.setValue("/root/main/strminfo/fhrs", "-"); //전원 보낸 사유
- model.setValue("/root/main/strminfo/inmn", "-"); //내원수단
- model.setValue("/root/main/strminfo/dsid", "-"); //구급활동일지재난번호
- model.setValue("/root/main/strminfo/reid", "-"); //구급활동일지일련번호
- model.setValue("/root/main/strminfo/mnsy", "-"); //주증상코드
- model.setValue("/root/main/strminfo/dept", "-"); //주진료과
- model.setValue("/root/main/strminfo/otdt", "-"); //응급실 퇴실일시
- model.setValue("/root/main/strminfo/ottm", "-"); //응급실 퇴실일시
- model.setValue("/root/main/strminfo/emrt", "-"); //응급진료 결과
- model.setValue("/root/main/strminfo/ettx", "-"); //응급진료 결과(기타)
- model.setValue("/root/main/strminfo/img1", "N"); //영상검사
- model.setValue("/root/main/strminfo/img2", "N"); //영상검사
- model.setValue("/root/main/strminfo/img3", "N"); //영상검사
- model.setValue("/root/main/strminfo/img4", "N"); //영상검사
- model.setValue("/root/main/strminfo/img5", "N"); //영상검사
- model.setValue("/root/main/strminfo/img6", "N"); //영상검사
- model.setValue("/root/main/strminfo/img7", "N"); //영상검사
- model.setValue("/root/main/strminfo/img8", "N"); //영상검사
- model.setValue("/root/main/strminfo/img9", "N"); //영상검사
- model.setValue("/root/main/strminfo/dcdt", "-"); //퇴원일시
- model.setValue("/root/main/strminfo/dctm", "-"); //퇴원일시
- model.setValue("/root/main/strminfo/dcrt", "-"); //입원 후 결과
- model.setValue("/root/main/strminfo/resp", "-"); //의식수준
- model.setValue("/root/main/strminfo/hibp", "999"); //RTS
- model.setValue("/root/main/strminfo/puls", "999"); //RTS
- model.setValue("/root/main/strminfo/brth", "999"); //RTS
- model.setValue("/root/main/strminfo/bdht", "99.9"); //RTS
- model.setValue("/root/main/strminfo/rtsc", "0"); //RTS
- model.setValue("/root/main/strminfo/attt", "0"); //최종치료 소요시간
- model.setValue("/root/main/strminfo/aic1", "-"); //퇴실시 AIS
- model.setValue("/root/main/strminfo/ais1", "-");
- model.setValue("/root/main/strminfo/aic2", "-"); //퇴실시 AIS
- model.setValue("/root/main/strminfo/ais2", "-");
- model.setValue("/root/main/strminfo/aic3", "-"); //퇴실시 AIS
- model.setValue("/root/main/strminfo/ais3", "-");
- model.setValue("/root/main/strminfo/aic4", "-"); //퇴실시 AIS
- model.setValue("/root/main/strminfo/ais4", "-");
- model.setValue("/root/main/strminfo/aic5", "-"); //퇴실시 AIS
- model.setValue("/root/main/strminfo/ais5", "-");
- model.setValue("/root/main/strminfo/aic6", "-"); //퇴실시 AIS
- model.setValue("/root/main/strminfo/ais6", "-");
- model.setValue("/root/main/strminfo/tgos", "0"); //퇴원시 GOS 점수
- model.setValue("/root/main/strminfo/thcd", "-"); //전원보낼 의료기관명
- model.setValue("/root/main/strminfo/thnm", "-"); //전원보낼 의료기관명(기타)
- model.setValue("/root/main/strminfo/dctp", "-"); //전원보낼 의료기관코드
- model.setValue("/root/main/strminfo/thtm", "-"); //전원시 이송수단
- model.setValue("/root/main/strminfo/thp1", "-"); //전원시 동승인력
- model.setValue("/root/main/strminfo/thp2", "-"); //전원시 동승인력
- model.setValue("/root/main/strminfo/thp3", "-"); //전원시 동승인력
- model.setValue("/root/main/strminfo/thp4", "-"); //전원시 동승인력
- model.setValue("/root/main/strminfo/thdp", "-"); //전원병원 선정방법
-
- model.refresh();
-
- /* ipt_indt.disabled = true;
- ipt_intm.disabled = true;
- cmb_arcf.disabled = false; //내원사유(의도성여부)
- cmb_arcs.disabled = false; //내원사유(손상기전)
- */
- }
- /**
- * @desc : DATA 조회
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function freqGetERStrmInfo() {
-
- var pid = opener.javascript.getParameter("SPMMO06900_pid");
- var orddd = opener.javascript.getParameter("SPMMO06900_orddd");
- var cretno = opener.javascript.getParameter("SPMMO06900_cretno");
-
- model.setValue("/root/main/patinfo/pid", pid);
- model.setValue("/root/main/patinfo/orddd", orddd);
- model.setValue("/root/main/patinfo/cretno",cretno);
- model.copyNode("/root/send/reqdata", "/root/main/patinfo");
-
- model.removeNodeset("/root/main/strminfo");
- model.removeNodeset("/root/main/strmdiag");
- model.removeNodeset("/root/main/strmtrcd");
- model.removeNodeset("/root/main/strmopcd");
- model.removeNodeset("/root/main/strmdcdiag");
-
- submit("TRMMO06901");
- var node = instance1.selectSingleNode(sERSTRM_PATH);
- // var node = instance1.selectSingleNode("/root/main/strminfo");
- if(node == null){
- model.alert("환자 정보를 찾을 수 없습니다.\n\n응급환자정보를 다시 확인하시기 바랍니다.");
- return;
- // fMakeERStrmNode();
- // fInit();
- }
- else {
- model.setValue( "/root/main/strminfo/gwtransyn" , "N");
- if ( model.getValue("/root/main/strminfo/status") == "i") {
- model.setValue( "/root/main/strminfo/stat" , "C");
- }
- else if ( model.getValue("/root/main/strminfo/status") == "u"){
- var vStat = model.getValue("/root/main/strminfo/stat"); //T는 U와 값은 의미(등록 후 전송전에 미리 값이 T로 바뀌는 오류 잡기 위해 적용)
- if (vStat == "C") model.setValue( "/root/main/strminfo/stat" , "C");
- else if (vStat == "T" || vStat == "U") model.setValue( "/root/main/strminfo/stat" , "U");
- else if (vStat == "E") model.setValue( "/root/main/strminfo/stat" , "C");
- }
- }
-
- fSetDisabled();
- model.refresh();
- }
- /**
- * @desc : 조회 시 값 DATA 없을 경우 처리
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fMakeERStrmNode(){
- model.makeNode("/root/main/strminfo/status");
- model.makeNode("/root/main/strminfo/idno");
- model.makeNode("/root/main/strminfo/hscd");
- model.makeNode("/root/main/strminfo/hsnm");
- model.makeNode("/root/main/strminfo/emcd");
- model.makeNode("/root/main/strminfo/brtd");
- model.makeNode("/root/main/strminfo/sex");
- model.makeNode("/root/main/strminfo/indt");
- model.makeNode("/root/main/strminfo/intm");
- model.makeNode("/root/main/strminfo/indtedit");
- model.makeNode("/root/main/strminfo/dgkd");
- model.makeNode("/root/main/strminfo/arcf");
- model.makeNode("/root/main/strminfo/arcs");
- model.makeNode("/root/main/strminfo/taip");
- model.makeNode("/root/main/strminfo/tsst");
- model.makeNode("/root/main/strminfo/tsbt");
- model.makeNode("/root/main/strminfo/tscs");
- model.makeNode("/root/main/strminfo/tsfa");
- model.makeNode("/root/main/strminfo/tssa");
- model.makeNode("/root/main/strminfo/tshm");
- model.makeNode("/root/main/strminfo/tspt");
- model.makeNode("/root/main/strminfo/tsno");
- model.makeNode("/root/main/strminfo/tsur");
- model.makeNode("/root/main/strminfo/tsuk");
- model.makeNode("/root/main/strminfo/inrt");
- model.makeNode("/root/main/strminfo/fhcd");
- model.makeNode("/root/main/strminfo/fhcdnm");
- model.makeNode("/root/main/strminfo/fhnm");
- model.makeNode("/root/main/strminfo/intp");
- model.makeNode("/root/main/strminfo/fhrs");
- model.makeNode("/root/main/strminfo/inmn");
- model.makeNode("/root/main/strminfo/dsid");
- model.makeNode("/root/main/strminfo/dsidetc");
- model.makeNode("/root/main/strminfo/reid");
- model.makeNode("/root/main/strminfo/reidetc");
- model.makeNode("/root/main/strminfo/akdt");
- model.makeNode("/root/main/strminfo/aktm");
- model.makeNode("/root/main/strminfo/aktmm");
- model.makeNode("/root/main/strminfo/aketc");
- model.makeNode("/root/main/strminfo/dept");
- model.makeNode("/root/main/strminfo/mnsy");
- model.makeNode("/root/main/strminfo/mnsye");
- model.makeNode("/root/main/strminfo/mssyh");
- model.makeNode("/root/main/strminfo/sym2");
- model.makeNode("/root/main/strminfo/sym2e");
- model.makeNode("/root/main/strminfo/sym2h");
- model.makeNode("/root/main/strminfo/sym3");
- model.makeNode("/root/main/strminfo/sym3e");
- model.makeNode("/root/main/strminfo/sym3h");
- model.makeNode("/root/main/strminfo/otdt");
- model.makeNode("/root/main/strminfo/ottm");
- model.makeNode("/root/main/strminfo/ottmm");
- model.makeNode("/root/main/strminfo/emrt");
- model.makeNode("/root/main/strminfo/ettx");
- model.makeNode("/root/main/strminfo/mimg");
- model.makeNode("/root/main/strminfo/img1");
- model.makeNode("/root/main/strminfo/img2");
- model.makeNode("/root/main/strminfo/img3");
- model.makeNode("/root/main/strminfo/img4");
- model.makeNode("/root/main/strminfo/img5");
- model.makeNode("/root/main/strminfo/img6");
- model.makeNode("/root/main/strminfo/img7");
- model.makeNode("/root/main/strminfo/img8");
- model.makeNode("/root/main/strminfo/img9");
- model.makeNode("/root/main/strminfo/atdt");
- model.makeNode("/root/main/strminfo/atdtetc");
- model.makeNode("/root/main/strminfo/attm");
- model.makeNode("/root/main/strminfo/attmm");
- model.makeNode("/root/main/strminfo/attmetc");
- model.makeNode("/root/main/strminfo/attt");
- model.makeNode("/root/main/strminfo/hchp");
- model.makeNode("/root/main/strminfo/dcdt");
- model.makeNode("/root/main/strminfo/dctm");
- model.makeNode("/root/main/strminfo/dctmm");
- model.makeNode("/root/main/strminfo/dcrt");
- model.makeNode("/root/main/strminfo/gcse");
- model.makeNode("/root/main/strminfo/gcsv");
- model.makeNode("/root/main/strminfo/gcsp");
- model.makeNode("/root/main/strminfo/gcsm");
- model.makeNode("/root/main/strminfo/gcst");
- model.makeNode("/root/main/strminfo/resp");
- model.makeNode("/root/main/strminfo/hibp");
- model.makeNode("/root/main/strminfo/hibpetc");
- model.makeNode("/root/main/strminfo/puls");
- model.makeNode("/root/main/strminfo/pulsetc");
- model.makeNode("/root/main/strminfo/brth");
- model.makeNode("/root/main/strminfo/brthetc");
- model.makeNode("/root/main/strminfo/bdht");
- model.makeNode("/root/main/strminfo/bdhtetc");
- model.makeNode("/root/main/strminfo/rtsc");
- model.makeNode("/root/main/strminfo/aic1");
- model.makeNode("/root/main/strminfo/ain1");
- model.makeNode("/root/main/strminfo/ais1");
- model.makeNode("/root/main/strminfo/aic2");
- model.makeNode("/root/main/strminfo/ain2");
- model.makeNode("/root/main/strminfo/ais2");
- model.makeNode("/root/main/strminfo/aic3");
- model.makeNode("/root/main/strminfo/ain3");
- model.makeNode("/root/main/strminfo/ais3");
- model.makeNode("/root/main/strminfo/aic4");
- model.makeNode("/root/main/strminfo/ain4");
- model.makeNode("/root/main/strminfo/ais4");
- model.makeNode("/root/main/strminfo/aic5");
- model.makeNode("/root/main/strminfo/ain5");
- model.makeNode("/root/main/strminfo/ais5");
- model.makeNode("/root/main/strminfo/aic6");
- model.makeNode("/root/main/strminfo/ain6");
- model.makeNode("/root/main/strminfo/ais6");
- model.makeNode("/root/main/strminfo/ciss");
- model.makeNode("/root/main/strminfo/tgos");
- model.makeNode("/root/main/strminfo/thcd");
- model.makeNode("/root/main/strminfo/thcdnm");
- model.makeNode("/root/main/strminfo/thnm");
- model.makeNode("/root/main/strminfo/dctp");
- model.makeNode("/root/main/strminfo/thtm");
- model.makeNode("/root/main/strminfo/mthp");
- model.makeNode("/root/main/strminfo/thp1");
- model.makeNode("/root/main/strminfo/thp2");
- model.makeNode("/root/main/strminfo/thp3");
- model.makeNode("/root/main/strminfo/thp4");
- model.makeNode("/root/main/strminfo/thdp");
- model.makeNode("/root/main/strminfo/gwtransyn");
- model.makeNode("/root/main/strminfo/stat");
- }
- /**
- * @desc : 활성화 여부 CHECK
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fSetDisabled() {
- // 생년월일(brtd)
- // kimsj 100104 GCS 점수 CHECK
- var vBrtd = model.getValue("/root/main/strminfo/age");
- if (vBrtd > 4) {
- cmb_gcsv.disabled = false; //GOS(언어)
- cmb_gcsp.disabled = true; //GOS(소아언어)
- model.setValue("/root/main/strminfo/gcsp", "0");
- model.setAttribute("GCSv", model.getValue("/root/main/strminfo/gcsv")); // 언어GCS
- }
- else if (vBrtd <= 4) {
- cmb_gcsv.disabled = true; //GOS(언어)
- cmb_gcsp.disabled = false; //GOS(소아언어)
- model.setValue("/root/main/strminfo/gcsv", "0");
- model.setAttribute("GCSv", model.getValue("/root/main/strminfo/gcsp")); // 소아언어GCS
- }
- model.setAttribute("GCSe", model.getValue("/root/main/strminfo/gcse")); // 눈GCS
- model.setAttribute("GCSm", model.getValue("/root/main/strminfo/gcsm")); // 운동GCS
- // 내원경로(inrt)
- var vInrt = model.getValue("/root/main/strminfo/inrt");
- if( vInrt == "2" ) { //외부에서 전원
- ipt_fhcd.disabled = false;
- btn_fhcdinfo.disabled = false;
- rdo_fhrs.disabled = false;
- }
- else {
- ipt_fhcd.disabled = true;
- btn_fhcdinfo.disabled = true;
- rdo_fhrs.disabled = true;
- model.setValue("/root/main/strminfo/fhcd", "-"); //전원보낸 의료기관코드
- model.setValue("/root/main/strminfo/fhcdnm", "-"); //전원보낸 의료기관명
- model.setValue("/root/main/strminfo/fhnm", "-"); //전원보낸 의료기관명(기타)
- model.setValue("/root/main/strminfo/intp", "-"); //의료기관종류
- model.setValue("/root/main/strminfo/fhrs", "-"); //전원 보낸 사유
- }
- //의료기관 종류(intp)
- var vIntp = model.getValue("/root/main/strminfo/intp");
- if (vIntp == "9") {
- caption28.visible = true;
- ipt_fhnm.visible = true;
- }
- else {
- caption28.visible = false;
- ipt_fhnm.visible = false;
- model.setValue("/root/main/strminfo/fhnm", "-"); //전원보낸 의료기관명(기타)
- }
- //응급진료 결과(emrt) - 기타
- var vEmrt = model.getValue("/root/main/strminfo/emrt");
- if ( vEmrt == "18" || vEmrt == "28" || vEmrt == "38" || vEmrt == "48" || vEmrt == "88" ) {
- caption45.visible = true;
- ipt_ettx.visible = true;
- }
- else {
- caption45.visible = false;
- ipt_ettx.visible = false;
- }
- //입원 -> 퇴원시 GOS점수
- if (vEmrt.substr(0,1) == "3") {
- rdo_tgos.disabled = false;
- }
- else {
- rdo_tgos.disabled = true;
- model.setValue("/root/main/strminfo/tgos", "0"); //퇴원시 GOS 점수
- }
-
- var vDcrt = model.getValue("/root/main/strminfo/dcrt");
- //응급진료 결과(emrt) : 전원 / 입원후 결과(dcrt) : 전원 -> 바.그룹
- if (vEmrt.substr(0,1) == "2" || vDcrt == "3" ) {
- grp_info6.disabled = false;
- cmb_dctp.disabled = true;
- }
- else {
- grp_info6.disabled = true;
- model.setValue("/root/main/strminfo/thcd", "-"); //전원보낼 의료기관코드
- model.setValue("/root/main/strminfo/thcdnm", "-"); //전원보낼 의료기관명
- model.setValue("/root/main/strminfo/thnm", "-"); //전원보낼 의료기관명(기타)
- model.setValue("/root/main/strminfo/thtm", "-"); //전원시 이송수단
- model.setValue("/root/main/strminfo/thp1", "-"); //전원시 동승인력
- model.setValue("/root/main/strminfo/thp2", "-"); //전원시 동승인력
- model.setValue("/root/main/strminfo/thp3", "-"); //전원시 동승인력
- model.setValue("/root/main/strminfo/thp4", "-"); //전원시 동승인력
- model.setValue("/root/main/strminfo/thdp", "-"); //전원병원 선정방법
- }
- //전원보낼 의료기관 종류(dctp)
- vDctp = model.getValue("/root/main/strminfo/dctp");
- if ( vDctp == "9" ) {
- caption32.visible = true;
- ipt_thnm.visible = true;
- }
- else {
- caption32.visible = false;
- ipt_thnm.visible = false;
- model.setValue("/root/main/strminfo/thnm", "-"); //전원보낼 의료기관명(기타)
- }
-
- //측정불가 및 미상항목 CHECK_20110318_SMY
- fsetEtc();
- }
- /**
- * @desc : 측정불가 및 미상항목 CHECK_20110318_SMY
- * @
- * @param :
- * @return :
- * @author : 성미연
- * @---------------------------------------------------
- */
- function fsetEtc() {
- //수상일시
- if(model.getValue("/root/main/strminfo/akdt") == "11111111"){
- model.setValue("/root/main/strminfo/aketc", "Y");
- ipt_akdt.disabled = true;
- ipt_aktm.disabled = true;
- }
- //외상팀 최종치료 결정일시
- if(model.getValue("/root/main/strminfo/atdt") == "99999999"){
- model.setValue("/root/main/strminfo/atdtetc", "Y");
- ipt_atdt.disabled = true;
- }
- if(model.getValue("/root/main/strminfo/attm") == "9999"){
- model.setValue("/root/main/strminfo/attmetc", "Y");
- ipt_attm.disabled = true;
- }
- //수축기 혈압
- if(model.getValue("/root/main/strminfo/hibp") == "-1"){
- model.setValue("/root/main/strminfo/hibpetc", "-1");
- ipt_hibp.disabled = true;
- }
- //맥박
- if(model.getValue("/root/main/strminfo/puls") == "-1"){
- model.setValue("/root/main/strminfo/pulsetc", "-1");
- ipt_puls.disabled = true;
- }
- //호흡
- if(model.getValue("/root/main/strminfo/brth") == "-1"){
- model.setValue("/root/main/strminfo/brthetc", "-1");
- ipt_brth.disabled = true;
- }
- //체온
- if(model.getValue("/root/main/strminfo/bdht") == "-1"){
- model.setValue("/root/main/strminfo/bdhtetc", "-1");
- ipt_bdht.disabled = true;
- }
- model.refresh();
- }
- /**
- * @desc : 전원 시 동승인력 CHECK BOX
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fChkMTHP(vChkValue, vChkID) {
- model.setValue(vChkValue, "Y");
- //기타 선택
- if (vChkID == "chk_thp4") {
- model.setValue("/root/main/strminfo/thp1", "-");
- model.setValue("/root/main/strminfo/thp2", "-");
- model.setValue("/root/main/strminfo/thp3", "-");
- }
- //그 외 선택
- else {
- model.setValue("/root/main/strminfo/thp4", "-");
- }
- model.refresh();
- }
- /**
- * @desc : 영상검사 종류 CHECK BOX
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fChkMIMG(vChkValue, vChkID) {
- model.setValue(vChkValue, "Y");
- //실시안함, 확인불가
- if (vChkID == "chk_img8" || vChkID == "chk_img9") {
- model.setValue("/root/main/strminfo/img1", "N");
- model.setValue("/root/main/strminfo/img2", "N");
- model.setValue("/root/main/strminfo/img3", "N");
- model.setValue("/root/main/strminfo/img4", "N");
- model.setValue("/root/main/strminfo/img5", "N");
- model.setValue("/root/main/strminfo/img6", "N");
- model.setValue("/root/main/strminfo/img7", "N");
- if (vChkID == "chk_img8") model.setValue("/root/main/strminfo/img9", "N");
- else if (vChkID == "chk_img9") model.setValue("/root/main/strminfo/img8", "N");
- }
- //그 외 선택
- else {
- model.setValue("/root/main/strminfo/img8", "N");
- model.setValue("/root/main/strminfo/img9", "N");
- }
- model.refresh();
- }
- /**
- * @desc : 교통사고 보호장구 Checkbox 값 선택
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fChkTSST(vChkValue, vChkID) {
- model.setValue(vChkValue, "Y");
- //전혀 착용 안함, 비해당, 미상 선택
- if (vChkID == "chk_tsno" || vChkID == "chk_tsur" || vChkID == "chk_tsuk") {
- model.setValue("/root/main/strminfo/tsbt", "-");
- model.setValue("/root/main/strminfo/tscs", "-");
- model.setValue("/root/main/strminfo/tsfa", "-");
- model.setValue("/root/main/strminfo/tssa", "-");
- model.setValue("/root/main/strminfo/tshm", "-");
- model.setValue("/root/main/strminfo/tspt", "-");
- if ( vChkID == "chk_tsno" ) {
- model.setValue("/root/main/strminfo/tsur", "-");
- model.setValue("/root/main/strminfo/tsuk", "-");
- }
- else if ( vChkID == "chk_tsur" ) {
- model.setValue("/root/main/strminfo/tsno", "-");
- model.setValue("/root/main/strminfo/tsuk", "-");
- }
- else if ( vChkID == "chk_tsuk" ) {
- model.setValue("/root/main/strminfo/tsno", "-");
- model.setValue("/root/main/strminfo/tsur", "-");
- }
- }
- //그 외 선택
- else {
- model.setValue("/root/main/strminfo/tsno", "-");
- model.setValue("/root/main/strminfo/tsur", "-");
- model.setValue("/root/main/strminfo/tsuk", "-");
- }
- model.refresh();
- }
- /**
- * @desc : 임시저장버튼 클릭
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fTmpSaveData() {
- if (model.getValue("/root/main/strminfo/status") != "") {
- model.copyNode("/root/send/savedata", "/root/main/strminfo");
- model.makeValue("/root/send/savedata/histcd", "T");
-
- if (submit("TXMMO06901", false) == true)
- {
- messageBox("임시저장이", "I002");
- freqGetERStrmInfo();
- }
- } else {
- model.alert("저장할 내용을 확인하시기 바랍니다.");
- }
- }
- /**
- * @desc : 저장버튼 클릭
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fSaveData() {
-
- fSaveChk();
- if(vFlag =="1") {
- fsetDefualt();
- model.copyNode("/root/send/savedata", "/root/main/strminfo");
- model.makeValue("/root/send/savedata/histcd", "O");
-
- if (submit("TXMMO06901", false) == true)
- {
- messageBox("저장이", "I002");
- freqGetERStrmInfo();
- }
- // } else {
- // model.alert("저장할 내용을 확인하시기 바랍니다."); //내용 MSG로 통합예정
- }
- }
- /**
- * @desc : 저장시 체크
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fSaveChk(){
- vFlag = 1;
-
- fCheckScope();
- //중증외상 대상범위를 벗어남
- if(!IsDaeSang){
- // model.alert("중증외상 대상이 아닙니다.\n\n정상 등록 되었습니다.\n\n수고하셨습니다.!!");
- vFlag = 0;
- // fClose();
- return;
- }
-
-
- vRTS = model.getValue("/root/main/strminfo/rtsc"); //RTS 자동생성 점수
- vISS = model.getValue("/root/main/strminfo/ciss"); //ISS 자동생성 점수
-
- if(!vFlag2){
- model.alert("등록 대상 환자가 아닙니다.");
- return;
- }
- else if(vRTS == "" || vISS == "" || vISS == "0"){
- model.alert("ISS 또는 RTS 값을 먼저 체크하여 대상 환자인지 확인하십시요.\n\n(대상: RTS <= 7점 이거나 ISS >= 15점)");
- if(vRTS == "") model.setFocus("ipt_hibp");
- else model.setFocus("ipt_aic1");
- vFlag = 0;
- }
- else{
- /* 입력항목 null여부 체크 */
-
- //내원경로 - 외부에서 전원 시 전원 보낸 의료기관명
-
- if(model.getValue("/root/main/strminfo/inrt") == "2"){
- if( model.getValue("/root/main/strminfo/intp") != "9" && (model.getValue("/root/main/strminfo/fhcd") == "" || model.getValue("/root/main/strminfo/fhcd") == "-")){
- model.alert("전원 보낸 의료기관명을 선택하세요.");
- model.setFocus("ipt_fhcd");
- vFlag = 0;
- }else if(model.getValue("/root/main/strminfo/fhrs") == "" || model.getValue("/root/main/strminfo/fhrs") == "-"){
- model.alert("전원 보낸 사유를 선택하세요.");
- model.setFocus("rdo_fhrs");
- vFlag = 0;
- }
- //if(!vFlag) return;
- }
-
- //내원사유(질병여부)
- if(model.getValue("/root/main/strminfo/dgkd")=="" || model.getValue("/root/main/strminfo/dgkd")=="-"){
- model.alert("내원사유(질병여부)를 선택하세요.");
- model.setFocus("cmb_dgkd");
- vFlag = 0;
- }
- //내원사유(의도성여부)
- else if(model.getValue("/root/main/strminfo/arcf")=="" || model.getValue("/root/main/strminfo/arcf")=="-"){
- model.alert("내원사유(의도성여부)를 선택하세요.");
- model.setFocus("cmb_arcf");
- vFlag = 0;
- }
- //내원사유(손상기전)
- else if(model.getValue("/root/main/strminfo/arcs")=="" || model.getValue("/root/main/strminfo/arcs")=="-"){
- model.alert("내원사유(손상기전)를 선택하세요.");
- model.setFocus("cmb_arcs");
- vFlag = 0;
- }
- //교통사고 손상당사자 - 교통사고이면서 손상당사자 NULL
- else if(model.getValue("/root/main/strminfo/arcs").substr(0,1)=="0" &&
- (model.getValue("/root//main/strminfo/taip")=="" || model.getValue("/root/main/strminfo/taip")=="-")){
- model.alert("교통사고 손상당사자를 선택하세요.");
- model.setFocus("cmb_taip");
- vFlag = 0;
- }
- //보호장구 착용
- else if(model.getValue("/root/main/strminfo/arcs").substr(0,1)=="0" &&
- ((model.getValue("/root/main/strminfo/tsbt") =="-" || model.getValue("/root/main/strminfo/tsbt") =="") &&
- (model.getValue("/root/main/strminfo/tscs") =="-" || model.getValue("/root/main/strminfo/tscs") =="") &&
- (model.getValue("/root/main/strminfo/tsfa") =="-" || model.getValue("/root/main/strminfo/tsfa") =="") &&
- (model.getValue("/root/main/strminfo/tssa") =="-" || model.getValue("/root/main/strminfo/tssa") =="") &&
- (model.getValue("/root/main/strminfo/tshm") =="-" || model.getValue("/root/main/strminfo/tshm") =="") &&
- (model.getValue("/root/main/strminfo/tspt") =="-" || model.getValue("/root/main/strminfo/tspt") =="") &&
- (model.getValue("/root/main/strminfo/tsno") =="-" || model.getValue("/root/main/strminfo/tsno") =="") &&
- (model.getValue("/root/main/strminfo/tsur") =="-" || model.getValue("/root/main/strminfo/tsur") =="") &&
- (model.getValue("/root/main/strminfo/tsuk") =="-" || model.getValue("/root/main/strminfo/tsuk") =="" ))){
- model.alert("보호장구 착용을 체크하세요.");
- model.setFocus("chk_tsst");
- vFlag = 0;
- }
- //내원경로
- else if(model.getValue("/root/main/strminfo/inrt")=="" || model.getValue("/root/main/strminfo/inrt")=="-"){
- model.alert("내원경로를 선택하세요.");
- model.setFocus("cmb_inrt");
- vFlag = 0;
- }
- //전원보낸의료기관명 체크
- else if(model.getValue("/root/main/strminfo/inrt") =="2" &&
- model.getValue("/root/main/strminfo/intp") != "9" &&
- model.getValue("/root/main/strminfo/intp") != "8" &&
- (model.getValue("/root/main/strminfo/fhcd")=="" || model.getValue("/root/main/strminfo/fhcd")=="-")){
- model.alert("전원보낸의료기관명을 선택하세요.");
- model.setFocus("ipt_fhnm");
- vFlag = 0;
- }
- //전원보낸의료기관명(기타) 체크
- else if(model.getValue("/root/main/strminfo/inrt")=="2" && model.getValue("/root/main/strminfo/intp")=="9"){
- if(model.getValue("/root/main/strminfo/fhnm") == "" || model.getValue("/root/main/strminfo/fhnm") == "-"){
- model.alert("기타 의료기관명을 입력하세요.");
- model.setFocus("ipt_fhnm");
- vFlag = 0;
- }
- }
- //내원수단
- else if(model.getValue("/root/main/strminfo/inmn")=="" || model.getValue("/root/main/strminfo/inmn")=="-"){
- model.alert("내원수단를 선택하세요.");
- model.setFocus("cmb_inmn");
- vFlag = 0;
- }
- //구급활동일지재난번호
- else if(model.getValue("/root/main/strminfo/inmn")=="1" &&
- (model.getValue("/root/main/strminfo/dsid")=="" || model.getValue("/root/main/strminfo/dsid")=="-")){
- model.alert("구급활동일지재난번호를 입력하세요.");
- model.setFocus("ipt_dsid");
- vFlag = 0;
- }
- //구급활동일지일련번호
- else if(model.getValue("/root/main/strminfo/inmn")=="1" &&
- (model.getValue("/root/main/strminfo/reid")=="" || model.getValue("/root/main/strminfo/reid")=="-")){
- model.alert("구급활동일지일련번호를 입력하세요.");
- model.setFocus("ipt_reid");
- vFlag = 0;
- }
- //수상일시
- else if((model.getValue("/root/main/strminfo/aketc") != "Y") && !isValidDateTime(model.getValue("/root/main/strminfo/aktm"), "hhmm") ){
- model.alert("수상일시 시간이 잘못 입력되었습니다.(시:0~23, 분:0~59)");
- model.setFocus("ipt_aktm");
- vFlag = 0;
- }
- //주증상
-
- //주 진료과
- else if(model.getValue("/root/main/strminfo/dept")=="" || model.getValue("/root/main/strminfo/dept")=="-"){
- model.alert("주 진료과를 선택하세요.");
- model.setFocus("cmb_dept");
- vFlag = 0;
- }
- //퇴실시간
- else if(model.getValue("/root/main/strminfo/otdt") == ""){
- model.alert("응급실 퇴실일자를 선택하세요.");
- model.setFocus("ipt_otdt");
- vFlag = 0;
- }
- else if(model.getValue("/root/main/strminfo/ottm") == "" ){
- model.alert("응급실 퇴실일시를 입력하세요.");
- model.setFocus("ipt_ottm");
- vFlag = 0;
- }else if( !isValidDateTime(model.getValue("/root/main/strminfo/ottm"), "hhmm") ){
- model.alert("응급실 퇴실일시 시간이 잘못 입력되었습니다.(시:0~23, 분:0~59)");
- model.setFocus("ipt_ottm");
- vFlag = 0;
- }
- //영상검사
- else if((model.getValue("/root/main/strminfo/img1") =="-" || model.getValue("/root/main/strminfo/img1") =="") &&
- (model.getValue("/root/main/strminfo/img2") =="-" || model.getValue("/root/main/strminfo/img2") =="") &&
- (model.getValue("/root/main/strminfo/img3") =="-" || model.getValue("/root/main/strminfo/img3") =="") &&
- (model.getValue("/root/main/strminfo/img4") =="-" || model.getValue("/root/main/strminfo/img4") =="") &&
- (model.getValue("/root/main/strminfo/img5") =="-" || model.getValue("/root/main/strminfo/img5") =="") &&
- (model.getValue("/root/main/strminfo/img6") =="-" || model.getValue("/root/main/strminfo/img6") =="") &&
- (model.getValue("/root/main/strminfo/img7") =="-" || model.getValue("/root/main/strminfo/img7") =="") &&
- (model.getValue("/root/main/strminfo/img8") =="-" || model.getValue("/root/main/strminfo/img8") =="") &&
- (model.getValue("/root/main/strminfo/img9") =="-" || model.getValue("/root/main/strminfo/img9") =="" )) {
- model.alert("영상검사 종류를 체크하세요.");
- vFlag = 0;
- }
- //외상팀 최종치료 결정일자
- else if(model.getValue("/root/main/strminfo/atdtetc") != "Y" && model.getValue("/root/main/strminfo/atdt") == ""){
- model.alert("외상팀 최종치료 결정일자를 선택하세요.");
- model.setFocus("ipt_atdt");
- vFlag = 0;
- }
- else if(model.getValue("/root/main/strminfo/attmetc") != "Y" && model.getValue("/root/main/strminfo/attm") == "" ){
- model.alert("외상팀 최종치료 결정 시간를 입력하세요.");
- model.setFocus("ipt_attm");
- vFlag = 0;
- }else if(model.getValue("/root/main/strminfo/attmetc") != "Y" && !isValidDateTime(model.getValue("/root/main/strminfo/attm"), "hhmm")){
- model.alert("외상팀 최종치료 결정 시간이 잘못 입력되었습니다.(시:0~23, 분:0~59)");
- model.setFocus("ipt_attm");
- vFlag = 0;
- }
- //병원 안 치료의 가장 높은 수준 체크
- else if(model.getValue("/root/main/strminfo/hchp") == ""){
- model.alert("병원 안 치료의 가장 높은 수준을 선택하세요.");
- vFlag = 0;
- }
- // //응급진료결과 '입원'인 경우 체크 (서울성모 요청 - 주석)
- // else if(model.getValue("/root/main/strminfo/emrt").substr(0,1) == "3"){
- // //퇴원일자
- // if(model.getValue("/root/main/strminfo/dcdt") == ""){
- // model.alert("퇴원일자를 선택하세요.");
- // model.setFocus("ipt_dcdt");
- // vFlag = 0;
- // }
- // else if(model.getValue("/root/main/strminfo/dctm") == ""){
- // model.alert("퇴원 시간를 입력하세요.");
- // model.setFocus("ipt_dctm");
- // vFlag = 0;
- // }else if( !isValidDateTime(model.getValue("/root/main/strminfo/dctm"), "hhmm") ){
- // model.alert("퇴원 시간이 잘못 입력되었습니다.(시:0~23, 분:0~59)");
- // model.setFocus("ipt_dctm");
- // vFlag = 0;
- // }
- // //입원후 결과
- // else if(model.getValue("/root/main/strminfo/dcrt")=="" || model.getValue("/root/main/strminfo/dcrt")=="-"){
- // model.alert("입원 후 결과를 선택하세요.");
- // model.setFocus("cmb_dcrt");
- // vFlag = 0;
- // }
- //
- // //입원 후 시술 및 수술코드
- // //퇴원시 최종 진단명
- //
- // //퇴원시 GOS 점수
- // else if(model.getValue("/root/main/strminfo/tgos")=="" || model.getValue("/root/main/strminfo/tgos")=="-"){
- // model.alert("퇴원 시 GOS 점수를 선택하세요.");
- // vFlag = 0;
- // }
- // }
- //GCS
- else if(model.getValue("/root/main/strminfo/gcse") == ""){
- model.alert("GCS 측정(눈)을 선택하세요.");
- model.setFocus("cmb_gcse");
- vFlag = 0;
- }
- else if(model.getValue("/root/main/strminfo/gcsm") == ""){
- model.alert("GCS 측정(운동)을 선택하세요.");
- model.setFocus("cmb_gcsm");
- vFlag = 0;
- }
- else if(model.getValue("/root/main/strminfo/age") > 4 && model.getValue("/root/main/strminfo/gcsv") == ""){
- model.alert("GCS 측정(언어)을 선택하세요.");
- model.setFocus("cmb_gcsv");
- vFlag = 0;
- }else if(model.getValue("/root/main/strminfo/age") <= 4 && model.getValue("/root/main/strminfo/gcsp") == ""){
- model.alert("GCS 측정(소아 언어)을 선택하세요.");
- model.setFocus("cmb_gcsp");
- vFlag = 0;
- }
- //내원시 의식수준
- else if(model.getValue("/root/main/strminfo/resp")=="" || model.getValue("/root/main/strminfo/resp")=="-"){
- model.alert("내원 시 의식수준를 선택하세요.");
- model.setFocus("cmb_resp");
- vFlag = 0;
- }
-
- /*
- //kimsj DOA환자의 경우 0값이 들어가도록 되어있음 (제한조건 해제)
- //수축기 혈압
- else if(model.getValue("/root/main/strminfo/hibp")=="" || model.getValue("/root/main/strminfo/hibp")=="0"){
- model.alert("수축기 혈압을 입력하세요.(측정불가인 경우 '-1'로 입력)");
- model.setFocus("ipt_hibp");
- vFlag = 0;
- }
- //맥박
- else if(model.getValue("/root/main/strminfo/puls")=="" || model.getValue("/root/main/strminfo/puls")=="0"){
- model.alert("맥박을 입력하세요.(측정불가인 경우 '-1'로 입력)");
- model.setFocus("ipt_puls");
- vFlag = 0;
- }
- //호흡
- else if(model.getValue("/root/main/strminfo/brth")=="" || model.getValue("/root/main/strminfo/brth")=="0"){
- model.alert("호흡을 입력하세요.(측정불가인 경우 '-1'로 입력)");
- model.setFocus("ipt_brth");
- vFlag = 0;
- }
- //체온
- else if(model.getValue("/root/main/strminfo/bdht")=="" || model.getValue("/root/main/strminfo/bdht")=="0"){
- model.alert("체온을 입력하세요.(측정불가인 경우 '-1'로 입력)");
- model.setFocus("ipt_bdht");
- vFlag = 0;
- }
- */
-
- //전원인 경우 // '모름' 체크시에도 제외 2012.01.05 김지선
- else if(model.getValue("/root/main/strminfo/emrt").substr(0,1) == "2"){
- if( model.getValue("/root/main/strminfo/dctp") != "9" &&
- model.getValue("/root/main/strminfo/dctp") != "8" &&
- (model.getValue("/root/main/strminfo/thcd") == "" || model.getValue("/root/main/strminfo/thcd") == "-")){
- model.alert("전원 보낼 병원명을 선택하세요.");
- model.setFocus("ipt_thcd");
- vFlag = 0;
- }
- //전원보낼의료기관명(기타) 체크
- else if(model.getValue("/root/main/strminfo/dctp")=="9"){
- if(model.getValue("/root/main/strminfo/thnm") == "" || model.getValue("/root/main/strminfo/thnm") == "-"){
- model.alert("기타 의료기관명을 입력하세요.");
- model.setFocus("ipt_thnm");
- vFlag = 0;
- }
- }
- else if(model.getValue("/root/main/strminfo/thtm") == "" || model.getValue("/root/main/strminfo/thtm") == "-"){
- model.alert("이송 수단을 선택하세요.");
- model.setFocus("rdo_thtm");
- vFlag = 0;
- }else if(model.getValue("/root/main/strminfo/thp1") == "-" && model.getValue("/root/main/strminfo/thp2") == "-" &&
- model.getValue("/root/main/strminfo/thp3") == "-" && model.getValue("/root/main/strminfo/thp4") == "-" ){
- model.alert("동승인력을 선택하세요.");
- vFlag = 0;
- }else if(model.getValue("/root/main/strminfo/thdp") == "" || model.getValue("/root/main/strminfo/thdp") == "-"){
- model.alert("전원병원 선정방법을 선택하세요.");
- model.setFocus("rdo_thdp");
- vFlag = 0;
- }
- }
- }
-
- /*
- if(!fDGKD()){
- model.alert("내원사유(질병여부) 가 '질병 외' 인 경우만 등록 대상입니다.");
- vFlag = 0;
- }
- */
- }
- /**
- * @desc : 저장시 NULL값 -> DEFAULT값 변경
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fsetDefualt() {
- // 내원경로(inrt)
- var vInrt = model.getValue("/root/main/strminfo/inrt");
- if( vInrt == "2" ) { //외부에서 전원
- if( model.getValue("/root/main/strminfo/intp")=="9" ) model.setValue("/root/main/strminfo/fhcd", "-");
- else model.setValue("/root/main/strminfo/fhnm", "-"); //기타
- }
- //영상검사
- if( model.getValue("/root/main/strminfo/img1") == "" ) model.setValue("/root/main/strminfo/img1", "N");
- if( model.getValue("/root/main/strminfo/img2") == "" ) model.setValue("/root/main/strminfo/img2", "N");
- if( model.getValue("/root/main/strminfo/img3") == "" ) model.setValue("/root/main/strminfo/img3", "N");
- if( model.getValue("/root/main/strminfo/img4") == "" ) model.setValue("/root/main/strminfo/img4", "N");
- if( model.getValue("/root/main/strminfo/img5") == "" ) model.setValue("/root/main/strminfo/img5", "N");
- if( model.getValue("/root/main/strminfo/img6") == "" ) model.setValue("/root/main/strminfo/img6", "N");
- if( model.getValue("/root/main/strminfo/img7") == "" ) model.setValue("/root/main/strminfo/img7", "N");
- if( model.getValue("/root/main/strminfo/img8") == "" ) model.setValue("/root/main/strminfo/img8", "N");
- if( model.getValue("/root/main/strminfo/img9") == "" ) model.setValue("/root/main/strminfo/img9", "N");
- //퇴실 시 AIS(코드, 점수)
- if( (model.getValue("/root/main/strminfo/aic1") == "") || (model.getValue("/root/main/strminfo/ais1") == "") ) {
- model.setValue("/root/main/strminfo/aic1", "-"); model.setValue("/root/main/strminfo/ais1", "0");
- }
- if( (model.getValue("/root/main/strminfo/aic2") == "") || (model.getValue("/root/main/strminfo/ais2") == "") ) {
- model.setValue("/root/main/strminfo/aic2", "-"); model.setValue("/root/main/strminfo/ais2", "0");
- }
- if( (model.getValue("/root/main/strminfo/aic3") == "") || (model.getValue("/root/main/strminfo/ais3") == "") ) {
- model.setValue("/root/main/strminfo/aic3", "-"); model.setValue("/root/main/strminfo/ais3", "0");
- }
- if( (model.getValue("/root/main/strminfo/aic4") == "") || (model.getValue("/root/main/strminfo/ais4") == "") ) {
- model.setValue("/root/main/strminfo/aic4", "-"); model.setValue("/root/main/strminfo/ais4", "0");
- }
- if( (model.getValue("/root/main/strminfo/aic5") == "") || (model.getValue("/root/main/strminfo/ais5") == "") ) {
- model.setValue("/root/main/strminfo/aic5", "-"); model.setValue("/root/main/strminfo/ais5", "0");
- }
- if( (model.getValue("/root/main/strminfo/aic6") == "") || (model.getValue("/root/main/strminfo/ais6") == "") ) {
- model.setValue("/root/main/strminfo/aic6", "-"); model.setValue("/root/main/strminfo/ais6", "0");
- }
- fISSScore();
- //전원 보낼
- if(model.getValue("/root/main/strminfo/emrt").substr(0,1) == "2" || model.getValue("/root/main/strminfo/dcrt") == "3"){ //전원
- if( model.getValue("/root/main/strminfo/dctp") == "9" ) model.setValue("/root/main/strminfo/thcd", "-");
- else model.setValue("/root/main/strminfo/thnm", "-");
-
- if(model.getValue("/root/main/strminfo/thp1") == "" || model.getValue("/root/main/strminfo/thp1") == "-") model.setValue("/root/main/strminfo/thp1", "N");
- if(model.getValue("/root/main/strminfo/thp2") == "" || model.getValue("/root/main/strminfo/thp2") == "-") model.setValue("/root/main/strminfo/thp2", "N");
- if(model.getValue("/root/main/strminfo/thp3") == "" || model.getValue("/root/main/strminfo/thp3") == "-") model.setValue("/root/main/strminfo/thp3", "N");
- if(model.getValue("/root/main/strminfo/thp4") == "" || model.getValue("/root/main/strminfo/thp4") == "-") model.setValue("/root/main/strminfo/thp4", "N");
- }
- }
- /**
- * @desc : 중증외상 대상여부(대상범위: RTS <=7 또는 ISS >=15)
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fOeSangYeoBu(){
- iRTS = eval(model.getValue("/root/main/strminfo/rtsc"));
- iISS = eval(model.getValue("/root/main/strminfo/ciss"));
-
- if(iRTS == "undefined" || iISS == "undefined" || iISS == 0){
- IsDaeSang = true;
- }else{
- if(iRTS > 7 && iISS < 15){
- model.alert("RTS 및 ISS 점수에 의해 중증외상 등록대상이 아닙니다.\n\n저장 후 종료하시기 바랍니다.");
- IsDaeSang = false;
- }else{
- IsDaeSang = true;
- }
- }
- }
- /**
- * @desc : 외상팀 최종치료 소요시간 계산
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fATTTCalculate(){
-
- //내원일시
- var vIndt = model.getValue("/root/main/strminfo/indt");
- var vIntm = model.getValue("/root/main/strminfo/intm");
- //최총치료결정일시
- var vAtdt = model.getValue("/root/main/strminfo/atdt");
- var vAttm = model.getValue("/root/main/strminfo/attm");
-
- //퇴원일시
- var vDcdt = model.getValue("/root/main/strminfo/dcdt");
- var vDctm = model.getValue("/root/main/strminfo/dctm");
-
- if(vAtdt == "" || vAtdt == "99999999" || vAttm == "" || vAttm == "9999" ) { //결정일시 미상일 경우 계산X
- model.setValue("/root/main/strminfo/attt", "0");
- return;
- }
-
- if (vDcdt == "" || vDcdt == "-" || vDctm == "" || vDctm == "-") {
- }
- else { //퇴원일자 있을 경우
- var sTermDd = getDateInterval(vAtdt, vDcdt); //getDateInterval(fromDate, endDate);
- var sTermMn = ( (eval(sTermDd)*24 + eval(vDctm.substr(0,2)))*60 + eval(vDctm.substr(2,2)) ) - ( eval(vAttm.substr(0, 2))*60 + eval(vAttm.substr(2,2)) ) ;
-
- if(sTermMn < 0) {
- model.alert("외상팀 최종치료 결정일시가 퇴원일시 이전이어야 합니다. 확인하여 주십시요!");
- model.setValue("/root/main/strminfo/attm","");
- model.setValue("/root/main/strminfo/attt","");
- model.refresh();
- return;
- }
- }
-
- if( !isValidDateTime(model.getValue("/root/main/strminfo/attm"), "hhmm")){
- model.alert("외상팀 최종치료 결정 시간이 잘못 입력되었습니다.(시:0~23, 분:0~59)");
- model.setValue("/root/main/strminfo/attm", "");
- model.setFocus("ipt_attm");
- model.refresh();
- }
- else{
-
- var sTermDate = getDateInterval(vIndt, vAtdt); //getDateInterval(fromDate, endDate);
- var sTermMin = ( (eval(sTermDate)*24 + eval(vAttm.substr(0,2)))*60 + eval(vAttm.substr(2,2)) ) - ( eval(vIntm.substr(0, 2))*60 + eval(vIntm.substr(2,2)) ) ;
-
- if(sTermMin<0) {
- model.alert("외상팀 최종치료 결정일시가 내원일시 이후이어야 합니다. 확인하여 주십시요!");
- model.setValue("/root/main/strminfo/attm","");
- model.setValue("/root/main/strminfo/attt","");
- model.refresh();
- return;
- }
- model.setValue("/root/main/strminfo/attt",sTermMin);
- model.refresh();
- }
- }
- /**
- * @desc : ISS점수(개정외상점수) 계산
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fISSScore(){
- var badnum = 0;
- var iss = 0;
- var issA = 0;
- var issB = 0;
- var issC = 0;
- var ais = new Array(6);
- ais[0] = model.getValue("/root/main/strminfo/ais1"); //head
- ais[1] = model.getValue("/root/main/strminfo/ais2"); //face
- ais[2] = model.getValue("/root/main/strminfo/ais3"); //ches
- ais[3] = model.getValue("/root/main/strminfo/ais4"); //abdo
- ais[4] = model.getValue("/root/main/strminfo/ais5"); //limb
- ais[5] = model.getValue("/root/main/strminfo/ais6"); //skin
- for (j=0; j<6; j++) {
- if ((ais[j]<0) || (ais[j]>6)) {
- model.alert('AIS 범위(0 - 6)');
- model.setValue("/root/main/strminfo/ais"+(j+1)+"","");
- model.refresh();
- badnum = -1;
- }
- }
- aissort = ais.sort(isGreater);
- issA = aissort[3]*aissort[3];
- issB = aissort[4]*aissort[4];
- issC = aissort[5]*aissort[5];
-
- if (badnum == 0) {
- if (issC == 36) iss = 75;
- else iss = issA + issB + issC;
- }
- else iss = 0;
-
- model.setValue("/root/main/strminfo/ciss", iss);
- model.refresh();
- //외상 대상여부
- fOeSangYeoBu();
- }
- /**
- * @desc : GCS 총점 계산
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fTotalGCS(){
-
- if(model.getValue("/root/main/strminfo/gcse") == "" ||
- (model.getValue("/root/main/strminfo/gcsv") == "" && model.getValue("/root/main/strminfo/gcsp") == "") ||
- model.getValue("/root/main/strminfo/gcsm") == ""){
- }else{
- var vGCSe = model.getAttribute("GCSe");
- var vGCSv = model.getAttribute("GCSv");
- var vGCSm = model.getAttribute("GCSm");
-
- if(vGCSe == "9"){
- vGCSe = "4";
- model.alert("GCS 측정(눈)이 불가함으로, 최대값을 적용하여 점수를 계산합니다.");
- }
- if(vGCSv == "9"){
- vGCSv = "5";
- model.alert("GCS 측정(언어)이 불가함으로, 최대값을 적용하여 점수를 계산합니다.");
- }
- if(vGCSm == "9"){
- vGCSm = "6";
- model.alert("GCS 측정(운동)이 불가함으로, 최대값을 적용하여 점수를 계산합니다.");
- }
-
- var vGCS = eval(vGCSe) + eval(vGCSv) + eval(vGCSm);
- model.setValue("/root/main/strminfo/gcst", vGCS);
-
- fRTSCalculate();
- }
- }
- /**
- * @desc : RTS 점수 계산
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fRTSCalculate(){
- var vGCS = eval(model.getValue("/root/main/strminfo/gcst"));
- var vSBP = eval(model.getValue("/root/main/strminfo/hibp"));
- var vRR = eval(model.getValue("/root/main/strminfo/brth"));
- var iGCS = 0;
- var iSBP = 0;
- var iRR = 0;
- var vRTS = 0;
- if(vGCS == "undefined"){
- }else{
- if(vGCS >=13){
- iGCS = 4;
- }else if(vGCS >=9){
- iGCS = 3;
- }else if(vGCS >=6){
- iGCS = 2;
- }else if(vGCS >=4){
- iGCS = 1;
- }else{
- iGCS = 0;
- }
-
- vSBP = eval(vSBP); //수축기 혈압
- if(vSBP == -1 || vSBP == 999){
- model.alert("수축기혈압이 측정불가 이므로, 최대값을 적용하여 RTS를 계산합니다.");
- iSBP = 4;
- }else if(vSBP > 89){
- iSBP = 4;
- }else if(vSBP >= 76){
- iSBP = 3;
- }else if(vSBP >= 50){
- iSBP = 2;
- }else if(vSBP >= 1){
- iSBP = 1;
- }else{
- iSBP = 0;
- }
-
- vRR = eval(vRR); //분당호흡수
- if(vRR == -1 || vRR == 999){
- model.alert("호흡이 측정불가 이므로, 최대값을 적용하여 RTS를 계산합니다.");
- iRR = 4;
- }else if(vRR > 29){
- iRR = 3;
- }else if(vRR >= 10){
- iRR = 4;
- }else if(vRR >= 6){
- iRR = 2;
- }else if(vRR >= 1){
- iRR = 1;
- }else{
- iRR = 0;
- }
-
- vRTS = 0.9368 * iGCS + 0.7326 * iSBP + 0.2908 * iRR;
- model.setValue("/root/main/strminfo/rtsc", vRTS);
- model.refresh();
-
- //등록대상 체크
- fOeSangYeoBu();
- }
- }
- /**
- * @desc : 중증외상의 범위 체크
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fCheckScope(){
- //내원사유가 '질병외' 인지 체크
- if(model.getValue("/root/main/strminfo/dgkd") != "2"){
- model.alert("내원사유가 질병외 가 아니므로 대상이 아닙니다.\n\n저장 후 종료하시기 바랍니다.");
- IsDaeSang = false;
- return;
- }
- else{
- if(model.getvalue("/root/main/strminfo/aketc") == "Y"){
- model.alert("발병 후 24이내 내원한 환자가 아니므로 등록대상이 아닙니다.\n\n저장 후 종료하시기 바랍니다.");
- IsDaeSang = false;
- vFlag2 = false;
- return;
- }
-
- if(model.getValue("/root/main/strminfo/akdt") !="" && model.getValue("/root/main/strminfo/aktm") != "" ){
-
- //내원일시 - 발병일시(수상일시) <= 24 시간
- vInHsptDate = model.getValue("/root/main/strminfo/indt") + model.getValue("/root/main/strminfo/intm");
- vInjuryDate = model.getValue("/root/main/strminfo/akdt") + model.getValue("/root/main/strminfo/aktm");
-
- var vTermDate = getDateInterval(vInHsptDate,vInjuryDate);
-
- if(vTermDate < 0 || vTermDate > 1){
- model.alert("발병 후 24이내 내원한 환자가 아니므로 대상이 아닙니다.\n\n저장 후 종료하시기 바랍니다.");
- IsDaeSang = false;
- vFlag2 = false;
- return;
- }else {
- IsDaeSang = true;
- }
- }
- }
- //if(vFlag2){
- if( (model.getValue("/root/main/strminfo/rtsc") > "7") && (model.getValue("/root/main/strminfo/ciss") < "15") ) {
- model.alert("ISS 또는 RTS 값을 먼저 체크하여 대상 환자인지 확인하십시요.\n\n(대상: RTS <= 7점 이거나 ISS >= 15점)");
- model.setFocus("ipt_hibp");
- return;
- }
- }
- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- /**
- * @desc : 응급Triage환자 기본정보 조회(primary key를 이용해서 조회한다.)
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fReqERTriagePatInfoPrimaryKey(param){
- var condparam = param.split("▦");
- model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/pid" , condparam[0]);
- model.makeValue("/root/send/reqdata/orddd" , condparam[1]);
- model.makeValue("/root/send/reqdata/cretno" , condparam[2]);
- model.makeValue("/root/send/reqdata/queryflag", "K"); //쿼리구분 K : 기본키를 이용해 조회한다.
- submit("TRMMO06103");
-
- var node = instance1.selectSingleNode(sERTRIAGE_PATH)
- if(node == null){
- fMakeERTriageNode(); //조회 결과가 없는 경우 node를 생성한다.
- model.setValue(sERTRIAGE_PATH + "/status" , "i");
- var condparam = param.split("▦");
- model.setValue(sERTRIAGE_PATH + "/pid" , condparam[0]);
- model.setValue(sERTRIAGE_PATH + "/orddd" , condparam[1]);
- model.setValue(sERTRIAGE_PATH + "/cretno" , condparam[2]);
- model.setValue(sERTRIAGE_PATH + "/sex" , condparam[3]);
- model.setValue(sERTRIAGE_PATH + "/age" , condparam[4]);
- model.setValue(sERTRIAGE_PATH + "/cntctel", condparam[5]);
- model.setValue(sERTRIAGE_PATH + "/patnm" , condparam[6]);
- model.setValue(sERTRIAGE_PATH + "/cscsflag", "-"); //의식
- model.setValue(sERTRIAGE_PATH + "/choswayflag", "-"); //내원수단
- model.setValue(sERTRIAGE_PATH + "/painflag", "-"); //통증
- model.setValue(sERTRIAGE_PATH + "/chosresnflag", "-"); //내원사유
- model.setValue(sERTRIAGE_PATH + "/intenflag", "-"); //의도성여부
- model.setValue(sERTRIAGE_PATH + "/injmechflag", "-"); //손상기전
- model.setValue(sERTRIAGE_PATH + "/chospathflag", "-"); //내원경로
-
- }else{
- //조회 결과가 있는 경우, status를 update로 설정한다.
- model.setValue(sERTRIAGE_PATH + "/status" , "");
- model.copyNode("/root/temp/ertriage", "/root/main/ertriage/ertriage");
- }
- }
- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- function isGreater(a,b) {
- if (Math.abs(a) < Math.abs(b)) return -1;
- else
- if (Math.abs(b) == Math.abs(a)) return 0;
- return true;
- }
- /**
- * @desc : 닫기버튼 클릭
- * @
- * @param :
- * @return :
- * @author : 김소정
- * @---------------------------------------------------
- */
- function fClose() {
- opener.javascript.btn_search.dispatch("DOMActivate");
- model.close();
-
- }
- /////////////////////////////////////////////////////////////
- //날짜 유효검사 사용예> isValidDateTime("20030229", "YYYYMMDD")
- // * isValidDateTime("11:61", "hh:mm");
- ////////////////////////////////////////////////////////////
- //function freqGetERStrmInfo() {
- //
- // var patflagcsv = getGlobalVariable("patflag");
- // var paminfocsv = getGlobalVariable("paminfo");
- //
- // model.removeNodeset("/root/patflag/list");
- // setCSVToNode("/root/patflag", patflagcsv);
- // var ioflag = model.getValue("/root/patflag/list/prcpgenrflag");
- //
- // if(patflagcsv.length > 1 && paminfocsv.length > 1 && ioflag == "E"){ //상단정보가 있고, 환자정보가 응급인 경우
- //
- // model.removeNodeset("/root/paminfo/list");
- // setCSVToNode("/root/paminfo", paminfocsv);
- //
- // model.setValue("/root/main/patinfo/pid", model.getValue("/root/paminfo/list/pid"));
- // model.setValue("/root/main/patinfo/orddd",model.getValue("/root/paminfo/list/indd"));
- // model.setValue("/root/main/patinfo/cretno",model.getValue("/root/paminfo/list/cretno"));
- // model.setValue("/root/main/patinfo/histcd", "O");
- // model.setValue("/root/main/patinfo/gwtransyn", "N");
- // model.makeValue("/root/send/reqdata/pid", model.getValue("/root/paminfo/list/pid"));
- // model.makeValue("/root/send/reqdata/orddd", model.getValue("/root/paminfo/list/indd"));
- // model.makeValue("/root/send/reqdata/cretno", model.getValue("/root/paminfo/list/cretno"));
- //
- // submit("TRMMO06901");
- //// var node = instance1.selectSingleNode(sERSTRM_PATH);
- // var node = instance1.selectSingleNode("/root/main/strminfo");
- // if(node == null){
- // fMakeERStrmNode();
- // model.setValue( "/root/main/patinfo/status" , "i");
- // fInit();
- // }
- // else {
- // model.setValue( "/root/main/patinfo/status" , "u");
- // }
- // }
- // model.refresh();
- //}
- //function fCheckScope(){
- ////내원사유가 '질병외' 인지 체크
- // if(model.getValue("/root/main/strminfo/dgkd") != "2"){
- // model.alert("내원사유가 질병외 가 아니므로 대상이 아닙니다.\n\n저장 후 종료하시기 바랍니다.");
- // IsDaeSang = false;
- // }
- // else{
- // if(model.getvalue("/root/main/strminfo/aketc") == "Y"){
- // model.alert("발병 후 24이내 내원한 환자가 아니므로 등록대상이 아닙니다.\n\n저장 후 종료하시기 바랍니다.");
- // IsDaeSang = false;
- // vFlag2 = false;
- // }
- //
- // if(model.getValue("/root/main/strminfo/akdt") !="" && model.getValue("/root/main/strminfo/aktm") != "" ){
- //
- // //내원일시 - 발병일시(수상일시) <= 24 시간
- // vInHsptDate = model.getValue("/root/main/strminfo/indt") + model.getValue("/root/main/strminfo/intm");
- // vInjuryDate = model.getValue("/root/main/strminfo/akdt") + model.getValue("/root/main/strminfo/aktm");
- //
- //
- // var vTermDate = getDateInterval(vInHsptDate,vInjuryDate);
- //
- // if(vTermDate < 0 || vTermDate > 1){
- // model.alert("발병 후 24이내 내원한 환자가 아니므로 대상이 아닙니다.\n\n저장 후 종료하시기 바랍니다.");
- // IsDaeSang = false;
- // vFlag2 = false;
- // }else {
- // IsDaeSang = true;
- // }
- // }
- // }
- // if(!vFlag2){
- // model.alert("ISS 또는 RTS 값을 먼저 체크하여 대상 환자인지 확인하십시요.\n\n(대상: RTS <= 7점 이거나 ISS >= 15점)");
- // model.setFocus("ipt_hibp");
- // }
- //}
- //function fChkChanged(vChkGrID, vChkYN, vChkID) {
- // if ( vChkGrID == "mimg") {
- // if (vChkID == "img8" || vChkID == "img9") {
- //
- // }
- // else {
- // if (vChkYN == "Y") return "Y";
- // else return "N";
- // }
- // }else if ( vChkGrID == "tsst" ) {
- // if (vChkID == "" || vChkID == "" || vChkID == "") {
- //
- // }
- // else {
- // if(vChkYN == "Y") return "Y";
- // else return "-";
- // }
- // }
- //}
|