1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <wardrecinfo>
- <!--(20101218) 경북대 -->
- <!--(20101218) 경북대 -->
- <famytree>
- <existyn/>
- </famytree>
- <inmotiveinfo>
- <inmotive>
- <attackdd/>
- <attackdt/>
- <inmotive1>Y</inmotive1>
- <inmotive2/>
- <illnessflag>Y</illnessflag>
- </inmotive>
- </inmotiveinfo>
- <gustoinfo>
- <gusto>
- <smokinfo>
- <smokinfoyn/>
- <bfsmokinfoyn/>
- <smokinfocnt/>
- <nosmokcnstyn/>
- <nosmokcnst/>
- <nosmokcnstnm/>
- </smokinfo>
- <drunkinfo>
- <drunkinfoyn>1</drunkinfoyn>
- <drunkinfokind/>
- <drunkinfoterm/>
- </drunkinfo>
- </gusto>
- </gustoinfo>
- <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/>
- <marystatcd/>
- <marystatnm/>
- <baptnm/>
- <indd/>
- <indt/>
- <inpathcd/>
- <inpathnm/>
- <inmthdcd/>
- <inmthdnm/>
- <inacompstcd/>
- <inacompstnm/>
- <spo2/>
- <relignreq/>
- <telflag/>
- <tel/>
- <mphone/>
- <etctelflag/>
- <etcphone1/>
- <etcphone2/>
- <bpinspyn/>
- <pulseinspyn/>
- <brethinspyn/>
- <bdtpinspyn/>
- <bdhtinspyn/>
- <bdwtinspyn/>
- <spo2inspyn/>
- <apttbdwtchnginfo>
- <apttbdwtchng>
- <apptstatflag/>
- <bdwtchngyn/>
- <dysphagiayn/>
- </apttbdwtchng>
- </apttbdwtchnginfo>
- <famyinfo>
- <famyinfo>
- <famyparent/>
- <famybrother/>
- <famychildren/>
- <famyspouse/>
- </famyinfo>
- </famyinfo>
- <socialwelfareflag>Y</socialwelfareflag>
- <nationalityflag>N</nationalityflag>
- <nationalitynm/>
- </wardrecinfo>
- <init/>
- <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>X</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/>
- <hosoutyn/>
- <comclscd/>
- <drugcd/>
- <drugnm/>
- <symp/>
- <rgstdt/>
- <rgster/>
- <cretno/>
- </allghist>
- <tnsseffcyn>1</tnsseffcyn>
- <tnsseffcdetl/>
- </allghist>
- </allghistinfo>
- <vacnhistinfo>
- <vacnhist>
- <vacnhistinfoinclyn/>
- <dpttims/>
- <infparaltims/>
- <ahptstims/>
- <bhptstims/>
- <bhptsdrugnm/>
- <bcgyn/>
- <mmrtims/>
- <alivvacntims/>
- <deadvaccntims/>
- <brnmeningitistims/>
- <lungcoccustims/>
- <chickenpoxtims/>
- </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>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
-
- function fInitEventGnrlInfo() {
- 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;
- }
-
-
- if(model.getValue("/root/temp/cond/list/sex") == "M") { // 남자일 경우 여성정보 해당사항 없음 체크
- model.setValue("/root/main/wardrecinfo/mensinfo/mens/mensinclyn", "1");
- //model.setValue("/root/main/wardrecinfo/mensinfo/mens/mensaddinfoyn", "");
- //model.makeValue("/root/main/wardrecinfo/mensinfo/mens/mensaddinfoyn", "");
- }
-
- // chk_mensinclyn.dispatch("xforms-value-changed"); // 15.04.01 - 추가 - AYS
- // cmb_job.dispatch("xforms-value-changed");
- // cmb_relign.dispatch("xforms-value-changed");
- // cmb_educgrde.dispatch("xforms-value-changed");
- // cmb_marystat.dispatch("xforms-value-changed");
- // rdo_nationalityflag.dispatch("xforms-value-changed"); // 15.04.01 - 추가 - AYS
-
- 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 = true; // 본원 - 교육지표 추가 요청 '15.03.19 - AYS
- cmb_educgrde.visible = true;
- ipt_educgrde.visible = true;
- }
-
- if(model.getValue("/root/main/wardrecinfo/privacy") == "Y"){ // 개인정보사정 미동의 Y인 경우
- cmb_job.disabled = true;
- ipt_job.disabled = true;
- cmb_relign.disabled = true;
- ipt_relignnm.disabled = true;
- cmb_marystat.disabled = true;
- ipt_marystatnm.disabled = true;
-
- rdo_nationalityflag.disabled = true;
- ipt_nationalitynm.disabled = true;
- rdo_socialwelfare.disabled = true;
-
- chk_famyparent.disabled = true;
- ipt_famybrother.disabled = true;
- ipt_famychildren.disabled = true;
- cap_baptnm.visible = false;
- ipt_baptnm.visible = false;
-
- }else{
- cmb_job.disabled = false;
- cmb_relign.disabled = false;
- cmb_marystat.disabled = false;
-
- rdo_nationalityflag.disabled = false;
- rdo_socialwelfare.disabled = false;
-
- chk_famyparent.disabled = false;
- ipt_famybrother.disabled = false;
- ipt_famychildren.disabled = false;
-
- cmb_job.dispatch("xforms-value-changed");
- cmb_relign.dispatch("xforms-value-changed");
- cmb_educgrde.dispatch("xforms-value-changed");
- cmb_marystat.dispatch("xforms-value-changed");
- rdo_nationalityflag.dispatch("xforms-value-changed");
- }
-
- if(model.getValue("/root/main/wardrecinfo/basebdinfoinclyn") == "1") { // 기본신체정보 해당없음 체크
- chk_basebdinfoinclyn.dispatch("xforms-value-changed");
- }
- cmb_inpath.dispatch("xforms-value-changed"); // 입원경로 cmb
- cmb_inmthd.dispatch("xforms-value-changed"); // 입원방법 cmb
- cmb_inacompst.dispatch("xforms-value-changed"); // 입원시동반자 cmb
-
- rdo_nosmokcnstyn.dispatch("xforms-value-changed"); // 금연상담여부 유무 rdo
- rdo_drunkinfo.dispatch("xforms-value-changed"); // 음주정보 유무 rdo
- //rdo_gustofoodyn.dispatch("xforms-value-changed"); // 기호식품 유무 rdo
- rdo_tnsseffcyn.dispatch("xforms-value-changed"); // 수혈부작용 rdo
-
- // 15.03.27 - AYS 수정
- // if(model.getValue("/root/main/wardrecinfo/mensinfo/mens/mensinclyn") == "1") { // 여성정보 해당없음 체크시 실행
- // chk_mensinclyn.dispatch("xforms-value-changed");
- // } else {
- // rdo_endmensyn.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");
- }
-
- // 15.04.01 - 국적관련 코드 추가 - AYS
- // if(model.getValue("/root/main/wardrecinfo/nationalityflag") != "") {
- // rdo_nationalityflag.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.03.20 - AYS - 영양위험 항목 삭제로 인한 주석처리
- // ---------(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>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // iviewer1.window.javascript.fGetOCRInfo("0000001778", "20694", "20070824", "1", "I", "3", "Y");
- // iviewer1.window.javascript.fPrint("A");
- //----------(20101029) 경북대
- // 간호정보조사지에서 호출함
- // 간호정보조사지 일반정보- 필수항목
- if (fEssentialBackColor != "") {
- ipt_bdht.attribute("background-color") = fEssentialBackColor; // 기본신체정보 - 신장
- ipt_bdwt.attribute("background-color") = fEssentialBackColor; // 기본신체정보 - 체중
- ipt_spo2.attribute("background-color") = fEssentialBackColor; // 기본신체정보 - SpO2
- rdo_smokinfo.attribute("background-color") = fEssentialBackColor; // 기호정보 - 흡연정보
- rdo_nosmokcnstyn.attribute("background-color") = fEssentialBackColor; // 기호정보 - 금연상담여부
- cmb_antibiodrugyn.attribute("background-color") = fEssentialBackColor; // 최근투약상태 - 24시간내 항생제 투약여부
- tar_inmotv.attribute("background-color") = fEssentialBackColor; // 입원동기
-
- rdo_apttstatflag.attribute("background-color") = fEssentialBackColor; // 영양사정 - 식욕상태
- rdo_apttchngyn.attribute("background-color") = fEssentialBackColor; // 영양사정 - 체중감소
- rdo_dysphagiayn.attribute("background-color") = fEssentialBackColor; // 영양사정 - 연하곤란
-
- rdo_nationalityflag.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 국적
- cmb_job.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 직업
- cmb_educgrde.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 교육정도
- cmb_relign.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 종교
- cmb_marystat.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 결혼상태
- rdo_socialwelfare.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 사회복지상담
- rdo_tnsseffcyn.attribute("background-color") = fEssentialBackColor; // 사회문화적정보 - 수혈부작용
- rdo_allgyn.attribute("background-color") = fEssentialBackColor; // Allergy
-
- //-------------(20110121) 경북대
- //comnrs1.attribute("background-color") = fEssentialBackColor; // 15.03.20 - AYS - 영양위험 항목 삭제로 인한 주석처리
- //radnrs21.attribute("background-color") = fEssentialBackColor;
- //radnrs22.attribute("background-color") = fEssentialBackColor;
- //radnrs23.attribute("background-color") = fEssentialBackColor;
- //-------------(20110121) 경북대
-
- }
- //----------(20101029) 경북대
- ]]>
- </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"/>
- <script type="javascript" src="../../../emr/formmngtweb/js/MRF03800.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1194" pageheight="673" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <line id="line39" class="line_2" style="x1:400px; y1:486px; x2:791px; y2:486px; "/>
- <line id="line21" class="line_2" style="x1:400px; y1:321px; x2:791px; y2:321px; "/>
- <line id="line49" class="line_2" style="x1:400px; y1:297px; x2:791px; y2:297px; "/>
- <line id="line32" class="line_2" style="x1:5px; y1:371px; x2:396px; y2:371px; "/>
- <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>
- </group>
- <datagrid id="grd_inhist" nodeset="/root/main/histinfo/inhistinfo/inhist/inhist" scroll="auto" caption="입원일자^퇴원일자^병명^진료기관^inhistpk" colsep="^" colwidth="85, 85, 185, 101, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:367px; width:390px; height:71px; ">
- <col ref="indd" type="input"/>
- <col ref="dschdd" type="inputdate" visibility="hidden"/>
- <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) { // Tab키를 누를 경우
-
- grd_inhist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_inhistdel" class="btn2_letter3" navindex="64" style="left:1134px; top:342px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_inhist.deleteRow(grd_inhist.row); // 입원이력 행삭제
- ]]>
- </script>
- </button>
- <button id="btn_rectmedistatdel" class="btn2_letter3" navindex="70" style="left:1134px; top:451px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rectmedistat.deleteRow(grd_rectmedistat.row); // 최근투약상태 행삭제
- ]]>
- </script>
- </button>
- <caption id="cap_allghist" class="tit_2" style="left:407px; top:370px; width:69px; height:13px; ">Allergy</caption>
- <button id="btn_allghistadd" class="btn2_letter3" navindex="72" style="left:683px; top:365px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_allghist.addRow(); // 알레르기 행추가
- ]]>
- </script>
- </button>
- <caption id="cap_pasthist" class="tit_2" style="left:802px; top:10px; width:104px; height:13px; ">과거병력</caption>
- <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="line23" class="line_1" style="x1:797px; y1:362px; x2:1187px; y2:362px; "/>
- <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:71px; ">
- <col ref="genrdd" type="input"/>
- <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="line25" class="line_1" style="x1:797px; y1:471px; x2:1187px; y2:471px; "/>
- <line id="line26" class="line_1" style="x1:797px; y1:471px; x2:1187px; y2:471px; "/>
- <button id="btn_inhistadd" class="btn2_letter3" navindex="63" style="left:1078px; top:342px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_inhist.addRow(); // 입원이력 행추가
- ]]>
- </script>
- </button>
- <button id="btn_rectmedistatadd" class="btn2_letter3" navindex="69" style="left:1078px; top:451px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rectmedistat.addRow(); // 최근투약상태
- ]]>
- </script>
- </button>
- <line id="line27" class="line_1" style="x1:402px; y1:385px; x2:792px; y2:385px; "/>
- <line id="line28" class="line_1" style="x1:402px; y1:385px; x2:792px; y2:385px; "/>
- <caption id="cap_rectmedistat" class="tit_2" style="left:801px; top:456px; width:104px; height:13px; ">최근투약상태</caption>
- <select id="chk_rectmedistatinclyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn" navindex="68" visibility="hidden" overflow="visible" appearance="full" style="left:902px; top:453px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>
- <![CDATA[// 최근투약상태
- 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_allghistdel" class="btn2_letter3" navindex="73" style="left:739px; top:365px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_allghist.deleteRow(grd_allghist.row);
- ]]>
- </script>
- </button>
- <line id="line19" class="line_1" style="x1:797px; y1:25px; x2:1188px; y2:25px; "/>
- <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>
- <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>
- <caption id="cap_inhist" class="tit_2" style="left:801px; top:347px; width:104px; height:13px; ">입원이력</caption>
- <select id="chk_inhistyn" ref="/root/main/histinfo/inhistinfo/inhist/inhistinclyn" navindex="62" overflow="visible" appearance="full" style="left:902px; top:344px; 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_rectmedistat" nodeset="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat" scroll="auto" caption="약명^복용법(용도/용량/용법)^진료기관" colsep="^" colwidth="70, 200, 101" mergecellsfixedrows="bycolrec" rowsep="|" style="left:797px; top:500px; width:390px; height:71px; ">
- <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>
- <datagrid id="grd_allghist" nodeset="/root/main/histinfo/allghistinfo/allghist/allghist" scroll="auto" caption="발생일자^분류^Allergy 내역 및 증상" colsep="^" colwidth="85, 70, 199, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:402px; top:390px; width:390px; height:71px; ">
- <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"/>
- <col ref="hosoutyn" visibility="hidden"/>
- <col ref="comclscd" visibility="hidden"/>
- <col ref="drugcd" visibility="hidden"/>
- <col ref="drugnm" visibility="hidden"/>
- <col ref="rgstdt" type="inputdate" visibility="hidden"/>
- <col ref="rgster" visibility="hidden">
- <![CDATA[/>]]>
- </col>
- <col ref="cretno" visibility="hidden">
- <![CDATA[/>]]>
- </col>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_allghist.colType(grd_allghist.col) == "input") {
- grd_allghist.editCell();
- }
-
-
- if (grd_allghist.col == 2) {
- 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 == 2) {
- 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>
- <line id="line1" class="line_1" style="x1:5px; y1:344px; x2:396px; y2:344px; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:329px; width:120px; height:13px; ">사회문화적 정보</caption>
- <line id="line2" class="line_2" style="x1:5px; y1:395px; x2:396px; y2:395px; "/>
- <line id="line3" class="line_2" style="x1:5px; y1:419px; x2:396px; y2:419px; "/>
- <line id="line6" class="line_1" style="x1:5px; y1:547px; x2:396px; y2:547px; "/>
- <caption id="caption10" class="tit_2" style="left:10px; top:10px; width:120px; height:13px; ">일반 및 입원정보</caption>
- <line id="line9" class="line_1" style="x1:5px; y1:25px; x2:396px; y2:25px; "/>
- <line id="line10" class="line_2" style="x1:5px; y1:52px; x2:396px; y2:52px; "/>
- <line id="line11" class="line_2" style="x1:5px; y1:76px; x2:396px; y2:76px; "/>
- <line id="line12" class="line_2" style="x1:5px; y1:100px; x2:396px; y2:100px; "/>
- <line id="line14" class="line_1" style="x1:5px; y1:149px; x2:396px; y2:149px; "/>
- <caption id="caption16" class="tit_2" style="left:10px; top:134px; width:175px; height:13px; ">입원동기와 병에 대한 인식</caption>
- <select1 id="rdo_inmotv" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/inmotive1" navindex="20" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:169px; top:183px; 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:176px; x2:396px; y2:176px; "/>
- <textarea id="tar_inmotv" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/inmotive2" navindex="21" scroll="autovscroll" style="left:88px; top:205px; width:308px; height:85px; "/>
- <line id="line17" class="line_2" style="x1:86px; y1:202px; x2:396px; y2:202px; "/>
- <line id="line18" class="line_2" style="x1:5px; y1:292px; x2:396px; y2:292px; "/>
- <select1 id="rdo_illnessflag" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/illnessflag" navindex="22" appearance="full" cellspacing="40" cols="2" overflow="visible" style="left:169px; top:297px; 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:317px; x2:396px; y2:317px; "/>
- <input id="ipt_attackdt" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/attackdt" class="input_default" navindex="19" maxlength="100" format="hh:nn" style="left:295px; top:155px; width:100px; height:19px; "/>
- <caption id="caption29" class="cell_1" style="left:5px; top:294px; width:80px; height:23px; vertical-align:middle; ">병에대한인식</caption>
- <input id="ipt_attackdd" ref="/root/main/wardrecinfo/inmotiveinfo/inmotive/attackdd" class="input_default" navindex="18" autonext="true" inputtype="date" style="left:88px; top:155px; width:119px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:5px; top:178px; width:80px; height:115px; vertical-align:middle; ">입원동기</caption>
- <caption id="cap_attackdd" class="cell_1" style="left:5px; top:154px; width:80px; height:23px; vertical-align:middle; ">발병일자</caption>
- <line id="line31" class="line_2" style="x1:401px; y1:234px; x2:792px; y2:234px; "/>
- <line id="line33" class="line_1" style="x1:401px; y1:118px; x2:792px; y2:118px; "/>
- <caption id="caption42" class="tit_2" style="left:406px; top:103px; width:104px; height:13px; ">기호정보</caption>
- <line id="line41" class="line_1" style="x1:401px; y1:547px; x2:791px; y2:547px; "/>
- <caption id="caption53" class="tit_2" style="left:406px; top:532px; width:74px; height:13px; ">특이사항</caption>
- <select1 id="cmb_job" ref="/root/main/wardrecinfo/jobcd" class="combo_default" navindex="1" appearance="minimal" style="left:68px; top:374px; 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>
- <select1 id="cmb_educgrde" ref="/root/main/wardrecinfo/educgrdecd" class="combo_default" navindex="3" visibility="hidden" appearance="minimal" style="left:266px; top:374px; 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>
- <select1 id="cmb_marystat" ref="/root/main/wardrecinfo/marystatcd" class="combo_default" navindex="7" appearance="minimal" style="left:68px; top:422px; width:78px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0151">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var marystatcd = model.getValue("/root/main/wardrecinfo/marystatcd");
- if(marystatcd == "09") {
- ipt_marystatnm.disabled = false;
- } else {
- ipt_marystatnm.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/marystatnm");
- ipt_marystatnm.refresh();
- }
- ]]>
- </script>
- </select1>
- <datagrid id="grd_famyfact" nodeset="/root/main/famyfact" visibility="visible" scroll="auto" caption="상태^관계^성명^휴대폰^전화번호^주보호자^주소(동/구)^세부주소^비고^fmlyseq" colsep="^" colwidth="0, 45, 0, 85, 82, 55, 94, 130, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:552px; width:391px; height:108px; ">
- <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="mpphone" type="input">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </col>
- <col ref="tel" type="input"/>
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="addr" type="input" visibility="hidden"/>
- <col ref="detladdr" type="input" visibility="hidden"/>
- <col ref="remfact" type="input" visibility="visible"/>
- <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>
- <caption id="cap_famyfact" class="tit_2" style="left:10px; top:532px; width:104px; height:15px; ">보호자 연락처</caption>
- <button id="btn_famyfactadd" class="btn2_letter3" style="left:286px; top:527px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyfact.addRow();
- ]]>
- </script>
- </button>
- <button id="btn_famyfactdel" class="btn2_letter3" style="left:342px; top:527px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyfact.deleteRow(grd_famyfact.row);
- ]]>
- </script>
- </button>
- <input id="ipt_indd" ref="/root/main/wardrecinfo/indd" class="input_default" disabled="true" navindex="10" inputtype="date" style="left:108px; top:31px; width:100px; height:19px; "/>
- <caption id="cap_indd" class="cell_1" style="left:5px; top:30px; width:100px; height:23px; ">입원일자</caption>
- <caption id="cap_indt" class="cell_1" style="left:211px; top:30px; width:82px; height:23px; ">입원시간</caption>
- <input id="ipt_indt" ref="/root/main/wardrecinfo/indt" navindex="11" imemode="alpha" maxlength="4" format="hh:nn" style="left:295px; top:31px; width:100px; height:19px; text-align:center; "/>
- <caption id="cap_inpath" class="cell_1" style="left:5px; top:54px; width:100px; height:23px; ">입원경로</caption>
- <select1 id="cmb_inpath" ref="/root/main/wardrecinfo/inpathcd" class="combo_default" navindex="12" appearance="minimal" style="left:108px; top:55px; 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");
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_inmthd" class="cell_1" style="left:5px; top:78px; width:100px; height:23px; ">입원방법</caption>
- <select1 id="cmb_inmthd" ref="/root/main/wardrecinfo/inmthdcd" class="combo_default" navindex="14" appearance="minimal" style="left:108px; top:79px; 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>
- <caption id="cap_inptner" class="cell_1" style="left:5px; top:102px; width:100px; height:23px; ">입원시동반자</caption>
- <select1 id="cmb_inacompst" ref="/root/main/wardrecinfo/inacompstcd" class="combo_default" navindex="16" appearance="minimal" style="left:108px; top:103px; 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>
- <textarea id="tar_spcffact" ref="/root/main/wardrecinfo/spcffact/spcf/spcffactdetl" navindex="53" scroll="autovscroll" style="left:401px; top:553px; width:390px; height:107px; "/>
- <select1 id="rdo_smokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn" navindex="33" appearance="full" cellspacing="9" cols="2" rows="2" vcellspacing="2" overflow="visible" style="left:494px; top:123px; width:145px; height:38px; border-style:none; ">
- <choices>
- <item>
- <label>현재흡연</label>
- <value>4</value>
- </item>
- <item>
- <label>과거흡연</label>
- <value>2</value>
- </item>
- <item>
- <label>비흡연</label>
- <value>1</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/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
- ipt_smokinfocnt.disabled = false;
- ipt_smokinfocnt.refresh();
- } else {
- ipt_smokinfocnt.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt");
- ipt_smokinfocnt.refresh();
-
- }
- */
-
- //입원전1개월이내흡연 체크
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
- rdo_bfsmokinfo.disabled = false;
- } else {
- rdo_bfsmokinfo.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn");
- }
- rdo_bfsmokinfo.refresh();
- //금연상담여부컨트롤
- /*
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "4") {
- model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "2");
- }else if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn") == "Y") {
- model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "2");
- } else{
- model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "1");
- }
-
- }else{
-
- model.setValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn", "1");
- }
-
- */
- rdo_nosmokcnstyn.dispatch("xforms-value-changed");
- rdo_nosmokcnstyn.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="cap_drunkinfo" class="cell_1" style="left:401px; top:212px; width:90px; height:23px; ">음주정보</caption>
- <select1 id="rdo_drunkinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn" navindex="37" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:494px; top:216px; 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/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn") == "2") {
- ipt_drunkinfokind.disabled = false;
- ipt_drunkinfoterm.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfokind");
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm");
-
- ipt_drunkinfokind.disabled = true;
- ipt_drunkinfoterm.disabled = true;
-
- ipt_drunkinfokind.refresh();
- ipt_drunkinfoterm.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="cap_tnsseffcyn" class="cell_1" style="left:402px; top:463px; width:90px; height:49px; ">수혈부작용</caption>
- <line id="line36" class="line_3" style="x1:401px; y1:234px; x2:792px; y2:234px; "/>
- <line id="line13" class="line_3" style="x1:5px; y1:124px; x2:396px; y2:124px; "/>
- <line id="line5" class="line_2" style="x1:5px; y1:443px; x2:396px; y2:443px; "/>
- <input id="ipt_job" ref="/root/main/wardrecinfo/jobnm" disabled="true" navindex="2" style="left:150px; top:374px; width:50px; height:19px; "/>
- <input id="ipt_educgrde" ref="/root/main/wardrecinfo/educgrdenm" disabled="true" navindex="4" visibility="hidden" style="left:346px; top:374px; width:50px; height:19px; "/>
- <input id="ipt_marystatnm" ref="/root/main/wardrecinfo/marystatnm" disabled="true" navindex="8" style="left:150px; top:422px; width:50px; height:19px; "/>
- <input id="ipt_inpathnm" ref="/root/main/wardrecinfo/inpathnm" navindex="13" visibility="hidden" style="left:210px; top:55px; width:185px; height:19px; "/>
- <input id="ipt_inmthdnm" ref="/root/main/wardrecinfo/inmthdnm" navindex="15" visibility="hidden" style="left:210px; top:79px; width:185px; height:19px; "/>
- <input id="ipt_inacompstnm" ref="/root/main/wardrecinfo/inacompstnm" navindex="17" visibility="hidden" style="left:210px; top:103px; width:185px; height:19px; "/>
- <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 = "";
- var isEmptyYN = "Y";
-
- while(1) {
- // if(model.getValue("/root/main/wardrecinfo/lowbp") != "") {
- // isEmptyYN = "N";
- // break;
- // }
- // if(model.getValue("/root/main/wardrecinfo/highbp") != "") {
- // isEmptyYN = "N";
- // break;
- // }
- // if(model.getValue("/root/main/wardrecinfo/pulse") !="") {
- // isEmptyYN = "N";
- // break;
- // }
- // if(model.getValue("/root/main/wardrecinfo/breth") !="") {
- // isEmptyYN = "N";
- // break;
- // }
- // if(model.getValue("/root/main/wardrecinfo/bdtp") !="") {
- // isEmptyYN = "N";
- // break;
- // }
- // if(model.getValue("/root/main/wardrecinfo/bdtppartcd") !="") {
- // isEmptyYN = "N";
- // break;
- // }
-
- if(model.getValue("/root/main/wardrecinfo/bdht") !="") {
- isEmptyYN = "N";
- break;
- }
-
- if(model.getValue("/root/main/wardrecinfo/bdwt") !="") {
- isEmptyYN = "N";
- break;
- }
- if(model.getValue("/root/main/wardrecinfo/bdbtype") !="") {
- isEmptyYN = "N";
- break;
- }
- if(model.getValue("/root/main/wardrecinfo/bdbtyperh") !="") {
- isEmptyYN = "N";
- break;
- }
- if(model.getValue("/root/main/wardrecinfo/spo2") !="") {
- isEmptyYN = "N";
- break;
- }
-
- break;
- }
- if(isEmptyYN == "Y") {
- status = "select";
- }
- 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;
- ipt_spo2.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");
- model.resetInstanceNode("/root/main/wardrecinfo/spo2");
-
- } 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_spo2.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();
- ipt_spo2.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <caption id="caption39" class="tit_2" style="left:405px; top:10px; width:104px; height:13px; ">기본 신체정보</caption>
- <line id="line34" class="line_1" style="x1:400px; y1:25px; x2:791px; y2:25px; "/>
- <line id="line43" class="line_2" style="x1:797px; y1:498px; x2:1188px; y2:498px; "/>
- <caption id="caption4" class="cell_1" style="left:797px; top:476px; width:215px; height:23px; ">병원도착전 24시간내 항생제 투약여부</caption>
- <select1 id="cmb_antibiodrugyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/antibiodrugyn" navindex="16" appearance="minimal" style="left:1015px; top:477px; width:172px; 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>
- <input id="ipt_nosmokcnstnm" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm" disabled="true" navindex="36" style="left:493px; top:189px; width:297px; height:19px; "/>
- <select1 id="cmb_nosmokcnst" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst" class="combo_default" disabled="true" navindex="35" appearance="minimal" style="left:600px; top:164px; width:190px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value>00</value>
- </item>
- <item>
- <label>환자의 신경학적 결함(의식 혼탁 등)으로 인해 금연 상담의 이해가 불가능한 경우</label>
- <value>01</value>
- </item>
- <item>
- <label>환자의 신체적/정신적 상태로 인해 흡연이 불가능한 경우</label>
- <value>02</value>
- </item>
- <item>
- <label>기타</label>
- <value>03</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst") == "03") {
- ipt_nosmokcnstnm.disabled = false;
- } else {
- ipt_nosmokcnstnm.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
- ipt_nosmokcnstnm.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_nosmokcnstyn" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn" navindex="34" appearance="full" cellspacing="0" cols="2" overflow="visible" style="left:494px; top:167px; width:101px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>시행</label>
- <value>2</value>
- </item>
- <item>
- <label>미시행</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstyn") == "1") {
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "4"
- || model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn") == "Y") {
- cmb_nosmokcnst.disabled = false;
- ipt_nosmokcnstnm.disabled = false;
- }else{
- cmb_nosmokcnst.disabled = true;
- ipt_nosmokcnstnm.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst");
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
- }
-
- } else {
- cmb_nosmokcnst.disabled = true;
- ipt_nosmokcnstnm.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnst");
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/nosmokcnstnm");
- }
- cmb_nosmokcnst.refresh();
- ipt_nosmokcnstnm.refresh();
- ]]>
- </script>
- </select1>
- <line id="line44" class="line_2" style="x1:400px; y1:160px; x2:791px; y2:160px; "/>
- <caption id="cap_smokinfo" class="cell_1" style="left:401px; top:123px; width:90px; height:38px; text-align:left; ">흡연정보</caption>
- <line id="line45" class="line_2" style="x1:400px; y1:186px; x2:791px; y2:186px; "/>
- <line id="line46" class="line_2" style="x1:400px; y1:210px; x2:791px; y2:210px; "/>
- <caption id="caption5" class="cell_1" style="left:401px; top:162px; width:90px; height:49px; ">금연상담여부</caption>
- <input id="ipt_drunkinfoterm" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm" disabled="true" navindex="39" style="left:689px; top:213px; width:55px; height:19px; text-align:center; "/>
- <caption id="cap_drunkinfoterm" style="left:744px; top:213px; width:53px; height:19px; text-align:center; ">기간(년)</caption>
- <input id="ipt_drunkinfokind" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfokind" disabled="true" navindex="38" style="left:572px; top:213px; width:114px; height:19px; text-align:center; "/>
- <select1 id="cmb_relign" ref="/root/main/wardrecinfo/religncd" class="combo_default" navindex="5" appearance="minimal" style="left:68px; top:398px; 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;
- // }
- // }
-
- if(religncd == "09") { //기타
- ipt_relignnm.disabled = false;
- } else {
- ipt_relignnm.disabled = true;
- }
-
- ]]>
- </script>
- </select1>
- <caption id="cap_baptnm" class="cell_1" visibility="hidden" style="left:150px; top:397px; width:50px; height:23px; ">세례명</caption>
- <input id="ipt_baptnm" ref="/root/main/wardrecinfo/baptnm" disabled="true" navindex="6" visibility="hidden" style="left:203px; top:398px; width:60px; height:19px; "/>
- <select1 id="rdo_allgyn" ref="/root/main/histinfo/allghistinfo/allghist/allghistinclyn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:475px; top:369px; 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>
- <button id="btn_allg" class="icon_search" style="left:662px; top:367px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMMD03300");
- ]]>
- </script>
- <caption/>
- </button>
- <select1 id="cmb_relignreq" ref="/root/main/wardrecinfo/relignreq" class="combo_default" navindex="3" visibility="hidden" appearance="minimal" style="left:327px; top:398px; width:69px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0411">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/main/wardrecinfo/tel" style="left:106px; top:488px; width:139px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:484px; x2:396px; y2:484px; "/>
- <caption id="caption9" class="cell_1" style="left:5px; top:445px; width:60px; height:40px; ">가족사항</caption>
- <input id="input2" ref="/root/main/wardrecinfo/mphone" style="left:254px; top:488px; width:139px; height:19px; "/>
- <input id="ipt_famybrother" ref="/root/main/wardrecinfo/famyinfo/famyinfo/famybrother" style="left:265px; top:445px; width:127px; height:19px; "/>
- <line id="line35" class="line_3" style="x1:5px; y1:510px; x2:396px; y2:510px; "/>
- <input id="ipt_relignnm" ref="/root/main/wardrecinfo/relignnm" disabled="true" style="left:150px; top:398px; width:112px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:5px; top:486px; width:95px; height:23px; ">연락처/휴대폰</caption>
- <caption id="cap_marystat" class="cell_1" style="left:5px; top:421px; width:60px; height:23px; ">결혼상태</caption>
- <caption id="caption7" class="cell_1" visibility="hidden" style="left:265px; top:397px; width:60px; height:23px; ">영적요구</caption>
- <caption id="cap_relign" class="cell_1" style="left:5px; top:397px; width:60px; height:23px; ">종교</caption>
- <caption id="cap_job" class="cell_1" style="left:5px; top:373px; width:60px; height:23px; ">직업</caption>
- <caption id="cap_educgrde" class="cell_1" visibility="hidden" style="left:203px; top:373px; width:60px; height:23px; ">교육정도</caption>
- <caption id="caption12" class="cell_1" style="left:211px; top:154px; width:82px; height:22px; ">발병시간</caption>
- <input id="ipt_smokinfocnt" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt" disabled="true" navindex="41" visibility="hidden" style="left:682px; top:98px; width:110px; height:19px; "/>
- <button id="btn_inhistpop" class="icon_search" style="left:1058px; top:344px; 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>
- <caption id="caption13" style="left:634px; top:124px; width:13px; height:19px; text-align:center; ">(</caption>
- <caption id="caption14" style="left:770px; top:143px; width:13px; height:19px; text-align:center; ">)</caption>
- <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:515px; 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>
- <button id="btn_SPMMO14900" class="btn5_letter4" navindex="69" visibility="hidden" style="left:1011px; top:451px; width:64px; height:19px; ">
- <caption>처방조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMMO14900");
- ]]>
- </script>
- </button>
- <line id="line42" class="line_1" style="x1:400px; y1:270px; x2:790px; y2:270px; "/>
- <caption id="caption21" class="tit_2" style="left:405px; top:255px; width:380px; height:13px; ">영양사정</caption>
- <caption id="caption25" style="left:645px; top:123px; width:148px; height:20px; ">입원전1개월이내</caption>
- <select1 id="rdo_bfsmokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:705px; top:143px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rdo_smokinfo.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <caption id="caption32" style="left:645px; top:143px; width:65px; height:15px; ">흡연여부 :</caption>
- <select id="chk_privacy" ref="/root/main/wardrecinfo/privacy" visibility="hidden" overflow="visible" appearance="full" style="left:266px; top:328px; 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",""); // 세례명
- model.setValue("/root/main/wardrecinfo/marystatcd",""); // 결혼상태코드
- model.setValue("/root/main/wardrecinfo/marystatnm",""); // 결혼상태
- model.setValue("/root/main/wardrecinfo/nationalityflag",""); // 국적
- model.setValue("/root/main/wardrecinfo/nationalitynm",""); // 국적(외국인)
- model.setValue("/root/main/wardrecinfo/socialwelfareflag",""); // 사회복지상담
- model.setValue("/root/main/wardrecinfo/famyinfo/famyparent",""); // 가족사항(부모)
- model.setValue("/root/main/wardrecinfo/famyinfo/famybrother",""); // 가족사항(형제)
- model.setValue("/root/main/wardrecinfo/famyinfo/famychildren",""); // 가족사항(자녀)
-
- cmb_job.disabled = true;
- ipt_job.disabled = true;
- cmb_relign.disabled = true;
- ipt_relignnm.disabled = true;
- cmb_marystat.disabled = true;
- ipt_marystatnm.disabled = true;
- cap_baptnm.visible = false;
- ipt_baptnm.visible = false;
- ipt_relignnm.visible = true;
-
- rdo_nationalityflag.disabled = true;
- ipt_nationalitynm.disabled = true;
- rdo_socialwelfare.disabled = true;
- chk_famyparent.disabled = true;
- ipt_famybrother.disabled = true;
- ipt_famychildren.disabled = true;
-
- }else{
- cmb_job.disabled = false;
- cmb_relign.disabled = false;
- cmb_marystat.disabled = false;
-
- rdo_nationalityflag.disabled = false;
- ipt_nationalitynm.disabled = false;
- rdo_socialwelfare.disabled = false;
- chk_famyparent.disabled = false;
- ipt_famybrother.disabled = false;
- ipt_famychildren.disabled = false;
-
- cmb_job.dispatch("xforms-value-changed");
- cmb_relign.dispatch("xforms-value-changed");
- cmb_marystat.dispatch("xforms-value-changed");
- }
- model.refresh();
-
- ]]>
- </script>
- </select>
- <group id="group1" style="left:798px; top:589px; width:395px; height:45px; ">
- <line id="line8" class="line_3" visibility="hidden" style="x1:0px; y1:42px; x2:391px; y2:42px; "/>
- <caption id="cap_existyn" class="cell_1" visibility="hidden" style="left:0px; top:20px; width:100px; height:23px; ">존재유무</caption>
- <button id="button40" class="btn2_letter4" visibility="hidden" style="left:206px; top:21px; 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>
- <caption id="caption8" class="tit_2" visibility="hidden" style="left:5px; top:0px; width:104px; height:13px; ">가계도</caption>
- <input id="opt_existyn" ref="/root/main/wardrecinfo/famytree/existyn" disabled="true" navindex="9" visibility="hidden" appearance="input" style="left:103px; top:21px; width:100px; height:19px; "/>
- <line id="line7" class="line_1" visibility="hidden" style="x1:0px; y1:15px; x2:391px; y2:15px; "/>
- </group>
- <select id="chk_ophistinclyn" ref="/root/main/histinfo/ophistinfo/ophist/ophistinclyn" navindex="65" overflow="visible" appearance="full" style="left:902px; top:232px; 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_ophist);
-
- 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>
- <line id="line24" class="line_1" style="x1:797px; y1:250px; x2:1187px; y2:250px; "/>
- <caption id="cap_ophist" class="tit_2" style="left:802px; top:235px; width:104px; height:13px; ">수술이력</caption>
- <button id="btn_ophistdel" class="btn2_letter3" navindex="67" style="left:1134px; top:230px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ophist.deleteRow(grd_ophist.row);
- ]]>
- </script>
- </button>
- <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:797px; top:255px; width:390px; height:71px; ">
- <col ref="opdd" type="input"/>
- <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_ophistpop" class="icon_search" style="left:1058px; top:232px; 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_ophistadd" class="btn2_letter3" navindex="66" style="left:1078px; top:230px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ophist.addRow();
- ]]>
- </script>
- </button>
- <select1 id="rdo_apttstatflag" ref="/root/main/wardrecinfo/apttbdwtchnginfo/apttbdwtchng/apptstatflag" navindex="3" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:484px; top:279px; width:262px; 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="onmouseover">
- <![CDATA[
- var colidx = rdo_apttstatflag.mouseCol;
- var cdid = rdo_apttstatflag.item(colidx).value;
- rdo_apttstatflag.hint = model.getValue("/root/codeinfo/codeinfo/codelist[cdgrupid ='177' and cdid = '"+ cdid +"']/grupdetldesc");//식용상태 정의 추가 20091216 김홍점
- rdo_apttstatflag.refresh();
- ]]>
- </script>
- </select1>
- <caption id="cap_apttstatflag" class="cell_1" style="left:401px; top:275px; width:80px; height:23px; vertical-align:middle; ">식욕상태</caption>
- <caption id="cap_apttchng" class="cell_1" style="left:401px; top:299px; width:80px; height:23px; vertical-align:middle; ">체중감소</caption>
- <select1 id="rdo_apttchngyn" ref="/root/main/wardrecinfo/apttbdwtchnginfo/apttbdwtchng/bdwtchngyn" navindex="1" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:304px; width:72px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption35" class="cell_1" style="left:401px; top:324px; width:80px; height:23px; vertical-align:middle; ">연하곤란</caption>
- <select1 id="rdo_dysphagiayn" ref="/root/main/wardrecinfo/apttbdwtchnginfo/apttbdwtchng/dysphagiayn" navindex="1" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:484px; top:327px; width:72px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line51" class="line_3" style="x1:400px; y1:347px; x2:791px; y2:347px; "/>
- <caption id="caption6" class="cell_1" style="left:5px; top:349px; width:60px; height:23px; ">국적</caption>
- <select1 id="rdo_nationalityflag" ref="/root/main/wardrecinfo/nationalityflag" appearance="full" cols="2" overflow="visible" style="left:71px; top:353px; width:110px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>내국인</label>
- <value>N</value>
- </item>
- <item>
- <label>외국인</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/nationalityflag") == "N") {
- model.resetInstanceNode("/root/main/wardrecinfo/nationalitynm");
- ipt_nationalitynm.disabled = true;
- } else {
- ipt_nationalitynm.disabled = false;
- }
- ipt_nationalitynm.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption15" class="cell_1" style="left:205px; top:421px; width:83px; height:23px; ">사회복지상담</caption>
- <input id="ipt_nationalitynm" ref="/root/main/wardrecinfo/nationalitynm" disabled="true" style="left:189px; top:351px; width:111px; height:19px; "/>
- <select1 id="rdo_socialwelfare" ref="/root/main/wardrecinfo/socialwelfareflag" appearance="full" cols="2" overflow="visible" style="left:293px; top:425px; width:98px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>필요</label>
- <value>Y</value>
- </item>
- <item>
- <label>불필요</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption22" style="left:67px; top:447px; width:30px; height:14px; vertical-align:middle; ">부모:</caption>
- <caption id="caption23" style="left:232px; top:447px; width:30px; height:14px; vertical-align:middle; ">형제:</caption>
- <input id="ipt_famychildren" ref="/root/main/wardrecinfo/famyinfo/famyinfo/famychildren" style="left:98px; top:465px; width:128px; height:19px; "/>
- <caption id="caption24" style="left:67px; top:467px; width:30px; height:14px; vertical-align:middle; ">자녀:</caption>
- <line id="line22" class="line_1" style="x1:797px; y1:138px; x2:1187px; y2:138px; "/>
- <select id="chk_famyhistyn" ref="/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn" navindex="59" overflow="visible" appearance="full" style="left:902px; top:120px; 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:801px; top:123px; width:74px; height:13px; ">가족병력</caption>
- <button id="btn_famyhistadd" class="btn2_letter3" navindex="60" style="left:1078px; top:118px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyhist.addRow();
- ]]>
- </script>
- </button>
- <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:797px; top:143px; width:390px; height:71px; ">
- <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>
- <button id="btn_famyhistdel" class="btn2_letter3" navindex="61" style="left:1134px; top:118px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyhist.deleteRow(grd_famyhist.row);
- ]]>
- </script>
- </button>
- <line id="line37" class="line_3" style="x1:401px; y1:512px; x2:792px; y2:512px; "/>
- <line id="line38" class="line_2" style="x1:401px; y1:463px; x2:793px; y2:463px; "/>
- <group id="grp_anti" visibility="hidden" style="left:505px; top:275px; 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>
- <select1 id="rdo_tnsseffcyn" ref="/root/main/histinfo/allghistinfo/allghist/tnsseffcyn" navindex="37" appearance="full" cellspacing="25" cols="3" overflow="visible" style="left:495px; top:469px; 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/histinfo/allghistinfo/allghist/tnsseffcyn") == "2") {
- ipt_tnsseffc.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/histinfo/allghistinfo/allghist/tnsseffcdetl");
- ipt_tnsseffc.disabled = true;
- ipt_tnsseffc.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_tnsseffc" ref="/root/main/histinfo/allghistinfo/allghist/tnsseffcdetl" disabled="true" navindex="43" style="left:495px; top:490px; width:295px; height:19px; "/>
- <caption id="caption33" style="left:232px; top:467px; width:50px; height:14px; vertical-align:middle; ">배우자:</caption>
- <select1 id="rdo_famyspouse" ref="/root/main/wardrecinfo/famyinfo/famyinfo/famyspouse" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:278px; top:467px; width:97px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select id="chk_famyparent" ref="/root/main/wardrecinfo/famyinfo/famyinfo/famyparent" disabled="true" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:96px; top:447px; width:126px; 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>
- </select>
- </xhtml:body>
- </xhtml:html>
|