123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403 |
- <?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>
- <tel/>
- <mphone/>
- <etcphone1/>
- <etcphone2/>
- <inacompstyn>1</inacompstyn>
- <inacompstcd/>
- <inacompstnm/>
- <serdiagflag/>
- <mainsympcd/>
- <mainsympcdno/>
- <mainsympnm/>
- <fstexamorddd/>
- <fstexamordtm/>
- <attackdd/>
- <attacktm/>
- <cscsflag>-</cscsflag>
- <painflag>-</painflag>
- <highbp/>
- <lowbp/>
- <mntpulsecnt/>
- <mntbrethcnt/>
- <chosbdtp/>
- <oxyconcen/>
- <algyflag/>
- <algyetccnts/>
- <pasthistflag/>
- <pasthistetccnts/>
- <chospathflag>-</chospathflag>
- <choswayflag>-</choswayflag>
- <chosresnflag>-</chosresnflag>
- <intenflag>-</intenflag>
- <injmechflag>-</injmechflag>
- <choseduinfo>
- <chosedu>
- <chosgenrcmt1>1</chosgenrcmt1>
- <chosgenrcmt2> 2</chosgenrcmt2>
- <bedsoreprvn>1</bedsoreprvn>
- <edutrgt>1</edutrgt>
- <fallhighriskflag/>
- <fallpreventactflag/>
- </chosedu>
- </choseduinfo>
- <revisitinfo>
- <revisit>
- <revisityn>1</revisityn>
- <revisitcd/>
- </revisit>
- </revisitinfo>
- <gustoinfo>
- <gusto>
- <smokinfo>
- <smokinfoyn>1</smokinfoyn>
- <bfsmokinfoyn/>
- <smokinfocnt/>
- <nosmokcnstyn>1</nosmokcnstyn>
- <nosmokcnst/>
- <nosmokcnstnm/>
- </smokinfo>
- <drunkinfo>
- <drunkinfoyn>1</drunkinfoyn>
- <drunkinfokind/>
- <drunkinfoterm/>
- </drunkinfo>
- <gustofoodinfo>
- <gustofoodyn>1</gustofoodyn>
- <gustofooddetl/>
- </gustofoodinfo>
- <tnsseffcinfo>
- <tnsseffcyn>1</tnsseffcyn>
- <tnsseffcdetl/>
- </tnsseffcinfo>
- </gusto>
- </gustoinfo>
- <prginfo>
- <prg>
- <prgstatchk/>
- <prgstatyn/>
- <prgstatweek/>
- </prg>
- </prginfo>
- <visdsordinfo>
- <visdsord>
- <visdsordyn>1</visdsordyn>
- <visdsordpos/>
- <visdsordleft/>
- <visdsordrght/>
- <visdsordkind/>
- <visdsordblind/>
- </visdsord>
- </visdsordinfo>
- <heardsordinfo>
- <heardsord>
- <heardsordyn>1</heardsordyn>
- <heardsordpos/>
- <heardsordleft/>
- <heardsordrght/>
- <heardsordkind/>
- </heardsord>
- </heardsordinfo>
- <tootstatinfo>
- <tootstat>
- <tootstatkind>1</tootstatkind>
- </tootstat>
- </tootstatinfo>
- <skinsectinfo>
- <skinsect>
- <skincolorinfoinclyn>1</skincolorinfoinclyn>
- <skincolor>
- <part/>
- <direc/>
- <symp/>
- <list/>
- </skincolor>
- <skinstatinfoinclyn>1</skinstatinfoinclyn>
- <skinstat>
- <part/>
- <direc/>
- <symp/>
- <cate/>
- <list/>
- </skinstat>
- </skinsect>
- </skinsectinfo>
- <mainsympnm1/>
- <mainsympnm2/>
- <etcsymp/>
- <etcfact/>
- <mainsympcd1/>
- <mainsympcdno1/>
- <mainsympcd2/>
- <mainsympcdno2/>
- <acdownflag/>
- <acdowndetailflag/>
- <proceqmtflag/>
- <painflag1/>
- <painflag2/>
- <bdwt/>
- <rectmedistatinfo>
- <rectmedistat>
- <rectmedistatinfoinclyn/>
- <antibiodrugyn/>
- <rectmedistat>
- <drugnm/>
- <direc/>
- <orddept/>
- </rectmedistat>
- </rectmedistat>
- </rectmedistatinfo>
- <initvsdd/>
- <initvstm/>
- </wardrecinfo>
- <init>
- </init>
- <histinfo>
- <pasthistinfo>
- <pasthist>
- <pasthistinclyn/>
- <pasthist>
- <genrdd/>
- <histspec/>
- <remfact/>
- </pasthist>
- </pasthist>
- </pasthistinfo>
- <famyhistinfo>
- <famyhist>
- <famyhistinclyn/>
- <famyhist>
- <famyrel/>
- <existyn/>
- <histspec/>
- <remfact/>
- </famyhist>
- </famyhist>
- </famyhistinfo>
- <inhistinfo>
- <inhist>
- <inhistinclyn/>
- <inhist>
- <indd/>
- <dschdd/>
- <illnm/>
- <orddept/>
- <inhistpk/>
- </inhist>
- </inhist>
- </inhistinfo>
- <ophistinfo>
- <ophist>
- <ophistinclyn/>
- <ophist>
- <opdd/>
- <opnm/>
- <orddept/>
- <ophistpk/>
- </ophist>
- </ophist>
- </ophistinfo>
- <allghistinfo>
- <allghist>
- <allghistinclyn/>
- <allghist>
- <genrdd/>
- <flag/>
- <allergespec/>
- </allghist>
- </allghist>
- </allghistinfo>
- <vacnhistinfo>
- <vacnhist>
- <vacnhistinfoinclyn/>
- <dpttims/>
- <infparaltims/>
- <ahptstims/>
- <bhptstims/>
- <bhptsdrugnm/>
- <bhptsyn/>
- <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>
- <!--
- <histinfo>
- <pasthistinfo>
- <pasthist>
- <pasthistinclyn/>
- <pasthist>
- <genrdd/>
- <histspec/>
- <remfact/>
- </pasthist>
- </pasthist>
- </pasthistinfo>
- <rectmedistatinfo>
- <rectmedistat>
- <rectmedistatinfoinclyn/>
- <antibiodrugyn/>
- <rectmedistat>
- <drugnm/>
- <direc/>
- <orddept/>
- </rectmedistat>
- </rectmedistat>
- </rectmedistatinfo>
- <ophistinfo>
- <ophist>
- <ophistinclyn/>
- <ophist>
- <opdd/>
- <opnm/>
- <orddept/>
- <ophistpk/>
- </ophist>
- </ophist>
- </ophistinfo>
- <allghistinfo>
- <allghist>
- <allghistinclyn>1</allghistinclyn>
- <allghist>
- <genrdd/>
- <flag/>
- <allergespec/>
- <hosoutyn/>
- <comclscd/>
- <drugcd/>
- <drugnm/>
- <symp/>
- <rgstdt/>
- <rgster/>
- <cretno/>
- </allghist>
- </allghist>
- </allghistinfo>
- </histinfo>
- -->
- </main>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
-
- //----------(20101029) 경북대
- //function fessential() {
- // //khj 20100303 통증사정도구가 선택되었을경우 점수도 반드시 선택되어야함.
- // if( !isNull( model.getValue("/root/main/wardrecinfo/painflag1") ) && isNull( cmb_pain.label ) ){
- // rdo_painflag1.attribute("background-color") = fEssentialBackColor;
- // cmb_pain.attribute("background-color") = fEssentialBackColor;
- // }
- //}
- //----------(20101029) 경북대
- function fInitEvent() {
- //내원사유 질병일 경우 disable
- var chosresnflag = model.getValue("/root/main/wardrecinfo/chosresnflag");
- if(chosresnflag == "1"){ //내원사유가 질병인 경우
- cmb_intenflag.disabled = true;
- cmb_injmechflag.disabled = true;
- //cmb_chospathflag.disabled= true; //내원사유가 질병인 경우, 내원경로 disabled해체
- //chk_acdownflag.disabled = true;
- //chk_proceqmtflag.disabled= true;
- }
- chk_algyflag.dispatch("xforms-select");
- chk_pasthistflag.dispatch("xforms-select");
-
- rdo_inacompstyn.dispatch("xforms-value-changed");
- cmb_inacompstcd.dispatch("xforms-value-changed");
- rdo_allgyn.dispatch("xforms-value-changed");
- rdo_revisit.dispatch("xforms-value-changed");
- //rdo_smokinfo.dispatch("xforms-value-changed");
- rdo_nosmokcnstyn.dispatch("xforms-value-changed");
- chk_prgchk.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/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
- chk_rectmedistatinclyn.dispatch("xforms-value-changed");
- }
- if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
- chk_ophistinclyn.dispatch("xforms-value-changed");
- }
- rdo_painflag1.dispatch("xforms-value-changed");
- }
-
- function fSetStatus() {
- var rtn = "";
-
- if(status == "select") {
- rtn = "6";
- } else {
- rtn = messageBox("데이터를 ", "Q001");
- }
- return rtn;
- }
-
- function isCheckGridDataYN(grdData) {
- var isEmptyYN = "Y";
- if(grdData.rows == 2) {
- for(var i = 1; i < grdData.cols; i++) {
- if(grdData.valueMatrix(1, i) != "") {
- isEmptyYN = "N";
- break;
- } else {
- isEmptyYN = "Y";
-
- }
- }
- } else if(grdData.rows < 2) {
- isEmptyYN = "Y";
- } else {
- isEmptyYN = "N";
- }
-
- if(isEmptyYN == "Y") {
- status = "select";
- }
-
- return isEmptyYN;
- }
-
- /**
- * @desc : String에서 특정 문자 검사
- * @
- * @param : trgtStr - 타켓이 되는 String문자열
- * : fndCh - 찾을 Char문자
- *
- * @return : true/false
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fSearchChar(sTrgtStr, chFndChar){
- for(var i=0; i < sTrgtStr.length; i++){
- var ch = sTrgtStr.charAt(i);
- if(ch == chFndChar){
- return true;
- }
- }
- return false;
- }
-
- /**
- * @desc : Enter 혹은 Tab키 입력시, 지정한 콘트롤로 이동
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fNextMoveCtrl(ctrlID){
- if(event.keyCode == 13){ //Enter키가 눌린 경우
- model.setFocus(ctrlID);
- }
- }
- /**
- * @desc : 알러지 선택, 선택취소
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fSelctAlgy(){
- var sAglyFlag = model.getValue("/root/main/wardrecinfo/algyflag");
- ipt_algyetccnt.disabled = true;
-
- if(fSearchChar(sAglyFlag, "8") == true){ // 없음(8)이 선택된 경우
- deselectAll("chk_algyflag");
-
- }else if(fSearchChar(sAglyFlag, "7") == true){ // 기타(7)이 선택된 경우
- ipt_algyetccnt.disabled = false;
-
- }else if(fSearchChar(sAglyFlag, "7") == false){ // 기타(7)이 선택해제된 경우
- ipt_algyetccnt.disabled = true;
- ipt_algyetccnt.value = "";
-
- }else if(sAglyFlag == ""){
- selectAll("chk_algyflag");
- ipt_algyetccnt.disabled = true;
- }
-
- if(fSearchChar(sAglyFlag, "8") == false){ // 없음(8)이 선택해제된 경우
- chk_algyflag.disabled = false;
- }
- model.refresh();
- }
-
- /**
- * @desc : 과거력 선택, 선택취소
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fSelctPastHist(){
- var sPastHistFlag = model.getValue("/root/main/wardrecinfo/pasthistflag");
- ipt_pasthistetccnt.disabled = true;
-
- if(fSearchChar(sPastHistFlag, "9") == true){ // 없음(9)이 선택된 경우
- deselectAll("chk_pasthistflag");
-
- }else if(fSearchChar(sPastHistFlag, "8") == true){ // 기타(8)이 선택된 경우
- ipt_pasthistetccnt.disabled = false;
-
- }else if(fSearchChar(sPastHistFlag, "8") == false){ // 기타(8)이 선택해제된 경우
- ipt_pasthistetccnt.disabled = true;
- ipt_pasthistetccnt.value = "";
-
- }else if(sPastHistFlag == ""){
- selectAll("chk_pasthistflag");
- ipt_pasthistetccnt.disabled = true;
- }
-
- if(fSearchChar(sPastHistFlag, "9") == false){ // 없음(8)이 선택해제된 경우
- chk_pasthistflag.disabled = false;
- }
- model.refresh();
- }
-
- // 모든 체크를 disabled = true
- function deselectAll(flag)
- {
- if (flag == "chk_algyflag") { // 알러지
- var i = 0;
- for(i=0; i<chk_algyflag.length-1; i++)
- {
- chk_algyflag.deselect(i);
- chk_algyflag.item(i).disabled = true;
- }
- model.resetInstanceNode("/root/main/wardrecinfo/algyetccnts");
- chk_algyflag.refresh();
- }
- else if (flag == "chk_pasthistflag") { // 과거력
- var i = 0;
- for(i=0; i<chk_pasthistflag.length-1; i++)
- {
- chk_pasthistflag.deselect(i);
- chk_pasthistflag.item(i).disabled = true;
- }
- model.resetInstanceNode("/root/main/wardrecinfo/pasthistetccnts");
- chk_pasthistflag.refresh();
- }
- }
-
- // 모든 체크를 disabled = false
- function selectAll(flag)
- {
- if (flag == "chk_algyflag") { // 알러지
- var i = 0;
- for(i=0; i<chk_algyflag.length-1; i++)
- {
- chk_algyflag.deselect(i);
- chk_algyflag.item(i).disabled = false;
- }
- } else if (flag == "chk_pasthistflag") { // 과거력
- var i = 0;
- for(i=0; i<chk_pasthistflag.length-1; i++)
- {
- chk_pasthistflag.deselect(i);
- chk_pasthistflag.item(i).disabled = false;
- }
- }
- }
-
- /**
- * @desc : 내원사유 변경
- * @
- * @param :
- * @return :
- * @author : 오지훈
- * @---------------------------------------------------
- */
- function fChngChosResnFlag(){
- var chosresnflag = model.getValue("/root/main/wardrecinfo/chosresnflag");
- if(chosresnflag == "1"){ //내원사유가 질병인 경우
- model.setValue( "/root/main/wardrecinfo/intenflag" , "-"); //의도성여부
- model.setValue("/root/main/wardrecinfo/injmechflag" , "-"); //손상기전
- model.setValue("/root/main/wardrecinfo/chospathflag", "-"); //내원경로
- model.setValue("/root/main/wardrecinfo/acdownflag" , ""); //교통사고 당사자
- model.setValue("/root/main/wardrecinfo/proceqmtflag", ""); //보호장구
- model.setValue("/root/main/wardrecinfo/acdowndetailflag", "");
-
- cmb_intenflag.disabled = true;
- cmb_injmechflag.disabled = true;
- //cmb_chospathflag.disabled= true; //내원사유가 질병인 경우, 내원경로 disabled해체
- //chk_acdownflag.disabled = true;
- //chk_proceqmtflag.disabled= true;
- model.refresh();
- }else{
- cmb_intenflag.disabled = false;
- cmb_injmechflag.disabled = false;
- cmb_chospathflag.disabled= false;
- //chk_acdownflag.disabled = false;
- //chk_proceqmtflag.disabled= false;
-
- if (chosresnflag == "3"){ // 내원사유가 질병외방문시 활력증후 값 세팅
- model.setValue("/root/main/wardrecinfo/highbp", "-"); // 수축기 혈압
- model.setValue("/root/main/wardrecinfo/lowbp", "-"); // 이완기 혈압
- model.setValue("/root/main/wardrecinfo/mntpulsecnt", "-"); // 분당 맥박수
- model.setValue("/root/main/wardrecinfo/mntbrethcnt", "-"); // 분당 호흡수
- model.setValue("/root/main/wardrecinfo/chosbdtp", "-"); // 내원시 체온
- }
-
- model.refresh();
- }
- }
-
- function fSetPopupParam(part, direc, symp, cate, flag) {
- var skinstatPath = "/root/main/wardrecinfo/skinsectinfo/skinsect/skinstat";
-
- setParameter("SPMNW07500_PARAM1", "");
- setParameter("SPMNW07500_PARAM2", "");
- setParameter("SPMNW07500_PARAM3", "");
- setParameter("SPMNW07500_PARAM4", "");
- setParameter("SPMNW07500_PARAM5", "");
-
- var title ="";
- var path = "";
- var idx = -1;
-
- if(flag == "01") {
- title="동통팝업";
- path = shpainPath;
- idx = grd_shpain.row;
- } else if(flag =="02") {
- title="호흡기계";
- path = resorgnPath;
- idx = grd_resorgn.row;
- } else if(flag =="03") {
- title="소화기계";
- path = digorgnPath;
- idx = grd_digorgn.row;
-
- } else if(flag =="04") {
- title = "신경계장애";
- path = nvesysdsordPath;
- idx = grd_nvesysdsord.row;
- } else if(flag =="05") {
- title = "피부색";
- path = skincolorPath;
- idx = grd_skincolor.row;
- } else if(flag == "06") {
- title = "피부상태";
- path = skinstatPath;
- idx = grd_skinstat.row;
- } else if(flag == "07") {
- title = "비뇨기계";
- path = uriorgnPath;
- idx = grd_urine.row;
- } else if(flag == "08") {
- title = "대변";
- path = stoolPath;
- }
- setParameter("SPMNW07500_PARAM1", part);
- setParameter("SPMNW07500_PARAM2", direc);
- setParameter("SPMNW07500_PARAM3", symp);
- setParameter("SPMNW07500_PARAM4", title);
- setParameter("SPMNW07500_PARAM5", cate);
-
- modal("SPMNW07500",1, (event.screenX + 517 >= 1195)? 1195-517 : event.screenX , (event.screenY+306 >= 1024)? 1024-306: event.screenY );
-
- var flg = getParameter("SMMNW03100_PARAM4");
- if(flg == "Y") {
-
- if(part != "00") {
- part = getParameter("SMMNW03100_PARAM1");
- model.setValue(path + "[" + idx + "]/part", part);
-
- }
- if(direc != "00") {
- direc = getParameter("SMMNW03100_PARAM2");
- model.setValue(path + "[" + idx + "]/direc", direc);
-
- }
-
- if(symp != "00") {
-
- symp = getParameter("SMMNW03100_PARAM3");
- model.setValue(path + "[" + idx + "]/symp", symp);
-
- }
-
- if(cate != "00") {
- cate = getParameter("SMMNW03100_PARAM5");
-
- if(flag == "03") {
-
- grd_digorgn.valueMatrix(idx, grd_digorgn.colRef("cate")) = cate;
- grd_digorgn.rebuild();
- } else if(flag == "07") {
-
- grd_urine.valueMatrix(1, grd_urine.colRef("cate")) = cate;
- grd_urine.rebuild();
-
- } else if(flag == "08") {
-
-
- model.setValue(path + "/stoolcatekind", cate);
- ipt_stoolcatekind.refresh();
- }
- }
- }
- }
-
- ]]>
- </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 != "") {
- cmb_antibiodrugyn.attribute("background-color") = fEssentialBackColor;
- rdo_fallhighriskflag.attribute("background-color") = fEssentialBackColor; // 141111 - AYS 추가
- rdo_fallpreventactflag.attribute("background-color") = fEssentialBackColor; // 141111 - AYS 추가
-
- }
- //fessential();
- //---------(20101029) 경북대
-
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/formmngtweb/js/MRF03800.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1194" pageheight="673" guideline="1,612;2,286;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <select id="chk_pasthistflag" ref="/root/main/wardrecinfo/pasthistflag" visibility="hidden" overflow="visible" appearance="full" cellspacing="10" cols="9" rows="1" sep="|" style="left:110px; top:290px; width:500px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0124">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("chk_pasthistflag");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSelctPastHist();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- fSelctPastHist();
- ]]>
- </script>
- </select>
- <select1 id="cmb_revisit" ref="/root/main/wardrecinfo/revisitinfo/revisit/revisitcd" class="combo_default" navindex="16" appearance="minimal" style="left:115px; top:556px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>동일증상</label>
- <value>1</value>
- </item>
- <item>
- <label>비동일증상</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_revisit" ref="/root/main/wardrecinfo/revisitinfo/revisit/revisityn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:10px; top:557px; width:105px; height:18px; 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/revisitinfo/revisit/revisityn") == "2") {
- cmb_revisit.disabled = false;
- //동일증상, 비동일 증상 판단하여 설정해줌
-
- cmb_revisit.refresh();
- } else {
- cmb_revisit.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/revisitinfo/revisit/revisitcd");
- cmb_revisit.refresh();
-
- }
- ]]>
- </script>
- </select1>
- <caption id="caption23" class="tit_2" style="left:10px; top:536px; width:163px; height:13px; ">48시간 이내 재방문 여부</caption>
- <line id="line9" class="line_3" style="x1:5px; y1:576px; x2:276px; y2:576px; "/>
- <caption id="caption18" class="cell_1" visibility="hidden" style="left:5px; top:236px; width:85px; height:48px; vertical-align:middle; ">알러지</caption>
- <caption id="caption27" class="cell_1" visibility="hidden" style="left:5px; top:285px; width:85px; height:47px; vertical-align:middle; ">과거력</caption>
- <input id="ipt_algyetccnt" ref="/root/main/wardrecinfo/algyetccnts" disabled="true" visibility="hidden" style="left:95px; top:262px; width:515px; height:19px; "/>
- <input id="ipt_pasthistetccnt" ref="/root/main/wardrecinfo/pasthistetccnts" disabled="true" visibility="hidden" style="left:95px; top:311px; width:517px; height:19px; "/>
- <select id="chk_algyflag" ref="/root/main/wardrecinfo/algyflag" navindex="14" visibility="hidden" overflow="visible" appearance="full" cellspacing="10" cols="9" rows="1" sep="|" style="left:95px; top:241px; width:515px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0123">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("chk_pasthistflag");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSelctAlgy();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- fSelctAlgy();
- ]]>
- </script>
- </select>
- <caption id="cap_allghist" class="tit_2" visibility="hidden" style="left:282px; top:420px; width:69px; height:13px; ">Allergy</caption>
- <button id="btn_allghistadd" class="btn2_letter3" navindex="72" visibility="hidden" style="left:558px; top:415px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_allghist.addRow();
- ]]>
- </script>
- </button>
- <line id="line28" class="line_1" visibility="hidden" style="x1:277px; y1:435px; x2:613px; y2:435px; "/>
- <line id="line27" class="line_1" visibility="hidden" style="x1:277px; y1:435px; x2:613px; y2:435px; "/>
- <button id="btn_allghistdel" class="btn2_letter3" navindex="73" visibility="hidden" style="left:562px; top:415px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_allghist.deleteRow(grd_allghist.row);
- ]]>
- </script>
- </button>
- <select1 id="rdo_allgyn" ref="/root/main/histinfo/allghistinfo/allghist/allghistinclyn" visibility="hidden" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:355px; top:419px; 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" visibility="hidden" style="left:537px; top:417px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMMD03300");
- ]]>
- </script>
- <caption/>
- </button>
- <datagrid id="grd_allghist" nodeset="/root/main/histinfo/allghistinfo/allghist/allghist" visibility="hidden" scroll="auto" caption="발생일자^분류^Allergy 내역 및 증상" colsep="^" colwidth="85, 70, 158, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:277px; top:365px; width:333px; 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();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_allghist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line8" class="line_3" visibility="hidden" style="x1:278px; y1:456px; x2:609px; y2:456px; "/>
- <select1 id="rdo_heardsordyn" ref="/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordyn" visibility="hidden" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:663px; top:473px; width:82px; 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/heardsordinfo/heardsord/heardsordyn") == "1") {
-
- chk_heardsordkind.disabled = true;
- chk_heardsordpos.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordpos");
- model.resetInstanceNode("/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordkind");
- chk_heardsordpos.dispatch("xforms-value-changed");
- chk_heardsordpos.refresh();
- chk_heardsordkind.refresh();
- } else {
- chk_heardsordpos.disabled = false;
- chk_heardsordkind.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_visdsordyn" ref="/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordyn" visibility="hidden" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:683px; top:394px; width:82px; 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/visdsordinfo/visdsord/visdsordyn") == "1") {
- chk_visdordpos.disabled = true;
- chk_visdsordkind.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordpos");
- model.resetInstanceNode("/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordkind");
- chk_visdordpos.dispatch("xforms-value-changed");
- chk_visdordpos.refresh();
- chk_visdsordkind.refresh();
- } else {
- chk_visdordpos.disabled = false;
- chk_visdsordkind.disabled = false;
- }
-
-
- ]]>
- </script>
- </select1>
- <line id="line93" class="line_3" visibility="hidden" style="x1:615px; y1:664px; x2:969px; y2:664px; "/>
- <input id="ipt_heardsordrght" ref="/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordrght" class="input_default" disabled="true" visibility="hidden" style="left:903px; top:470px; width:50px; height:19px; "/>
- <select id="chk_tootstatkind" ref="/root/main/wardrecinfo/tootstatinfo/tootstat/tootstatkind" navindex="70" visibility="hidden" overflow="visible" appearance="full" cellspacing="0" cols="5" vcellspacing="3" style="left:613px; top:533px; width:355px; height:38px; border-style:none; ">
- <choices>
- <item>
- <label>양호</label>
- <value>1</value>
- </item>
- <item>
- <label>충치</label>
- <value>2</value>
- </item>
- <item>
- <label>보철</label>
- <value>3</value>
- </item>
- <item>
- <label>크라운</label>
- <value>4</value>
- </item>
- <item>
- <label>유치</label>
- <value>8</value>
- </item>
- <item>
- <label>부분의치</label>
- <value>5</value>
- </item>
- <item>
- <label>완전의치</label>
- <value>6</value>
- </item>
- <item>
- <label>임프란트</label>
- <value>7</value>
- </item>
- <item>
- <label>구강위생불량</label>
- <value>9</value>
- </item>
- </choices>
- </select>
- <line id="line92" class="line_2" visibility="hidden" style="x1:607px; y1:551px; x2:961px; y2:551px; "/>
- <select id="chk_heardsordkind" ref="/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordkind" disabled="true" visibility="hidden" overflow="visible" appearance="full" cellspacing="15" cols="4" style="left:663px; top:493px; width:290px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>보청기(좌)</label>
- <value>1</value>
- </item>
- <item>
- <label>보청기(우)</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <line id="line91" class="line_1" visibility="hidden" style="x1:613px; y1:595px; x2:967px; y2:595px; "/>
- <line id="line90" class="line_3" visibility="hidden" style="x1:605px; y1:573px; x2:959px; y2:573px; "/>
- <caption id="cap_visdord" class="cell_1" visibility="hidden" style="left:615px; top:391px; width:80px; height:55px; vertical-align:middle; ">시력장애</caption>
- <select id="chk_visdsordkind" ref="/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordkind" disabled="true" visibility="hidden" overflow="visible" appearance="full" cellspacing="15" cols="4" style="left:678px; top:414px; width:290px; 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>
- </select>
- <button id="btn_skinstatadd" class="btn2_letter3" visibility="hidden" style="left:853px; top:575px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_skinstat.addRow();
- ]]>
- </script>
- </button>
- <caption id="cap_tootstat" class="cell_1" visibility="hidden" style="left:620px; top:533px; width:33px; height:40px; vertical-align:middle; ">
- <![CDATA[치아
- 상태]]>
- </caption>
- <input id="ipt_visdsordleft" ref="/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordleft" class="input_default" disabled="true" visibility="hidden" style="left:832px; top:391px; width:50px; height:19px; "/>
- <caption id="caption119" class="tit_2" visibility="hidden" style="left:616px; top:580px; width:64px; height:13px; ">피부계</caption>
- <select id="chk_visdordpos" ref="/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordpos" disabled="true" visibility="hidden" overflow="visible" appearance="full" cellspacing="60" cols="2" style="left:778px; top:394px; width:190px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>좌</label>
- <value>1</value>
- </item>
- <item>
- <label>우</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var visdsordpos = model.getValue("/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordpos") ;
-
- if( visdsordpos == "1") {
- ipt_visdsordleft.disabled = false;
- ipt_visdsordrght.disabled =true;
- model.resetInstanceNode("/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordrght");
- ipt_visdsordrght.refresh();
-
- } else if(visdsordpos == "2") {
- ipt_visdsordrght.disabled = false;
- ipt_visdsordleft.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordleft");
- ipt_visdsordleft.refresh();
-
- } else if(visdsordpos == "1 2" || visdsordpos == "2 1") {
-
- ipt_visdsordrght.disabled = false;
- ipt_visdsordleft.disabled = false;
- } else {
- ipt_visdsordrght.disabled = true;
- ipt_visdsordleft.disabled = true;
-
- model.resetInstanceNode("/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordright");
- model.resetInstanceNode("/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordleft");
-
- ipt_visdsordrght.refresh();
- ipt_visdsordleft.refresh();
-
- }
- ]]>
- </script>
- </select>
- <line id="line89" class="line_1" visibility="hidden" style="x1:607px; y1:528px; x2:961px; y2:528px; "/>
- <select id="chk_heardsordpos" ref="/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordpos" disabled="true" visibility="hidden" overflow="visible" appearance="full" cellspacing="60" cols="2" style="left:778px; top:473px; width:190px; 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/heardsordinfo/heardsord/heardsordpos") == "1") {
- ipt_heardsordleft.disabled = false;
- ipt_heardsordrght.disabled =true;;
- } else if(model.getValue("/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordpos") == "2") {
- ipt_heardsordrght.disabled = false;
- ipt_heardsordleft.disabled = true;
- } else if(model.getValue("/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordpos") == "1 2" ) {
-
- ipt_heardsordrght.disabled = false;
- ipt_heardsordleft.disabled = false;
- } else {
- ipt_heardsordrght.disabled = true;
- ipt_heardsordleft.disabled = true;
-
- model.resetInstanceNode("/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordpos");
- model.resetInstanceNode("/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordleft");
-
- ipt_heardsordrght.refresh();
- ipt_heardsordleft.refresh();
- }
- ]]>
- </script>
- </select>
- <line id="line88" class="line_3" visibility="hidden" style="x1:607px; y1:510px; x2:961px; y2:510px; "/>
- <line id="line22" class="line_3" visibility="hidden" style="x1:615px; y1:446px; x2:969px; y2:446px; "/>
- <select id="chk_skinstatyn" ref="/root/main/wardrecinfo/skinsectinfo/skinsect/skinstatinfoinclyn" navindex="78" visibility="hidden" overflow="visible" appearance="full" style="left:718px; top:577px; 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/skinsectinfo/skinsect/skinstatinfoinclyn")=="1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_skinstat);
-
- var rtn = fSetStatus();
-
- if(rtn == "6") {
- btn_skinstatadd.disabled = true;
- btn_skinstatdel.disabled = true;
- model.removeNodeset("/root/main/wardrecinfo/skinsectinfo/skinsect/skinstat");
- grd_skinstat.rebuild();
- } else if(rtn == "7") {
- model.setValue("/root/main/wardrecinfo/skinsectinfo/skinsect/skinstatinfoinclyn", "");
- chk_skinstatyn.refresh();
- }
-
-
- } else {
- btn_skinstatadd.disabled = false;
- btn_skinstatdel.disabled = false;
- grd_skinstat.addRow();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <input id="ipt_heardsordleft" ref="/root/main/wardrecinfo/heardsordinfo/heardsord/heardsordleft" class="input_default" disabled="true" visibility="hidden" style="left:812px; top:470px; width:50px; height:19px; "/>
- <caption id="caption116" class="tit_2" visibility="hidden" style="left:622px; top:513px; width:104px; height:13px; ">치아상태</caption>
- <line id="line87" class="line_1" visibility="hidden" style="x1:607px; y1:465px; x2:961px; y2:465px; "/>
- <caption id="cap_heardord" class="cell_1" visibility="hidden" style="left:620px; top:470px; width:80px; height:40px; vertical-align:middle; ">청력장애</caption>
- <button id="btn_skinstatdel" class="btn2_letter3" visibility="hidden" style="left:909px; top:575px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_skinstat.deleteRow(grd_skinstat.row);
- ]]>
- </script>
- </button>
- <input id="ipt_visdsordrght" ref="/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordrght" class="input_default" disabled="true" visibility="hidden" style="left:918px; top:391px; width:50px; height:19px; "/>
- <line id="line108" class="line_2" visibility="hidden" style="x1:661px; y1:490px; x2:970px; y2:490px; "/>
- <line id="line86" class="line_2" visibility="hidden" style="x1:606px; y1:489px; x2:942px; y2:489px; "/>
- <line id="line85" class="line_2" visibility="hidden" style="x1:661px; y1:411px; x2:970px; y2:411px; "/>
- <caption id="caption114" class="tit_2" visibility="hidden" style="left:617px; top:450px; width:104px; height:13px; ">청력장애</caption>
- <datagrid id="grd_skinstat" nodeset="/root/main/wardrecinfo/skinsectinfo/skinsect/skinstat" visibility="hidden" caption="부위^방향^증상^목록" colsep="^" colwidth="60, 60, 100, 40" mergecellsfixedrows="bycolrec" rowsep="|" style="left:698px; top:602px; width:270px; height:62px; ">
- <col ref="part"/>
- <col ref="direc"/>
- <col ref="symp"/>
- <col ref="list" style="text-align:center; background-image:../../../com/commonweb/images/icon_search.gif; background-position:center; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetPopupParam("03", "01", "06", "00", "06");
-
- ]]>
- </script>
- </col>
- </datagrid>
- <line id="line95" class="line_3" visibility="hidden" style="x1:615px; y1:364px; x2:969px; y2:364px; "/>
- <select id="chk_blindnesspos" ref="/root/main/wardrecinfo/visdsordinfo/visdsord/visdsordblind" visibility="hidden" overflow="visible" appearance="full" cellspacing="60" cols="2" style="left:683px; top:432px; width:285px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>blindness(좌)</label>
- <value>l</value>
- </item>
- <item>
- <label>blindness(우)</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <line id="line84" class="line_1" visibility="hidden" style="x1:615px; y1:386px; x2:969px; y2:386px; "/>
- <caption id="caption113" class="tit_2" visibility="hidden" style="left:617px; top:371px; width:104px; height:13px; ">시력장애</caption>
- <caption id="cap_skinstat" class="cell_1" visibility="hidden" style="left:615px; top:600px; width:80px; height:64px; vertical-align:middle; ">피부상태</caption>
- <input id="ipt_prg" ref="/root/main/wardrecinfo/prginfo/prg/prgstatweek" class="input_default" visibility="hidden" style="left:798px; top:343px; width:81px; height:19px; "/>
- <select1 id="rdo_prgyn" ref="/root/main/wardrecinfo/prginfo/prg/prgstatyn" visibility="hidden" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:681px; top:346px; width:115px; 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/prginfo/prg/prgstatyn") == "2") {
- ipt_prg.disabled = false;
- } else {
- ipt_prg.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/prginfo/prg/prgstatweek");
- ipt_prg.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption6" visibility="hidden" style="left:881px; top:345px; width:34px; height:19px; text-align:center; ">wks</caption>
- <caption id="caption13" class="tit_2" visibility="hidden" style="left:620px; top:323px; width:104px; height:13px; ">임신여부</caption>
- <caption id="caption98" class="cell_1" visibility="hidden" style="left:615px; top:343px; width:80px; height:21px; vertical-align:middle; ">현재임신여부</caption>
- <line id="line23" class="line_1" visibility="hidden" style="x1:615px; y1:338px; x2:969px; y2:338px; "/>
- <select id="chk_prgchk" ref="/root/main/wardrecinfo/prginfo/prg/prgstatchk" visibility="hidden" overflow="visible" appearance="full" style="left:720px; top:321px; 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/prginfo/prg/prgstatchk") == "1"){
- rdo_prgyn.disabled = true;
- ipt_prg.disabled = true;
- rdo_prgyn.refresh();
- ipt_prg.refresh();
- }else{
- model.makeValue("/root/main/wardrecinfo/prginfo/prg/prgstatyn", "1");
- rdo_prgyn.disabled = false;
- ipt_prg.disabled = true;
- rdo_prgyn.refresh();
- ipt_prg.refresh();
- }
- ]]>
- </script>
- </select>
- <button id="btn_rectmedistatdel" class="btn2_letter3" navindex="70" style="left:916px; top:102px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rectmedistat.deleteRow(grd_rectmedistat.row);
- ]]>
- </script>
- </button>
- <caption id="cap_pasthist" class="tit_2" style="left:620px; 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:719px; 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>
- <datagrid id="grd_pasthist" nodeset="/root/main/histinfo/pasthistinfo/pasthist/pasthist" scroll="auto" caption="발생일자^병력내역^비고" colsep="^" colwidth="85, 155, 90" mergecellsfixedrows="bycolrec" rowsep="|" style="left:615px; top:30px; width:354px; height:71px; ">
- <col ref="genrdd" type="inputdate"/>
- <col class="gridcombo" ref="histspec" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0532">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remfact" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pasthist.colType(grd_pasthist.col) == "input") {
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
-
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line24" class="line_1" style="x1:615px; y1:243px; x2:969px; y2:243px; "/>
- <datagrid id="grd_ophist" nodeset="/root/main/histinfo/ophistinfo/ophist/ophist" scroll="auto" caption="수술일자^수술명^진료기관^ophistpk" colsep="^" colwidth="85, 156, 90, 65" mergecellsfixedrows="bycolrec" rowsep="|" style="left:615px; top:248px; width:354px; height:71px; ">
- <col ref="opdd" type="inputdate"/>
- <col ref="opnm" type="input"/>
- <col ref="orddept" type="input"/>
- <col ref="ophistpk" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_ophist.colType(grd_ophist.col) == "input") {
- grd_ophist.editCell();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_ophist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line26" class="line_1" style="x1:615px; y1:122px; x2:969px; y2:122px; "/>
- <caption id="cap_ophist" class="tit_2" style="left:620px; top:228px; width:104px; height:13px; ">수술이력</caption>
- <select id="chk_ophistinclyn" ref="/root/main/histinfo/ophistinfo/ophist/ophistinclyn" navindex="65" overflow="visible" appearance="full" style="left:720px; top:225px; 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;
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn", "");
- chk_ophistinclyn.refresh();
- }
-
- } else {
- btn_ophistadd.disabled = false;
- btn_ophistdel.disabled = false;
- grd_ophist.addRow();
- }
- ]]>
- </script>
- </select>
- <button id="btn_rectmedistatadd" class="btn2_letter3" navindex="69" style="left:860px; top:102px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rectmedistat.addRow();
- ]]>
- </script>
- </button>
- <button id="btn_ophistdel" class="btn2_letter3" navindex="67" style="left:917px; top:223px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ophist.deleteRow(grd_ophist.row);
- ]]>
- </script>
- </button>
- <caption id="cap_rectmedistat" class="tit_2" style="left:619px; top:107px; 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:720px; top:104px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
-
- var rtn = fSetStatus();
-
- if(rtn == "6") {
- model.removeNodeset("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat");
- grd_rectmedistat.rebuild();
- btn_rectmedistatadd.disabled = true;
- btn_rectmedistatdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn", "");
- chk_rectmedistatinclyn.refresh();
- }
-
- } else {
- btn_rectmedistatadd.disabled = false;
- btn_rectmedistatdel.disabled = false;
- grd_rectmedistat.addRow();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <line id="line19" class="line_1" style="x1:615px; y1:25px; x2:969px; y2:25px; "/>
- <button id="btn_pasthistadd" class="btn2_letter3" navindex="57" style="left:860px; 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:916px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_pasthist.deleteRow(grd_pasthist.row);
- ]]>
- </script>
- </button>
- <datagrid id="grd_rectmedistat" nodeset="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistat" scroll="auto" caption="약명^복용법(용도/용량/용법)^진료기관" colsep="^" colwidth="70, 170, 90" mergecellsfixedrows="bycolrec" rowsep="|" style="left:615px; top:151px; width:354px; 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>
- <button id="btn_ophistadd" class="btn2_letter3" navindex="66" style="left:861px; top:223px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ophist.addRow();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:5px; y1:453px; x2:276px; y2:453px; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:438px; width:104px; height:13px; ">환자기본정보</caption>
- <line id="line33" class="line_1" style="x1:615px; y1:338px; x2:969px; y2:338px; "/>
- <caption id="caption42" class="tit_2" style="left:620px; top:323px; width:104px; height:13px; ">흡연력</caption>
- <select1 id="cmb_inacompstcd" ref="/root/main/wardrecinfo/inacompstcd" class="combo_default" navindex="16" appearance="minimal" style="left:165px; top:507px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>부모</label>
- <value>1</value>
- </item>
- <item>
- <label>배우자</label>
- <value>2</value>
- </item>
- <item>
- <label>자녀</label>
- <value>3</value>
- </item>
- <item>
- <label>친구</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/wardrecinfo/inacompstcd") == "5"){
- ipt_inacompst.disabled = false;
- }else{
- ipt_inacompst.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/inacompstnm");
- }
- ipt_inacompst.refresh();
- ]]>
- </script>
- </select1>
- <line id="line36" class="line_3" style="x1:615px; y1:431px; x2:969px; y2:431px; "/>
- <caption id="caption4" class="cell_1" style="left:615px; top:127px; width:215px; height:23px; ">병원도착전 24시간내 항생제 투약여부</caption>
- <select1 id="cmb_antibiodrugyn" ref="/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/antibiodrugyn" class="combo_default" navindex="16" appearance="minimal" style="left:833px; top:129px; width:135px; 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:698px; top:409px; width:270px; 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:771px; top:385px; width:197px; 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="5" cols="2" overflow="visible" style="left:696px; top:387px; width:72px; 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/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:614px; y1:382px; x2:968px; y2:382px; "/>
- <caption id="cap_smokinfo" class="cell_1" style="left:615px; top:343px; width:79px; height:38px; text-align:left; ">흡연정보</caption>
- <line id="line45" class="line_2" style="x1:614px; y1:408px; x2:968px; y2:408px; "/>
- <caption id="caption5" class="cell_1" style="left:615px; top:382px; width:79px; height:49px; ">금연상담여부</caption>
- <caption id="caption9" class="cell_1" style="left:5px; top:482px; width:85px; height:23px; ">기타 전화번호</caption>
- <input id="input1" ref="/root/main/wardrecinfo/tel" style="left:93px; top:459px; width:87px; height:19px; "/>
- <input id="input2" ref="/root/main/wardrecinfo/mphone" style="left:185px; top:459px; width:90px; height:19px; "/>
- <input id="input3" ref="/root/main/wardrecinfo/etcphone1" style="left:93px; top:483px; width:87px; height:19px; "/>
- <input id="input4" ref="/root/main/wardrecinfo/etcphone2" style="left:185px; top:483px; width:90px; height:19px; "/>
- <line id="line35" class="line_3" style="x1:5px; y1:527px; x2:276px; y2:527px; "/>
- <caption id="caption11" class="cell_1" style="left:5px; top:458px; width:85px; height:23px; ">연락처/휴대폰</caption>
- <caption id="caption7" class="cell_1" style="left:5px; top:506px; width:85px; height:21px; vertical-align:middle; ">입원시동반자</caption>
- <select1 id="rdo_inacompstyn" ref="/root/main/wardrecinfo/inacompstyn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:94px; top:510px; width:66px; 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/inacompstyn") == "2") {
- cmb_inacompstcd.disabled = false;
- ipt_inacompst.disabled = true;
- cmb_inacompstcd.refresh();
- ipt_inacompst.refresh();
-
- } else {
- cmb_inacompstcd.disabled = true;
- ipt_inacompst.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/inacompstcd");
- model.resetInstanceNode("/root/main/wardrecinfo/inacompstnm");
- cmb_inacompstcd.refresh();
- ipt_inacompst.refresh();
-
- }
- ]]>
- </script>
- </select1>
- <line id="line2" class="line_1" style="x1:5px; y1:551px; x2:276px; y2:551px; "/>
- <caption id="caption62" class="tit_2" style="left:10px; top:10px; width:100px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">Triage 기록</caption>
- <line id="line11" class="line_1" style="x1:5px; y1:25px; x2:612px; y2:25px; "/>
- <input id="ipt_inacompst" ref="/root/main/wardrecinfo/inacompstnm" style="left:219px; top:507px; width:56px; height:19px; "/>
- <line id="line3" class="line_3" style="x1:5px; y1:380px; x2:210px; y2:380px; "/>
- <caption id="cap_uncnfm" style="left:301px; top:4px; width:114px; height:20px; font-weight:bold; ">* Triage Level :</caption>
- <input id="caption28" ref="/root/main/wardrecinfo/serdiagflag" appearance="input" style="left:415px; top:4px; width:57px; height:19px; font-family:돋움; "/>
- <select1 id="cmb_injmechflag" ref="/root/main/wardrecinfo/injmechflag" appearance="minimal" style="left:93px; top:384px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0122">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("cmb_chospathflag");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_pain" ref="/root/main/wardrecinfo/painflag" appearance="minimal" style="left:93px; top:216px; width:117px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- <!--itemset nodeset="/root/init/mlist/M0126">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset-->
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("ipt_highbp");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_choswayflag" ref="/root/main/wardrecinfo/choswayflag" appearance="minimal" style="left:93px; top:309px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0119">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("cmb_chosresnflag");
- ]]>
- </script>
- </select1>
- <input id="ipt_mntpulsecnt" ref="/root/main/wardrecinfo/mntpulsecnt" navindex="10" maxlength="3" style="left:93px; top:262px; width:117px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("ipt_mntbrethcnt");
- ]]>
- </script>
- </input>
- <button id="button4" class="btn2_letter4" visibility="hidden" style="left:413px; top:153px; width:64px; height:19px; ">
- <caption>중증응급</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/temp/cond/list/pid");
- var indd = model.getValue("/root/temp/cond/list/indd");
- var cretno = model.getValue("/root/temp/cond/list/cretno");
- var hngnm = model.getValue("/root/temp/cond/list/hngnm");
- if(pid == "" || indd == "" || cretno == "" || hngnm == ""){
- return;
- }
- setParameter("SPMNE04600_pid", pid);
- setParameter("SPMNE04600_indd", indd);
- setParameter("SPMNE04600_cretno", cretno);
- setParameter("SPMNE04600_hngnm", hngnm);
- open("SPMNE04600");
- ]]>
- </script>
- </button>
- <caption id="caption30" class="cell_1" style="left:5px; top:127px; width:85px; height:23px; vertical-align:middle; ">초진진료일자</caption>
- <select1 id="cmb_chospathflag" ref="/root/main/wardrecinfo/chospathflag" appearance="minimal" style="left:93px; top:407px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0118">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("chk_acdownflag");
- ]]>
- </script>
- </select1>
- <button id="button5" class="btn2_letter2" style="left:368px; top:153px; width:42px; height:19px; ">
- <caption>미상</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/wardrecinfo/attackdd", "00000000");
- model.setValue("/root/main/wardrecinfo/attacktm", "0000");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_highbp" ref="/root/main/wardrecinfo/highbp" navindex="8" maxlength="3" style="left:93px; top:238px; width:117px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("ipt_lowbp");
- ]]>
- </script>
- </input>
- <caption id="caption31" class="cell_1" style="left:215px; top:127px; width:80px; height:23px; vertical-align:middle; ">초진진료시간</caption>
- <caption id="caption20" class="cell_1" style="left:215px; top:151px; width:80px; height:23px; vertical-align:middle; ">발병시간</caption>
- <input id="ipt_mntbrethcnt" ref="/root/main/wardrecinfo/mntbrethcnt" navindex="11" maxlength="2" style="left:298px; top:263px; width:107px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("ipt_chosbdtp");
- ]]>
- </script>
- </input>
- <input id="input11" ref="/root/main/wardrecinfo/mainsympcd" disabled="true" visibility="hidden" style="left:417px; top:33px; width:100px; height:19px; "/>
- <button id="btn_prcpclsnm" class="icon_search" style="left:398px; top:34px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- modal("SPMMO06200");
- var chUseYN = getParameter("SPMMO06200_rtn_useyn");
- if(chUseYN == "Y"){
- var sRtnUMLSCC = getParameter("SPMMO06200_rtn_umlscclist");
- var sRtnVal = sRtnUMLSCC.split("▦");
- model.setValue("/root/main/wardrecinfo/mainsympcd" , sRtnVal[0]);
- model.setValue("/root/main/wardrecinfo/mainsympcdno", sRtnVal[1]);
- model.setValue("/root/main/wardrecinfo/mainsympnm" , sRtnVal[4]);
- }
- model.refresh();
- */
- //messageBox("당분간 주증상을 변경하실수 없습니다.", "I");
- //return;
-
- modal("SPMRF04200");
- setParameter("SPMRF04200_param_nodepath", "");
- model.setValue("/root/main/wardrecinfo/mainsympcd" , model.getValue("/root/temp/selectdiaglist/umlscd"));
- model.setValue("/root/main/wardrecinfo/mainsympcdno", 0);
- model.setValue("/root/main/wardrecinfo/mainsympnm" , model.getValue("/root/temp/selectdiaglist/termengnm"));
-
- model.makeValue("/root/temp/selectdiaglist/umlscd", "");
- model.makeValue("/root/temp/selectdiaglist/termengnm", "");
-
- //상단정보 재조회
- model.makeNode("/root/temp/cond/list");
- getPatientInfoDetails("/root/temp/cond/list");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption21" class="cell_1" style="left:5px; top:357px; width:85px; height:23px; vertical-align:middle; ">의도성여부</caption>
- <caption id="caption2" class="cell_1" style="left:5px; top:175px; width:85px; height:23px; vertical-align:middle; ">의식</caption>
- <input id="ipt_attacktm" ref="/root/main/wardrecinfo/attacktm" autonext="false" format="hh:nn" style="left:298px; top:153px; width:67px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("cmb_cscs");
- ]]>
- </script>
- </input>
- <caption id="caption22" class="cell_1" style="left:5px; top:382px; width:85px; height:23px; vertical-align:middle; ">손상기전</caption>
- <caption id="caption3" class="cell_1" style="left:5px; top:236px; width:85px; height:23px; vertical-align:middle; ">수축기혈압</caption>
- <caption id="caption12" class="cell_1" style="left:5px; top:406px; width:85px; height:23px; vertical-align:middle; ">내원경로</caption>
- <caption id="caption14" class="cell_1" style="left:5px; top:260px; width:85px; height:23px; vertical-align:middle; ">분당맥박수</caption>
- <button id="btn_curtime" class="btn2_letter4" style="left:368px; top:129px; width:64px; height:19px; ">
- <caption>현재시간</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/wardrecinfo/fstexamorddd", getCurrentDate());
- model.setValue("/root/main/wardrecinfo/fstexamordtm", getCurrentTime().substring(0,4));
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_chosresnflag" ref="/root/main/wardrecinfo/chosresnflag" appearance="minimal" style="left:93px; top:335px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0120">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("cmb_intenflag");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngChosResnFlag();
- ]]>
- </script>
- </select1>
- <input id="ipt_lowbp" ref="/root/main/wardrecinfo/lowbp" navindex="9" maxlength="3" style="left:298px; top:238px; width:107px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("ipt_mntpulsecnt");
- ]]>
- </script>
- </input>
- <select1 id="cmb_cscs" ref="/root/main/wardrecinfo/cscsflag" appearance="minimal" style="left:93px; top:176px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0117">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("cmb_pain");
- ]]>
- </script>
- </select1>
- <input id="ipt_mainsynm" ref="/root/main/wardrecinfo/mainsympnm" disabled="true" style="left:93px; top:32px; width:302px; height:19px; "/>
- <caption id="caption15" class="cell_1" style="left:5px; top:308px; width:85px; height:23px; vertical-align:middle; ">내원수단</caption>
- <caption id="caption16" class="cell_1" style="left:5px; top:284px; width:85px; height:23px; vertical-align:middle; ">내원시 체온</caption>
- <caption id="caption17" class="cell_1" style="left:5px; top:333px; width:85px; height:23px; vertical-align:middle; ">내원사유</caption>
- <caption id="caption29" class="cell_1" style="left:5px; top:199px; width:85px; height:36px; vertical-align:middle; ">통증</caption>
- <input id="ipt_chosbdtp" ref="/root/main/wardrecinfo/chosbdtp" navindex="12" style="left:93px; top:286px; width:117px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("ipt_oxyconcen");
- ]]>
- </script>
- </input>
- <input id="input5" ref="/root/main/wardrecinfo/mainsympcdno" disabled="true" visibility="hidden" style="left:519px; top:33px; width:89px; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:215px; top:236px; width:80px; height:23px; vertical-align:middle; ">이완기혈압</caption>
- <caption id="caption33" class="cell_1" style="left:5px; top:31px; width:85px; height:23px; vertical-align:middle; ">주증상</caption>
- <input id="ipt_attackdd" ref="/root/main/wardrecinfo/attackdd" class="input" inputtype="date" style="left:93px; top:152px; width:117px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("ipt_attacktm");
- ]]>
- </script>
- </input>
- <caption id="caption34" class="cell_1" style="left:215px; top:260px; width:80px; height:23px; vertical-align:middle; ">분당호흡수</caption>
- <caption id="caption35" class="cell_1" style="left:5px; top:151px; width:85px; height:23px; vertical-align:middle; ">발병일자</caption>
- <input id="input7" ref="/root/main/wardrecinfo/fstexamorddd" inputtype="date" style="left:93px; top:128px; width:117px; height:19px; "/>
- <input id="ipt_oxyconcen" ref="/root/main/wardrecinfo/oxyconcen" navindex="13" style="left:298px; top:286px; width:107px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("cmb_choswayflag");
- ]]>
- </script>
- </input>
- <caption id="caption36" class="cell_1" style="left:215px; top:284px; width:80px; height:23px; vertical-align:middle; ">산소포화도</caption>
- <input id="input8" ref="/root/main/wardrecinfo/fstexamordtm" autonext="false" format="hh:nn" style="left:298px; top:129px; width:67px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("cmb_cscs");
- ]]>
- </script>
- </input>
- <select1 id="cmb_intenflag" ref="/root/main/wardrecinfo/intenflag" appearance="minimal" style="left:93px; top:359px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0121">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fNextMoveCtrl("cmb_injmechflag");
- ]]>
- </script>
- </select1>
- <button id="btn_ophistpop" class="icon_search" style="left:840px; top:225px; 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>
- <select1 id="rdo_smokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn" navindex="33" appearance="full" cols="2" rows="2" vcellspacing="2" overflow="visible" style="left:695px; top:343px; width:133px; 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>
- <input id="ipt_smokinfocnt" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt" disabled="true" navindex="41" visibility="hidden" style="left:856px; top:318px; width:110px; height:19px; "/>
- <button id="button14" class="btn2_letter6" style="left:408px; top:238px; width:86px; height:19px; ">
- <caption>측정하지 않음</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/wardrecinfo/highbp", "-");
- model.setValue("/root/main/wardrecinfo/lowbp", "-");
- model.setValue("/root/main/wardrecinfo/mntpulsecnt", "-");
- model.setValue("/root/main/wardrecinfo/mntbrethcnt", "-");
- model.setValue("/root/main/wardrecinfo/chosbdtp", "-");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_lnkTriage" class="btn2_letter8" style="left:504px; top:5px; width:108px; height:19px; ">
- <caption>Triage 기록 연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- sSrchHistCd = "D";
- var pid = model.getValue("/root/temp/cond/list/pid");
- var indd = model.getValue("/root/temp/cond/list/indd");
- var cretno = model.getValue("/root/temp/cond/list/cretno");
- var instcd = model.getValue("/root/temp/cond/list/instcd");
- var orddeptcd = model.getValue("/root/temp/cond/list/orddeptcd");
-
- model.makeValue("/root/send/req/pid", pid);
- model.makeValue("/root/send/req/indd", indd);
- model.makeValue("/root/send/req/cretno", cretno);
- model.makeValue("/root/send/req/instcd", instcd);
- model.makeValue("/root/send/req/recflag", "10");
- model.makeValue("/root/send/req/docucode", "0800000290");
- model.makeValue("/root/send/req/deptcd", orddeptcd);
-
- fAlertTriageChng();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="icon_search" style="left:398px; top:58px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMRF04200");
- setParameter("SPMRF04200_param_nodepath", "");
- model.makeValue("/root/main/wardrecinfo/mainsympcd1" , model.getValue("/root/temp/selectdiaglist/umlscd"));
- model.makeValue("/root/main/wardrecinfo/mainsympcdno1", 0);
- model.makeValue("/root/main/wardrecinfo/mainsympnm1" , model.getValue("/root/temp/selectdiaglist/termengnm"));
-
- model.makeValue("/root/temp/selectdiaglist/umlscd", "");
- model.makeValue("/root/temp/selectdiaglist/termengnm", "");
-
- //상단정보 재조회
- model.makeNode("/root/temp/cond/list");
- getPatientInfoDetails("/root/temp/cond/list");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption38" class="cell_1" style="left:5px; top:55px; width:85px; height:23px; vertical-align:middle; ">주증상1</caption>
- <input id="ipt_mainsympnm1" ref="/root/main/wardrecinfo/mainsympnm1" disabled="true" style="left:93px; top:56px; width:302px; height:19px; "/>
- <button id="button2" class="icon_search" style="left:398px; top:82px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMRF04200");
- setParameter("SPMRF04200_param_nodepath", "");
- model.makeValue("/root/main/wardrecinfo/mainsympcd2" , model.getValue("/root/temp/selectdiaglist/umlscd"));
- model.makeValue("/root/main/wardrecinfo/mainsympcdno2", 0);
- model.makeValue("/root/main/wardrecinfo/mainsympnm2" , model.getValue("/root/temp/selectdiaglist/termengnm"));
-
- model.makeValue("/root/temp/selectdiaglist/umlscd", "");
- model.makeValue("/root/temp/selectdiaglist/termengnm", "");
-
- //상단정보 재조회
- model.makeNode("/root/temp/cond/list");
- getPatientInfoDetails("/root/temp/cond/list");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption39" class="cell_1" style="left:5px; top:79px; width:85px; height:23px; vertical-align:middle; ">주증상2</caption>
- <input id="ipt_mainsympnm2" ref="/root/main/wardrecinfo/mainsympnm2" disabled="true" style="left:93px; top:80px; width:302px; height:19px; ">ㄴ</input>
- <input id="ipt_etcsymp" ref="/root/main/wardrecinfo/etcsymp" style="left:93px; top:104px; width:302px; height:19px; "/>
- <caption id="caption40" class="cell_1" style="left:5px; top:103px; width:85px; height:23px; vertical-align:middle; ">기타증상</caption>
- <select id="chk_chosgenrcmt1" ref="/root/main/wardrecinfo/choseduinfo/chosedu/chosgenrcmt1" navindex="70" overflow="visible" appearance="full" cellspacing="1" cols="1" vcellspacing="3" style="left:347px; top:463px; width:264px; height:25px; border-style:none; ">
- <choices>
- <item>
- <label>내용 :</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="chk_bedsoreprvn" ref="/root/main/wardrecinfo/choseduinfo/chosedu/bedsoreprvn" overflow="visible" appearance="full" cols="4" style="left:347px; top:582px; width:263px; height:13px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/codeinfo/codeinfo/codelist[cdgrupid ='187']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- <!--item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- <item>
- <label>무</label>
- <value>9</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- <item>
- <label>발생가능성 있음</label>
- <value>4</value>
- </item>
- <item>
- <label>교육자료 제공</label>
- <value>3</value>
- </item-->
- </choices>
- </select>
- <select id="chk_chosgenrcmt2" ref="/root/main/wardrecinfo/choseduinfo/chosedu/chosgenrcmt2" navindex="70" overflow="visible" appearance="full" cols="2" vcellspacing="3" style="left:347px; top:488px; width:264px; height:60px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- <item>
- <label>교육실시</label>
- <value>2</value>
- </item>
- <item>
- <label>안내자료배부</label>
- <value>3</value>
- </item>
- <item>
- <label>설명거부</label>
- <value>4</value>
- </item>
- <item>
- <label>설명할 수 없는 상태/보호자 부재</label>
- <value>5</value>
- </item>
- </choices>
- </select>
- <select id="chk_edutrgt" ref="/root/main/wardrecinfo/choseduinfo/chosedu/edutrgt" overflow="visible" appearance="full" cellspacing="44" cols="2" style="left:347px; top:606px; width:172px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>환자</label>
- <value>1</value>
- </item>
- <item>
- <label>보호자</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <caption id="caption10" class="cell_1" style="left:277px; top:458px; width:68px; height:95px; vertical-align:middle; ">일반사항</caption>
- <caption id="chosgenrcmt11" style="left:402px; top:458px; width:199px; height:35px; font-family:돋움; ">접수안내/도난방지/보호자1인상주/핸드폰사용제한/화재예방(O2주의)</caption>
- <caption id="caption24" class="cell_1" style="left:277px; top:602px; width:68px; height:23px; vertical-align:middle; ">교육대상자</caption>
- <caption id="caption26" class="cell_1" style="left:277px; top:578px; width:68px; height:23px; vertical-align:middle; ">욕창 예방</caption>
- <caption id="caption8" class="tit_2" style="left:277px; top:438px; width:104px; height:13px; ">내원시 교육</caption>
- <line id="line5" class="line_1" style="x1:277px; y1:453px; x2:613px; y2:453px; "/>
- <select id="chk_acdownflag" ref="/root/main/wardrecinfo/acdownflag" overflow="visible" appearance="full" style="left:503px; top:316px; width:107px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>교통사고당사자</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(chk_acdownflag.value == "Y"){
- rdo_acdowndetailflag.disabled = false;
- chk_proceqmtflag.disabled = false;
- }else{
- rdo_acdowndetailflag.value = "";
- rdo_acdowndetailflag.disabled = true;
- chk_proceqmtflag.value = "";
- chk_proceqmtflag.disabled = true;
- }
- ]]>
- </script>
- </select>
- <caption id="caption41" class="tit_2" style="left:277px; top:316px; width:80px; height:13px; vertical-align:middle; ">보호장구</caption>
- <select id="chk_proceqmtflag" ref="/root/main/wardrecinfo/proceqmtflag" overflow="visible" appearance="full" cellspacing="15" cols="3" rows="3" sep="|" vcellspacing="8" style="left:278px; top:358px; width:332px; height:65px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0125">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <select1 id="rdo_acdowndetailflag" ref="/root/main/wardrecinfo/acdowndetailflag" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:278px; top:340px; width:332px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>보행자</label>
- <value>1</value>
- </item>
- <item>
- <label>운전자</label>
- <value>2</value>
- </item>
- <item>
- <label>승객</label>
- <value>3</value>
- </item>
- <item>
- <label>기타</label>
- <value>4</value>
- </item>
- <item>
- <label>미상</label>
- <value>9</value>
- </item>
- </choices>
- </select1>
- <line id="line4" class="line_3" style="x1:5px; y1:429px; x2:611px; y2:429px; "/>
- <line id="line10" class="line_1" style="x1:277px; y1:333px; x2:613px; y2:333px; "/>
- <line id="line12" class="line_2" style="x1:277px; y1:552px; x2:613px; y2:552px; "/>
- <line id="line13" class="line_2" style="x1:277px; y1:578px; x2:613px; y2:578px; "/>
- <line id="line14" class="line_2" style="x1:277px; y1:600px; x2:613px; y2:600px; "/>
- <caption id="caption43" class="tit_2" style="left:620px; top:440px; width:94px; height:13px; ">기타사항</caption>
- <line id="line15" class="line_1" style="x1:615px; y1:455px; x2:969px; y2:455px; "/>
- <textarea id="txt_etcfact" ref="/root/main/wardrecinfo/etcfact" maxlength="1000" style="left:615px; top:460px; width:354px; height:127px; "/>
- <input id="ipt_mainsympcd1" ref="/root/main/wardrecinfo/mainsympcd1" disabled="true" visibility="hidden" style="left:417px; top:58px; width:100px; height:19px; "/>
- <input id="ipt_mainsympcdno1" ref="/root/main/wardrecinfo/mainsympcdno1" disabled="true" visibility="hidden" style="left:519px; top:58px; width:89px; height:19px; "/>
- <input id="ipt_mainsympcd2" ref="/root/main/wardrecinfo/mainsympcd2" disabled="true" visibility="hidden" style="left:417px; top:83px; width:100px; height:19px; "/>
- <input id="ipt_mainsympcdno2" ref="/root/main/wardrecinfo/mainsympcdno2" disabled="true" visibility="hidden" style="left:519px; top:83px; width:89px; height:19px; "/>
- <select1 id="rdo_painflag1" ref="/root/main/wardrecinfo/painflag1" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:93px; top:200px; width:492px; height:15px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/codeinfo/codeinfo/codelist[cdgrupid ='114' and supcdid='-']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var painflag1= rdo_painflag1.value;//model.getValue("/root/main/ertriage/ertriage/painflag1");
- //model.setValue("/root/main/wardrecinfo/painflag","");
- if ( !isNull(painflag1) && painflag1 != "-" ){
- cmb_pain.choices.itemset.attribute("nodeset") = "/root/codeinfo/codeinfo/codelist[cdgrupid ='114' and supcdid='"+ painflag1 +"']";
- }
-
- cmb_pain.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_SPMMO14900" class="btn5_letter4" navindex="69" visibility="hidden" style="left:793px; top:102px; width:64px; height:19px; ">
- <caption>처방조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMMO14900");
- ]]>
- </script>
- </button>
- <group id="grp_weight" visibility="hidden" style="left:408px; top:284px; width:116px; height:26px; ">
- <caption id="cap_bdwt" class="cell_1" style="left:0px; top:0px; width:35px; height:23px; ">체중</caption>
- <input id="ipt_bdwt" ref="/root/main/wardrecinfo/bdwt" format="#.#" style="left:38px; top:2px; width:40px; height:19px; "/>
- <caption id="caption44" class="output_fix" style="left:79px; top:2px; width:33px; height:19px; text-align:center; ">Kg</caption>
- </group>
- <select1 id="rdo_bfsmokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/bfsmokinfoyn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:893px; top:365px; 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="caption45" style="left:833px; top:365px; width:60px; height:15px; ">흡연여부 :</caption>
- <caption id="caption46" style="left:824px; top:343px; width:13px; height:19px; text-align:center; ">(</caption>
- <caption id="caption47" style="left:958px; top:365px; width:13px; height:19px; text-align:center; ">)</caption>
- <caption id="caption48" style="left:835px; top:343px; width:95px; height:20px; ">입원전1개월이내</caption>
- <caption id="caption19" class="cell_1" style="left:277px; top:554px; width:68px; height:23px; vertical-align:middle; ">
- <![CDATA[낙상고위험]]>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- grp_fallriskscreening.visible = true;
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- grp_fallriskscreening.visible = false;
- ]]>
- </script>
- </caption>
- <select1 id="rdo_fallhighriskflag" ref="/root/main/wardrecinfo/choseduinfo/chosedu/fallhighriskflag" appearance="full" cellspacing="3" cols="5" overflow="visible" style="left:348px; top:557px; width:58px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption37" class="cell_1" style="left:411px; top:553px; width:80px; height:23px; vertical-align:middle; ">낙상예방활동</caption>
- <select1 id="rdo_fallpreventactflag" ref="/root/main/wardrecinfo/choseduinfo/chosedu/fallpreventactflag" appearance="full" cellspacing="3" cols="5" overflow="visible" style="left:494px; top:558px; width:118px; height:15px; border-style:none; ">
- <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>
- <line id="line7" class="line_2" style="x1:277px; y1:625px; x2:613px; y2:625px; "/>
- <group id="grp_fallriskscreening" visibility="hidden" style="left:277px; top:366px; width:370px; height:185px; ">
- <caption id="caption56" class="cell_1" style="left:1px; top:138px; width:368px; height:46px; vertical-align:middle; "/>
- <caption id="caption55" class="cell_1" style="left:0px; top:1px; width:369px; height:24px; vertical-align:middle; "/>
- <caption id="capnrs21" navindex="43" visibility="visible" disabled="true" appearance="caption" style="left:15px; top:25px; width:352px; height:30px; ">1. 환자는 상해나 질병으로 걸을 수 없거나 도움이 필요합니까?</caption>
- <caption id="caption49" navindex="43" visibility="visible" disabled="true" appearance="caption" style="left:15px; top:50px; width:350px; height:30px; ">2. 신체 균형에 영향을 줄 수 있는 내과적 문제나 신체적 장애와</caption>
- <caption id="caption50" navindex="43" visibility="visible" disabled="true" appearance="caption" style="left:24px; top:88px; width:275px; height:30px; ">(예를 들면, 변화된 의식 수준, 당뇨병, 신경결함)</caption>
- <caption id="caption51" navindex="43" visibility="visible" disabled="true" appearance="caption" style="left:15px; top:111px; width:352px; height:30px; ">3. 환자는 경련의 증상이 있습니까?</caption>
- <caption id="caption52" navindex="43" visibility="visible" disabled="true" appearance="caption" style="left:7px; top:145px; width:353px; height:30px; text-align:center; ">
- <![CDATA[한 개 문항이상 해당되면 낙상 고위험 환자로 간주하고
- 고위험 환자의 낙상 예방 활동을 시행]]>
- </caption>
- <caption id="caption53" navindex="43" visibility="visible" disabled="true" appearance="caption" style="left:45px; top:0px; width:280px; height:30px; font-weight:bold; text-align:center; ">응급의료센터 환자 낙상위험 Screening</caption>
- <caption id="caption54" navindex="43" visibility="visible" disabled="true" appearance="caption" style="left:29px; top:69px; width:275px; height:30px; ">관련된 주증상이 있습니까?</caption>
- <shape id="rectangle1" appearance="rectangle" style="left:0px; top:0px; width:370px; height:185px; "/>
- <line id="line17" style="x1:0px; y1:25px; x2:369px; y2:25px; "/>
- <line id="line16" style="x1:0px; y1:138px; x2:369px; y2:138px; "/>
- </group>
- <line id="line6" class="line_3" style="x1:277px; y1:625px; x2:613px; y2:625px; "/>
- <input id="input6" ref="/root/main/wardrecinfo/initvsdd" inputtype="date" style="left:298px; top:177px; width:117px; height:19px; "/>
- <input id="input9" ref="/root/main/wardrecinfo/initvstm" autonext="false" format="hh:nn" style="left:503px; top:178px; width:67px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:215px; top:175px; width:80px; height:23px; vertical-align:middle; ">init V/S일자</caption>
- <caption id="caption57" class="cell_1" style="left:420px; top:175px; width:80px; height:23px; vertical-align:middle; ">init V/S시간</caption>
- </xhtml:body>
- </xhtml:html>
|