12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <dschtypecds>01</dschtypecds>
- <dschtypenm/>
- <dschmthdcd>01</dschmthdcd>
- <dschmthdnm/>
- <dracomp>02</dracomp>
- <antibioallgyn>01</antibioallgyn>
- <antibioallgcd/>
- <antibioallgnm/>
- <dschcareeducinfo>
- <dschcareeduc>
- <dschcareeducinclyn/>
- <lacmthd>01</lacmthd>
- <lacmthdnm/>
- <lactim/>
- <lacvol/>
- <laceduc>01</laceduc>
- <laceductype/>
- <laceducmthd/>
- <sanitcare/>
- <dinfyn/>
- <sanitnm/>
- <vacn/>
- <vacntim/>
- <vacnnm/>
- <cngntlmboltrobtest/>
- <inroomenv/>
- <heartestyn>01</heartestyn>
- <heartest/>
- <educetc/>
- <educetcnm/>
- <mngtaftdschyn>02</mngtaftdschyn>
- <mngtaftdsch/>
- <mngtaftdschnm/>
- <dschseqdeducyn>01</dschseqdeducyn>
- <dschmeditmedguidyn>01</dschmeditmedguidyn>
- <dschcatestatcd/>
- <dschcateoxy/>
- <dschcatestatnm/>
- <spcffact/>
- <dschcatestatyn>01</dschcatestatyn>
- </dschcareeduc>
- </dschcareeducinfo>
- <etcfactinfo>
- <etcfact>
- <tel/>
- <eductrgt/>
- <educunstdgrde>01</educunstdgrde>
- <dschlactype>01</dschlactype>
- </etcfact>
- </etcfactinfo>
- <nbabyacptcnfminfo>
- <nbabyacptcnfm>
- <nbabyacptpsn>01</nbabyacptpsn>
- <nbabyacptpsnnm/>
- <crtfctcnfm/>
- <wommrrgstno1/>
- <wommrrgstno2/>
- <acptpsnrrgstnm/>
- <acptpsnrrgstno1/>
- <acptpsnrrgstno2/>
- </nbabyacptcnfm>
- </nbabyacptcnfminfo>
- <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','T40','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 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");
-
- 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();
- }
- }
-
- 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);
- }
- }
-
- //병동전화번호가 없으면 가져온다.
- var tel = model.getValue("/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/tel");
- var wardcd = model.getValue("/root/temp/cond/list/wardcd");
- var setTel = '053) 200 - ' + model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='T40' and cdid = '" + wardcd + "']/cdnm");
- if (tel == '') {
- model.setValue("/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/tel", setTel);
- }
-
- model.refresh();
- }
- }
- ]]>
- </script>
- <submission id="TRMNN00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main"/>
- <submission id="TRMNN00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden"/>
- <submission id="TRMNN00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/rsrvinfo"/>
- <submission id="TRMNN00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/patinfo"/>
- <submission id="TXMNN00601" 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 xFormCd = "0000002454";
- //var xFormCd = "1300014128";
-
- fGetNursHardCdInfo("'172','174','178','T40','U31','R4'", getCurrentDate()); //CareCom.js
-
- var xFormCd = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='R4' and supcdid = '06']/cdid"); // 서식코드 기준자료로 관리
-
-
- 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 dschmthdcd = model.getValue(xDschInfoPath + "/dschcareinfo/dschmthdcd");
- var dschmthdnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschmthdnm");
- str = rdo_dschmthd.label;
-
- if(dschmthdcd != "") {
- if(dschmthdcd == "04") {
- if(dschmthdnm != "") {
- str += "(" + dschmthdnm + ")";
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschmthdcd", str);
- }
-
- //진료의동반_20090601_SMY추가
- var dracomp = model.getValue(xDschInfoPath + "/dschcareinfo/dracomp");
- str = rdo_dracomp.label;
-
- if(dracomp != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/dracomp", str);
- }
-
- //퇴원시 수유형태
- var dschlactype = model.getValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/dschlactype");
- str = rdo_dschlactype.label;
-
- if (dschlactype != ""){
- model.setValue(xDschInfoPath + "/dschcareinfo/etcfactinfo/etcfact/dschlactype", 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 lacmthd = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd");
- var lacmthdnm = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthdnm");
- str = rdo_lacmthd.label;
-
- if(lacmthd != "") {
- if(lacmthd == "05") {
- if(lacmthdnm != "") {
- str += "(" + lacmthdnm + ")";
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd", str);
- }
-
- //수유시간
- var lactim = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lactim");
- if (lactim != ""){
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lactim", lactim + "시간");
- }
-
- //현재수유량
- var lacvol = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacvol");
- if (lacvol != ""){
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/lacvol", lacvol + "ml");
- }
-
- //모유수유권장교육
- var laceduc = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc");
- str = rdo_laceduc.label;
- if (laceduc != ""){
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc", str);
- }
-
- //교육방법
- var laceducmthd = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd");
- if (laceducmthd != ""){
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd", chk_laceducmthd.label);
- }
-
- //교육내용
- var laceductype = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype");
- if (laceductype != ""){
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype", chk_laceductype.label);
- }
-
- //위생간호
- var sanitcareVal = chk_sanitcare.value;
- var sanitcareLab = chk_sanitcare.label;
-
- var arrVal = sanitcareVal.split(" ");
- var arrLab = sanitcareLab.split(" ");
-
- var sanitcare = "";
- var idx = 0;
-
- for(var i = 1; i <= chk_sanitcare.length; i++) {
- for(var j = 0; j < arrVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '3') {
- arrLab[idx] += "( " + rdo_dinfyn.label + " )";
- }
- if(i == '4') {
- arrLab[idx] += "( " + ipt_sanitnm.label + " )";
- }
- idx++;
-
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
-
- sanitcare = arrLab; //sanitcare값 저장.
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitcare", sanitcare);
-
- //예방접종
- var vacnVal = chk_vacn.value;
- var vacnLab = chk_vacn.label;
-
- arrVal = vacnVal.split(" ");
- arrLab = vacnLab.split(" ");
-
- var vacn="";
- idx = 0;
-
- for(var i = 1; i <= chk_vacn.length; i++) {
- for(var j = 0; j < arrVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '1') {
- arrLab[idx] += " " + rdo_vacntim.label + " )";
- }
-
- if(i == '3') {
- arrLab[idx] += "( " + ipt_vacnnm.label + " )";
- }
- idx++;
-
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
- vacn = arrLab;
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/vacn", vacn);
-
- //선천성 대사이상 질환검사
- var cngntlmboltrobtest = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/cngntlmboltrobtest");
- if (cngntlmboltrobtest != ""){
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/cngntlmboltrobtest", chk_cngntlmboltrobtest.label);
- }
-
- //실내 환경
- var inroomenv = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/inroomenv");
- if (inroomenv != ""){
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/inroomenv", chk_inroomenv.label);
- }
-
- //청력검사
- var heartestyn = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn");
- var heartest = model.getValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/heartest");
- str = rdo_heartest.label;
- arr = chk_heartest.label;
- if (heartestyn != ""){
- if (heartestyn == "02"){
- str += "(" + arr + ")";
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn", str);
- }
-
- //기타
- var educetcVal = chk_educetc.value;
- var educetcLab = chk_educetc.label;
-
- arrVal = educetcVal.split(",");
- arrLab = educetcLab.split(",");
-
- idx = 0;
-
- for(var i = 1; i <= chk_educetc.length; i++) {
- for(var j = 0; j < arrVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '14') {
- arrLab[idx] += "( " + ipt_educetcnm.label + " )";
- }
- idx++;
-
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
- var str = arrLab;
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/educetc", 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/dschseqdeducyn");
- str = rdo_dschseqeducyn.label;
-
- if(dschseqeducyn != "") {
- model.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschseqdeducyn", 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.setValue(xDschInfoPath + "/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatcd", str );
- }else {
- model.setValue(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);
- }
-
-
- /****************************** 아기 인수확인 **************************************/
- //아기인수자
- var nbabyacptpsn = model.getValue(xDschInfoPath + "/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn");
- var nbabyacptpsnnm = model.getValue(xDschInfoPath + "/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsnnm");
- str = rdo_nbabyacptpsn.label;
-
- if(nbabyacptpsn != "") {
- if(nbabyacptpsn == "04") {
- if(nbabyacptpsnnm != "") {
- str += "(신생아와의 관계 : " + nbabyacptpsnnm + ")";
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn", str);
- }
-
- //신분증 확인
- var crtfctcnfmVal = chk_crtfctcnfm.value;
- var crtfctcnfmLab = chk_crtfctcnfm.label;
-
- var arr = new Array(chk_crtfctcnfm.length);
-
- for(var i = 0; i < arr.length; i++) {
- arr[i]="";
- }
-
- var arrVal = crtfctcnfmVal.split(","); //선택된 Value값을 가져온.다
- var arrLab = crtfctcnfmLab.split(","); //선택된 Label값을 가져온다.
-
- var crtfctcnfm = "";
- var idx = 0;
-
- //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
- for(var i = 1; i <= chk_crtfctcnfm.length; i++) {
-
- //선택된 아이템의 갯수만큼 반복.
- for(var j = 0; j < arrVal.length; j++) {
- //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
- if(i == arrVal[j]) {
- if(i == '1') {
- crtfctcnfm += arrLab[idx] + ": " + ipt_wommrrgstno1.label + "-" + sct_wommrrgstno2.label;
- }
- if(i == '2') {
- if(crtfctcnfm == ""){
- crtfctcnfm += arrLab[idx] + ": " + ipt_acptpsnnm.label + "/" + ipt_acptpsnrrgstno1.label + "-" + sct_acptpsnrrgstno2.label;
- }else{
- crtfctcnfm += ", " + arrLab[idx] + ": " + ipt_acptpsnnm.label + "/" + ipt_acptpsnrrgstno1.label + "-" + sct_acptpsnrrgstno2.label;
- }
- }
- idx++; //선택된 항목만큼. 값이 담겨져있는지 비교를 위한 인덱스.
-
- //선택된 항목만큼값을 담았다면 종료.
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
- model.setValue(xDschInfoPath + "/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/crtfctcnfm", crtfctcnfm);
- }
-
- function fGetCurrentDate() {
-
- var dt = getCurrentDate();
-
- return dt;
- }
-
- function fGetCurrentTime() {
- var dt = getCurrentTime();
- dt = dt.substr(0,4);
-
- return dt;
- }
-
- function fMakeGridData(grdObj) {
-
- var grdInfo = grdObj.getUpdateData();
- var rowStatus;
- var status;
-
- for(var i = 1; i < grdObj.rows; i++) {
- rowStatus = grdObj.rowStatus(i);
-
-
- if(rowStatus=="1" || rowStatus == "3") {
- status = "i";
- } else if(rowStatus == "2") {
- status = "u";
-
- } else if(rowStatus == "4") {
- status = "d";
- } else if(rowStatus == "0") {
-
- }
-
- grdInfo += status;
- grdInfo += grdObj.attribute("colsep");
- for(var j = 0; j < grdObj.cols; j++) {
- grdInfo += grdObj.valueMatrix(i, j);
-
- if(j != grdObj.cols-1) {
- grdInfo += grdObj.attribute("colsep");
- }X
- }
- grdInfo += grd_ordrsrvinfo.attribute("rowsep");
- }
-
- return grdInfo;
- }
-
- //퇴원간호계획 조회
- 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", "06");
-
- if(submit("TRMNN00602")) {
- var exist = model.getValue("/root/hidden/existinfo/exist");
-
- if(exist == "Y") {
- submit("TRMNN00601");
-
- } 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_antibioallgyn.dispatch("xforms-value-changed");
- chk_antibioallgcd.dispatch("xforms-value-changed");
- rdo_lacmthd.dispatch("xforms-value-changed");
- rdo_laceduc.dispatch("xforms-value-changed");
- chk_sanitcare.dispatch("xforms-value-changed");
- chk_vacn.dispatch("xforms-value-changed");
- rdo_heartest.dispatch("xforms-value-changed");
- chk_educetc.dispatch("xforms-value-changed");
- rdo_mngtaftdschyn.dispatch("xforms-value-changed");
- rdo_nbabyacptpsn.dispatch("xforms-value-changed");
- chk_crtfctcnfm.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 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/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/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/nbabyacptcnfminfo", instance1.selectNodesXml("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm"));
- 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", "06");
- 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);
- }
-
- /**
- * @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 ; //"0000002454";
- var usernm = getUserName();
- model.makeValue("/root/send/req/formcd", formcd);
-
- var sendPath = "/root/send/dschcareinfo"; //렉스퍼트 인자값 경로
- var destPath = "/root/main/dschcareinfo"; //기본 퇴원간호계획 경로
- var sendDschPath = "/root/send/dschcareinfo/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("TRMNN00604"); //주민번호, 부서명 가져오기 위한 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 lacmthd = rdo_lacmthd.value;
- var lacmthdnm = ipt_lacmthdnm.value;
- str = rdo_lacmthd.label;
-
- if(lacmthd != "") {
- if(lacmthd == "05") {
- if(lacmthdnm != "") {
- str += "(" + lacmthdnm + ")";
- }
- }
- lacmthd = str;
- }
-
- //모유수유권장교육
- var laceduc = rdo_laceduc.value;
- if(laceduc =="01") {
- laceduc = rdo_laceduc.label;
- } else {
- laceduc = rdo_laceduc.label + "( " + cap_laceducmthd.label + " ( " + chk_laceducmthd.label + " ) " + "," + cap_laceductype.label + " ( " + chk_laceductype.label + " ) )" ;
- }
-
- //위생간호
- var sanitcareVal = chk_sanitcare.value;
- var sanitcareLab = chk_sanitcare.label;
-
- var arrVal = sanitcareVal.split(" ");
- var arrLab = sanitcareLab.split(" ");
-
- var sanitcare = "";
- var idx = 0;
-
- for(var i = 1; i <= chk_sanitcare.length; i++) {
- for(var j = 0; j < arrVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '3') {
- arrLab[idx] += "( " + rdo_dinfyn.label + " )";
- }
- if(i == '4') {
- arrLab[idx] += "( " + ipt_sanitnm.label + " )";
- }
- idx++;
-
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
-
- sanitcare = arrLab; //sanitcare값 저장.
-
- //예방접종
- var vacnVal = chk_vacn.value;
- var vacnLab = chk_vacn.label;
-
- arrVal = vacnVal.split(" ");
- arrLab = vacnLab.split(" ");
-
- var vacn="";
- idx = 0;
-
- for(var i = 1; i <= chk_vacn.length; i++) {
- for(var j = 0; j < arrVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '1') {
- arrLab[idx] += " " + rdo_vacntim.label + " )";
- }
-
- if(i == '3') {
- arrLab[idx] += "( " + ipt_vacnnm.label + " )";
- }
- idx++;
-
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
- vacn = arrLab;
-
- //선천성 대사이상 질환검사
- var cngntlmboltrobtest = chk_cngntlmboltrobtest.label;
- var inroomenv = chk_inroomenv.label; //실내환경
- var heartest = rdo_heartest.value;
-
- if(rdo_heartest.value == "01") {
- heartest = rdo_heartest.label;
- } else {
- heartest = rdo_heartest.label + chk_heartest.label;
- }
-
- //기타
- var educetcVal = chk_educetc.value;
- var educetcLab = chk_educetc.label;
-
- arrVal = educetcVal.split(",");
- arrLab = educetcLab.split(",");
-
- idx = 0;
-
- for(var i = 1; i <= chk_educetc.length; i++) {
- for(var j = 0; j < arrVal.length; j++) {
- if(i == arrVal[j]) {
- if(i == '14') {
- arrLab[idx] += "( " + ipt_educetcnm.label + " )";
- }
- idx++;
-
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
- var educetc = 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 == '5') {
- 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");
-
-
- //아기인수자
- var nbabyacptpsn = rdo_nbabyacptpsn.value;
- if(nbabyacptpsn == "04") {
- nbabyacptpsn = rdo_nbabyacptpsn.label + "(신생아와의 관계 : " + ipt_nbabyacptpsnnm.label + " )";
- } else {
- nbabyacptpsn = rdo_nbabyacptpsn.label;
- }
-
- //신분증 확인
- var crtfctcnfmVal = chk_crtfctcnfm.value;
- var crtfctcnfmLab = chk_crtfctcnfm.label;
-
- var arr = new Array(chk_crtfctcnfm.length);
-
- for(var i = 0; i < arr.length; i++) {
- arr[i]="";
- }
-
- var arrVal = crtfctcnfmVal.split(","); //선택된 Value값을 가져온.다
- var arrLab = crtfctcnfmLab.split(","); //선택된 Label값을 가져온다.
-
- var crtfctcnfm = "";
- var idx = 0;
-
- //전체 아이템 갯수 만큼 반복.(item값을 비교하기를 위한 반복문)
- for(var i = 1; i <= chk_crtfctcnfm.length; i++) {
-
- //선택된 아이템의 갯수만큼 반복.
- for(var j = 0; j < arrVal.length; j++) {
- //i를 가지고 비교를 함으로써 아이템 항목 순서대로 값을 가져감.
- if(i == arrVal[j]) {
- if(i == '1') {
- crtfctcnfm += arrLab[idx] + ": " + ipt_wommrrgstno1.label + "-" + sct_wommrrgstno2.label;
- }
- if(i == '2') {
- if(crtfctcnfm == ""){
- crtfctcnfm += arrLab[idx] + ": " + ipt_acptpsnnm.label + "/" + ipt_acptpsnrrgstno1.label + "-" + sct_acptpsnrrgstno2.label;
- }else{
- crtfctcnfm += ", " + arrLab[idx] + ": " + ipt_acptpsnnm.label + "/" + ipt_acptpsnrrgstno1.label + "-" + sct_acptpsnrrgstno2.label;
- }
- }
- idx++; //선택된 항목만큼. 값이 담겨져있는지 비교를 위한 인덱스.
-
- //선택된 항목만큼값을 담았다면 종료.
- if(idx == arrVal.length) {
- break;
- }
- }
- }
- }
-
- 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 + "/lacmthd", lacmthd);
- model.makeValue(sendDschPath + "/laceduc", laceduc);
- model.makeValue(sendDschPath + "/sanitcare", sanitcare);
- model.makeValue(sendDschPath + "/vacn", vacn);
- model.makeValue(sendDschPath + "/cngntlmboltrobtest", cngntlmboltrobtest);
- model.makeValue(sendDschPath + "/inroomenv", inroomenv);
- model.makeValue(sendDschPath + "/heartest", heartest);
- model.makeValue(sendDschPath + "/educetc", educetc);
-
- 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 + "/nbabyacptpsn", nbabyacptpsn);
- model.makeValue(sendDschPath + "/crtfctcnfm", crtfctcnfm);
- 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("RPMNN00600", "XMLSTR", "", "", "true", "", "", "", "", "true");
- }
- if ( model.getValue("/root/temp/prtOCR") == "Y" ) {
- var pagecnt = 1;
- //전자동의서 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, "RPMNN00603");
- fElecPrint(pid, cretno, indd, instcd, formcd, ocrtag, ""); //간소화양식
- }
- // 일반 동의서
- } else {
- //환자교육출력물
- exeReportPreview("RPMNN00600", "XMLSTR", "", "", "true", "", "", "", "", "true");
- if(printflag == "newprint") {
- ////////////////////////////////////////////////////////////////////////////
- var left = event.screenX;
- var top = event.screenY;
-
- fOCRPrint(left, top, pid, indd, cretno, ordtype, formcd);
- ////////////////////////////////////////////////////////////////////////////
- } else {
- messageBox("병원 보관용 퇴원교육확인서는 출력된 상태입니다.\r\n\r\n[동의서 및 기타 출력서식 반납] 프로그램에서 재출력하십시오.", "I999");
- return;
- }
- /*
- //OCR
- exeReportPreview("RPMNN00602", "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");
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:132px; height:14px; ">신생아퇴원간호계획</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:771px; ">
- <select1 id="rdo_laceduc" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc" navindex="16" appearance="full" cellspacing="70" cols="8" overflow="visible" style="left:108px; top:422px; width:202px; 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/laceduc") == "01") {
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype");
- chk_laceductype.disabled = true;
- chk_laceducmthd.disabled = true;
-
- } else {
- chk_laceductype.disabled = false;
- chk_laceducmthd.disabled = false;
- }
- chk_laceductype.refresh();
- chk_laceducmthd.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption19" style="left:195px; top:555px; width:100px; height:13px; ">(</caption>
- <caption id="caption14" style="left:541px; top:745px; width:10px; height:20px; ">/</caption>
- <caption id="caption8" style="left:322px; top:721px; width:232px; height:20px; ">(신생아와의 관계 )</caption>
- <line id="line10" class="line_2" style="x1:0px; y1:574px; x2:1189px; y2:574px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:311px; x2:859px; y2:311px; "/>
- <line id="line13" class="line_1" style="x1:0px; y1:33px; x2:1194px; y2:33px; "/>
- <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", "0000001585"); //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("TXMNN00601", false) == true) {
- messageBox("저장이 ", "I001");
- fGetDschInfo(); //재조회
-
- } else {
- messageBox("저장이 실패했습니다.", "E");
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <import id="import1" instancetype="merge" src="..\..\..\emr\wardcareweb\xrw\SMMNW10100_신생아예약정보.xrw" style="left:0px; top:62px; width:1194px; height:250px; "/>
- <line id="line64" class="line_3" style="x1:0px; y1:62px; x2:1194px; y2:62px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:284px; x2:1194px; y2:284px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:270px; width:113px; height:13px; ">퇴원시 환자정보</caption>
- <caption id="caption10" class="tit_2" style="left:5px; top:371px; width:113px; height:13px; ">퇴원 간호 교육</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:387px; x2:1194px; y2:387px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:389px; x2:1194px; y2:389px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:462px; x2:1194px; y2:462px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:486px; x2:1194px; y2:486px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:392px; width:105px; height:23px; text-align:center; vertical-align:middle; ">수유방법</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:440px; width:105px; height:23px; text-align:center; vertical-align:middle; ">위생간호</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:552px; width:105px; height:23px; text-align:center; vertical-align:middle; ">추후관리</caption>
- <input id="ipt_sanitnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitnm" navindex="21" style="left:897px; top:441px; width:295px; height:19px; "/>
- <select1 id="rdo_mngtaftdschyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschyn" navindex="32" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:108px; top:556px; width:87px; 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/mngtaftdsch");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdschnm");
- chk_mngtaftdsch.refresh();
- ipt_mngtaftdschnm.refresh();
- }
- ]]>
- </script>
- </select1>
- <select id="chk_mngtaftdsch" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/mngtaftdsch" disabled="true" navindex="33" overflow="visible" appearance="full" cellspacing="15" cols="5" style="left:204px; top:555px; width:331px; 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/mngtaftdsch");
- 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" navindex="34" style="left:545px; top:553px; width:181px; height:19px; "/>
- <select1 id="rdo_dschseqeducyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschseqdeducyn" navindex="35" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:818px; top:556px; 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_dschmeditmedguidyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschmeditmedguidyn" navindex="36" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:1068px; top:556px; width:116px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>01</value>
- </item>
- <item>
- <label>무</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" style="left:960px; top:552px; width:105px; height:23px; text-align:center; vertical-align:middle; ">퇴원약복약지도</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:667px; width:105px; height:23px; text-align:center; vertical-align:middle; ">문의전화</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:714px; x2:1194px; y2:714px; "/>
- <input id="ipt_tel" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/tel" navindex="38" style="left:108px; top:670px; width:207px; height:19px; text-align:center; "/>
- <caption id="caption23" class="cell_1" style="left:320px; top:667px; width:80px; height:23px; text-align:center; vertical-align:middle; ">교육대상</caption>
- <select id="chk_eductrgt" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/eductrgt" navindex="39" overflow="visible" appearance="full" cellspacing="60" cols="2" style="left:403px; top:670px; 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:643px; top:667px; width:80px; height:23px; text-align:center; vertical-align:middle; ">교육이해정도</caption>
- <line id="line15" class="line_3" style="x1:0px; y1:690px; x2:1194px; y2:690px; "/>
- <select1 id="rdo_educunstdgrde" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/educunstdgrde" navindex="40" appearance="full" cellspacing="50" cols="3" overflow="visible" style="left:728px; top:670px; 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>
- <line id="line12" class="line_2" style="x1:5px; y1:550px; x2:1194px; y2:550px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:512px; width:105px; height:39px; text-align:center; vertical-align:middle; ">기타</caption>
- <select id="chk_educetc" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetc" navindex="30" overflow="visible" appearance="full" cellspacing="50" cols="8" sep="," vcellspacing="4" style="left:108px; top:512px; width:1082px; height:38px; 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>7</value>
- </item>
- <item>
- <label>청색증</label>
- <value>8</value>
- </item>
- <item>
- <label>호흡양상</label>
- <value>9</value>
- </item>
- <item>
- <label>Pulseoxymeter</label>
- <value>10</value>
- </item>
- <item>
- <label>G-tube</label>
- <value>11</value>
- </item>
- <item>
- <label>산소발생기</label>
- <value>12</value>
- </item>
- <item>
- <label>수면</label>
- <value>13</value>
- </item>
- <item>
- <label>기타</label>
- <value>14</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var educetc = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetc");
- var kind = new Array();
- var arr = new Array(chk_educetc.length);
-
- kind = educetc.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;
-
- case '14':
- arr[13] = kind[i];
- break;
-
- default:
- break;
- }
- }
-
- for(var i = 0; i < arr.length; i++) {
- if(arr[13] == '14') {
- ipt_educetcnm.disabled = false;
-
- } else {
- ipt_educetcnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetcnm");
-
- ipt_educetcnm.refresh();
-
- }
- }
- ]]>
- </script>
- </select>
- <caption id="caption26" style="left:824px; top:397px; width:30px; height:13px; text-align:center; vertical-align:middle; ">시간</caption>
- <caption id="caption9" class="cell_1" style="left:674px; top:392px; width:80px; height:23px; text-align:center; vertical-align:middle; ">수유시간</caption>
- <caption id="caption27" style="left:1004px; top:398px; width:20px; height:14px; text-align:center; vertical-align:middle; ">ml</caption>
- <caption id="caption28" class="cell_1" style="left:855px; top:392px; width:80px; height:23px; text-align:center; vertical-align:middle; ">현재수유량</caption>
- <caption id="cap_laceducmthd" class="cell_1" style="left:320px; top:416px; width:80px; height:23px; text-align:center; vertical-align:middle; ">교육방법</caption>
- <caption id="cap_laceductype" class="cell_1" style="left:674px; top:416px; width:80px; height:23px; text-align:center; vertical-align:middle; ">교육내용</caption>
- <select id="chk_laceductype" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype" disabled="true" navindex="18" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="," style="left:758px; top:422px; width:262px; height:17px; 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>
- </select>
- <select id="chk_laceducmthd" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd" disabled="true" navindex="17" overflow="visible" appearance="full" cellspacing="20" cols="3" sep="," style="left:403px; top:422px; width:210px; height:15px; 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>
- </select>
- <select id="chk_sanitcare" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitcare" navindex="19" overflow="visible" appearance="full" cellspacing="180" cols="4" style="left:108px; top:444px; width:790px; 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>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sanitcare = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitcare");
- var kind = new Array();
- var arr = new Array(chk_sanitcare.length);
-
- kind = sanitcare.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;
-
- default:
- break;
- }
- }
-
- for(var i = 0; i < arr.length; i++) {
- if(arr[2] == '3') {
- rdo_dinfyn.disabled = false;
-
- } else {
- rdo_dinfyn.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dinfyn");
-
- rdo_dinfyn.refresh();
-
- }
-
- if(arr[3] == "4") {
- ipt_sanitnm.disabled = false;
- } else {
- ipt_sanitnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitnm");
- ipt_sanitnm.refresh();
- }
- }
- ]]>
- </script>
- </select>
- <select1 id="rdo_dinfyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dinfyn" navindex="20" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:685px; top:443px; width:160px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>소독필요</label>
- <value>01</value>
- </item>
- <item>
- <label>소독불필요</label>
- <value>02</value>
- </item>
- </choices>
- </select1>
- <caption id="caption18" style="left:679px; top:444px; width:15px; height:13px; ">(</caption>
- <caption id="caption32" style="left:840px; top:444px; width:15px; height:14px; ">)</caption>
- <line id="line18" class="line_2" style="x1:0px; y1:510px; x2:1194px; y2:510px; "/>
- <select id="chk_vacn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacn" navindex="22" overflow="visible" appearance="full" cellspacing="0" cols="8" style="left:108px; top:467px; width:325px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>B형간염(</label>
- <value>1</value>
- </item>
- <item>
- <label>(. )</label>
- <value/>
- </item>
- <item>
- <label>BCG</label>
- <value>2</value>
- </item>
- <item>
- <label>기타</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var vacn = model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacn");
- var kind = new Array();
- var arr = new Array(chk_vacn.length);
-
- kind = vacn.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:
- break;
- }
- }
-
- for(var i = 0; i < arr.length; i++) {
- if(arr[0] == '1') {
- rdo_vacntim.disabled = false;
-
- } else {
- rdo_vacntim.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacntim");
-
- rdo_vacntim.refresh();
- }
-
- if(arr[2] == "3") {
- ipt_vacnnm.disabled = false;
- } else {
- ipt_vacnnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacnnm");
- ipt_vacnnm.refresh();
- }
- }
- ]]>
- </script>
- </select>
- <select1 id="rdo_vacntim" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacntim" navindex="23" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:178px; top:467px; width:140px; height:13px; background-color:#ffffff; border-style:none; ">
- <choices>
- <item>
- <label>1차</label>
- <value>01</value>
- </item>
- <item>
- <label>2차</label>
- <value>02</value>
- </item>
- <item>
- <label>3차</label>
- <value>03</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_vacnnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacnnm" navindex="24" style="left:435px; top:465px; width:120px; height:19px; "/>
- <caption id="caption39" class="cell_1" style="left:0px; top:488px; width:105px; height:23px; text-align:center; vertical-align:middle; ">실내 환경</caption>
- <caption id="caption35" class="cell_1" style="left:0px; top:464px; width:105px; height:23px; text-align:center; vertical-align:middle; ">예방접종</caption>
- <caption id="caption40" class="cell_1" style="left:560px; top:464px; width:147px; height:23px; text-align:center; vertical-align:middle; ">선천성 대사이상 질환검사</caption>
- <select id="chk_cngntlmboltrobtest" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/cngntlmboltrobtest" navindex="25" overflow="visible" appearance="full" cellspacing="20" cols="8" sep="," style="left:710px; top:468px; width:375px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>선천성 대사이상 검사 6종</label>
- <value>01</value>
- </item>
- <item>
- <label>광범위 대사이상 검사</label>
- <value>02</value>
- </item>
- </choices>
- </select>
- <select id="chk_inroomenv" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/inroomenv" navindex="26" overflow="visible" appearance="full" cols="2" sep="," style="left:108px; top:492px; width:240px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>적정온도: 24 ℃</label>
- <value>01</value>
- </item>
- <item>
- <label>적정습도: 50~60%</label>
- <value>02</value>
- </item>
- </choices>
- </select>
- <select1 id="rdo_heartest" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn" navindex="28" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:670px; top:492px; width:120px; 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/heartestyn") == "01") {
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartest");
- chk_heartest.disabled = true;
- } else {
- chk_heartest.disabled = false;
- }
- chk_heartest.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption41" class="cell_1" style="left:560px; top:488px; width:105px; height:23px; text-align:center; vertical-align:middle; ">청력검사</caption>
- <input id="ipt_educetcnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetcnm" navindex="31" style="left:897px; top:530px; width:295px; height:19px; "/>
- <caption id="caption38" style="left:535px; top:556px; width:5px; height:14px; ">)</caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:620px; width:105px; height:45px; text-align:center; vertical-align:middle; ">특이사항</caption>
- <caption id="caption16" class="cell_1" style="left:735px; top:552px; width:80px; height:23px; text-align:center; vertical-align:middle; ">퇴원절차교육</caption>
- <caption id="caption43" class="tit_2" style="left:5px; top:698px; width:113px; height:13px; ">아기 인수확인</caption>
- <select1 id="rdo_nbabyacptpsn" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn" navindex="41" appearance="full" cellspacing="20" cols="4" overflow="visible" style="left:108px; top:723px; width:447px; 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/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn") == "04") {
- ipt_nbabyacptpsnnm.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsnnm");
- ipt_nbabyacptpsnnm.refresh();
- ipt_nbabyacptpsnnm.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption44" style="left:535px; top:556px; width:10px; height:14px; ">)</caption>
- <caption id="caption45" class="cell_1" style="left:0px; top:743px; width:105px; height:23px; text-align:center; vertical-align:middle; ">신분증 확인</caption>
- <line id="line14" class="line_3" style="x1:0px; y1:765px; x2:1194px; y2:765px; "/>
- <select id="chk_crtfctcnfm" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/crtfctcnfm" navindex="43" overflow="visible" appearance="full" cellspacing="108" cols="2" sep="," style="left:108px; top:747px; width:547px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>산모 주민등록번호</label>
- <value>1</value>
- </item>
- <item>
- <label>인수자성명/주민등록번호</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var crtfctcnfm = chk_crtfctcnfm.value;
-
- if(crtfctcnfm == "1") {
-
- ipt_wommrrgstno1.disabled = false;
- sct_wommrrgstno2.disabled = false;
-
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstnm");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno1");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno2");
-
- ipt_acptpsnnm.refresh();
- ipt_acptpsnrrgstno1.refresh();
- sct_acptpsnrrgstno2.refresh();
-
- ipt_acptpsnnm.disabled = true;
- ipt_acptpsnrrgstno1.disabled = true;
- sct_acptpsnrrgstno2.disabled = true;
-
-
- } else if(crtfctcnfm == "2") {
-
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno1");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno2");
-
- ipt_wommrrgstno1.refresh();
- sct_wommrrgstno2.refresh();
-
- ipt_wommrrgstno1.disabled = true;
- sct_wommrrgstno2.disabled = true;
-
- ipt_acptpsnnm.disabled = false;
- ipt_acptpsnrrgstno1.disabled = false;
- sct_acptpsnrrgstno2.disabled = false;
-
- } else if(crtfctcnfm == "1,2" || crtfctcnfm == "2,1") {
-
- ipt_wommrrgstno1.disabled = false;
- sct_wommrrgstno2.disabled = false;
-
- ipt_acptpsnnm.disabled = false;
- ipt_acptpsnrrgstno1.disabled = false;
- sct_acptpsnrrgstno2.disabled = false;
-
- } else {
-
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstnm");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno1");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno2");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno1");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno2");
-
- ipt_wommrrgstno1.refresh();
- sct_wommrrgstno2.refresh();
-
- ipt_acptpsnnm.refresh();
- ipt_acptpsnrrgstno1.refresh();
- sct_acptpsnrrgstno2.refresh();
-
- ipt_wommrrgstno1.disabled = true;
- sct_wommrrgstno2.disabled = true;
-
- ipt_acptpsnnm.disabled = true;
- ipt_acptpsnrrgstno1.disabled = true;
- sct_acptpsnrrgstno2.disabled = true;
- }
- ]]>
- </script>
- </select>
- <input id="ipt_wommrrgstno1" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno1" disabled="true" navindex="44" maxlength="6" format="999999" style="left:225px; top:744px; width:52px; height:19px; text-align:center; "/>
- <input id="ipt_acptpsnnm" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstnm" disabled="true" navindex="46" imemode="hangul" style="left:496px; top:744px; width:44px; height:19px; text-align:center; "/>
- <secret id="sct_wommrrgstno2" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno2" disabled="true" navindex="45" maxlength="7" secretmark="*******" style="left:280px; top:744px; width:55px; height:19px; "/>
- <input id="ipt_acptpsnrrgstno1" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno1" disabled="true" navindex="47" maxlength="6" format="999999" style="left:550px; top:744px; width:52px; height:19px; text-align:center; "/>
- <secret id="sct_acptpsnrrgstno2" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno2" disabled="true" navindex="48" maxlength="7" secretmark="*******" style="left:604px; top:744px; width:55px; height:19px; "/>
- <select1 id="rdo_dschmthd" ref="/root/main/dschcareinfo/dschcareinfo/dschmthdcd" navindex="10" appearance="full" cellspacing="35" cols="7" overflow="visible" style="left:107px; top:317px; width:398px; 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/dschmthdcd") == "04") {
- ipt_dschmthdnm.disabled = false;
- } else {
- ipt_dschmthdnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschmthnm");
- ipt_dschmthdnm.refresh();
-
-
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_dschmthd" class="cell_1" style="left:0px; top:313px; width:105px; height:23px; text-align:center; vertical-align:middle; ">퇴원방법</caption>
- <input id="ipt_dschmthdnm" ref="/root/main/dschcareinfo/dschcareinfo/dschmthdnm" navindex="11" style="left:509px; top:314px; width:135px; height:19px; "/>
- <select1 id="rdo_lacmthd" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd" navindex="12" appearance="full" cellspacing="20" cols="5" overflow="visible" style="left:108px; top:396px; width:417px; 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>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd") == "05") {
- ipt_lacmthdnm.disabled = false;
- } else {
-
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthdnm");
- ipt_lacmthdnm.refresh();
- ipt_lacmthdnm.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_lacmthdnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthdnm" navindex="13" imemode="hangul" style="left:530px; top:393px; width:140px; height:19px; "/>
- <input id="ipt_lactim" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lactim" navindex="14" format="99" style="left:757px; top:393px; width:65px; height:19px; text-align:center; "/>
- <input id="ipt_lacvol" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacvol" navindex="15" format="999" style="left:938px; top:393px; width:65px; height:19px; text-align:center; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:360px; x2:1194px; y2:360px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:438px; x2:1194px; y2:438px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:416px; width:105px; height:23px; text-align:center; vertical-align:middle; ">모유수유권장교육</caption>
- <select id="chk_heartest" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartest" navindex="29" overflow="visible" appearance="full" cellspacing="60" cols="2" sep="," style="left:810px; top:492px; width:235px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>신생아 청력선별검사</label>
- <value>1</value>
- </item>
- <item>
- <label>AEP</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <caption id="caption3" style="left:800px; top:493px; width:15px; height:14px; ">(</caption>
- <caption id="caption5" style="left:1045px; top:493px; width:15px; height:14px; ">)</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:666px; x2:1194px; y2:666px; "/>
- <caption id="caption42" class="cell_1" style="left:0px; top:719px; width:105px; 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>
- <caption id="cap_bfrecdt" class="cell_1" style="left:0px; top:38px; width:80px; height:23px; vertical-align:middle; ">기록일시</caption>
- <output id="ipt_recuser" ref="/root/main/dschcareinfo/dschcareinfo/recusernm" class="output_fix" navindex="4" appearance="output" style="left:333px; top:40px; width:100px; height:19px; "/>
- <caption id="caption1" class="cell_1" style="left:250px; top:38px; width:80px; height:23px; vertical-align:middle; ">기록자</caption>
- <input id="ipt_rectm" ref="/root/main/dschcareinfo/dschcareinfo/rectm" navindex="2" format="hh:nn" style="left:185px; top:40px; width:40px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:436px; top:38px; width:80px; height:23px; vertical-align:middle; ">퇴원예정일</caption>
- <input id="ipt_recdd" ref="/root/main/dschcareinfo/dschcareinfo/recdd" class="input_default" navindex="1" inputtype="date" style="left:83px; top:40px; width:100px; height:19px; "/>
- <input id="ipt_dschdd" ref="/root/main/dschcareinfo/dschcareinfo/dschdd" class="input_default" disabled="false" navindex="5" inputtype="date" style="left:519px; top:40px; width:100px; height:19px; "/>
- <button id="btn_tmpsave" class="btn5_letter4" visibility="hidden" style="left:895px; top:9px; width:64px; height:19px; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDschInfo("T");
- submit("TXMNN00601");
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_dschtypes" ref="/root/main/dschcareinfo/dschcareinfo/dschtypecds" navindex="8" appearance="full" cellspacing="23" cols="7" overflow="visible" style="left:108px; top:292px; width:547px; 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") { //사망
- //퇴원방법
- rdo_dschmthd.disabled = true;
- model.setValue("/root/main/dschcareinfo/dschcareinfo/dschmthdcd", "04");
- ipt_dschmthdnm.disabled = false;
- //진료의동반_20090601_SMY추가
- rdo_dracomp.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dracomp");
- //수유방법
- rdo_lacmthd.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthd");
- ipt_lacmthdnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacmthdnm");
- //수유시간
- ipt_lactim.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lactim");
- //현재수유량
- ipt_lacvol.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/lacvol");
- //모유수유권장교육
- rdo_laceduc.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceduc");
- rdo_laceduc.dispatch("xforms-value-changed");
- //교육방법
- chk_laceducmthd.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceducmthd");
- //교육내용
- chk_laceductype.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/laceductype");
- //위생간호
- chk_sanitcare.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitcare");
- chk_sanitcare.dispatch("xforms-value-changed");
- rdo_dinfyn.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dinfyn")
- ipt_sanitnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/sanitnm");
- //예방접종
- chk_vacn.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacn");
- chk_vacn.dispatch("xforms-value-changed");
- rdo_vacntim.disabled = true;
- ipt_vacnnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/vacnnm");
- //선천성 대사이상 질환검사
- chk_cngntlmboltrobtest.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/cngntlmboltrobtest");
- //실내환경
- chk_inroomenv.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/inroomenv");
- //청력검사
- rdo_heartest.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartestyn");
- rdo_heartest.dispatch("xforms-value-changed");
- chk_heartest.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/heartest");
- //기타
- chk_educetc.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetc");
- ipt_educetcnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/educetcnm");
- //추후관리
- 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");
- //아기인수자
- rdo_nbabyacptpsn.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsn");
- rdo_nbabyacptpsn.dispatch("xforms-value-changed");
- ipt_nbabyacptpsnnm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsnnm");
- //신분증확인
- chk_crtfctcnfm.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/crtfctcnfm");
- chk_crtfctcnfm.dispatch("xforms-value-changed");
- ipt_wommrrgstno1.disabled = true;
- sct_wommrrgstno2.disabled = true;
- ipt_acptpsnnm.disabled = true;
- ipt_acptpsnrrgstno1.disabled = true;
- sct_acptpsnrrgstno2.disabled = true;
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno1");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/wommrrgstno2");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstnm");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno1");
- model.resetInstanceNode("/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/acptpsnrrgstno2");
-
- }else{
- rdo_dschmthd.disabled = false;
- rdo_dracomp.disabled = false;
- rdo_lacmthd.disabled = false;
- ipt_lactim.disabled = false;
- ipt_lacvol.disabled = false;
- rdo_laceduc.disabled = false;
- rdo_laceduc.dispatch("xforms-value-changed");
- chk_sanitcare.disabled = false;
- chk_sanitcare.dispatch("xforms-value-changed");
- chk_vacn.disabled = false;
- chk_vacn.dispatch("xforms-value-changed");
- chk_cngntlmboltrobtest.disabled = false;
- chk_inroomenv.disabled = false;
- rdo_heartest.disabled = false;
- rdo_heartest.dispatch("xforms-value-changed");
- chk_heartest.disabled = false;
- chk_educetc.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;
- rdo_nbabyacptpsn.disabled = false;
- rdo_nbabyacptpsn.dispatch("xforms-value-changed");
- chk_crtfctcnfm.disabled = false;
- chk_crtfctcnfm.dispatch("xforms-value-changed");
-
- 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>
- <input id="ipt_dschtypenm" ref="/root/main/dschcareinfo/dschcareinfo/dschtypenm" disabled="true" navindex="9" style="left:647px; top:290px; width:210px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:289px; width:105px; height:23px; text-align:center; vertical-align:middle; ">퇴원유형</caption>
- <input id="ipt_nbabyacptpsnnm" ref="/root/main/dschcareinfo/dschcareinfo/nbabyacptcnfminfo/nbabyacptcnfm/nbabyacptpsnnm" disabled="true" navindex="42" style="left:421px; top:720px; width:124px; height:19px; "/>
- <input id="input1" ref="/root/main/dschcareinfo/dschcareinfo/signno" visibility="hidden" style="left:725px; top:10px; 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="caption25" 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="caption34" ref="/root/main/patnm" style="left:190px; top:9px; width:60px; height:20px; font-family:돋움; "/>
- <caption id="caption29" class="search_name" style="left:122px; top:10px; width:68px; height:17px; ">환자명:</caption>
- <caption id="caption68" class="search_name" style="left:5px; top:10px; width:55px; height:17px; ">병실:</caption>
- <caption id="caption36" ref="/root/main/sex" style="left:318px; top:9px; width:32px; height:20px; font-family:돋움; "/>
- <caption id="caption37" class="search_name" style="left:260px; top:10px; width:58px; height:17px; ">성별:</caption>
- <caption id="caption46" ref="/root/main/room" style="left:63px; top:9px; width:52px; height:20px; font-family:돋움; "/>
- <select1 id="rdo_antibioallgyn" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgyn" appearance="full" cellspacing="10" cols="1" vcellspacing="7" overflow="visible" style="left:978px; top:289px; 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>
- <caption id="caption47" style="left:1013px; top:293px; width:15px; height:13px; ">(</caption>
- <caption id="caption48" style="left:1185px; top:318px; width:10px; height:14px; ">)</caption>
- <caption id="caption49" class="cell_1" style="left:860px; top:289px; width:115px; height:46px; text-align:center; vertical-align:middle; ">
- <![CDATA[입원기간 중 항생제
- 알러지 반응 ]]>
- </caption>
- <line id="line17" class="line_2" style="x1:0px; y1:618px; x2:1194px; y2:618px; "/>
- <select1 id="rdo_dschcatestatyn" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatyn" appearance="full" cols="1" rows="2" overflow="visible" style="left:108px; top:576px; 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="40" cols="7" sep="▦" vcellspacing="4" style="left:139px; top:576px; width:1047px; height:39px; 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="caption50" class="cell_1" style="left:0px; top:576px; width:105px; height:42px; text-align:center; vertical-align:middle; ">
- <![CDATA[퇴원시 기구
- 및 삽관상태]]>
- </caption>
- <caption id="cap_oxyunit" style="left:1135px; top:585px; width:36px; height:14px; ">L/min</caption>
- <select id="chk_antibioallgcd" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgcd" disabled="true" overflow="visible" appearance="full" cellspacing="5" cols="2" sep="," vcellspacing="7" style="left:1021px; top:288px; width:166px; height:43px; 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>
- <input id="ipt_antibioallgnm" ref="/root/main/dschcareinfo/dschcareinfo/antibioallgnm" disabled="true" style="left:1074px; top:314px; width:110px; height:19px; "/>
- <caption id="caption52" class="cell_1" style="left:647px; top:313px; width:105px; 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:755px; top:317px; width:100px; 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_dschcatestatnm" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcatestatnm" disabled="true" style="left:773px; top:597px; width:413px; height:19px; "/>
- <input id="ipt_dschcateoxy" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/dschcateoxy" disabled="true" style="left:1066px; top:580px; width:70px; height:19px; "/>
- <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/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){
- modal("SPMNZ00300");
- consultObj.javascript.btn_prt.dispatch("DOMActivate");
- }
- consultObj.close();
- }
- ]]>
- </script>
- </button>
- <caption id="caption51" style="left:1166px; top:745px; width:26px; height:24px; ">[표]</caption>
- <line id="line19" class="line_2" style="x1:0px; y1:414px; x2:1194px; y2:414px; "/>
- <caption id="caption53" class="cell_1" style="left:0px; top:337px; width:105px; height:23px; text-align:center; vertical-align:middle; ">퇴원시 수유형태</caption>
- <select1 id="rdo_dschlactype" ref="/root/main/dschcareinfo/dschcareinfo/etcfactinfo/etcfact/dschlactype" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:107px; top:340px; width:339px; height:15px; 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>
- </select1>
- <line id="line20" class="line_2" style="x1:0px; y1:335px; x2:1194px; y2:335px; "/>
- <shape id="rectangle1" appearance="rectangle" style="left:788px; top:38px; width:156px; height:23px; border-color:#008000; "/>
- <button id="button1" class="btn2_letter5" style="left:1049px; top:40px; width:75px; height:19px; ">
- <caption>전자동의서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fClickPrintBtn(xFormCd, "Y");
- //grp_elecprint.visible = true;
-
- model.setValue("/root/temp/prtPatient", "N");
- model.setValue("/root/temp/prtOCR", "Y");
- fClickPrintBtn(xFormCd, "Y");
-
- ]]>
- </script>
- </button>
- <shape id="rectangle2" appearance="rectangle" style="left:948px; top:38px; width:178px; height:23px; border-color:#008000; "/>
- <button id="button3" class="btn2_letter7" style="left:951px; top:40px; width:97px; height:19px; ">
- <caption>환자교육출력물</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fClickPrintBtn(xFormCd, "Y");
- //grp_elecprint.visible = true;
-
- model.setValue("/root/temp/prtPatient", "Y");
- model.setValue("/root/temp/prtOCR", "N");
- fClickPrintBtn(xFormCd, "Y");
-
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn2_letter12" style="left:790px; top:40px; width:152px; height:19px; ">
- <caption>출력(환자교육출력물 포함)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fClickPrintBtn(xFormCd, "N");
-
- ]]>
- </script>
- </button>
- <textarea id="txa_spcffact" ref="/root/main/dschcareinfo/dschcareinfo/dschcareeducinfo/dschcareeduc/spcffact" style="left:108px; top:620px; width:1080px; height:45px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|