12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069 |
- <?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>
- <wardrecinfo>
- <!--(20101218) 경북대 -->
- <nrs1cd/>
- <nrs1nm/>
- <nrs21cd/>
- <nrs21nm/>
- <nrs22cd/>
- <nrs22nm/>
- <nrs23cd/>
- <nrs23nm/>
- <nrsscore/>
- <!--(20101218) 경북대 -->
- <famytree>
- <existyn/>
- </famytree>
- <inmotiveinfo>
- <inmotive>
- <attackdd/>
- <attackdt/>
- <inmotive1>Y</inmotive1>
- <inmotive2/>
- <illnessflag>Y</illnessflag>
- </inmotive>
- </inmotiveinfo>
- <childinfo>
- <childs>
- <tnsseffcinfo>
- <tnsseffcyn/>
- <tnsseffcdetl/>
- </tnsseffcinfo>
- <birthinfo>
- <pregnancyweek/>
- <birthweight/>
- <birthtype/>
- </birthinfo>
- </childs>
- </childinfo>
- <spcffact>
- <spcf>
- <spcffactinclyn/>
- <spcffactdetl/>
- </spcf>
- </spcffact>
- <rectmedistatinfo>
- <rectmedistat>
- <rectmedistatinfoinclyn/>
- <antibiodrugyn/>
- <rectmedistat>
- <drugnm/>
- <direc/>
- <orddept/>
- </rectmedistat>
- </rectmedistat>
- </rectmedistatinfo>
- <basebdinfoinclyn/>
- <lowbp/>
- <highbp/>
- <pulse/>
- <breth/>
- <bdtp/>
- <bdtppartcd/>
- <bdht/>
- <bdwt/>
- <bdbtype/>
- <bdbtyperh/>
- <privacy/>
- <jobcd/>
- <jobnm/>
- <educgrdecd/>
- <educgrdenm/>
- <religncd/>
- <relignnm/>
- <baptnm/>
- <indd/>
- <indt/>
- <inpathcd/>
- <inpathnm/>
- <inmthdcd/>
- <inmthdnm/>
- <inacompstcd/>
- <inacompstnm/>
- <parentsinfo>
- <parents>
- <mthrjobcd/>
- <mthrjobnm/>
- <mthrgrdecd/>
- <mthrgrdenm/>
- <fthrjobcd/>
- <fthrjobnm/>
- <fthrgrdecd/>
- <fthrgrdenm/>
- </parents>
- </parentsinfo>
- <spo2/>
- <relignreq/>
- <telflag/>
- <tel/>
- <mphone/>
- <etctelflag/>
- <etcphone1/>
- <etcphone2/>
- <bpinspyn/>
- <pulseinspyn/>
- <brethinspyn/>
- <bdtpinspyn/>
- <bdhtinspyn/>
- <bdwtinspyn/>
- <spo2inspyn/>
- </wardrecinfo>
- <famyfact>
- <stat/>
- <rela/>
- <hngnm/>
- <addr/>
- <detladdr/>
- <tel/>
- <mpphone/>
- <remfact/>
- <fmlyseq/>
- </famyfact>
- <histinfo>
- <pasthistinfo>
- <pasthist>
- <pasthistinclyn/>
- <pasthist>
- <genrdd/>
- <histspec/>
- <remfact/>
- </pasthist>
- </pasthist>
- </pasthistinfo>
- <famyhistinfo>
- <famyhist>
- <famyhistinclyn/>
- <famyhist>
- <famyrel/>
- <existyn/>
- <histspec/>
- <remfact/>
- </famyhist>
- </famyhist>
- </famyhistinfo>
- <inhistinfo>
- <inhist>
- <inhistinclyn/>
- <inhist>
- <indd/>
- <dschdd/>
- <illnm/>
- <orddept/>
- <inhistpk/>
- </inhist>
- </inhist>
- </inhistinfo>
- <ophistinfo>
- <ophist>
- <ophistinclyn/>
- <ophist>
- <opdd/>
- <opnm/>
- <orddept/>
- <ophistpk/>
- </ophist>
- </ophist>
- </ophistinfo>
- <allghistinfo>
- <allghist>
- <allghistinclyn/>
- <allghist>
- <genrdd/>
- <flag/>
- <allergespec/>
- </allghist>
- </allghist>
- </allghistinfo>
- <vacnhistinfo>
- <vacnhist>
- <vacnhistinfoinclyn/>
- <dpttims/>
- <infparaltims/>
- <ahptstims/>
- <bhptstims/>
- <bhptsdrugnm/>
- <bcgyn/>
- <mmrtims/>
- <alivvacntims/>
- <deadvaccntims/>
- <brnmeningitistims/>
- <lungcoccustims/>
- <chickenpoxtims/>
- <vacncheckyn/>
- <vacnchecketc/>
- </vacnhist>
- </vacnhistinfo>
- <smokinfo>
- <smok>
- <smokinclyn/>
- <smok>
- <dosetoday/>
- <term/>
- </smok>
- </smok>
- </smokinfo>
- <drunkinfo>
- <drunk>
- <drunkinclyn/>
- <drunkinfo>
- <kind/>
- <dose/>
- <tims/>
- <term/>
- </drunkinfo>
- </drunk>
- </drunkinfo>
- <gustofoodinfo>
- <gustofood>
- <gustofoodinclyn/>
- <gustofood>
- <kind/>
- <dose/>
- <tims/>
- <term/>
- </gustofood>
- </gustofood>
- </gustofoodinfo>
- <tnsseffcinfo>
- <tnsseffc>
- <tnsseffcinclyn/>
- <tnsseffc>
- <tnsyn/>
- <tnsdetl/>
- </tnsseffc>
- </tnsseffc>
- </tnsseffcinfo>
- </histinfo>
- <inbfinfo>
- <inbfinfolist>
- <inbfyn/>
- </inbfinfolist>
- </inbfinfo>
- <allgtemp>
- <antitype>3</antitype>
- <antidesc/>
- <row/>
- <col/>
- </allgtemp>
- </main>
- <init/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //----------(20101029) 경북대
- // 간호정보조사지 일반정보- 필수항목
- if (fEssentialBackColor != "") {
- ipt_spo2.attribute("background-color") = fEssentialBackColor;
- tar_inmotv.attribute("background-color") = fEssentialBackColor;
- // rdo_smokinfo.attribute("background-color") = fEssentialBackColor;
- // rdo_nosmokcnstyn.attribute("background-color") = fEssentialBackColor;
- ipt_bdht.attribute("background-color") = fEssentialBackColor;
- ipt_bdwt.attribute("background-color") = fEssentialBackColor;
- //-------------(20110121) 경북대
- // comnrs1.attribute("background-color") = fEssentialBackColor;
- // radnrs21.attribute("background-color") = fEssentialBackColor;
- // radnrs22.attribute("background-color") = fEssentialBackColor;
- // radnrs23.attribute("background-color") = fEssentialBackColor;
- //-------------(20110121) 경북대
- }
- //----------(20101029) 경북대
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitEventChildInfo() {
- if(ipt_indt.value == "") {
- ipt_indt.value = model.getValue("/root/temp/cond/list/careinrmtm"); //입원시간
- }
-
- submit("TRMNW07601"); //입원전 검사실에서 기록한 기록이 있을 경우 [입원전 검사실]버튼이 생성
-
- if(model.getValue("/root/main/inbfinfo/inbfinfolist/inbfyn") == "Y"){
- bnt_testroom.visible =true;
- } else {
- bnt_testroom.visible =false;
- }
-
- model.refresh();
-
- // cmb_job.dispatch("xforms-value-changed");
- // cmb_relign.dispatch("xforms-value-changed");
- // cmb_educgrde.dispatch("xforms-value-changed");
- var privacychk = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='W25']/cdid");
-
- if(privacychk == "N"){
- model.setValue("/root/main/wardrecinfo/privacy", "");
- chk_privacy.visible = false;
- cap_educgrde.visible = true;
- cmb_educgrde.visible = true;
- ipt_educgrde.visible = true;
- }else{
- chk_privacy.visible = true;
- cap_educgrde.visible = false;
- cmb_educgrde.visible = false;
- ipt_educgrde.visible = false;
- }
-
- if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){
- cmb_job.disabled = true;
- ipt_job.disabled = true;
- cmb_relign.disabled = true;
- ipt_relignnm.disabled = true;
- cap_baptnm.visible = false;
- ipt_baptnm.visible = false;
- }else{
- cmb_job.disabled = false;
- cmb_relign.disabled = false;
-
- cmb_job.dispatch("xforms-value-changed");
- cmb_relign.dispatch("xforms-value-changed");
- cmb_educgrde.dispatch("xforms-value-changed");
- }
-
- cmb_mthrjobcd.dispatch("xforms-value-changed");
- cmb_mthrgrdecd.dispatch("xforms-value-changed");
- cmb_fthrjobcd.dispatch("xforms-value-changed");
- cmb_fthrgrdecd.dispatch("xforms-value-changed");
-
- cmb_inpath.dispatch("xforms-value-changed");
- cmb_inmthd.dispatch("xforms-value-changed");
- cmb_inacompst.dispatch("xforms-value-changed");
-
- if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn") == "1") {
- chk_basebdinfoinclyn.dispatch("xforms-value-changed");
- }
-
- // '15.05.19 - AYS 수정
- // rdo_nosmokcnstyn.dispatch("xforms-value-changed");
- // rdo_drunkinfo.dispatch("xforms-value-changed");
- // rdo_gustofoodyn.dispatch("xforms-value-changed");
- rdo_tnsseffcyn.dispatch("xforms-value-changed");
- rdo_vacncheckyn.dispatch("xforms-value-changed"); // '15.05.19 - AYS 추가
-
- // if(model.getValue("/root/main/histinfo/vacnhistinfo/vacnhist/vacnhistinfoinclyn") == "1") {
- // chk_vacnhistinclyn.dispatch("xforms-value-changed");
- // } else {
- // chk_bhpts.dispatch("xforms-value-changed");
- // }
-
- chk_spcffactinclyn.dispatch("xforms-value-changed");
- if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
- chk_pasthistyn.dispatch("xforms-value-changed");
- }
- if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
- chk_famyhistyn.dispatch("xforms-value-changed");
- }
- if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
- chk_inhistyn.dispatch("xforms-value-changed");
- }
- if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
- chk_ophistinclyn.dispatch("xforms-value-changed");
- }
- if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
- chk_rectmedistatinclyn.dispatch("xforms-value-changed");
- }
- if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
- rdo_allgyn.dispatch("xforms-value-changed");
- }
-
- //신체정보 측정불가시 측정불가 체크표시 추가_20090306_SMY
- chk_bpinspyn.dispatch("xforms-value-changed");
- chk_pulseinspyn.dispatch("xforms-value-changed");
- chk_brethinspyn.dispatch("xforms-value-changed");
- chk_bdtpinspyn.dispatch("xforms-value-changed");
- chk_bdhtinspyn.dispatch("xforms-value-changed");
- chk_bdwtinspyn.dispatch("xforms-value-changed");
- chk_spo2inspyn.dispatch("xforms-value-changed");
- }
-
- //측정불가 코드값입력 blocking_20090310_SMY
- function fChkNoneInspCode(IptPath, IptID){
- if(model.getValue(IptPath) == NoneInspCode){
- messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- model.resetInstanceNode(IptPath);
- model.setFocus(IptID);
- model.refresh();
- return;
- }
- }
-
- // 15.05.19 - 석명숙 과장님 요청으로 영양위험 삭제
- // ---------(20101217)
- // function fnNRScalc() {
- //
- // var snrs1 = model.getValue("/root/main/wardrecinfo/nrs1cd");
- // var snrs21 = model.getValue("/root/main/wardrecinfo/nrs21cd");
- // var snrs22 = model.getValue("/root/main/wardrecinfo/nrs22cd");
- // var snrs23 = model.getValue("/root/main/wardrecinfo/nrs23cd");
- //
- // var totalnrs= 0;
- // var snm = "";
- //
- // if (snrs1 =="") {
- // snrs21 = 0;
- // model.setValue("/root/main/wardrecinfo/nrs1nm","");
- // } else {
- // snm = comnrs1.label;
- // model.setValue("/root/main/wardrecinfo/nrs1nm",snm);
- // }
- //
- // if (snrs21 =="" || snrs21=="1") {
- // snrs21 = 0;
- // model.setValue("/root/main/wardrecinfo/nrs21nm","");
- // } else {
- // snrs21 = 1;
- // snm = capnrs21.value;
- // model.setValue("/root/main/wardrecinfo/nrs21nm",snm);
- // }
- //
- // if (snrs22 =="" || snrs22=="1") {
- // snrs22 = 0;
- // model.setValue("/root/main/wardrecinfo/nrs22nm","");
- // } else {
- // snrs22 = 2;
- // snm = capnrs22.value;
- // model.setValue("/root/main/wardrecinfo/nrs22nm",snm);
- // }
- //
- // if (snrs23 =="" || snrs23=="1") {
- // snrs23 = 0;
- // model.setValue("/root/main/wardrecinfo/nrs23nm","");
- // } else {
- // snrs23 = 3;
- // snm = capnrs23.value;
- // model.setValue("/root/main/wardrecinfo/nrs23nm",snm);
- // }
- // //----------(20110108) 경북대
- // if (snrs1 =="") snrs1 = 0;
- // if (snrs21 =="") snrs21 = 0;
- // if (snrs22 =="") snrs22 = 0;
- // if (snrs23 =="") snrs23 = 0;
- // //----------(20110108) 경북대
- // totalnrs = parseInt(snrs1) +parseInt(snrs21) + parseInt(snrs22) + parseInt(snrs23);
- //
- // model.setValue("/root/main/wardrecinfo/nrsscore",totalnrs);
- // model.refresh();
- // }
- // ---------(20101217)
- ]]>
- </script>
- <submission id="TRMNW07601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/inbfinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1194" pageheight="673" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <line id="line57" class="line_2" style="x1:401px; y1:214px; x2:790px; y2:214px; "/>
- <line id="line27" class="line_2" style="x1:401px; y1:188px; x2:790px; y2:188px; "/>
- <line id="line21" class="line_2" style="x1:401px; y1:140px; x2:790px; y2:140px; "/>
- <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:396px; y2:25px; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:104px; height:14px; ">환자기본정보</caption>
- <caption id="caption7" class="tit_2" style="left:10px; top:250px; width:104px; height:13px; ">가족사항</caption>
- <line id="line6" class="line_1" style="x1:5px; y1:265px; x2:396px; y2:265px; "/>
- <caption id="caption8" class="tit_2" visibility="hidden" style="left:10px; top:620px; width:104px; height:13px; ">가계도</caption>
- <line id="line7" class="line_1" visibility="hidden" style="x1:5px; y1:635px; x2:396px; y2:635px; "/>
- <!--20110411_KNUH 히든처리 -->
- <caption id="cap_existyn" class="cell_1" visibility="hidden" style="left:5px; top:640px; width:100px; height:23px; ">존재여부</caption>
- <!--20110411_KNUH 히든처리 -->
- <input id="opt_existyn" ref="/root/main/wardrecinfo/famytree/existyn" disabled="true" navindex="17" visibility="hidden" style="left:108px; top:641px; width:100px; height:19px; "/>
- <!--20110411_KNUH 히든처리 -->
- <line id="line8" class="line_3" visibility="hidden" style="x1:5px; y1:662px; x2:396px; y2:662px; "/>
- <!--20110411_KNUH 히든처리 -->
- <button id="button40" class="btn2_letter4" visibility="hidden" style="left:211px; top:641px; width:64px; height:19px; ">
- <caption>끌어오기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SPMMR04711_shape", model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
- modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
-
- if(model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") != "") {
- model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
- opt_existyn.refresh();
- } else {
- model.setValue("/root/main/wardrecinfo/famytree/existyn", "");
- opt_existyn.refresh();
- }
- ]]>
- </script>
- </button>
- <!--20110411_KNUH 히든처리 -->
- <caption id="caption10" class="tit_2" style="left:10px; top:362px; width:104px; height:13px; ">입원정보</caption>
- <line id="line9" class="line_1" style="x1:5px; y1:377px; x2:396px; y2:377px; "/>
- <line id="line10" class="line_2" style="x1:5px; y1:402px; x2:396px; y2:402px; "/>
- <line id="line11" class="line_2" style="x1:5px; y1:424px; x2:396px; y2:424px; "/>
- <line id="line12" class="line_2" style="x1:5px; y1:446px; x2:396px; y2:446px; "/>
- <caption id="cap_indd" class="cell_1" style="left:5px; top:382px; width:100px; height:21px; ">입원일자</caption>
- <line id="line14" class="line_1" style="x1:5px; y1:493px; x2:396px; y2:493px; "/>
- <caption id="caption16" class="tit_2" style="left:10px; top:478px; width:175px; height:13px; ">입원동기와 병에 대한 인식</caption>
- <select1 id="rdo_inmotv" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/inmotive1" navindex="28" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:169px; top:526px; width:131px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>자의</label>
- <value>Y</value>
- </item>
- <item>
- <label>타의</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line16" class="line_2" style="x1:5px; y1:519px; x2:396px; y2:519px; "/>
- <textarea id="tar_inmotv" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/inmotive2" navindex="29" scroll="autovscroll" style="left:88px; top:548px; width:308px; height:35px; "/>
- <line id="line17" class="line_2" style="x1:86px; y1:545px; x2:396px; y2:545px; "/>
- <line id="line18" class="line_2" style="x1:5px; y1:585px; x2:396px; y2:585px; "/>
- <select1 id="rdo_illnessflag" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/illnessflag" navindex="30" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:169px; top:590px; width:131px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <line id="line30" class="line_3" style="x1:5px; y1:610px; x2:396px; y2:610px; "/>
- <input id="ipt_attackdt" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/attackdt" class="input_default" navindex="27" format="hh:nn" style="left:255px; top:498px; width:141px; height:19px; text-align:center; "/>
- <caption id="caption29" class="cell_1" style="left:5px; top:587px; width:80px; height:23px; vertical-align:middle; ">병에대한인식</caption>
- <input id="ipt_attackdd" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/attackdd" class="input_default" navindex="26" inputtype="date" style="left:88px; top:498px; width:164px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:5px; top:521px; width:80px; height:65px; vertical-align:middle; ">입원동기</caption>
- <caption id="cap_attackdd" class="cell_1" style="left:5px; top:497px; width:80px; height:23px; vertical-align:middle; ">발병일자</caption>
- <line id="line33" class="line_1" style="x1:399px; y1:114px; x2:790px; y2:114px; "/>
- <line id="line35" class="line_2" style="x1:401px; y1:164px; x2:790px; y2:164px; "/>
- <caption id="caption42" class="tit_2" style="left:406px; top:98px; width:104px; height:13px; ">어린이정보</caption>
- <caption id="caption5" class="tit_2" style="left:10px; top:134px; width:104px; height:13px; ">부모정보</caption>
- <line id="line4" class="line_1" style="x1:5px; y1:149px; x2:395px; y2:149px; "/>
- <select1 id="cmb_mthrjobcd" ref="/root/main/wardrecinfo/parentsinfo/parents/mthrjobcd" class="combo_default" navindex="7" appearance="minimal" style="left:191px; top:154px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var job = model.getValue("/root/main/wardrecinfo/parentsinfo/parents/mthrjobcd");
- if(job == "10") { //기타
- ipt_mtherjobnm.visible = true;
- } else {
- ipt_mtherjobnm.visible = false;
- model.setValue("/root/main/wardrecinfo/parentsinfo/parents/mthrjobnm", "");
- }
- ipt_mtherjobnm.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mthrgrdecd" ref="/root/main/wardrecinfo/parentsinfo/parents/mthrgrdecd" class="combo_default" navindex="9" appearance="minimal" style="left:191px; top:176px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0069">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var job = model.getValue("/root/main/wardrecinfo/parentsinfo/parents/mthrgrdecd");
- if(job == "15") { //기타
- ipt_mthrgrdenm.visible = true;
- } else {
- ipt_mthrgrdenm.visible = false;
- model.setValue("/root/main/wardrecinfo/parentsinfo/parents/mthrgrdenm", "");
- }
- ipt_mthrgrdenm.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_fthrjobcd" ref="/root/main/wardrecinfo/parentsinfo/parents/fthrjobcd" class="combo_default" navindex="11" appearance="minimal" style="left:191px; top:198px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var job = model.getValue("/root/main/wardrecinfo/parentsinfo/parents/fthrjobcd");
- if(job == "10") { //기타
- ipt_ftherjobnm.visible = true;
- } else {
- ipt_ftherjobnm.visible = false;
- model.setValue("/root/main/wardrecinfo/parentsinfo/parents/fthrjobnm", "");
- }
- ipt_ftherjobnm.refresh();
-
- ]]>
- </script>
- </select1>
- <line id="line42" class="line_2" style="x1:5px; y1:174px; x2:395px; y2:174px; "/>
- <line id="line43" class="line_2" style="x1:5px; y1:196px; x2:395px; y2:196px; "/>
- <caption id="caption54" class="cell_1" style="left:88px; top:154px; width:100px; height:21px; ">직업</caption>
- <caption id="caption55" class="cell_1" style="left:88px; top:176px; width:100px; height:21px; ">교육정도</caption>
- <line id="line45" class="line_2" style="x1:5px; y1:218px; x2:395px; y2:218px; "/>
- <caption id="caption56" class="cell_1" style="left:88px; top:198px; width:100px; height:21px; ">직업</caption>
- <caption id="caption58" class="cell_1" style="left:5px; top:198px; width:82px; height:43px; ">아버지</caption>
- <caption id="caption59" class="cell_1" style="left:88px; top:220px; width:100px; height:21px; ">교육정도</caption>
- <line id="line44" class="line_3" style="x1:5px; y1:240px; x2:395px; y2:240px; "/>
- <line id="line32" class="line_1" style="x1:400px; y1:277px; x2:790px; y2:277px; "/>
- <caption id="caption40" class="tit_2" style="left:405px; top:261px; width:104px; height:13px; ">예방접종이력</caption>
- <line id="line36" class="line_2" style="x1:400px; y1:281px; x2:790px; y2:281px; "/>
- <line id="line47" class="line_3" style="x1:400px; y1:305px; x2:790px; y2:305px; "/>
- <input id="ipt_indd" ref="/root/main/wardrecinfo/indd" class="input_default" disabled="true" navindex="18" inputtype="date" style="left:108px; top:382px; width:100px; height:19px; "/>
- <input id="ipt_indt" ref="/root/main/wardrecinfo/indt" navindex="19" format="hh:nn" style="left:295px; top:382px; width:100px; height:19px; text-align:center; "/>
- <caption id="cap_indt" class="cell_1" style="left:211px; top:382px; width:82px; height:21px; ">입원시간</caption>
- <caption id="cap_inpath" class="cell_1" style="left:5px; top:404px; width:100px; height:21px; ">입원경로</caption>
- <caption id="cap_inmthd" class="cell_1" style="left:5px; top:426px; width:100px; height:21px; ">입원방법</caption>
- <caption id="cap_inptner" class="cell_1" style="left:5px; top:448px; width:100px; height:21px; ">입원시동반자</caption>
- <select1 id="cmb_fthrgrdecd" ref="/root/main/wardrecinfo/parentsinfo/parents/fthrgrdecd" class="combo_default" navindex="13" appearance="minimal" style="left:191px; top:220px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0069">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var job = model.getValue("/root/main/wardrecinfo/parentsinfo/parents/fthrgrdecd");
- if(job == "15") { //기타
- ipt_fthrgrdenm.visible = true;
- } else {
- ipt_fthrgrdenm.visible = false;
- model.setValue("/root/main/wardrecinfo/parentsinfo/parents/fthrgrdenm", "");
- }
- ipt_fthrgrdenm.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_mtherjobnm" ref="/root/main/wardrecinfo/parentsinfo/parents/mthrjobnm" navindex="8" visibility="hidden" style="left:295px; top:154px; width:100px; height:19px; "/>
- <input id="ipt_mthrgrdenm" ref="/root/main/wardrecinfo/parentsinfo/parents/mthrgrdenm" navindex="10" visibility="hidden" style="left:295px; top:176px; width:100px; height:19px; "/>
- <input id="ipt_ftherjobnm" ref="/root/main/wardrecinfo/parentsinfo/parents/fthrjobnm" navindex="12" visibility="hidden" style="left:295px; top:198px; width:100px; height:19px; "/>
- <input id="ipt_fthrgrdenm" ref="/root/main/wardrecinfo/parentsinfo/parents/fthrgrdenm" navindex="14" visibility="hidden" style="left:295px; top:220px; width:100px; height:19px; "/>
- <line id="line13" class="line_3" style="x1:5px; y1:468px; x2:396px; y2:468px; "/>
- <caption id="caption57" class="cell_1" style="left:5px; top:154px; width:82px; height:43px; ">어머니</caption>
- <button id="btn_famyfactdel" class="btn2_letter3" navindex="16" style="left:342px; top:245px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyfact.deleteRow(grd_famyfact.row);
- ]]>
- </script>
- </button>
- <button id="btn_famyfactadd" class="btn2_letter3" navindex="15" style="left:286px; top:245px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- grd_famyfact.addRow();
- ]]>
- </script>
- </button>
- <input id="ipt_birthweight" ref="/root/main/wardrecinfo/childinfo/childs/birthinfo/birthweight" disabled="false" navindex="42" style="left:491px; top:143px; width:244px; height:19px; text-align:center; "/>
- <caption id="cap_gustofoodyn" class="cell_1" style="left:399px; top:142px; width:90px; height:23px; ">출생시 체중</caption>
- <caption id="cap_tnsseffcyn" class="cell_1" style="left:399px; top:166px; width:90px; height:23px; ">분만 형태</caption>
- <input id="ipt_birthtype" ref="/root/main/wardrecinfo/childinfo/childs/birthinfo/birthtype" disabled="false" navindex="44" style="left:491px; top:167px; width:294px; height:19px; "/>
- <textarea id="tar_spcffact" ref="/root/main/wardrecinfo/spcffact/spcf/spcffactdetl" navindex="59" scroll="autovscroll" style="left:400px; top:350px; width:390px; height:120px; "/>
- <line id="line41" class="line_1" style="x1:400px; y1:344px; x2:790px; y2:344px; "/>
- <caption id="caption53" class="tit_2" style="left:405px; top:329px; width:74px; height:13px; ">특이사항</caption>
- <select id="chk_spcffactinclyn" ref="/root/main/wardrecinfo/spcffact/spcf/spcffactinclyn" navindex="58" overflow="visible" appearance="full" style="left:719px; top:327px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/spcffact/spcf/spcffactinclyn")=="1") {
-
- var rtn = "";
-
- rtn = fSetStatus();
-
- if(rtn == "6") {
- tar_spcffact.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/spcffact/spcf/spcffactdetl");
- }
- } else {
- tar_spcffact.disabled = false;
-
- }
- tar_spcffact.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "etc";
- ]]>
- </script>
- </select>
- <line id="line34" class="line_1" style="x1:400px; y1:25px; x2:791px; y2:25px; "/>
- <select id="chk_basebdinfoinclyn" ref="/root/main/wardrecinfo/basebdinfoinclyn" visibility="hidden" overflow="visible" appearance="full" style="left:631px; top:9px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn")=="1") {
-
- var rtn = "";
-
- rtn = fSetStatus();
-
- if(rtn == "6") {
-
- // ipt_lowbp.disabled = true;
- // ipt_highbp.disabled = true;
- // ipt_pulse.disabled = true;
- // ipt_breth.disabled = true;
- // ipt_bdtp.disabled = true;
- // cmb_bdtp.disabled = true;
- ipt_bdht.disabled = true;
- ipt_bdwt.disabled = true;
- cmb_bdbtype.disabled = true;
-
-
- // model.resetInstanceNode("/root/main/wardrecinfo/lowbp");
- // model.resetInstanceNode("/root/main/wardrecinfo/highbp");
- // model.resetInstanceNode("/root/main/wardrecinfo/pulse");
- // model.resetInstanceNode("/root/main/wardrecinfo/breth");
- // model.resetInstanceNode("/root/main/wardrecinfo/bdtp");
- // model.resetInstanceNode("/root/main/wardrecinfo/bdtppartcd");
- model.resetInstanceNode("/root/main/wardrecinfo/bdht");
- model.resetInstanceNode("/root/main/wardrecinfo/bdwt");
- model.resetInstanceNode("/root/main/wardrecinfo/bdbtype");
- model.resetInstanceNode("/root/main/wardrecinfo/bdbtyperh");
-
- } else {
- model.setValue("/root/main/wardrecinfo/basebdinfoinclyn", "");
- chk_basebdinfoinclyn.refresh();
- return;
- }
- } else {
- // ipt_lowbp.disabled = false;
- // ipt_highbp.disabled = false;
- // ipt_pulse.disabled = false;
- // ipt_breth.disabled = false;
- // ipt_bdtp.disabled = false;
- // cmb_bdtp.disabled = false;
- ipt_bdht.disabled = false;
- ipt_bdwt.disabled = false;
- cmb_bdbtype.disabled = false;
-
- }
- // ipt_lowbp.refresh();
- // ipt_highbp.refresh();
- // ipt_pulse.refresh();
- // ipt_breth.refresh();
- // ipt_bdtp.refresh();
- //
- // cmb_bdtp.refresh();
- ipt_bdht.refresh();
- ipt_bdwt.refresh();
- cmb_bdbtype.refresh();
-
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "etc";
- ]]>
- </script>
- </select>
- <caption id="caption39" class="tit_2" style="left:405px; top:10px; width:104px; height:13px; ">기본 신체정보</caption>
- <input id="ipt_inmthdnm" ref="/root/main/wardrecinfo/inmthdnm" navindex="23" visibility="hidden" style="left:210px; top:426px; width:185px; height:19px; "/>
- <select1 id="cmb_inmthd" ref="/root/main/wardrecinfo/inmthdcd" class="combo_default" navindex="22" appearance="minimal" style="left:108px; top:426px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0210">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/inmthdcd") == "08") {
- ipt_inmthdnm.visible = true;
- } else {
- ipt_inmthdnm.visible = false;
- model.resetInstanceNode("/root/main/wardrecinfo/inmthdnm");
- ipt_inmthdnm.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_inpathnm" ref="/root/main/wardrecinfo/inpathnm" navindex="21" visibility="hidden" style="left:210px; top:404px; width:185px; height:19px; "/>
- <select1 id="cmb_inpath" ref="/root/main/wardrecinfo/inpathcd" class="combo_default" navindex="20" appearance="minimal" style="left:108px; top:404px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0418">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/inpathcd") == "08") {
- ipt_inpathnm.visible = true;
- } else {
- ipt_inpathnm.visible = false;
- model.resetInstanceNode("/root/main/wardrecinfo/inpathnm");
- ipt_inpathnm.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_inacompst" ref="/root/main/wardrecinfo/inacompstcd" class="combo_default" navindex="24" appearance="minimal" style="left:108px; top:448px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0098">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/inacompstcd") == "04") {
- ipt_inacompstnm.visible = true;
- } else {
- ipt_inacompstnm.visible = false;
- model.resetInstanceNode("/root/main/wardrecinfo/inacompstnm");
- ipt_inacompstnm.refresh();
-
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_inacompstnm" ref="/root/main/wardrecinfo/inacompstnm" navindex="25" visibility="hidden" style="left:210px; top:448px; width:185px; height:19px; "/>
- <datagrid id="grd_famyfact" nodeset="/root/main/famyfact" scroll="auto" caption="상태^관계^성명^전화번호^핸드폰번호^주소(동/구)^세부주소^비고^fmlyseq" colsep="^" colwidth="0, 45, 0, 90, 90, 94, 130, 130, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:269px; width:391px; height:88px; ">
- <col ref="stat"/>
- <col class="gridcombo" ref="rela" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0072">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="hngnm" type="input"/>
- <col ref="tel" type="input">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </col>
- <col ref="mpphone" type="input"/>
- <col ref="addr" type="input"/>
- <col ref="detladdr" type="input"/>
- <col ref="remfact" type="input"/>
- <col ref="fmlyseq" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_famyfact.editCell();
- ]]>
- </script>
- </datagrid>
- <button id="btn_pasthistadd" class="btn2_letter3" navindex="57" style="left:1078px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_pasthist.addRow();
- ]]>
- </script>
- </button>
- <select id="chk_ophistinclyn" ref="/root/main/histinfo/ophistinfo/ophist/ophistinclyn" navindex="65" overflow="visible" appearance="full" style="left:901px; top:277px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_famyhist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/ophistinfo/ophist/ophist");
- grd_ophist.rebuild();
- btn_ophistadd.disabled = true;
- btn_ophistdel.disabled = true;
- btn_ophistpop.disabled = true;
-
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn", "");
- chk_ophistinclyn.refresh();
- }
-
- } else {
- btn_ophistadd.disabled = false;
- btn_ophistdel.disabled = false;
- btn_ophistpop.disabled = false;
- grd_ophist.addRow();
- }
- ]]>
- </script>
- </select>
- <datagrid id="grd_allghist" nodeset="/root/main/histinfo/allghistinfo/allghist/allghist" scroll="auto" caption="발생일자^분류^Allerge 내역 및 증상" colsep="^" colwidth="85, 70, 216" mergecellsfixedrows="bycolrec" rowsep="|" style="left:796px; top:509px; width:390px; height:50px; ">
- <col ref="genrdd" type="inputdate"/>
- <col class="gridcombo" ref="flag" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0090">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="allergespec" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_allghist.colType(grd_allghist.col) == "input") {
- grd_allghist.editCell();
- }
-
- // 분류값이 항생제로 선택이 되면..
- if (grd_allghist.col == 1) {
- if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "07") {
- model.makeNode("/root/main/allgtemp/antitype");
- model.makeNode("/root/main/allgtemp/antidesc");
-
- model.makeValue("/root/main/allgtemp/row", grd_allghist.row);
- model.makeValue("/root/main/allgtemp/col", grd_allghist.col);
-
- grp_anti.visible = true;
- rdo_anti.visible = true;
- txt_anti.visible = true;
- btn_anti1.visible = true;
- btn_anti2.visible = true;
- } else if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "06") {
- // 조영제로 선택이 되면
- messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
- modal("SPMMD03300", 1,10, 10);
-
- } else {
- grp_anti.visible = false;
- rdo_anti.visible = false;
- txt_anti.visible = false;
- btn_anti1.visible = false;
- btn_anti2.visible = false;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_allghist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 분류값이 항생제로 선택이 되면..
- if (grd_allghist.col == 1) {
- if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "07") {
- model.makeNode("/root/main/allgtemp/antitype");
- model.makeNode("/root/main/allgtemp/antidesc");
-
- model.makeValue("/root/main/allgtemp/row", grd_allghist.row);
- model.makeValue("/root/main/allgtemp/col", grd_allghist.col);
-
- grp_anti.visible = true;
- rdo_anti.visible = true;
- txt_anti.visible = true;
- btn_anti1.visible = true;
- btn_anti2.visible = true;
- } else if (grd_allghist.valuematrix(grd_allghist.row, grd_allghist.col) == "06") {
- // 조영제로 선택이 되면
- messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
- modal("SPMMD03300", 1,10, 10);
-
- } else {
- grp_anti.visible = false;
- rdo_anti.visible = false;
- txt_anti.visible = false;
- btn_anti1.visible = false;
- btn_anti2.visible = false;
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="cap_rectmedistat" class="tit_2" style="left:800px; top:375px; width:104px; height:13px; ">최근투약상태</caption>
- <button id="btn_rectmedistatdel" class="btn2_letter3" navindex="70" style="left:1133px; top:370px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rectmedistat.deleteRow(grd_rectmedistat.row);
- ]]>
- </script>
- </button>
- <button id="btn_inhistdel" class="btn2_letter3" navindex="64" style="left:1131px; top:185px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_inhist.deleteRow(grd_inhist.row);
- ]]>
- </script>
- </button>
- <datagrid id="grd_inhist" nodeset="/root/main/histinfo/inhistinfo/inhist/inhist" scroll="auto" caption="입원일자^퇴원일자^병명^진료기관^inhistpk" colsep="^" colwidth="85, 85, 133, 67, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:796px; top:211px; width:390px; height:51px; ">
- <col ref="indd" type="inputdate"/>
- <col ref="dschdd" type="inputdate"/>
- <col ref="illnm" type="input"/>
- <col ref="orddept" type="input"/>
- <col ref="inhistpk" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_inhist.colType(grd_inhist.col) == "input") {
- grd_inhist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_inhist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <select id="chk_pasthistyn" ref="/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn" navindex="56" overflow="visible" appearance="full" style="left:902px; top:7px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //과거병력 해당없음이 체크가 되어있느냐 없느냐 .
- if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
-
- var isEmptyYN = "Y";
- isEmptyYN = isCheckGridDataYN(grd_pasthist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/pasthistinfo/pasthist/pasthist");
- grd_pasthist.rebuild();
- btn_pasthistadd.disabled = true;
- btn_pasthistdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
- chk_pasthistyn.refresh();
- }
- } else {
- btn_pasthistadd.disabled = false;
- btn_pasthistdel.disabled = false;
- grd_pasthist.addRow();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <line id="line19" class="line_2" style="x1:796px; y1:417px; x2:1187px; y2:417px; "/>
- <caption id="cap_pasthist" class="tit_2" style="left:802px; top:10px; width:104px; height:13px; ">과거병력</caption>
- <line id="line22" class="line_1" style="x1:796px; y1:115px; x2:1186px; y2:115px; "/>
- <select id="chk_famyhistyn" ref="/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn" navindex="59" overflow="visible" appearance="full" style="left:901px; top:97px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_famyhist);
-
- var rtn = fSetStatus();
-
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/famyhistinfo/famyhist/famyhist");
- grd_famyhist.rebuild();
- btn_famyhistadd.disabled = true;
- btn_famyhistdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn", "");
- chk_famyhistyn.refresh();
- }
-
- } else {
- btn_famyhistadd.disabled = false;
- btn_famyhistdel.disabled = false;
- grd_famyhist.addRow();
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <caption id="cap_famyhist" class="tit_2" style="left:800px; top:100px; width:74px; height:13px; ">가족병력</caption>
- <button id="btn_famyhistadd" class="btn2_letter3" navindex="60" style="left:1077px; top:95px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyhist.addRow();
- ]]>
- </script>
- </button>
- <datagrid id="grd_pasthist" nodeset="/root/main/histinfo/pasthistinfo/pasthist/pasthist" scroll="auto" caption="발생일자^병력내역^비고" colsep="^" colwidth="85, 169, 116" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:30px; width:390px; height:50px; ">
- <col ref="genrdd" type="inputdate"/>
- <col class="gridcombo" ref="histspec" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0532">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remfact" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pasthist.colType(grd_pasthist.col) == "input") {
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
-
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line23" class="line_1" style="x1:796px; y1:205px; x2:1186px; y2:205px; "/>
- <datagrid id="grd_famyhist" nodeset="/root/main/histinfo/famyhistinfo/famyhist/famyhist" scroll="auto" caption="관계^생존^병력내역^비고" colsep="^" colwidth="60, 40, 169, 102" mergecellsfixedrows="bycolrec" rowsep="|" style="left:796px; top:120px; width:390px; height:49px; ">
- <col class="gridcombo" ref="famyrel" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0072">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridcombo" ref="existyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0088">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridcombo" ref="histspec" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0368">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remfact" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_famyhist.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_famyhist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line24" class="line_1" style="x1:796px; y1:297px; x2:1186px; y2:297px; "/>
- <select1 id="cmb_antibiodrugyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/antibiodrugyn" class="combo_default" navindex="16" appearance="minimal" style="left:1014px; top:396px; width:170px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>확인불가</label>
- <value>U</value>
- </item>
- </choices>
- </select1>
- <caption id="cap_ophist" class="tit_2" style="left:801px; top:280px; width:104px; height:13px; ">수술이력</caption>
- <line id="line25" class="line_1" style="x1:796px; y1:390px; x2:1186px; y2:390px; "/>
- <button id="btn_allghistdel" class="btn2_letter3" navindex="73" style="left:1126px; top:485px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_allghist.deleteRow(grd_allghist.row);
- ]]>
- </script>
- </button>
- <button id="btn_rectmedistatadd" class="btn2_letter3" navindex="69" style="left:1077px; top:370px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rectmedistat.addRow();
- ]]>
- </script>
- </button>
- <button id="btn_inhistadd" class="btn2_letter3" navindex="63" style="left:1075px; top:185px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_inhist.addRow();
- ]]>
- </script>
- </button>
- <line id="line26" class="line_1" style="x1:796px; y1:390px; x2:1186px; y2:390px; "/>
- <caption id="caption4" class="cell_1" style="left:796px; top:395px; width:215px; height:23px; ">병원도착전 24시간내 항생제 투약여부</caption>
- <button id="btn_ophistdel" class="btn2_letter3" navindex="67" style="left:1133px; top:275px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ophist.deleteRow(grd_ophist.row);
- ]]>
- </script>
- </button>
- <button id="btn_pasthistdel" class="btn2_letter3" navindex="58" style="left:1134px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_pasthist.deleteRow(grd_pasthist.row);
- ]]>
- </script>
- </button>
- <button id="button41" class="icon_search" style="left:1049px; top:487px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMMD03300");
- ]]>
- </script>
- </button>
- <line id="line28" class="line_1" style="x1:796px; y1:504px; x2:1186px; y2:504px; "/>
- <caption id="cap_inhist" class="tit_2" style="left:798px; top:190px; width:104px; height:13px; ">입원이력</caption>
- <line id="line53" class="line_1" style="x1:797px; y1:25px; x2:1188px; y2:25px; "/>
- <datagrid id="grd_rectmedistat" nodeset="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat" scroll="auto" caption="약명^복용법(용도/용량/용법)^진료기관" colsep="^" colwidth="70, 200, 101" mergecellsfixedrows="bycolrec" rowsep="|" style="left:796px; top:419px; width:390px; height:51px; ">
- <col ref="drugnm" type="input"/>
- <col ref="direc" type="input"/>
- <col ref="orddept" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_rectmedistat.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_rectmedistat.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <select id="chk_inhistyn" ref="/root/main/histinfo/inhistinfo/inhist/inhistinclyn" navindex="62" overflow="visible" appearance="full" style="left:899px; top:187px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_inhist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/inhistinfo/inhist/inhist");
- grd_inhist.rebuild();
- btn_inhistadd.disabled = true;
- btn_inhistdel.disabled = true;
- btn_inhistpop.disabled= true;
-
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn", "");
- chk_inhistyn.refresh();
- }
-
- } else {
- btn_inhistadd.disabled = false;
- btn_inhistdel.disabled = false;
- btn_inhistpop.disabled = false;
- grd_inhist.addRow();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <datagrid id="grd_ophist" nodeset="/root/main/histinfo/ophistinfo/ophist/ophist" scroll="auto" caption="수술일자^수술명^진료기관^ophistpk" colsep="^" colwidth="85, 185, 101, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:796px; top:302px; width:390px; height:52px; ">
- <col ref="opdd" type="inputdate"/>
- <col ref="opnm" type="input"/>
- <col ref="orddept" type="input"/>
- <col ref="ophistpk" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_ophist.colType(grd_ophist.col) == "input") {
- grd_ophist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_ophist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_famyhistdel" class="btn2_letter3" navindex="61" style="left:1133px; top:95px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyhist.deleteRow(grd_famyhist.row);
- ]]>
- </script>
- </button>
- <select id="chk_rectmedistatinclyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn" navindex="68" visibility="hidden" overflow="visible" appearance="full" style="left:901px; top:372px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
-
- var rtn = fSetStatus();
-
- if(rtn == "6") {
- model.removeNodeset("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat");
- grd_rectmedistat.rebuild();
- btn_rectmedistatadd.disabled = true;
- btn_rectmedistatdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn", "");
- chk_rectmedistatinclyn.refresh();
- }
-
- } else {
- btn_rectmedistatadd.disabled = false;
- btn_rectmedistatdel.disabled = false;
- grd_rectmedistat.addRow();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <button id="btn_allghistadd" class="btn2_letter3" navindex="72" style="left:1070px; top:485px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_allghist.addRow();
- ]]>
- </script>
- </button>
- <button id="btn_ophistadd" class="btn2_letter3" navindex="66" style="left:1077px; top:275px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ophist.addRow();
- ]]>
- </script>
- </button>
- <caption id="cap_allghist" class="tit_2" style="left:795px; top:490px; width:69px; height:13px; ">Allergy</caption>
- <input id="ipt_relignnm" ref="/root/main/wardrecinfo/relignnm" disabled="true" style="left:150px; top:55px; width:112px; height:19px; "/>
- <select1 id="cmb_relign" ref="/root/main/wardrecinfo/religncd" class="combo_default" navindex="5" appearance="minimal" style="left:68px; top:55px; width:78px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var religncd = model.getValue("/root/main/wardrecinfo/religncd");
- if(religncd == "01") { //천주교일 경우 세례명 입력
- cap_baptnm.visible = true;
- ipt_baptnm.visible = true;
- ipt_baptnm.disabled = false;
- ipt_relignnm.visible = false;
-
- } else {
- cap_baptnm.visible = false;
- ipt_baptnm.visible = false;
- ipt_relignnm.visible = true;
- model.resetInstanceNode("/root/main/wardrecinfo/baptnm");
-
- if(religncd == "09") { //기타
- ipt_relignnm.disabled = false;
- } else {
- ipt_relignnm.disabled = true;
- }
- }
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_job" ref="/root/main/wardrecinfo/jobcd" class="combo_default" navindex="1" appearance="minimal" style="left:68px; top:31px; width:78px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var job = model.getValue("/root/main/wardrecinfo/jobcd");
- if(job == "10") { //기타
- ipt_job.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/wardrecinfo/jobnm");
- ipt_job.disabled = true;
- ipt_job.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_baptnm" class="cell_1" visibility="hidden" style="left:150px; top:54px; width:50px; height:23px; ">세례명</caption>
- <select1 id="cmb_relignreq" ref="/root/main/wardrecinfo/relignreq" class="combo_default" navindex="3" visibility="hidden" appearance="minimal" style="left:327px; top:55px; width:69px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0411">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_job" ref="/root/main/wardrecinfo/jobnm" disabled="true" navindex="2" style="left:150px; top:31px; width:50px; height:19px; "/>
- <input id="ipt_baptnm" ref="/root/main/wardrecinfo/baptnm" disabled="true" navindex="6" visibility="hidden" style="left:203px; top:55px; width:60px; height:19px; "/>
- <line id="line2" class="line_2" style="x1:5px; y1:52px; x2:396px; y2:52px; "/>
- <caption id="caption6" class="cell_1" visibility="hidden" style="left:265px; top:54px; width:60px; height:23px; ">영적요구</caption>
- <caption id="cap_relign" class="cell_1" style="left:5px; top:54px; width:60px; height:23px; ">종교</caption>
- <line id="line3" class="line_2" style="x1:5px; y1:77px; x2:395px; y2:76px; "/>
- <caption id="cap_job" class="cell_1" style="left:5px; top:30px; width:60px; height:23px; ">직업</caption>
- <input id="ipt_educgrde" ref="/root/main/wardrecinfo/educgrdenm" disabled="true" navindex="4" visibility="hidden" style="left:346px; top:31px; width:50px; height:19px; "/>
- <caption id="cap_educgrde" class="cell_1" visibility="hidden" style="left:203px; top:30px; width:60px; height:23px; ">교육정도</caption>
- <select1 id="cmb_educgrde" ref="/root/main/wardrecinfo/educgrdecd" class="combo_default" navindex="3" visibility="hidden" appearance="minimal" style="left:266px; top:31px; width:77px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0069">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var educgrde = model.getValue("/root/main/wardrecinfo/educgrdecd");
- if(educgrde == "15") { //기타
- ipt_educgrde.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/wardrecinfo/educgrdenm");
- ipt_educgrde.disabled = true;
- ipt_educgrde.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="cell_1" style="left:5px; top:78px; width:95px; height:23px; ">연락처/휴대폰</caption>
- <line id="line54" class="line_2" style="x1:5px; y1:100px; x2:396px; y2:100px; "/>
- <caption id="caption9" class="cell_1" style="left:5px; top:102px; width:95px; height:23px; ">기타 전화번호</caption>
- <line id="line5" class="line_3" style="x1:5px; y1:124px; x2:396px; y2:124px; "/>
- <button id="btn_ophistpop" class="icon_search" style="left:1057px; top:277px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("histflag", "ophist");
- setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
- setParameter("indd", model.getValue("/root/temp/cond/list/indd"));
- setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
- open("SPMNW12800");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btn_inhistpop" class="icon_search" style="left:1055px; top:187px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("histflag", "inhist");
- setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
- setParameter("indd", model.getValue("/root/temp/cond/list/indd"));
- setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
- open("SPMNW12800");
- ]]>
- </script>
- <caption/>
- </button>
- <select1 id="rdo_allgyn" ref="/root/main/histinfo/allghistinfo/allghist/allghistinclyn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:862px; top:489px; width:140px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- <item>
- <label>잘모름</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_allghist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/allghistinfo/allghist/allghist");
- grd_allghist.rebuild();
- btn_allghistadd.disabled = true;
- btn_allghistdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn", "");
- rdo_allgyn.refresh();
- }
-
- } else {
- btn_allghistadd.disabled = false;
- btn_allghistdel.disabled = false;
-
- if(grd_allghist.rows == 1) {
- grd_allghist.addRow();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select1>
- <caption id="cap_insp" style="left:717px; top:6px; width:73px; height:19px; text-align:center; ">측정불가 V</caption>
- <button id="bnt_testroom" class="btn2_letter6" visibility="hidden" style="left:510px; top:5px; width:86px; height:19px; ">
- <caption>입원전검사실</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
- setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
- modal("SPMNW12900", 1,10, 10);
- ]]>
- </script>
- </button>
- <input id="ipt_pregnancyweek" ref="/root/main/wardrecinfo/childinfo/childs/birthinfo/pregnancyweek" disabled="false" navindex="38" style="left:491px; top:119px; width:244px; height:19px; text-align:center; "/>
- <caption id="cap_drunkinfo" class="cell_1" style="left:399px; top:118px; width:90px; height:23px; ">임신 주수</caption>
- <button id="btn_SPMMO14900" class="btn5_letter4" navindex="69" visibility="hidden" style="left:1010px; top:370px; width:64px; height:19px; ">
- <caption>처방조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMMO14900");
- ]]>
- </script>
- </button>
- <select1 id="rdo_etctelflag" ref="/root/main/wardrecinfo/etctelflag" appearance="full" cols="2" overflow="visible" style="left:102px; top:106px; width:100px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>본인</label>
- <value>1</value>
- </item>
- <item>
- <label>보호자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_telflag" ref="/root/main/wardrecinfo/telflag" appearance="full" cols="2" overflow="visible" style="left:102px; top:82px; width:100px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>본인</label>
- <value>1</value>
- </item>
- <item>
- <label>보호자</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="input1" ref="/root/main/wardrecinfo/tel" style="left:205px; top:79px; width:94px; height:19px; "/>
- <input id="input2" ref="/root/main/wardrecinfo/mphone" style="left:301px; top:79px; width:94px; height:19px; "/>
- <input id="input3" ref="/root/main/wardrecinfo/etcphone1" style="left:205px; top:103px; width:94px; height:19px; "/>
- <input id="input4" ref="/root/main/wardrecinfo/etcphone2" style="left:301px; top:103px; width:94px; height:19px; "/>
- <group id="grp_anti" visibility="hidden" style="left:820px; top:355px; width:240px; height:140px; background-color:#ccffcc; border-style:solid; ">
- <button id="btn_anti1" class="btn5_letter2" visibility="hidden" style="left:140px; top:105px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //txt_anti.refresh();
- var antitype = model.getValue("/root/main/allgtemp/antitype");
- var antilabel = rdo_anti.label;
- var antidesc = model.getValue("/root/main/allgtemp/antidesc");
- var allgrow = model.getValue("root/main/allgtemp/row");
- var allgcol = eval(model.getValue("root/main/allgtemp/col")) + 1;
- var alldesc = grd_allghist.valueMatrix(allgrow, allgcol);
-
- if (alldesc != "" && antitype != "") {
- alldesc = alldesc + ",";
- }
-
- if (antitype == "3") {
- if (antidesc != "") {
- antidesc = ":" + antidesc;
- }
- } else {
- antidesc = "";
- }
-
- var allgdesc = alldesc + antilabel + antidesc;
-
- grd_allghist.valueMatrix(allgrow, allgcol) = allgdesc;
-
- model.removeNodeset("/root/main/allgtemp");
- model.refresh();
-
-
- //allergespec
- grp_anti.visible = false;
- rdo_anti.visible = false;
- txt_anti.visible = false;
- btn_anti1.visible = false;
- btn_anti2.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_anti2" class="btn5_letter2" visibility="hidden" style="left:183px; top:105px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grp_anti.visible = false;
- rdo_anti.visible = false;
- txt_anti.visible = false;
- btn_anti1.visible = false;
- btn_anti2.visible = false;
- model.removeNodeset("/root/main/allgtemp");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="rdo_anti" ref="/root/main/allgtemp/antitype" visibility="hidden" appearance="full" cellspacing="10" cols="2" rows="2" vcellspacing="15" overflow="visible" style="left:19px; top:9px; width:200px; height:65px; background-color:#ccffcc; 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>
- </select1>
- <textarea id="txt_anti" ref="/root/main/allgtemp/antidesc" visibility="hidden" style="left:70px; top:50px; width:155px; height:50px; "/>
- </group>
- <select id="chk_privacy" ref="/root/main/wardrecinfo/privacy" visibility="hidden" overflow="visible" appearance="full" style="left:266px; top:9px; width:130px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>개인정보사정 미동의</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){
- model.setValue("/root/main/wardrecinfo/jobcd","");
- model.setValue("/root/main/wardrecinfo/jobnm","");
- model.setValue("/root/main/wardrecinfo/religncd","");
- model.setValue("/root/main/wardrecinfo/relignnm","");
- model.setValue("/root/main/wardrecinfo/baptnm", "");
-
- cmb_job.disabled = true;
- ipt_job.disabled = true;
- cmb_relign.disabled = true;
- ipt_relignnm.disabled = true;
- cap_baptnm.visible = false;
- ipt_baptnm.visible = false;
- ipt_relignnm.visible = true;
- }else{
- cmb_job.disabled = false;
- cmb_relign.disabled = false;
-
- cmb_job.dispatch("xforms-value-changed");
- cmb_relign.dispatch("xforms-value-changed");
- }
- model.refresh();
-
- ]]>
- </script>
- </select>
- <group id="grp_basebdinfo" style="left:400px; top:30px; width:391px; height:50px; ">
- <line id="line20" class="line_2" style="x1:0px; y1:46px; x2:391px; y2:46px; "/>
- <caption id="caption30" class="output_fix" visibility="hidden" style="left:335px; top:5px; width:53px; height:19px; text-align:center; ">회/분</caption>
- <input id="ipt_highbp" ref="/root/main/wardrecinfo/highbp" navindex="23" visibility="hidden" maxlength="3" format="9#.#" style="left:63px; top:1px; width:50px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkNoneInspCode("/root/main/wardrecinfo/highbp", "ipt_highbp");
- ]]>
- </script>
- </input>
- <input id="ipt_lowbp" ref="/root/main/wardrecinfo/lowbp" navindex="24" visibility="hidden" maxlength="3" format="9#.#" style="left:116px; top:1px; width:50px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkNoneInspCode("/root/main/wardrecinfo/lowbp", "ipt_lowbp");
- ]]>
- </script>
- </input>
- <input id="ipt_pulse" ref="/root/main/wardrecinfo/pulse" navindex="25" visibility="hidden" maxlength="3" format="999" style="left:63px; top:25px; width:103px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkNoneInspCode("/root/main/wardrecinfo/pulse", "ipt_pulse");
- ]]>
- </script>
- </input>
- <input id="ipt_breth" ref="/root/main/wardrecinfo/breth" navindex="26" visibility="hidden" maxlength="2" format="99" style="left:228px; top:5px; width:103px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkNoneInspCode("/root/main/wardrecinfo/breth", "ipt_breth");
- ]]>
- </script>
- </input>
- <input id="ipt_bdtp" ref="/root/main/wardrecinfo/bdtp" navindex="27" visibility="hidden" maxlength="5" format="9#.#" style="left:228px; top:25px; width:50px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkNoneInspCode("/root/main/wardrecinfo/bdtp", "ipt_bdtp");
- ]]>
- </script>
- </input>
- <select1 id="cmb_bdtp" ref="/root/main/wardrecinfo/bdtppartcd" class="combo_default" navindex="28" visibility="hidden" appearance="minimal" style="left:281px; top:25px; width:50px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0375">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line15" class="line_2" style="x1:0px; y1:22px; x2:391px; y2:22px; "/>
- <caption id="caption26" class="output_fix" visibility="hidden" style="left:170px; top:0px; width:53px; height:19px; text-align:center; ">mmHg</caption>
- <caption id="caption38" class="output_fix" visibility="hidden" style="left:335px; top:25px; width:53px; height:19px; text-align:center; ">℃</caption>
- <caption id="caption28" class="output_fix" visibility="hidden" style="left:170px; top:25px; width:53px; height:19px; text-align:center; ">회/분</caption>
- <caption id="caption17" class="cell_1" visibility="hidden" style="left:0px; top:0px; width:60px; height:23px; ">.... 혈압</caption>
- <caption id="caption18" class="cell_1" visibility="hidden" style="left:0px; top:24px; width:60px; height:23px; ">.... 맥박</caption>
- <caption id="caption19" class="cell_1" visibility="hidden" style="left:165px; top:5px; width:60px; height:23px; ">.... 호흡</caption>
- <caption id="caption20" class="cell_1" visibility="hidden" style="left:165px; top:24px; width:60px; height:23px; ">.... 체온</caption>
- <line id="line29" class="line_3" style="x1:0px; y1:47px; x2:391px; y2:47px; "/>
- <select id="chk_bpinspyn" ref="/root/main/wardrecinfo/bpinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:5px; top:4px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/bpinspyn") == "Y"){
- ipt_highbp.disabled = true;
- ipt_lowbp.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/highbp");
- model.resetInstanceNode("/root/main/wardrecinfo/lowbp");
-
- }else{
- ipt_highbp.disabled = false;
- ipt_lowbp.disabled = false;
-
- }
- ipt_highbp.refresh();
- ipt_lowbp.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_pulseinspyn" ref="/root/main/wardrecinfo/pulseinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:5px; top:28px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/pulseinspyn") == "Y"){
- ipt_pulse.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/pulse");
-
- }else{
- ipt_pulse.disabled = false;
- }
- ipt_pulse.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_brethinspyn" ref="/root/main/wardrecinfo/brethinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:170px; top:5px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/brethinspyn") == "Y"){
- ipt_breth.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/breth");
-
- }else{
- ipt_breth.disabled = false;
- }
- ipt_breth.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_bdtpinspyn" ref="/root/main/wardrecinfo/bdtpinspyn" navindex="59" visibility="hidden" overflow="visible" appearance="full" style="left:170px; top:28px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/bdtpinspyn") == "Y"){
- ipt_bdtp.disabled = true;
- cmb_bdtp.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/bdtp");
- model.resetInstanceNode("/root/main/wardrecinfo/bdtppartcd");
-
- }else{
- ipt_bdtp.disabled = false;
- cmb_bdtp.disabled = false;
-
- }
- ipt_bdtp.refresh();
- cmb_bdtp.refresh();
- ]]>
- </script>
- </select>
- <caption id="cap_bdht" class="cell_1" style="left:0px; top:0px; width:60px; height:23px; ">.... 신장</caption>
- <caption id="cap_bdwt" class="cell_1" style="left:0px; top:24px; width:60px; height:23px; ">.... 체중</caption>
- <caption id="caption2" class="cell_1" style="left:196px; top:0px; width:60px; height:23px; ">... SpO2</caption>
- <select id="chk_bdhtinspyn" ref="/root/main/wardrecinfo/bdhtinspyn" navindex="59" overflow="visible" appearance="full" style="left:5px; top:4px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/bdhtinspyn") == "Y"){
- ipt_bdht.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/bdht");
-
- }else{
- ipt_bdht.disabled = false;
- }
- ipt_bdht.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_spo2inspyn" ref="/root/main/wardrecinfo/spo2inspyn" navindex="59" overflow="visible" appearance="full" style="left:199px; top:3px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/spo2inspyn") == "Y"){
- ipt_spo2.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/spo2");
-
- }else{
- ipt_spo2.disabled = false;
- }
- ipt_spo2.refresh();
- ]]>
- </script>
- </select>
- <select id="chk_bdwtinspyn" ref="/root/main/wardrecinfo/bdwtinspyn" navindex="59" overflow="visible" appearance="full" style="left:5px; top:28px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/bdwtinspyn") == "Y"){
- ipt_bdwt.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/bdwt");
-
- }else{
- ipt_bdwt.disabled = false;
- }
- ipt_bdwt.refresh();
- ]]>
- </script>
- </select>
- <caption id="cap_btype" class="cell_1" style="left:196px; top:24px; width:60px; height:23px; ">혈액형</caption>
- <input id="ipt_spo2" ref="/root/main/wardrecinfo/spo2" navindex="31" maxlength="6" format="9#.#" style="left:259px; top:1px; width:97px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkNoneInspCode("/root/main/wardrecinfo/spo2", "ipt_spo2");
- ]]>
- </script>
- </input>
- <input id="ipt_bdht" ref="/root/main/wardrecinfo/bdht" navindex="29" maxlength="5" format="9#.#" style="left:63px; top:1px; width:97px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkNoneInspCode("/root/main/wardrecinfo/bdht", "ipt_bdht");
- ]]>
- </script>
- </input>
- <input id="ipt_bdwt" ref="/root/main/wardrecinfo/bdwt" navindex="30" maxlength="5" format="9#.#" style="left:63px; top:25px; width:97px; height:19px; text-align:center; ">
- <!--(20101028) 경북대 -->
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkNoneInspCode("/root/main/wardrecinfo/bdwt", "ipt_bdwt");
- ]]>
- </script>
- </input>
- <select1 id="cmb_bdbtype" ref="/root/main/wardrecinfo/bdbtype" class="combo_default" navindex="32" appearance="minimal" style="left:259px; top:25px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0376">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption31" class="output_fix" style="left:163px; top:1px; width:30px; height:19px; text-align:center; ">Cm</caption>
- <caption id="caption36" class="output_fix" style="left:163px; top:25px; width:30px; height:19px; text-align:center; ">Kg</caption>
- <caption id="caption3" class="output_fix" style="left:359px; top:1px; width:30px; height:19px; text-align:center; ">%</caption>
- <caption id="caption14" class="output_fix" style="left:163px; top:25px; width:30px; height:19px; text-align:center; ">Kg</caption>
- </group>
- <caption id="caption13" class="cell_1" style="left:399px; top:191px; width:90px; height:49px; ">수혈부작용</caption>
- <input id="ipt_tnsseffcdetl" ref="/root/main/wardrecinfo/childinfo/childs/tnsseffcinfo/tnsseffcdetl" disabled="true" navindex="43" style="left:492px; top:218px; width:295px; height:19px; "/>
- <select1 id="rdo_tnsseffcyn" ref="/root/main/wardrecinfo/childinfo/childs/tnsseffcinfo/tnsseffcyn" navindex="37" appearance="full" cellspacing="25" cols="3" overflow="visible" style="left:492px; top:197px; width:295px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- <item>
- <label>해당없음</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/childinfo/childs/tnsseffcinfo/tnsseffcyn") == "2") {
- ipt_tnsseffcdetl.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/wardrecinfo/childinfo/childs/tnsseffcinfo/tnsseffcdetl");
- ipt_tnsseffcdetl.disabled = true;
- ipt_tnsseffcdetl.refresh();
- }
- ]]>
- </script>
- </select1>
- <line id="line31" class="line_3" style="x1:399px; y1:240px; x2:790px; y2:240px; "/>
- <caption id="caption15" class="output_fix" style="left:741px; top:142px; width:30px; height:19px; text-align:center; ">Kg</caption>
- <caption id="caption12" class="output_fix" style="left:741px; top:119px; width:30px; height:19px; text-align:center; ">주</caption>
- <input id="ipt_vacnchecketc" ref="/root/main/histinfo/vacnhistinfo/vacnhist/vacnchecketc" disabled="true" navindex="42" style="left:571px; top:282px; width:218px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:400px; top:281px; width:90px; height:23px; ">예방접종 확인</caption>
- <select1 id="rdo_vacncheckyn" ref="/root/main/histinfo/vacnhistinfo/vacnhist/vacncheckyn" navindex="41" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:493px; top:284px; width:75px; 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[
- if(model.getValue("/root/main/histinfo/vacnhistinfo/vacnhist/vacncheckyn") == "1") {
- model.resetInstanceNode("/root/main/histinfo/vacnhistinfo/vacnhist/vacnchecketc");
- ipt_vacnchecketc.disabled = true;
- } else {
- ipt_vacnchecketc.disabled = false;
- }
- ipt_vacnchecketc.refresh();
-
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn2_letter6" style="left:701px; top:255px; width:86px; height:19px; ">
- <caption>예방접종이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMNI01400");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|