123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>소아청소년퇴원간호계획</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <room/>
- <patnm/>
- <sex/>
- <age/>
- <pid/>
- <dschcareinfo>
- <dschcareinfo>
- <cscsstatcd>01</cscsstatcd>
- <proceracomp>01</proceracomp>
- <dracomp>02</dracomp>
- <dschtypecds>01</dschtypecds>
- <dschtypenm/>
- <dschmthdnm/>
- <dschgoplaccd>01</dschgoplaccd>
- <dschgoplacnm/>
- <dschmthdcd>01</dschmthdcd>
- <antibioallgyn>01</antibioallgyn>
- <antibioallgcd/>
- <antibioallgnm/>
- <dschcareeducinfo>
- <dschcareeduc>
- <actscop>01</actscop>
- <dietcd>01</dietcd>
- <treatdiet/>
- <dietnm/>
- <bathcd>01</bathcd>
- <bathnm/>
- <healmngtcd/>
- <healmngtnm/>
- <healmngtsymp/>
- <mngtaftdschyn>02</mngtaftdschyn>
- <mngtaftdschcd/>
- <mngtaftdschnm/>
- <dschseqeducyn>01</dschseqeducyn>
- <dschmeditmedguidyn>01</dschmeditmedguidyn>
- <dschcatestatcd/>
- <dschcateoxy/>
- <dschcatestatnm/>
- <spcffact/>
- <dschcareeducinclyn/>
- <dschcatestatyn>01</dschcatestatyn>
- </dschcareeduc>
- </dschcareeducinfo>
- <etcfactinfo>
- <etcfact>
- <tel/>
- <eductrgt/>
- <educunstdgrde>01</educunstdgrde>
- </etcfact>
- </etcfactinfo>
- <recdd/>
- <rectm/>
- <recuserid/>
- <dschdd/>
- <recusernm/>
- <signno/>
- </dschcareinfo>
- </dschcareinfo>
- </main>
- <send>
- <dschcareinfo>
- <rsrvinfo>
- <ordrsrvinfo/>
- <testrsrvinfo/>
- <dschdrugfactinfo/>
- </rsrvinfo>
- </dschcareinfo>
- </send>
- <harddata>
- <hardcode/>
- <send/>
- </harddata>
- <codeinfo/>
- <duplocrprnt>
- <msginfo/>
- </duplocrprnt>
- <temp>
- <prtPatient>Y</prtPatient>
- <prtOCR/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.removeNodeset("/root/main/dschcareinfo/ordrsrvinfo");
- model.removeNodeset("/root/main/dschcareinfo/testrsrvinfo");
- model.removeNodeset("/root/main/dschcareinfo/dschdrugfactinfo");
-
- grd_ordrsrvinfo.rebuild();
- grd_testrsrvinfo.rebuild();
- grd_dschdrugmedifact.rebuild();
-
- //172 JCI 적용여부
- //fGetNursHardCdInfo("'172','174','178','U31'", getCurrentDate()); //CareCom.js
-
- model.makeNode("/root/temp/cond");
-
- var paminfo = getGlobalVariable("paminfo");
-
- setCSVToNode("/root/temp/cond", paminfo);
-
- var dschdclrtyn = model.getValue("/root/temp/cond/list/dschdclrtyn");
-
- var pid = model.getValue("/root/temp/cond/list/pid");
- if(pid == "") {
- messageBox("환자를 선택하지 ", "E007");
- window.close();
-
- }else{
-
- if(dschdclrtyn == 'N') {
- messageBox("퇴원예고가 이루어지지", "E007");
- window.close();
- }else{
- var deptcd = model.getValue("/root/temp/cond/list/wardcd");
- var userdept = getUserInfo("dutplcecd");
- var spiritdept = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='U31']/cdid");
-
- if(deptcd == spiritdept) {
- if(userdept != spiritdept) {
- messageBox("환자 개인정보 보호를 위해 해당병동 사용자외엔 조회를 제한합니다", "E");
- window.close();
- }
- }
-
- var room = model.getValue("/root/temp/cond/list/roomcd");
- var patnm = model.getValue("/root/temp/cond/list/hngnm2");
- var sex = model.getValue("/root/temp/cond/list/sex");
- var age = model.getValue("/root/temp/cond/list/age");
- var pid = model.getValue("/root/temp/cond/list/pid");
-
- model.setValue("/root/main/room", room);
- model.setValue("/root/main/patnm", patnm);
- model.setValue("/root/main/sex", sex);
- model.setValue("/root/main/age", age);
- model.setValue("/root/main/pid", pid);
-
- fGetDschInfo();
-
- var dschdd = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschdd");
- var dschdclrdt = model.getValue("/root/temp/cond/list/dschdclrdt").substr(0,8);
- if(dschdd == '' ) {
- if(dschdclrdt != '-' || dschdclrdt != '') {
- model.setValue("/root/main/dschcareinfo/dschcareinfo/dschdd",dschdclrdt);
- }
- }
- model.refresh();
- }
- }
- ]]>
- </script>
- <submission id="TRMNW05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main"/>
- <submission id="TRMNW05802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden"/>
- <submission id="TRMNW05803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/rsrvinfo"/>
- <submission id="TRMNW05804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/patinfo"/>
- <submission id="TXMNW05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dschcareinfo"/>
- <submission id="TXMRF03805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/insocrtag"/>
- <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo/codelist"/>
- <submission id="TRADC02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/patinfo"/>
- <submission id="TRMNW15101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/duplocrprnt/msginfo"/>
- <submission id="TXMNW03602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reprntinfo"/>
- <submission id="TRMNW03605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hiden"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" src="../../../emr/formmngtweb/js/MRF03800.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/wardcareweb/js/SMMNW03.js"/>
- <script type="javascript">
- <![CDATA[
-
- var pid ="";
- var indd = "";
- var instcd = "";
- var orddeptcd = "";
- //var xFormCd = "0000002453";
-
- fGetNursHardCdInfo("'172','174','178','U31','R4'", getCurrentDate()); //CareCom.js
-
- var xFormCd = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='R4' and supcdid = '02']/cdid"); // 서식코드 기준자료로 관리
-
- function fGetCurrentDate() {
-
- var dt = getCurrentDate();
-
- return dt;
- }
-
- function fGetCurrentTime() {
- var dt = getCurrentTime();
- dt = dt.substr(0,4);
-
- return dt;
- }
-
- //퇴원간호계획 조회
- function fGetDschInfo(){
- var pid = model.getValue("/root/temp/cond/list/pid");
- var indd = model.getValue("/root/temp/cond/list/indd");
- var cretno = model.getValue("/root/temp/cond/list/cretno");
- var instcd = model.getValue("/root/temp/cond/list/instcd");
- var orddeptcd = model.getValue("/root/temp/cond/list/orddeptcd");
-
- model.removeNodeset("/root/send/req");
- model.makeValue("/root/send/req/pid", pid);
- model.makeValue("/root/send/req/indd", indd);
- model.makeValue("/root/send/req/cretno", cretno);
- model.makeValue("/root/send/req/orddeptcd", orddeptcd);
- model.makeValue("/root/send/req/instcd", instcd);
- model.makeValue("/root/send/req/dschdclrdt", model.getValue("/root/temp/cond/list/dschdclrdt").substr(0,8)); //예약정보 조회시 사용
- model.makeValue("/root/send/req/recflag", "02");
-
- if(submit("TRMNW05802")) {
- var exist = model.getValue("/root/hidden/existinfo/exist");
-
- if(exist == "Y") {
- submit("TRMNW05801");
-
- } else {
- model.setValue("/root/main/dschcareinfo/dschcareinfo/recdd", fGetCurrentDate());
- model.setValue("/root/main/dschcareinfo/dschcareinfo/rectm", fGetCurrentTime());
- model.setValue("/root/main/dschcareinfo/dschcareinfo/recuserid", getUserId());
- model.setValue("/root/main/dschcareinfo/dschcareinfo/recusernm", getUserName());
- //입원전 검사실에서 미시행한 처방이 존재할 경우 [외래진료과에서 반환받으실 입원전 검사처방이 존재합니다] 라는 메시지가 퇴원간호계획화면의 {특이사항} 항목에 자동으로 조회
- if(model.getValue("/root/hidden/existinfo/intestprcpyn") == "Y"){
- model.setValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/spcffact", "외래진료과에서 반환받으실 입원전 검사처방이 존재합니다.");
- }
- }
-
- submit("TRMNW03605");
- var dschcateyn = model.getValue("/root/hiden/dschcateinfo/dschcateyn");
- if( dschcateyn == "Y" ){
- model.setValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn", "02"); //유
- messageBox("제거되지 않은 [삽관/기구] 기록이 있습니다. \n 기록을 확인","I008"); // 하십시오.
- }
-
- rdo_dschtypes.dispatch("xforms-value-changed");
- rdo_dschmthd.dispatch("xforms-value-changed");
- rdo_dschgoplac.dispatch("xforms-value-changed");
- rdo_antibioallgyn.dispatch("xforms-value-changed");
- chk_antibioallgcd.dispatch("xforms-value-changed");
- rdo_diet.dispatch("xforms-value-changed");
- rdo_bath.dispatch("xforms-value-changed");
- chk_healmngt.dispatch("xforms-value-changed");
- rdo_mngtaftdschyn.dispatch("xforms-value-changed");
- chk_mngtaftdsch.dispatch("xforms-value-changed");
- chk_dschcatestat.dispatch("xforms-value-changed");
- if ( isNull(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn")) ){
- model.makeValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn","01");
- }
- rdo_dschcatestatyn.dispatch("xforms-value-changed");
-
- fGetRsrvInfo(); //예약정보조회
- }
- }
-
- /**
- * @group :
- * @ver : 2007.10.09
- * @by : 김 병 국
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 퇴원 간호 계획 출력
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fPrintDschInfo(printflag, ocrtag, elecflag) {
- var exist = model.getValue("/root/hidden/existinfo/exist");
- if(exist != "Y") {
- messageBox("저장한 후에 출력하세요.", "I");
- return;
- }
-
- var printflag = printflag;
- var ocrtag = ocrtag;
-
- var formcd = xFormCd ; //"0000002453";
- var usernm = getUserName();
- model.makeValue("/root/send/req/formcd", formcd);
-
- var sendPath = "/root/send/dschcareinfo"; //렉스퍼트 인자값 경로
- var sendDschPath = "/root/send/dschcareinfo/dschcareinfo"; //렉스퍼트 인자값 경로
- var destPath = "/root/main/dschcareinfo"; //기본 퇴원간호계획 경로
- var destEducPath = "/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc"; //퇴원간호교육에 관한 경로
- var destEtcPath = "/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact"; //기타 사항들에 관한 경로
- var patInfoPath = "/root/temp/cond/list"; //상단정보 경로
-
- var pid = model.getValue(patInfoPath + "/pid");
- var indd = model.getValue(patInfoPath + "/indd");
- var cretno = model.getValue(patInfoPath + "/cretno");
- var instcd = model.getValue(patInfoPath + "/instcd");
- var ordtype = model.getValue(patInfoPath + "/ioflag");
- var medispclid = model.getValue(patInfoPath + "/medispclid");
- var orddeptcd = model.getValue(patInfoPath + "/orddeptcd");
- var hngnm = model.getValue(patInfoPath + "/hngnm");
- var age = model.getValue(patInfoPath + "/age");
- var sex= model.getValue(patInfoPath + "/sex");
- var wardnm = model.getValue(patInfoPath + "/wardnm");
-
- submit("TRMNW05804"); //주민번호, 부서명 가져오기 위한 submit
-
- var rrgstno1 = model.getValue("/root/hidden/patinfo/rrgstno1");
- var rrgstno2 = model.getValue("/root/hidden/patinfo/rrgstno2");
- var orddeptnm = model.getValue("/root/hidden/patinfo/orddeptnm");
-
- var seq = "" ;
-
- if(printflag == "reprint"){
- seq = ocrtag;
- }else{
- seq = model.getValue("/root/hidden/patinfo/seq");
- }
-
- var formfromdt = model.getValue("/root/hidden/patinfo/formfromdt");
- var orddeptabbr = model.getValue("/root/hidden/patinfo/orddeptabbr");
- var prntcnt = model.getValue("/root/hidden/patinfo/prntcnt");
-
- //출력물 : 병원별 등록번호 표시방법 여부(HardCode 테이블 이용)_20090820_SMY
- model.removeNodeset("/root/harddata/send");
- model.makeNode("/root/harddata/send");
- mmbfGetHardCodeInfoNm("/root/harddata/send","/root/harddata/hardcode", 3801); //OCR서식의 등록번호 체크로직 표시 여부
- var SetPidYN = model.getValue("/root/harddata/hardcode/hardcd/hardcd"); //Y일 경우 : 출력물의 pid정보가 8자리 이하일 경우 0으로 자릿수를 맞춰줌
-
- var inreq = model.getValue("/root/main/dschcareinfo/rsrvinfo/inrsrvinfo/inreq");//입원의뢰서정보
- var roomcd = model.getValue("/root/temp/cond/list/roomcd");//병실정보
-
- var actscop = rdo_actscop.label;
- var diet = rdo_diet.value;
-
- if(diet == "02") { //치료식 선택시.
- diet = rdo_diet.label + "( " + ipt_treatdiet.label + " )";
- } else if(diet == "08") { //기타 선택시.
- diet = rdo_diet.label + "( " + ipt_dietnm.label + " )";
- } else {
- diet = rdo_diet.label;
- }
-
- var bath = rdo_bath.value;
-
- if(bath == "07") {
- bath = rdo_bath.label + "( " + ipt_bathnm.label + " )";
- } else {
- bath = rdo_bath.label;
- }
-
- var healmngtVal = chk_healmngt.value;
- var healmngtLab = chk_healmngt.label;
-
- var arr = new Array(chk_healmngt.length);
-
- for(var i = 0; i < arr.length; i++) {
- arr[i]="";
- }
-
- var arrVal = healmngtVal.split(" "); //선택된 Value값을 가져온.다
- var arrLab = healmngtLab.split(" "); //선택된 Label값을 가져온다.
-
- var healmngt = "";
- var idx = 0;
-
- //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
- for(var i = 1; i <= chk_healmngt.length; i++) {
-
- //선택된 아이템의 갯수만큼 반복.
- for(var j = 0; j < arrVal.length; j++) {
- //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
- if(i == arrVal[j]) {
- //기타이거나
- if(i == '11') {
- arrLab[idx] += "( " + ipt_healmngtnm.label + " )";
- }
- //외래진료나 문의를 요하는 증상 항목 선택시
- if(i == '13') {
- arrLab[idx] += cap_healmngtsymp.label + "( " + ipt_healmngtsymp.label + " )";
- }
-
- idx++; //선택된 항목만큼. 값이 담겨져있는지 비료를 위한 인덱스.
-
- //선택된 항목만큼값을 담았다면 종료.
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
-
- healmngt = arrLab; //저장한 값을 변수에 담음.
-
- var mngtaftdsch = rdo_mngtaftdschyn.value;
-
- var mngtaftdschVal = chk_mngtaftdsch.value;
- var mngtaftdschLab = chk_mngtaftdsch.label;
-
- arrVal = mngtaftdschVal.split(" ");
- arrLab = mngtaftdschLab.split(" ");
-
- if(mngtaftdsch == "01") {
- mngtaftdsch = rdo_mngtaftdschyn.label;
-
- } else {
- idx = 0;
-
- for(var i = 1; i <= chk_mngtaftdsch.length; i++) {
- for(var j = 0; j < mngtaftdschVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '6') {
- arrLab[idx] += "( " + ipt_mngtaftdschnm.label + " )";
- }
- idx++;
- }
- }
- }
-
- mngtaftdsch = rdo_mngtaftdschyn.label + "( " + arrLab + " )";
- }
- var dschseqeduc = rdo_dschseqeducyn.label;
- var dschmeditmedguid = rdo_dschmeditmedguidyn.label;
-
- //퇴원시 기구 및 삽관상태_20090601_SMY
- var dschcatestatVal = chk_dschcatestat.value;
- var dschcatestatLab = chk_dschcatestat.label;
- var dschcatestatyn = rdo_dschcatestatyn.label;
- var dschcatestatynVal = rdo_dschcatestatyn.value;
-
- if ( dschcatestatynVal !="" && dschcatestatynVal == "02" ){
- var arr = new Array(chk_dschcatestat.length);
-
- for(var i = 0; i < arr.length; i++) {
- arr[i]="";
- }
-
- var arrVal = dschcatestatVal.split("▦"); //선택된 Value값을 가져온.다
- var arrLab = dschcatestatLab.split("▦"); //선택된 Label값을 가져온다.
-
- var dschcatestat = "";
- var idx = 0;
-
- //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
- for(var i = 1; i <= chk_dschcatestat.length; i++) {
-
- //선택된 아이템의 갯수만큼 반복.
- for(var j = 0; j < arrVal.length; j++) {
- //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
- if(i == arrVal[j]) {
- //산소
- if(i == '7') {
- arrLab[idx] += "( " + ipt_dschcateoxy.value + cap_oxyunit.label + " )";
- }
-
- //기타이거나
- if(i == '12') {
- arrLab[idx] += "( " + ipt_dschcatestatnm.label + " )";
- }
-
- idx++; //선택된 항목만큼. 값이 담겨져있는지 비료를 위한 인덱스.
-
- //선택된 항목만큼값을 담았다면 종료.
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
-
- dschcatestat = arrLab; //저장한 값을 변수에 담음.
- } else {
- dschcatestat = dschcatestatyn;
- }
-
-
- var spcffact = txa_spcffact.label;
- var tel = ipt_tel.label;
- var instUseYN = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='172']/cdid");//JCI 추가 20091216 김홍점
- //JCI 추가 20091216 김홍점 산부인과 비뇨기과 신경과는 입퇴원요약기록 출력되면 안됨.
- var instNotUseDeptcd = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='178' and cdnm = '"+ orddeptcd +"']/cdid");
-
- model.makeNode(sendPath);
-
- model.makeValue(sendDschPath + "/pid", pid);
- model.makeValue(sendDschPath + "/hngnm", hngnm);
- model.makeValue(sendDschPath + "/age", age);
- model.makeValue(sendDschPath + "/sex", sex);
- model.makeValue(sendDschPath + "/regist1", rrgstno1);
- model.makeValue(sendDschPath + "/regist2", rrgstno2);
- model.makeValue(sendDschPath + "/orddeptnm", orddeptnm);
- model.makeValue(sendDschPath + "/wardnm", wardnm);
- model.makeValue(sendDschPath + "/indd", indd);
-
- model.makeValue(sendDschPath + "/actscope", actscop);
- model.makeValue(sendDschPath + "/diet", diet);
- model.makeValue(sendDschPath + "/bath", bath);
- model.makeValue(sendDschPath + "/healmngt", healmngt);
- model.makeValue(sendDschPath + "/mngtaftdsch", mngtaftdsch);
- model.makeValue(sendDschPath + "/dschseqeduc", dschseqeduc);
- model.makeValue(sendDschPath + "/dschmeditmedguid", dschmeditmedguid);
- model.makeValue(sendDschPath + "/dschcatestat", dschcatestat); //20090601_SMY추가
- model.makeValue(sendDschPath + "/spcffact", spcffact);
- model.makeValue(sendDschPath + "/tel", tel);
- model.makeValue(sendDschPath + "/seq", seq);
- model.makeValue(sendDschPath + "/usernm", usernm);
- //model.makeValue(sendDschPath + "/logurl", getLogoImageURL());
- //model.makeValue(sendDschPath + "/logurl", getBigLogoImageURL('', instcd));
- model.makeValue(sendDschPath + "/logurl", getImageURL("biglogo"+instcd, "jpg"));
- model.makeValue(sendDschPath + "/curdd", getCurrentDate());
- model.makeValue(sendDschPath + "/curtm", getCurrentTime());
- model.makeValue(sendDschPath + "/orddeptabbr", orddeptabbr);
- model.makeValue(sendDschPath + "/setpidyn", SetPidYN); //20090820_SMY추가
-
- model.makeNode(sendPath + "/rsrvinfo/ordrsrvinfo");
- model.makeNode(sendPath + "/rsrvinfo/testrsrvinfo");
- model.makeNode(sendPath + "/rsrvinfo/dschdrugfactinfo");
- model.makeValue(sendDschPath + "/inreq", inreq); //입원외뢰서정보
- model.makeValue(sendDschPath + "/roomcd", roomcd); //병실정보
-
- fPrintDschCarePlanForJCI(sendPath + "/comrecinfo", "/root/hidden/comrecinfo", "/root/codeinfo/codeinfo" );//Carecom.js
-
- copyNodesetType(sendPath + "/rsrvinfo/ordrsrvinfo", "/root/main/dschcareinfo/rsrvinfo/ordrsrvinfo");
- copyNodesetType(sendPath + "/rsrvinfo/testrsrvinfo", "/root/main/dschcareinfo/rsrvinfo/testrsrvinfo");
- copyNodesetType(sendPath + "/rsrvinfo/dschdrugfactinfo", "/root/main/dschcareinfo/rsrvinfo/dschdrugfactinfo");
-
- clearParameter("reportprintyn");
-
- // 전자동의서
- if ( elecflag == "Y" ) {
- if ( model.getValue("/root/temp/prtPatient") == "Y" ) {
- //환자보관용
- exeReportPreview("RPMNW03600", "XMLSTR", "", "", "true", "", "", "", "", "true");
- }
- if ( model.getValue("/root/temp/prtOCR") == "Y" ) {
- //전자동의서 version
- if(!fSaveOCRIF(seq, pid, indd, cretno, ordtype, orddeptcd, medispclid, formcd, formfromdt, "", "", pagecnt)){
- messageBox("통합기록조회 연동중 실패하였습니다.","C999");
- return;
- }
-
- ocrtag = seq;
-
- fElecPrint(pid, cretno, indd, instcd, formcd, ocrtag, "RPMNW05803");
- }
- // 일반 동의서
- } else {
- //환자보관용
- exeReportPreview("RPMNW05800", "XMLSTR", "", "", "true", "", "", "", "", "true");
- //출력 version
- exeReportPreview("RPMNW05802", "XMLSTR", "", "", "true", "", "", "", "", "true");
-
-
- model.removeNode("/root/hidden/comrecinfo");
-
- if (getParameter("reportprintyn") == "Y"){ // 프린트 출력이 되고 창이 닫혔을 때
-
- var pagecnt = getParameter("reportPageCount"); //출력장수(RPMNW03600)
-
- if(printflag == "newprint"){ // 신규 출력
- //OCR 정보 저장
-
- if(!fSaveOCRIF(seq, pid, indd, cretno, ordtype, orddeptcd, medispclid, formcd, formfromdt, "", "", pagecnt)){
- messageBox("통합기록조회 연동중 실패하였습니다.","C999");
- return;
- }
-
- }else if(printflag == "reprint"){ // 재출력
-
- model.makeValue("/root/send/reprntinfo/ocrtag", seq);
- model.makeValue("/root/send/reprntinfo/pagecnt", pagecnt);
-
- submit("TXMNW03602");
- }
- }
- }
- //btn_prn.dispatch("DOMActivate");
-
- }
-
- function fSetDschInfo(certFlag) {
- var ordRsrvInfo = getGridUpdateData(grd_ordrsrvinfo);
- var testRsrvInfo = getGridUpdateData(grd_testrsrvinfo);
- var dschdrugmedifactinfo = getGridUpdateData(grd_dschdrugmedifact);
-
- var recdt = model.getValue("/root/main/dschcareinfo/dschcareinfo/recdd") + model.getValue("/root/main/dschcareinfo/dschcareinfo/rectm");
-
- pid = model.getValue("/root/temp/cond/list/pid");
- indd = model.getValue("/root/temp/cond/list/indd");
- instcd = model.getValue("/root/temp/cond/list/instcd");
- orddeptcd = model.getValue("/root/temp/cond/list/orddeptcd");
-
- var existflag = model.getValue("/root/hidden/existinfo/exist");
-
- model.makeValue("/root/send/dschcareinfo/recdd", model.getValue("/root/main/dschcareinfo/dschcareinfo/recdd"));
- model.makeValue("/root/send/dschcareinfo/rectm", model.getValue("/root/main/dschcareinfo/dschcareinfo/rectm"));
- model.makeValue("/root/send/dschcareinfo/recdt", recdt);
- model.makeValue("/root/send/dschcareinfo/recuserid", model.getValue("/root/main/dschcareinfo/dschcareinfo/recuserid"));
- model.makeValue("/root/send/dschcareinfo/recusernm", model.getValue("/root/main/dschcareinfo/dschcareinfo/recusernm"));
- model.makeValue("/root/send/dschcareinfo/dschdd", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschdd"));
- model.makeValue("/root/send/dschcareinfo/dschtypecds", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschtypecds"));
- model.makeValue("/root/send/dschcareinfo/dschtypenm", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschtypenm"));
- model.makeValue("/root/send/dschcareinfo/cscsstatcd", model.getValue("/root/main/dschcareinfo/dschcareinfo/cscsstatcd"));
- model.makeValue("/root/send/dschcareinfo/dschmthdcd", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschmthdcd"));
- model.makeValue("/root/send/dschcareinfo/dschmthdnm", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschmthdnm"));
- model.makeValue("/root/send/dschcareinfo/dschgoplaccd", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschgoplaccd"));
- model.makeValue("/root/send/dschcareinfo/dschgoplacnm", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschgoplacnm"));
- model.makeValue("/root/send/dschcareinfo/proceracomp", model.getValue("/root/main/dschcareinfo/dschcareinfo/proceracomp"));
- model.makeValue("/root/send/dschcareinfo/dracomp", model.getValue("/root/main/dschcareinfo/dschcareinfo/dracomp")); //20090601_SMY추가
- model.makeValue("/root/send/dschcareinfo/antibioallgyn", model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgyn"));
- model.makeValue("/root/send/dschcareinfo/antibioallgcd", model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgcd"));
- model.makeValue("/root/send/dschcareinfo/antibioallgnm", model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgnm"));
- model.makeValue("/root/send/dschcareinfo/dschcareeducinfo", instance1.selectNodesXml("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc"));
- model.makeValue("/root/send/dschcareinfo/etcfactinfo", instance1.selectNodesXml("/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact"));
- model.makeValue("/root/send/dschcareinfo/ordrsrvinfo", ordRsrvInfo);
- model.makeValue("/root/send/dschcareinfo/testrsrvinfo", testRsrvInfo);
- model.makeValue("/root/send/dschcareinfo/dschdrugmedifactinfo", dschdrugmedifactinfo);
- model.makeValue("/root/send/dschcareinfo/recflag", "02");
- model.makeValue("/root/send/dschcareinfo/pid", pid);
- model.makeValue("/root/send/dschcareinfo/indd", indd);
- model.makeValue("/root/send/dschcareinfo/orddeptcd", orddeptcd);
- model.makeValue("/root/send/dschcareinfo/instcd", instcd);
- model.makeValue("/root/send/dschcareinfo/existflag", existflag);
- model.makeValue("/root/send/dschcareinfo/certflag", certFlag);
-
- }
-
- function fMake_SignData() {
- Sign.addnode("/root/main/dschcareinfo");
-
- var xDschInfoPath = Sign.XPATH_SIGNINFO + "/dschcareinfo";
- var str = "";
-
- /****************************** 퇴원시 환자정보 **************************************/
- //퇴원유형
- var dschtypecds = model.getValue(xDschInfoPath + "/dschcareinfo/dschtypecds");
- var dschtypenm = model.getValue(xDschInfoPath + "/dschcareinfo/dschtypenm");
- str = rdo_dschtypes.label;
- if(dschtypecds != "") {
- if(dschtypecds == "07") {
- if(dschtypenm != "") {
- str += "(" + dschtypenm + ")";
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschtypecds", str);
- }
-
- //의식상태
- var cscsstat = model.getValue(xDschInfoPath + "/dschcareinfo/cscsstatcd");
- str = rdo_cscsstat.label;
-
- if(cscsstat != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/cscsstatcd", str);
- }
- //보호자동반
- var proceracomp = model.getValue(xDschInfoPath + "/dschcareinfo/proceracomp");
- str = rdo_proceracomp.label;
-
- if(proceracomp != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/proceracomp", str);
- }
-
- //진료의동반_20090601_SMY추가
- var dracomp = model.getValue(xDschInfoPath + "/dschcareinfo/dracomp");
- str = rdo_dracomp.label;
-
- if(dracomp != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/dracomp", str);
- }
- //퇴원방법
- var dschmthdcd = model.getValue(xDschInfoPath + "/dschcareinfo/dschmthdcd");
- var dschmthdnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschmthdnm");
- str = rdo_dschmthd.label;
-
- if(dschmthdcd != "") {
- if(dschmthdcd == "06") {
- if(dschmthdnm != "") {
- str += "(" + dschmthdnm + ")";
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschmthdcd", str);
- }
-
- //퇴원후갈곳
- var dschgoplaccd = model.getValue(xDschInfoPath + "/dschcareinfo/dschgoplaccd");
- var dschgoplacnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschgoplacnm");
- str = rdo_dschgoplac.label;
-
- if(dschgoplaccd != "") {
- if(dschgoplaccd == "04") {
- if(dschgoplacnm != "") {
- str += "(" + dschgoplacnm + ")";
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschgoplaccd", str);
- }
-
- //입원기간 중 항생제 알러지 반응
- var antibioallgyn = model.getValue(xDschInfoPath + "/dschcareinfo/antibioallgyn");
- var antibioallgnm = model.getValue(xDschInfoPath + "/dschcareinfo/antibioallgnm");
- str = rdo_antibioallgyn.label;
- if(antibioallgyn != "") {
-
- if(antibioallgyn == "02") {
- var antibioallgVal = chk_antibioallgcd.value;
- var antibioallgLab = chk_antibioallgcd.label;
-
- var arrVal = antibioallgVal.split(",");
- var arrLab = antibioallgLab.split(",");
-
- idx = 0;
-
- for(var i = 1; i <= chk_antibioallgcd.length; i++) {
- for(var j = 0; j < antibioallgVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '3') {
- arrLab[idx] += "( " + antibioallgnm + " )";
- }
- idx++;
- }
- }
- }
-
- str += "( " + arrLab + " )";
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/antibioallgyn", str );
- }
-
- /****************************** 퇴원 간호 교육 **************************************/
- //활동범위
- var actscop = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/actscop");
- str = rdo_actscop.label;
- if(actscop != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/actscop", str);
- }
-
- //식이
- var diet = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd");
- var treatdiet = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/treatdiet");
- var dietnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dietnm");
- str = rdo_diet.label;
-
- if(diet != "") {
- if(diet == "02") { //치료식 선택시.
- if(treatdiet != "") {
- str += "(" + treatdiet + ")";
- }
- } else if(diet == "04") { //기타 선택시.
- if(dietnm != "") {
- str += "(" + dietnm + ")";
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd", str);
- }
-
- //목욕
- var bathcd = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/bathcd");
- var bathnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/bathnm");
- str = rdo_bath.label;
-
- if(bathcd != "") {
- if(bathcd == "07") {
- if(bathnm != "") {
- str += "(" + bathnm + ")";
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/bathcd", str);
- }
-
- //건강관리
- var idx = 0;
- var healmngt = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtcd");
- var healmngtnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtnm");
- var healmngtsymp = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtsymp");
- if(healmngt != "") {
- var healmngtVal = chk_healmngt.value;
- var healmngtLab = chk_healmngt.label;
-
- var arrVal = healmngtVal.split(" "); //선택된 Value값을 가져온.다
- var arrLab = healmngtLab.split(" "); //선택된 Label값을 가져온다.
-
- //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
- for(var i = 1; i <= chk_healmngt.length; i++) {
-
- //선택된 아이템의 갯수만큼 반복.
- for(var j = 0; j < arrVal.length; j++) {
- //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
- if(i == arrVal[j]) {
- //기타이거나
- if(i == '11') {
- arrLab[idx] += "( " + healmngtnm + " )";
- }
- //외래진료나 문의를 요하는 증상 항목 선택시
- if(i == '13') {
- arrLab[idx] += cap_healmngtsymp.label + "( " + healmngtsymp + " )";
- }
-
- idx++; //선택된 항목만큼. 값이 담겨져있는지 비료를 위한 인덱스.
-
- //선택된 항목만큼값을 담았다면 종료.
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
- str = arrLab; //저장한 값을 변수에 담음.
-
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtcd", str );
- }
-
- //추후관리
- var mngtaftdsch = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn");
- var mngtaftdschnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
- str = rdo_mngtaftdschyn.label;
-
- if(mngtaftdsch != "") {
-
- if(mngtaftdsch == "02") {
- var mngtaftdschVal = chk_mngtaftdsch.value;
- var mngtaftdschLab = chk_mngtaftdsch.label;
-
- var arrVal = mngtaftdschVal.split(" ");
- var arrLab = mngtaftdschLab.split(" ");
-
- idx = 0;
-
- for(var i = 1; i <= chk_mngtaftdsch.length; i++) {
- for(var j = 0; j < mngtaftdschVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '6') {
- arrLab[idx] += "( " + mngtaftdschnm + " )";
- }
- idx++;
- }
- }
- }
-
- str += "( " + arrLab + " )";
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn", str );
- }
- //퇴원절차교육
- var dschseqeducyn = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschseqeducyn");
- str = rdo_dschseqeducyn.label;
-
- if(dschseqeducyn != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschseqeducyn", str);
- }
-
- //퇴원약복약지도
- var dschmeditmedguidyn = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn");
- str = rdo_dschmeditmedguidyn.label;
- if(dschmeditmedguidyn != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn", str);
- }
-
- //퇴원시 기구 및 삽관상태_20090601_SMY추가
- var dschcatestatyn = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn");
- str = rdo_dschcatestatyn.label;
-
- var idx = 0;
- var dschcatestatcd = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd");
- var dschcateoxy = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy");
- var dschcatestatnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm");
- if(dschcatestatyn != "" && dschcatestatyn == "02") {
- var dschcatestatVal = chk_dschcatestat.value;
- var dschcatestatLab = chk_dschcatestat.label;
-
- var arrVal = dschcatestatVal.split("▦"); //선택된 Value값을 가져온.다
- var arrLab = dschcatestatLab.split("▦"); //선택된 Label값을 가져온다.
-
- //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
- for(var i = 1; i <= chk_dschcatestat.length; i++) {
-
- //선택된 아이템의 갯수만큼 반복.
- for(var j = 0; j < arrVal.length; j++) {
- //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
- if(i == arrVal[j]) {
- //산소
- if(i == '7') {
- arrLab[idx] += "( " + dschcateoxy + cap_oxyunit.label + " )";
- }
-
- //기타이거나
- if(i == '12') {
- arrLab[idx] += "( " + dschcatestatnm + " )";
- }
-
- idx++; //선택된 항목만큼. 값이 담겨져있는지 비료를 위한 인덱스.
-
- //선택된 항목만큼값을 담았다면 종료.
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
- str = arrLab; //저장한 값을 변수에 담음.
-
- model.makeValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd", str );
- }else {
- model.makeValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd", str );
- }
- //교육대상
- var eductrgt = model.getValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/eductrgt");
- str = chk_eductrgt.label;
-
- if(eductrgt != "") {
- arr = str.split(" ");
- model.setValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/eductrgt", arr);
- }
-
- //교육이해정도
- var educunstdgrde = model.getValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/educunstdgrde");
- str = rdo_educunstdgrde.label;
-
- if(educunstdgrde != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/educunstdgrde", str);
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1192;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">소아청소년퇴원간호계획</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:771px; ">
- <select id="chk_healmngt" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtcd" overflow="visible" appearance="full" cellspacing="75" cols="8" vcellspacing="6" style="left:85px; top:531px; width:1105px; height:66px; border-style:none; ">
- <choices>
- <item>
- <label>감염예방</label>
- <value>1</value>
- </item>
- <item>
- <label>체중측정</label>
- <value>2</value>
- </item>
- <item>
- <label>당뇨조절</label>
- <value>3</value>
- </item>
- <item>
- <label>구강간호</label>
- <value>4</value>
- </item>
- <item>
- <label>발간호</label>
- <value>5</value>
- </item>
- <item>
- <label>튜브관리</label>
- <value>6</value>
- </item>
- <item>
- <label>흡인간호</label>
- <value>14</value>
- </item>
- <item>
- <label>경관영양간호</label>
- <value>15</value>
- </item>
- <item>
- <label>혈압조절</label>
- <value>7</value>
- </item>
- <item>
- <label>좌욕</label>
- <value>8</value>
- </item>
- <item>
- <label>체위변경</label>
- <value>9</value>
- </item>
- <item>
- <label>상처관리</label>
- <value>10</value>
- </item>
- <item>
- <label>기타</label>
- <value>11</value>
- </item>
- <item>
- <label/>
- <value>12</value>
- </item>
- <item>
- <label/>
- <value>16</value>
- </item>
- <item>
- <label/>
- <value>17</value>
- </item>
- <item>
- <label/>
- <value>13</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var healmngtcd = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtcd");
- var kind = new Array();
- var arr = new Array(chk_healmngt.length);
-
- kind = healmngtcd.split(" ");
-
- for(var i = 0; i < arr.length; i++) {
- arr[i] = "";
- }
-
- for(var i = 0; i < kind.length; i++) {
- switch(kind[i]) {
- case '1':
- arr[0] = kind[i];
- break;
- case '2':
- arr[1] = kind[i];
- break;
- case '3':
- arr[2] = kind[i];
- break;
- case '4':
- arr[3] = kind[i];
- break;
- case '5':
- arr[4] = kind[i];
- break;
- case '6':
- arr[5] = kind[i];
- break;
- case '7':
- arr[6] = kind[i];
- break;
- case '8':
- arr[7] = kind[i];
- break;
- case '9':
-
- arr[8] = kind[i];
- break;
- case '10':
- arr[9] = kind[i];
- break;
- case '11':
-
- arr[10] = kind[i];
- break;
- case '12':
- arr[11] = kind[i];
- break;
- case '13':
- arr[12] = kind[i];
- break;
- default:
- break;
- }
- }
-
- for(var i = 0; i < arr.length; i++) {
- if(arr[10] == '11') {
- ipt_healmngtnm.disabled = false;
-
- } else {
- ipt_healmngtnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtnm");
-
- ipt_healmngtnm.refresh();
-
- }
-
- if(arr[12] == "13") {
- ipt_healmngtsymp.disabled = false;
- } else {
- ipt_healmngtsymp.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtsymp");
- ipt_healmngtsymp.refresh();
- }
- }
-
-
- ]]>
- </script>
- </select>
- <line id="line11" class="line_2" style="x1:0px; y1:623px; x2:1194px; y2:623px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:599px; x2:1194px; y2:599px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:357px; x2:1194px; y2:357px; "/>
- <caption id="cap_bfrecdt" class="cell_1" style="left:0px; top:38px; width:80px; height:23px; vertical-align:middle; ">기록일시</caption>
- <line id="line13" class="line_1" style="x1:0px; y1:33px; x2:1194px; y2:33px; "/>
- <input id="ipt_recdd" ref="/root/main/dschcareinfo/dschcareinfo/recdd" class="input_default" inputtype="date" style="left:83px; top:40px; width:100px; height:19px; "/>
- <input id="ipt_rectm" ref="/root/main/dschcareinfo/dschcareinfo/rectm" format="hh:nn" style="left:185px; top:40px; width:40px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:250px; top:38px; width:80px; height:23px; vertical-align:middle; ">기록자</caption>
- <output id="input2" ref="/root/main/dschcareinfo/dschcareinfo/recusernm" class="output_fix" disabled="true" appearance="output" style="left:333px; top:40px; width:100px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:436px; top:38px; width:80px; height:23px; vertical-align:middle; ">퇴원예정일</caption>
- <input id="ipt_dschdd" ref="/root/main/dschcareinfo/dschcareinfo/dschdd" class="input_default" disabled="false" inputtype="date" style="left:519px; top:40px; width:100px; height:19px; "/>
- <button id="btn_tmpsave" class="btn5_letter4" visibility="hidden" style="left:930px; top:5px; width:64px; height:19px; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fSetDschInfo("T");
-
- if(submit("TXMNW05801") == true) {
-
- messageBox("저장이 ", "I001");
-
- } else {
- messageBox("저장이 실패하였습니다.", "E");
- }
- ]]>
- </script>
- </button>
- <button id="btn_certsave" class="btn5_letter4" style="left:1130px; top:40px; width:64px; height:19px; ">
- <caption>인증저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기록일시 필수입력 체크
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/recdd") == "" || model.getValue("/root/main/dschcareinfo/dschcareinfo/rectm") == "") {
- messageBox("기록일시는 필수입력입니다.", "I");
- return;
- }
- fSetDschInfo("C");
- Sign.certreload = true ;
-
- if (Sign.signprocess() == true){
- //src="C:\CMCProject\application\webapps\emr\formmngtweb\xrw\SSMRF03800_OCR뷰어.xrw"
- // alert("인증성공" );
- // alert("1. 인증성공여부 false / true \n\n" + Sign.signedInfos[0]); // 인증성공여부 false / true
- // alert("2. 인증할 데이터 정보 (미기록 노드 제거전 원본 노드) \n\n" + Sign.signedInfos[3]); // 인증할 데이터 정보 (미기록 노드 제거전 원본 노드)
- // alert("2.--> text 데이터(없는 노드 포함된) text 형태 변형 결과 \n\n" + Sign.signedInfos[4]); // [3] 데이터(없는 노드 포함된) text 형태 변형 결과
- // alert("3. 인증할 데이터 정보(미기록 노드 제거된 정보) \n\n" + Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
- // alert("3. -->text 데이터(없는 노드 제거된) text 형태 변형 결과 \n\n" + Sign.signedInfos[5]); // ★[1] 데이터(없는 노드 제거된) text 형태 변형 결과 >>> [5]
- // alert("3. -->text --> sign 공인인증 처리후 데이터 \n\n" + Sign.signedInfos[2]); // ★공인인증 처리후 데이터 >>> [2]
-
- model.makeValue("/root/send/dschcareinfo/pid", model.getValue("/root/temp/cond/list/pid"));
- model.makeValue("/root/send/dschcareinfo/orddd", model.getValue("/root/temp/cond/list/indd"));
- model.makeValue("/root/send/dschcareinfo/signno", model.getValue("/root/main/dschcareinfo/dschcareinfo/signno"));
- model.makeValue("/root/send/dschcareinfo/cretno", model.getValue("/root/temp/cond/list/cretno"));
- model.makeValue("/root/send/dschcareinfo/recdd", model.getValue("/root/main/dschcareinfo/dschcareinfo/recdd"));
- model.makeValue("/root/send/dschcareinfo/rectm", model.getValue("/root/main/dschcareinfo/dschcareinfo/rectm"));
- model.makeValue("/root/send/dschcareinfo/recsaveflag","Y");
- model.makeValue("/root/send/dschcareinfo/signflag", "02");
- model.makeValue("/root/send/dschcareinfo/signgenrflag", model.getValue("/root/temp/cond/list/ioflag"));
- model.makeValue("/root/send/dschcareinfo/formcd", "0000001584"); //XLST통합기록 조회용 formcd 변경_20090226_SMY
- model.makeValue("/root/send/dschcareinfo/orddeptcd", model.getValue("/root/temp/cond/list/orddeptcd"));
- model.makeValue("/root/send/dschcareinfo/orddrid", model.getValue("/root/temp/cond/list/medispclid"));
- model.makeValue("/root/send/dschcareinfo/signbfcnts", Sign.signedInfos[1]);
- model.makeValue("/root/send/dschcareinfo/signaftcnts", Sign.signedInfos[2]);
- model.makeValue("/root/send/dschcareinfo/dispyn", "Y");
-
- if(submit("TXMNW05801", false) == true) {
- messageBox("저장이 ", "I001");
- fGetDschInfo(); //재조회
-
- } else {
- messageBox("저장이 실패하였습니다.", "E");
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <import id="import1" instancetype="merge" src="..\..\..\emr\wardcareweb\xrw\SMMNW10000_예약정보.xrw" ref="/root/main/dschcareinfo/dschcareinfo/dschdd" style="left:0px; top:63px; width:1194px; height:296px; "/>
- <line id="line64" class="line_3" style="x1:0px; y1:63px; x2:1194px; y2:63px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:330px; x2:1194px; y2:330px; "/>
- <caption id="caption4" class="tit_2" style="left:0px; top:316px; width:113px; height:13px; ">퇴원시 환자정보</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:381px; x2:1194px; y2:381px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:405px; x2:734px; y2:405px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:335px; width:80px; height:23px; text-align:center; vertical-align:middle; ">퇴원유형</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:383px; width:80px; height:23px; text-align:center; vertical-align:middle; ">퇴원방법</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:407px; width:80px; height:23px; text-align:center; vertical-align:middle; ">퇴원 후 갈곳</caption>
- <line id="line5" class="line_3" style="x1:0px; y1:429px; x2:1194px; y2:429px; "/>
- <caption id="caption10" class="tit_2" style="left:0px; top:439px; width:113px; height:13px; ">퇴원 간호 교육</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:453px; x2:1194px; y2:453px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:480px; x2:1194px; y2:480px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:504px; x2:1194px; y2:504px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:528px; x2:1194px; y2:528px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:458px; width:80px; height:23px; text-align:center; vertical-align:middle; ">활동범위</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:482px; width:80px; height:23px; text-align:center; vertical-align:middle; ">식이</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:506px; width:80px; height:23px; text-align:center; vertical-align:middle; ">목욕</caption>
- <line id="line12" class="line_2" style="x1:0px; y1:647px; x2:1194px; y2:647px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:601px; width:80px; height:23px; text-align:center; vertical-align:middle; ">추후관리</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:688px; width:80px; height:47px; text-align:center; vertical-align:middle; ">특이사항</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:745px; width:80px; height:23px; vertical-align:middle; ">문의전화</caption>
- <input id="ipt_tel" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/tel" style="left:83px; top:746px; width:231px; height:19px; text-align:center; "/>
- <caption id="caption23" class="cell_1" style="left:317px; top:745px; width:80px; height:23px; vertical-align:middle; ">교육대상</caption>
- <select id="chk_eductrgt" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/eductrgt" overflow="visible" appearance="full" cellspacing="60" cols="2" style="left:400px; top:749px; width:172px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>환자</label>
- <value>1</value>
- </item>
- <item>
- <label>보호자</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <caption id="caption24" class="cell_1" style="left:640px; top:745px; width:80px; height:23px; vertical-align:middle; ">교육이해정도</caption>
- <line id="line15" class="line_3" style="x1:0px; y1:767px; x2:1194px; y2:767px; "/>
- <select1 id="rdo_educunstdgrde" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/educunstdgrde" appearance="full" cellspacing="50" cols="3" overflow="visible" style="left:725px; top:750px; width:225px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>상</label>
- <value>01</value>
- </item>
- <item>
- <label>중</label>
- <value>02</value>
- </item>
- <item>
- <label>하</label>
- <value>03</value>
- </item>
- </choices>
- </select1>
- <caption id="caption17" class="cell_1" style="left:0px; top:625px; width:80px; height:23px; text-align:center; vertical-align:middle; ">퇴원절차교육</caption>
- <line id="line14" class="line_1" style="x1:0px; y1:740px; x2:1194px; y2:740px; "/>
- <line id="line16" class="line_3" style="x1:0px; y1:735px; x2:1194px; y2:735px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:530px; width:80px; height:70px; text-align:center; vertical-align:middle; ">건강관리</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:359px; width:80px; height:23px; text-align:center; vertical-align:middle; ">의식상태</caption>
- <button id="btn_recdt" class="icon_clock" navindex="3" style="left:229px; top:41px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dt = fGetCurrentTime();
- var dd = getCurrentDate();
-
- model.setValue("/root/main/dschcareinfo/dschcareinfo/rectm", dt);
- model.setValue("/root/main/dschcareinfo/dschcareinfo/recdd", dd);
-
- ipt_rectm.refresh();
- ipt_recdd.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_dschtypes" ref="/root/main/dschcareinfo/dschcareinfo/dschtypecds" appearance="full" cellspacing="20" cols="7" overflow="visible" style="left:83px; top:338px; width:522px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>지시 후 퇴원</label>
- <value>01</value>
- </item>
- <item>
- <label>DAMA</label>
- <value>02</value>
- </item>
- <item>
- <label>Hopeless</label>
- <value>03</value>
- </item>
- <item>
- <label>전원</label>
- <value>04</value>
- </item>
- <item>
- <label>탈원</label>
- <value>05</value>
- </item>
- <item>
- <label>사망</label>
- <value>06</value>
- </item>
- <item>
- <label>기타</label>
- <value>07</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschtypecds") == "06") { //사망
- //퇴원유형(기타)
- ipt_dschtypenm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschtypenm");
- //의식상태
- rdo_cscsstat.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/cscsstatcd");
- //보호자동반
- rdo_proceracomp.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/proceracomp");
- //진료의동반_20090601_SMY추가
- rdo_dracomp.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dracomp");
- //퇴원방법
- rdo_dschmthd.disabled = true;
- model.setValue("/root/main/dschcareinfo/dschcareinfo/dschmthdcd", "06");
- ipt_dschmthdnm.disabled = false;
- //퇴원 후 갈 곳
- rdo_dschgoplac.disabled = true;
- model.setValue("/root/main/dschcareinfo/dschcareinfo/dschgoplaccd", "04");
- ipt_dschgoplacnm.disabled = false;
- //활동범위
- rdo_actscop.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/actscop");
- //식이
- rdo_diet.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd");
- ipt_treatdiet.disabled = true;
- ipt_dietnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/treatdiet");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietnm");
- //목욕
- rdo_bath.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathcd");
- ipt_bathnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathnm");
- //건강관리
- chk_healmngt.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtcd");
- ipt_healmngtnm.disabled = true;
- ipt_healmngtsymp.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtnm");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtsymp");
- //추후관리
- rdo_mngtaftdschyn.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn");
- rdo_mngtaftdschyn.dispatch("xforms-value-changed");
- ipt_mngtaftdschnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
- //퇴원약 복약지도
- rdo_dschmeditmedguidyn.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn");
- //퇴원시 기구 및 삽관상태_20090601_SMY추가
- rdo_dschcatestatyn.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn");
- chk_dschcatestat.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd");
- ipt_dschcateoxy.disabled= true;
- ipt_dschcatestatnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm");
-
- }else{
- rdo_cscsstat.disabled = false;
- rdo_proceracomp.disabled = false;
- rdo_dracomp.disabled = false;
- rdo_dschmthd.disabled = false;
- rdo_dschgoplac.disabled = false;
- rdo_actscop.disabled = false;
- rdo_diet.disabled = false;
- rdo_bath.disabled = false;
- chk_healmngt.disabled = false;
- rdo_mngtaftdschyn.disabled = false;
- rdo_mngtaftdschyn.dispatch("xforms-value-changed");
- rdo_dschmeditmedguidyn.disabled = false;
- rdo_dschcatestatyn.disabled = false;
- rdo_dschcatestatyn.dispatch("xforms-value-changed");
- chk_dschcatestat.disabled = false;
-
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschtypecds") == "07") {
- ipt_dschtypenm.disabled = false;
- } else {
- ipt_dschtypenm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschtypenm");
- }
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_dschgoplac" ref="/root/main/dschcareinfo/dschcareinfo/dschgoplaccd" appearance="full" cellspacing="40" cols="4" overflow="visible" style="left:83px; top:410px; width:312px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>자가</label>
- <value>01</value>
- </item>
- <item>
- <label>친척</label>
- <value>02</value>
- </item>
- <item>
- <label>타병원</label>
- <value>03</value>
- </item>
- <item>
- <label>기타</label>
- <value>04</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschgoplaccd") == "04") {
- ipt_dschgoplacnm.disabled = false;
- } else {
- ipt_dschgoplacnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschgoplacnm");
- ipt_dschgoplacnm.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_cscsstat" ref="/root/main/dschcareinfo/dschcareinfo/cscsstatcd" appearance="full" cellspacing="40" cols="5" overflow="visible" style="left:83px; top:362px; width:510px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>Alert</label>
- <value>01</value>
- </item>
- <item>
- <label>Drowsy</label>
- <value>02</value>
- </item>
- <item>
- <label>Stupor</label>
- <value>03</value>
- </item>
- <item>
- <label>Semicoma</label>
- <value>04</value>
- </item>
- <item>
- <label>Coma</label>
- <value>05</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_dschtypenm" ref="/root/main/dschcareinfo/dschcareinfo/dschtypenm" disabled="true" style="left:600px; top:336px; width:130px; height:19px; "/>
- <input id="ipt_dschgoplacnm" ref="/root/main/dschcareinfo/dschcareinfo/dschgoplacnm" disabled="true" style="left:394px; top:408px; width:140px; height:19px; "/>
- <select1 id="rdo_dschmthd" ref="/root/main/dschcareinfo/dschcareinfo/dschmthdcd" appearance="full" cellspacing="40" cols="7" overflow="visible" style="left:83px; top:387px; width:537px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>도보</label>
- <value>01</value>
- </item>
- <item>
- <label>목발</label>
- <value>02</value>
- </item>
- <item>
- <label>휠체어</label>
- <value>03</value>
- </item>
- <item>
- <label>이동침대</label>
- <value>04</value>
- </item>
- <item>
- <label>응급차</label>
- <value>05</value>
- </item>
- <item>
- <label>기타</label>
- <value>06</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschmthdcd") == "06") {
- ipt_dschmthdnm.disabled = false;
- } else {
-
- ipt_dschmthdnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschmthdnm");
- ipt_dschmthdnm.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_diet" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd" appearance="full" cellspacing="50" cols="9" overflow="visible" style="left:83px; top:485px; width:970px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>일반식</label>
- <value>01</value>
- </item>
- <item>
- <label>치료식</label>
- <value>02</value>
- </item>
- <item>
- <label>. .</label>
- <value/>
- </item>
- <item>
- <label>모유수유</label>
- <value>03</value>
- </item>
- <item>
- <label>인공수유</label>
- <value>04</value>
- </item>
- <item>
- <label>혼합수유</label>
- <value>05</value>
- </item>
- <item>
- <label>이유식</label>
- <value>06</value>
- </item>
- <item>
- <label>경관영양</label>
- <value>07</value>
- </item>
- <item>
- <label>기타</label>
- <value>08</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd") == "08") {
- ipt_dietnm.disabled = false;
-
- ipt_treatdiet.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/treatdiet");
- ipt_treatdiet.refresh();
-
- } else if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietcd") == "02") {
-
- ipt_treatdiet.disabled = false;
-
- ipt_dietnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietnm");
- ipt_treatdiet.refresh();
- }
- else {
- ipt_dietnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietnm");
- ipt_dietnm.refresh();
- ipt_treatdiet.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/treatdiet");
- ipt_treatdiet.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_bath" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathcd" appearance="full" cellspacing="70" cols="7" overflow="visible" style="left:83px; top:510px; width:837px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>제한없음</label>
- <value>01</value>
- </item>
- <item>
- <label>샤워</label>
- <value>02</value>
- </item>
- <item>
- <label>통목욕</label>
- <value>03</value>
- </item>
- <item>
- <label>부분목욕</label>
- <value>04</value>
- </item>
- <item>
- <label>침상목욕</label>
- <value>05</value>
- </item>
- <item>
- <label>목욕금지</label>
- <value>06</value>
- </item>
- <item>
- <label>기타</label>
- <value>07</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathcd") == "07") {
- ipt_bathnm.disabled = false;
- } else {
- ipt_bathnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathnm");
- ipt_bathnm.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption20" style="left:906px; top:605px; width:60px; height:14px; ">)</caption>
- <caption id="caption21" class="cell_1" style="left:595px; top:625px; width:95px; height:23px; text-align:center; vertical-align:middle; ">퇴원약 복약지도</caption>
- <select1 id="rdo_dschmeditmedguidyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:693px; top:630px; width:116px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>01</value>
- </item>
- <item>
- <label>무</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_dietnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dietnm" disabled="true" style="left:1057px; top:483px; width:135px; height:19px; "/>
- <input id="ipt_bathnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/bathnm" disabled="true" style="left:921px; top:507px; width:135px; height:19px; "/>
- <input id="ipt_treatdiet" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/treatdiet" disabled="true" style="left:245px; top:483px; width:135px; height:19px; "/>
- <select1 id="rdo_dschseqeducyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschseqeducyn" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:85px; top:630px; width:116px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>01</value>
- </item>
- <item>
- <label>무</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_actscop" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/actscop" appearance="full" cellspacing="70" cols="6" overflow="visible" style="left:83px; top:461px; width:757px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>제한없음</label>
- <value>01</value>
- </item>
- <item>
- <label>일상생활</label>
- <value>02</value>
- </item>
- <item>
- <label>안정</label>
- <value>03</value>
- </item>
- <item>
- <label>절대안정</label>
- <value>04</value>
- </item>
- <item>
- <label>정기적 운동</label>
- <value>05</value>
- </item>
- <item>
- <label>재활지도</label>
- <value>06</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_healmngtsymp" style="left:103px; top:580px; width:436px; height:14px; ">외래진료나 문의를 요하는 증상(고열, 통증, 출혈, 설사, 피부반점, 오심, 불면 등)</caption>
- <caption id="caption19" style="left:200px; top:606px; width:55px; height:13px; ">(</caption>
- <select1 id="rdo_mngtaftdschyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:84px; top:605px; width:116px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>01</value>
- </item>
- <item>
- <label>유</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn") == "02") {
- chk_mngtaftdsch.disabled = false;
- chk_mngtaftdsch.dispatch("xforms-value-changed");
- } else {
- chk_mngtaftdsch.disabled = true;
- ipt_mngtaftdschnm.disabled = true;
-
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschcd");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
- chk_mngtaftdsch.refresh();
- ipt_mngtaftdschnm.refresh();
- }
-
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/main/dschcareinfo/dschcareinfo/signno" visibility="hidden" style="left:729px; top:5px; width:100px; height:19px; "/>
- <caption id="caption30" ref="/root/main/age" style="left:418px; top:9px; width:37px; height:20px; font-family:돋움; "/>
- <caption id="caption31" class="search_name" style="left:360px; top:10px; width:58px; height:17px; ">나이:</caption>
- <caption id="caption32" class="search_name" style="left:460px; top:10px; width:81px; height:17px; ">등록번호:</caption>
- <caption id="caption33" ref="/root/main/pid" style="left:544px; top:9px; width:96px; height:20px; font-family:돋움; "/>
- <caption id="caption68" class="search_name" style="left:5px; top:10px; width:55px; height:17px; ">병실:</caption>
- <caption id="caption26" ref="/root/main/patnm" style="left:190px; top:9px; width:60px; height:20px; font-family:돋움; "/>
- <caption id="caption27" class="search_name" style="left:122px; top:10px; width:68px; height:17px; ">환자명:</caption>
- <caption id="caption28" ref="/root/main/sex" style="left:318px; top:9px; width:32px; height:20px; font-family:돋움; "/>
- <caption id="caption29" class="search_name" style="left:260px; top:10px; width:58px; height:17px; ">성별:</caption>
- <caption id="caption18" ref="/root/main/room" style="left:63px; top:9px; width:52px; height:20px; font-family:돋움; "/>
- <select id="chk_mngtaftdsch" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschcd" disabled="true" overflow="visible" appearance="full" cellspacing="60" cols="6" style="left:209px; top:604px; width:511px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>외래</label>
- <value>1</value>
- </item>
- <item>
- <label>가정간호</label>
- <value>2</value>
- </item>
- <item>
- <label>재입원</label>
- <value>3</value>
- </item>
- <item>
- <label>타병원</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var mngtaftdschcd = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschcd");
- var kind = new Array();
- var arr = new Array(chk_mngtaftdsch.length);
-
- kind = mngtaftdschcd.split(" ");
-
- for(var i = 0; i < arr.length; i++) {
- arr[i] = "";
- }
-
- for(var i = 0; i < kind.length; i++) {
- switch(kind[i]) {
- case '1':
- arr[0] = kind[i];
- break;
- case '2':
- arr[1] = kind[i];
- break;
- case '3':
- arr[2] = kind[i];
- break;
- case '4':
- arr[3] = kind[i];
- break;
- case '5':
- arr[4] = kind[i];
- break;
-
- default :
- arr[arr.length - 1] = kind[i];
- }
- }
-
- for(var i = 0; i < arr.length; i++) {
- if(arr[4] == '5') {
- ipt_mngtaftdschnm.disabled = false;
-
- } else {
- ipt_mngtaftdschnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
-
- ipt_mngtaftdschnm.refresh();
- }
- }
- ]]>
- </script>
- </select>
- <input id="ipt_mngtaftdschnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm" disabled="true" style="left:725px; top:602px; width:181px; height:19px; "/>
- <input id="ipt_dschmthdnm" ref="/root/main/dschcareinfo/dschcareinfo/dschmthdnm" disabled="true" style="left:600px; top:385px; width:130px; height:19px; "/>
- <select1 id="rdo_antibioallgyn" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgyn" appearance="full" cellspacing="50" cols="1" vcellspacing="7" overflow="visible" style="left:853px; top:383px; width:35px; height:43px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>01</value>
- </item>
- <item>
- <label>유</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgyn") == "02") {
- chk_antibioallgcd.disabled = false;
- chk_antibioallgcd.dispatch("xforms-value-changed");
- } else {
- chk_antibioallgcd.disabled = true;
- ipt_antibioallgnm.disabled = true;
-
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/antibioallgcd");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/antibioallgnm");
- }
- chk_antibioallgcd.refresh();
- ipt_antibioallgnm.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_antibioallgnm" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgnm" disabled="true" style="left:1099px; top:409px; width:85px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:735px; top:383px; width:115px; height:46px; text-align:center; vertical-align:middle; ">
- <![CDATA[입원기간 중 항생제
- 알러지 반응 ]]>
- </caption>
- <caption id="caption34" style="left:888px; top:412px; width:15px; height:13px; ">(</caption>
- <caption id="caption35" style="left:1185px; top:412px; width:10px; height:14px; ">)</caption>
- <select id="chk_antibioallgcd" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgcd" disabled="true" overflow="visible" appearance="full" cols="3" sep="," style="left:896px; top:411px; width:206px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>페니실린계</label>
- <value>1</value>
- </item>
- <item>
- <label>베타락탐계</label>
- <value>2</value>
- </item>
- <item>
- <label>기타</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var antibioallgcd = model.getValue("/root/main/dschcareinfo/dschcareinfo/antibioallgcd");
- var kind = new Array();
- var arr = new Array(chk_antibioallgcd.length);
-
- kind = antibioallgcd.split(",");
-
- for(var i = 0; i < arr.length; i++) {
- arr[i] = "";
- }
-
- for(var i = 0; i < kind.length; i++) {
- switch(kind[i]) {
- case '1':
- arr[0] = kind[i];
- break;
- case '2':
- arr[1] = kind[i];
- break;
- case '3':
- arr[2] = kind[i];
- break;
- default :
- arr[arr.length - 1] = kind[i];
- }
- }
-
- for(var i = 0; i < arr.length; i++) {
- if(arr[2] == '3') {
- ipt_antibioallgnm.disabled = false;
-
- } else {
- ipt_antibioallgnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/antibioallgnm");
- }
- ipt_antibioallgnm.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="rdo_proceracomp" ref="/root/main/dschcareinfo/dschcareinfo/proceracomp" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:853px; top:338px; width:100px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>01</value>
- </item>
- <item>
- <label>무</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <caption id="caption36" class="cell_1" style="left:962px; top:335px; width:115px; height:23px; text-align:center; vertical-align:middle; ">진료의 동반</caption>
- <select1 id="rdo_dracomp" ref="/root/main/dschcareinfo/dschcareinfo/dracomp" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:1080px; top:338px; width:100px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>01</value>
- </item>
- <item>
- <label>무</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="cell_1" style="left:735px; top:335px; width:115px; height:23px; text-align:center; vertical-align:middle; ">보호자 동반</caption>
- <input id="ipt_healmngtsymp" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtsymp" disabled="true" style="left:545px; top:578px; width:456px; height:19px; "/>
- <select1 id="rdo_dschcatestatyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn" appearance="full" cols="1" rows="2" overflow="visible" style="left:85px; top:652px; width:30px; height:33px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>01</value>
- </item>
- <item>
- <label>유</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var dschcatestatyn = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn");
-
- if( dschcatestatyn == "01" ){
- submit("TRMNW03605");
- var dschcateyn = model.getValue("/root/hiden/dschcateinfo/dschcateyn");
- if( dschcateyn == "Y" ){
- model.setValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn", "02"); //유
- rdo_dschcatestatyn.refresh();
- messageBox("제거되지 않은 [삽관/기구] 기록이 있습니다. \n 기록을 확인","I008"); // 하십시오.
- return;
- }
- }
-
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn") == "02") {
- chk_dschcatestat.disabled = false;
- chk_dschcatestat.dispatch("xforms-value-changed");
- } else {
- chk_dschcatestat.disabled = true;
- ipt_dschcateoxy.disabled = true;
- ipt_dschcatestatnm.disabled = true;
-
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd");
-
- chk_dschcatestat.refresh();
- ipt_dschcateoxy.refresh();
- ipt_dschcatestatnm.refresh();
- }
-
- ]]>
- </script>
- </select1>
- <select id="chk_dschcatestat" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd" overflow="visible" appearance="full" cellspacing="45" cols="7" sep="▦" vcellspacing="4" style="left:120px; top:648px; width:1060px; height:41px; border-style:none; ">
- <choices>
- <item>
- <label>L-tube</label>
- <value>1</value>
- </item>
- <item>
- <label>Foley catheter</label>
- <value>2</value>
- </item>
- <item>
- <label>Colostomy</label>
- <value>3</value>
- </item>
- <item>
- <label>Endotracheal tube</label>
- <value>4</value>
- </item>
- <item>
- <label>Tracheostomy tube</label>
- <value>5</value>
- </item>
- <item>
- <label>HD catheter</label>
- <value>6</value>
- </item>
- <item>
- <label>산소</label>
- <value>7</value>
- </item>
- <item>
- <label>Subclavian catheter</label>
- <value>8</value>
- </item>
- <item>
- <label>Chemoport</label>
- <value>9</value>
- </item>
- <item>
- <label>Hemo-vac</label>
- <value>10</value>
- </item>
- <item>
- <label>JP bag</label>
- <value>11</value>
- </item>
- <item>
- <label>기타</label>
- <value>12</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var dschcatestatcd = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd");
- var kind = new Array();
- var arr = new Array(chk_dschcatestat.length);
-
- kind = dschcatestatcd.split("▦");
-
- for(var i = 0; i < arr.length; i++) {
- arr[i] = "";
- }
-
- for(var i = 0; i < kind.length; i++) {
- switch(kind[i]) {
- case '1':
- arr[0] = kind[i];
- break;
- case '2':
- arr[1] = kind[i];
- break;
- case '3':
- arr[2] = kind[i];
- break;
- case '4':
- arr[3] = kind[i];
- break;
- case '5':
- arr[4] = kind[i];
- break;
- case '6':
- arr[5] = kind[i];
- break;
- case '7':
- arr[6] = kind[i];
- break;
- case '8':
- arr[7] = kind[i];
- break;
- case '9':
- arr[8] = kind[i];
- break;
- case '10':
- arr[9] = kind[i];
- break;
- case '11':
- arr[10] = kind[i];
- break;
- case '12':
- arr[11] = kind[i];
- break;
- default:
- break;
- }
- }
-
- for(var i = 0; i < arr.length; i++) {
- if(arr[6] == '7') {
- ipt_dschcateoxy.disabled = false;
-
- } else {
- ipt_dschcateoxy.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy");
- ipt_dschcateoxy.refresh();
- }
-
- if(arr[11] == "12") {
- ipt_dschcatestatnm.disabled = false;
- } else {
- ipt_dschcatestatnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm");
- ipt_dschcatestatnm.refresh();
- }
- }
-
-
- ]]>
- </script>
- </select>
- <caption id="caption37" class="cell_1" style="left:0px; top:649px; width:80px; height:38px; text-align:center; vertical-align:middle; ">
- <![CDATA[퇴원시 기구
- 및 삽관상태]]>
- </caption>
- <caption id="cap_oxyunit" style="left:1146px; top:654px; width:35px; height:14px; ">L/min</caption>
- <line id="line17" class="line_2" style="x1:0px; y1:686px; x2:1194px; y2:686px; "/>
- <input id="ipt_healmngtnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/healmngtnm" disabled="true" style="left:726px; top:555px; width:466px; height:19px; "/>
- <input id="ipt_dschcatestatnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm" disabled="true" style="left:781px; top:669px; width:404px; height:19px; "/>
- <input id="ipt_dschcateoxy" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy" disabled="true" style="left:1080px; top:649px; width:65px; height:19px; "/>
- <caption id="caption38" style="left:1165px; top:747px; width:26px; height:14px; ">[표]</caption>
- <button id="btn_prn11" class="btn2_letter5" visibility="hidden" style="left:1045px; top:5px; width:75px; height:19px; ">
- <caption>복약안내문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var reqdd = model.getValue("/root/temp/cond/list/dschdclrdt");
- var reqdt = reqdd.substr(0,8);
- model.makeValue("/root/send/srchinfo/prcpddstart", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschdd"));
- model.makeValue("/root/send/srchinfo/prcpddend", model.getValue("/root/main/dschcareinfo/dschcareinfo/dschdd"));
- model.makeValue("/root/send/srchinfo/srchflag", "2"); // 퇴원 ==> 복약지도환자관리(SMADC02101.xrw) 구분 변경시 퇴원값 다시 가져와야 함.
- model.makeValue("/root/send/srchinfo/prcpclscd", "A2|A4|A6|D"); // 약주사구분 셋팅
- model.makeValue("/root/send/srchinfo/pid", model.getValue("/root/send/req/pid")); // 환자번호 셋팅
- model.makeValue("/root/send/srchinfo/prtflag", "|3");
- model.makeValue("/root/send/srchinfo/wardcd", ""); // node가 없으면 에러.
- model.makeValue("/root/send/srchinfo/ward", "");
- model.makeValue("/root/send/srchinfo/tmedcnst", ""); // node가 없으면 에러
- submit("TRADC02101");
-
- if(model.getValue("/root/main/patinfo/patlist/pid") != "" && model.getValue("/root/main/patinfo/patlist/pid") != null) {
- // alert(model.getValue("/root/main/patinfo/patlist/pid"));
- // alert(1);
- model.makeValue("/root/main/patinfo/patlist/difflagcd", "1"); //복약설명서 출력조건[병원자료:1 , DIF한글:2, DIF영문:2]
- open("SMADC02201", "", "", "", "", "/root/main/patinfo/patlist", "/root/temp/srchinfo", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- var consultObj = getOpenWindow("SMADC02201");
- if(consultObj != null){
- consultObj.javascript.btn_prt.dispatch("DOMActivate");
- }
- consultObj.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_prn" class="btn2_letter5" style="left:709px; top:40px; width:75px; height:19px; ">
- <caption>복약안내문</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var reqdd = model.getValue("/root/temp/cond/list/dschdclrdt");
- var reqdt = reqdd.substr(0,8);
- model.makeValue("/root/send/srchinfo/prcpddstart", reqdt);
- model.makeValue("/root/send/srchinfo/prcpddend", reqdt);
- model.makeValue("/root/send/srchinfo/srchflag", "2"); // 퇴원 ==> 복약지도환자관리(SMADC02101.xrw) 구분 변경시 퇴원값 다시 가져와야 함.
- model.makeValue("/root/send/srchinfo/prcpclscd", "A2|A4|A6|D"); // 약주사구분 셋팅
- // alert(model.getValue("/root/send/req/pid"));
- model.makeValue("/root/send/srchinfo/pid", model.getValue("/root/send/req/pid")); // 환자번호 셋팅
- model.makeValue("/root/send/srchinfo/prtflag", "|3");
- model.makeValue("/root/send/srchinfo/wardcd", ""); // node가 없으면 에러.
- model.makeValue("/root/send/srchinfo/ward", "");
- model.makeValue("/root/send/srchinfo/tmedcnst", ""); // node가 없으면 에러
- submit("TRADC02101");
-
- if(model.getValue("/root/main/patinfo/patlist/pid") != "" && model.getValue("/root/main/patinfo/patlist/pid") != null) {
- // alert(model.getValue("/root/main/patinfo/patlist/pid"));
- // alert(1);
- model.makeValue("/root/main/patinfo/patlist/difflagcd", "1"); //복약설명서 출력조건[병원자료:1 , DIF한글:2, DIF영문:2]
- open("SMADC02201", "", "", "", "", "/root/main/patinfo/patlist", "/root/temp/srchinfo", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- var consultObj = getOpenWindow("SMADC02201");
- if(consultObj != null){
- modal("SPMNZ00300");
- consultObj.javascript.btn_prt.dispatch("DOMActivate");
- }
- consultObj.close();
- }
- ]]>
- </script>
- </button>
- <textarea id="txa_spcffact" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/spcffact" style="left:85px; top:690px; width:1107px; height:45px; "/>
- </group>
- <button id="button1" class="btn2_letter5" style="left:1048px; top:53px; width:75px; height:19px; ">
- <caption>전자동의서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fClickPrintBtn(xFormCd, "Y") ; // parameter : 전자동의서 여부
- //grp_elecprint.visible = true;
-
- model.setValue("/root/temp/prtPatient", "N");
- model.setValue("/root/temp/prtOCR", "Y");
- fClickPrintBtn(xFormCd, "Y");
- ]]>
- </script>
- </button>
- <shape id="rectangle1" appearance="rectangle" style="left:788px; top:51px; width:156px; height:23px; border-color:#008000; "/>
- <button id="button2" class="btn2_letter7" style="left:950px; top:53px; width:97px; height:19px; ">
- <caption>환자교육출력물</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fClickPrintBtn(xFormCd, "Y") ; // parameter : 전자동의서 여부
- //grp_elecprint.visible = true;
-
- model.setValue("/root/temp/prtPatient", "Y");
- model.setValue("/root/temp/prtOCR", "N");
- fClickPrintBtn(xFormCd, "Y");
- ]]>
- </script>
- </button>
- <shape id="rectangle2" appearance="rectangle" style="left:948px; top:51px; width:178px; height:23px; border-color:#008000; "/>
- <button id="btn_print" class="btn2_letter12" style="left:790px; top:53px; width:152px; height:19px; ">
- <caption>출력(환자교육출력물 포함)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fClickPrintBtn(xFormCd, "N") ; // parameter : 전자동의서 여부
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|