123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNW07600" position="absolute 0 0 1194 673" titletext="Untitle" oninit="SMMNW07600_oninit" onload="SMMNW07600_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 400 30 791 80" id="grp_basebdinfo">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 43 391 49" linetype="vertical" id="line20" class="line_2"/>
- <Static text="회/분" position="absolute 335 5 388 24" align="align:center middle;" id="caption30" visible="false"/>
- <MaskEdit position="absolute 63 1 113 20" align="align:center middle;" id="ipt_highbp" taborder="23" visible="false" mask="9#.#" onkillfocus="grp_basebdinfo_ipt_highbp_onkillfocus"/>
- <MaskEdit position="absolute 116 1 166 20" align="align:center middle;" id="ipt_lowbp" taborder="24" visible="false" mask="9#.#" onkillfocus="grp_basebdinfo_ipt_lowbp_onkillfocus"/>
- <MaskEdit position="absolute 63 25 166 44" align="align:center middle;" id="ipt_pulse" taborder="25" visible="false" mask="999" onkillfocus="grp_basebdinfo_ipt_pulse_onkillfocus"/>
- <MaskEdit position="absolute 228 3 331 22" align="align:center middle;" id="ipt_breth" taborder="26" visible="false" mask="99" onkillfocus="grp_basebdinfo_ipt_breth_onkillfocus"/>
- <MaskEdit position="absolute 228 25 278 44" align="align:center middle;" id="ipt_bdtp" taborder="27" visible="false" mask="9#.#"/>
- <Combo position="absolute 281 25 331 44" id="cmb_bdtp" class="combo_default" taborder="28" visible="false" innerdataset="ds_init_cmb_bdtp" datacolumn="cdnm" codecolumn="cdid"/>
- <Shape position="absolute 0 19 391 25" linetype="vertical" id="line15" class="line_2"/>
- <Static text="mmHg" position="absolute 170 0 223 19" align="align:center middle;" id="caption26" visible="false"/>
- <Static text="℃" position="absolute 335 25 388 44" align="align:center middle;" id="caption38" visible="false"/>
- <Static text="회/분" position="absolute 170 25 223 44" align="align:center middle;" id="caption28" visible="false"/>
- <Static text=".... 혈압" position="absolute 0 0 60 23" id="caption17" class="cell_1" visible="false"/>
- <Static text=".... 맥박" position="absolute 0 24 60 47" id="caption18" class="cell_1" visible="false"/>
- <Static text=".... 호흡" position="absolute 165 5 225 28" id="caption19" class="cell_1" visible="false"/>
- <Static text=".... 체온" position="absolute 165 24 225 47" id="caption20" class="cell_1" visible="false"/>
- <Shape position="absolute 0 44 391 50" linetype="horizontal" id="line29" class="line_3"/>
- <CheckBox position="absolute 5 4 20 19" id="chk_bpinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_bpinspyn_onchanged" truevalue="Y"/>
- <CheckBox position="absolute 5 28 20 43" id="chk_pulseinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_pulseinspyn_onchanged" truevalue="Y"/>
- <CheckBox position="absolute 170 5 185 20" id="chk_brethinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_brethinspyn_onchanged" truevalue="Y"/>
- <CheckBox position="absolute 170 28 185 43" id="chk_bdtpinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_bdtpinspyn_onchanged" truevalue="Y"/>
- <Static text=".... 신장" position="absolute 0 1 60 24" id="cap_bdht" class="cell_1"/>
- <Static text=".... 체중" position="absolute 0 24 60 47" id="cap_bdwt" class="cell_1"/>
- <Static text="... SpO2" position="absolute 196 1 256 24" id="caption2" class="cell_1"/>
- <CheckBox position="absolute 10 4 25 19" id="chk_bdhtinspyn" taborder="59" onchanged="grp_basebdinfo_chk_bdhtinspyn_onchanged" truevalue="Y"/>
- <CheckBox position="absolute 204 4 219 19" id="chk_spo2inspyn" taborder="59" onchanged="grp_basebdinfo_chk_spo2inspyn_onchanged" truevalue="Y"/>
- <CheckBox position="absolute 10 28 25 43" id="chk_bdwtinspyn" taborder="59" onchanged="grp_basebdinfo_chk_bdwtinspyn_onchanged" truevalue="Y"/>
- <Static text="혈액형" position="absolute 196 24 256 47" id="cap_btype" class="cell_1"/>
- <MaskEdit position="absolute 259 3 356 22" align="align:center middle;" id="ipt_spo2" taborder="31" mask="! 9#.#" onkillfocus="grp_basebdinfo_ipt_spo2_onkillfocus" style="background:#ffe4b5ff stretch 5,5;" autoselect="true"/>
- <MaskEdit position="absolute 63 1 160 20" align="align:center middle;" id="ipt_bdht" taborder="29" mask="! 9#.#" onkillfocus="grp_basebdinfo_ipt_bdht_onkillfocus" style="background:#ffe4b5ff stretch 5,5;" autoselect="true"/>
- <MaskEdit position="absolute 63 25 160 44" align="align:center middle;" id="ipt_bdwt" taborder="30" mask="! 9#.#" onkillfocus="grp_basebdinfo_ipt_bdwt_onkillfocus" style="background:#ffe4b5ff stretch 5,5;" autoselect="true"/>
- <Combo position="absolute 259 25 389 44" id="cmb_bdbtype" class="combo_default" taborder="32" innerdataset="ds_init_mlist_M0376" datacolumn="cdnm" codecolumn="cdid" style="background:#ffe4b5ff stretch 5,5;"/>
- <Static text="Cm" position="absolute 168 3 198 22" align="align:center middle;" id="caption31"/>
- <Static text="Kg" position="absolute 169 27 199 46" align="align:center middle;" id="caption36"/>
- <Static text="%" position="absolute 359 4 389 23" align="align:center middle;" id="caption3"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 797 232 1187 306" id="grd_inhist" scrollbars="autoboth" binddataset="ds_data_inhist2" autofittype="col" autoenter="select" onkeydown="grd_inhist_onkeydown" onlbuttonup="grd_inhist_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="96"/>
- <Column size="96"/>
- <Column size="133"/>
- <Column size="67"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="입원일자"/>
- <Cell col="1" text="퇴원일자"/>
- <Cell col="2" text="병명"/>
- <Cell col="3" text="진료기관"/>
- <Cell col="4" text="inhistpk"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:indd" editautoselect="true" calendardisplaynulltype="none"/>
- <Cell col="1" displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:dschdd" calendardisplaynulltype="none"/>
- <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:illnm"/>
- <Cell col="3" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:orddept"/>
- <Cell col="4" text="bind:inhistpk"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1134 207 1187 226" id="btn_inhistdel" class="btn2" taborder="64" text="행삭제" onclick="btn_inhistdel_onclick"/>
- <Button position="absolute 1134 411 1187 430" id="btn_rectmedistatdel" class="btn2" taborder="70" text="행삭제" onclick="btn_rectmedistatdel_onclick"/>
- <Static text="Allergy" position="absolute 402 384 471 400" id="cap_allghist" class="tit_2"/>
- <Button position="absolute 682 379 735 398" id="btn_allghistadd" class="btn2" taborder="72" text="행추가" onclick="btn_allghistadd_onclick"/>
- <Static text="과거병력" position="absolute 798 9 902 25" id="cap_pasthist" class="tit_2"/>
- <CheckBox position="absolute 902 7 972 22" id="chk_pasthistyn" taborder="56" text="해당없음" onchanged="chk_pasthistyn_onchanged" truevalue="1" onclick="chk_pasthistyn_onclick" falsevalue=" "/>
- <Shape position="absolute 797 126 1187 132" linetype="horizontal" id="line22" class="line_10"/>
- <Shape position="absolute 797 227 1187 233" linetype="horizontal" id="line23" class="line_10"/>
- <Grid position="absolute 797 30 1187 104" id="grd_pasthist" scrollbars="autoboth" binddataset="ds_data_pasthist2" autofittype="col" autoenter="select" onkeydown="grd_pasthist_onkeydown" ontextchanged="grd_pasthist_ontextchanged" onlbuttonup="grd_pasthist_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="105"/>
- <Column size="169"/>
- <Column size="116"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="발생일자"/>
- <Cell col="1" text="병력내역"/>
- <Cell col="2" text="비고"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:genrdd" editautoselect="true" calendardisplaynulltype="none"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:histspec" combodataset="ds_init_mlist_M0532" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
- <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:remfact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1078 106 1131 125" id="btn_famyhistadd" class="btn2" taborder="60" text="행추가" onclick="btn_famyhistadd_onclick"/>
- <Static text="가족병력" position="absolute 797 110 871 126" id="cap_famyhist" class="tit_2"/>
- <CheckBox position="absolute 902 108 972 123" id="chk_famyhistyn" taborder="59" text="해당없음" onchanged="chk_famyhistyn_onchanged" truevalue="1" onclick="chk_famyhistyn_onclick" falsevalue=" "/>
- <Shape position="absolute 797 328 1187 334" linetype="horizontal" id="line24" class="line_10"/>
- <Grid position="absolute 797 131 1187 205" id="grd_famyhist" scrollbars="autoboth" binddataset="ds_data_famyhist2" autofittype="col" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="169"/>
- <Column size="102"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="관계"/>
- <Cell col="1" text="생존"/>
- <Cell col="2" text="병력내역"/>
- <Cell col="3" text="비고"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:famyrel" combodataset="ds_init_mlist_M0072" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:existyn" combodataset="ds_init_mlist_M0088" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:histspec" combodataset="ds_init_mlist_M0368" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
- <Cell col="3" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:remfact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 797 509 1187 515" linetype="horizontal" id="line25" class="line_1"/>
- <Grid position="absolute 797 333 1187 407" id="grd_ophist" scrollbars="autoboth" binddataset="ds_data_ophist2" autofittype="col" autoenter="select" onkeydown="grd_ophist_onkeydown" onlbuttonup="grd_ophist_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="96"/>
- <Column size="185"/>
- <Column size="101"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="수술일자"/>
- <Cell col="1" text="수술명"/>
- <Cell col="2" text="진료기관"/>
- <Cell col="3" text="ophistpk"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:opdd" editautoselect="true" calendardisplaynulltype="none"/>
- <Cell col="1" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:opnm"/>
- <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:orddept"/>
- <Cell col="3" text="bind:ophistpk"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 797 431 1187 437" linetype="horizontal" id="line26" class="line_10"/>
- <Static text="수술이력" position="absolute 798 312 902 328" id="cap_ophist" class="tit_2"/>
- <CheckBox position="absolute 902 310 972 325" id="chk_ophistinclyn" taborder="65" text="해당없음" onchanged="chk_ophistinclyn_onchanged" truevalue="1" onclick="chk_ophistinclyn_onclick" falsevalue=" "/>
- <Button position="absolute 1078 207 1131 226" id="btn_inhistadd" class="btn2" taborder="63" text="행추가" onclick="btn_inhistadd_onclick"/>
- <Button position="absolute 1080 411 1133 430" id="btn_rectmedistatadd" class="btn2" taborder="69" text="행추가" onclick="btn_rectmedistatadd_onclick"/>
- <Shape position="absolute 401 396 791 402" linetype="vertical" id="line27" class="line_1"/>
- <Button position="absolute 1134 308 1187 327" id="btn_ophistdel" class="btn2" taborder="67" text="행삭제" onclick="btn_ophistdel_onclick"/>
- <Shape position="absolute 401 399 791 405" linetype="horizontal" id="line28" class="line_10"/>
- <Static text="최근투약상태" position="absolute 797 415 901 431" id="cap_rectmedistat" class="tit_2"/>
- <CheckBox position="absolute 902 413 972 428" id="chk_rectmedistatinclyn" taborder="68" visible="false" text="해당없음" onchanged="chk_rectmedistatinclyn_onchanged" truevalue="1" onclick="chk_rectmedistatinclyn_onclick" falsevalue=" "/>
- <Button position="absolute 738 379 791 398" id="btn_allghistdel" class="btn2" taborder="73" text="행삭제" onclick="btn_allghistdel_onclick"/>
- <Shape position="absolute 797 25 1188 31" linetype="horizontal" id="line19" class="line_10"/>
- <Button position="absolute 1078 5 1131 24" id="btn_pasthistadd" class="btn2" taborder="57" text="행추가" onclick="btn_pasthistadd_onclick"/>
- <Button position="absolute 1134 5 1187 24" id="btn_pasthistdel" class="btn2" taborder="58" text="행삭제" onclick="btn_pasthistdel_onclick"/>
- <Static text="입원이력" position="absolute 797 211 901 227" id="cap_inhist" class="tit_2" style="align:left top;"/>
- <CheckBox position="absolute 902 209 972 224" id="chk_inhistyn" taborder="62" text="해당없음" onchanged="chk_inhistyn_onchanged" truevalue="1" onclick="chk_inhistyn_onclick" falsevalue=" "/>
- <Grid position="absolute 797 434 1187 508" id="grd_rectmedistat" scrollbars="autoboth" binddataset="ds_data_rectmedistat2" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="200"/>
- <Column size="101"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="약명"/>
- <Cell col="1" text="복용법(용도/용량/용법)"/>
- <Cell col="2" text="진료기관"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:drugnm"/>
- <Cell col="1" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:direc"/>
- <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:orddept"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1134 106 1187 125" id="btn_famyhistdel" class="btn2" taborder="61" text="행삭제" onclick="btn_famyhistdel_onclick"/>
- <Grid position="absolute 401 404 791 478" id="grd_allghist" scrollbars="autoboth" binddataset="ds_data_allghist2" autofittype="col" autoenter="select" onkeydown="grd_allghist_onkeydown" oncloseup="grd_allghist_oncloseup" onlbuttonup="grd_allghist_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="96"/>
- <Column size="70"/>
- <Column size="199"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="발생일자"/>
- <Cell col="1" text="분류"/>
- <Cell col="2" text="Allergy 내역 및 증상"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:genrdd" editautoselect="true" calendardisplaynulltype="none"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:flag" combodataset="ds_init_mlist_M0090" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
- <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:allergespec"/>
- <Cell col="3" text="bind:hosoutyn"/>
- <Cell col="4" text="bind:comclscd"/>
- <Cell col="5" text="bind:drugcd"/>
- <Cell col="6" text="bind:drugnm"/>
- <Cell col="7" displaytype="date" edittype="date" text="bind:rgstdt"/>
- <Cell col="8" text="bind:rgster"/>
- <Cell col="9" text="bind:cretno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1078 308 1131 327" id="btn_ophistadd" class="btn2" taborder="66" text="행추가" onclick="btn_ophistadd_onclick"/>
- <Static text="입원정보" position="absolute 7 9 111 25" id="caption10" class="tit_2"/>
- <Shape position="absolute 5 25 396 31" linetype="horizontal" id="line9" class="line_10"/>
- <Shape position="absolute 5 51 396 57" linetype="horizontal" id="line10" class="line_2"/>
- <Shape position="absolute 5 75 396 81" linetype="horizontal" id="line11" class="line_2"/>
- <Shape position="absolute 5 99 396 105" linetype="horizontal" id="line12" class="line_2"/>
- <Shape position="absolute 5 150 396 156" linetype="horizontal" id="line14" class="line_10"/>
- <Static text="입원동기와 병에 대한 인식" position="absolute 7 134 197 150" id="caption16" class="tit_2"/>
- <Radio position="absolute 169 184 300 200" id="rdo_inmotv" taborder="20" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">자의</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">타의</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape position="absolute 5 175 396 181" linetype="horizontal" id="line16" class="line_2"/>
- <TextArea position="absolute 87 206 399 291" id="tar_inmotv" taborder="21" wordwrap="word" style="background:#ffe4b5ff stretch 5,5;font:Dotum,9;"/>
- <Shape position="absolute 86 201 396 207" linetype="horizontal" id="line17" class="line_2"/>
- <Shape position="absolute 5 292 396 298" linetype="horizontal" id="line18" class="line_2"/>
- <Radio position="absolute 169 298 300 314" id="rdo_illnessflag" taborder="22" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape position="absolute 5 315 396 321" linetype="horizontal" id="line30" class="line_3"/>
- <MaskEdit position="absolute 295 156 395 175" id="ipt_attackdt" class="input_default" taborder="19" mask="##:##" style="background:#ffe4b5ff stretch 5,5;align:center middle;" type="string" autoselect="true" maskchar=" " displaynulltext=" " ontextchange="ipt_attackdt_ontextchange"/>
- <Static text="병에대한인식" position="absolute 5 295 85 318" align="align:center middle;" id="caption29" class="cell_1" style="font:Dotum,8;"/>
- <Calendar position="absolute 88 156 207 175" id="ipt_attackdd" class="input_default" taborder="18" style="background:#ffe4b5ff stretch 5,5;"/>
- <Static text="입원동기" position="absolute 5 179 85 294" align="align:center middle;" id="caption27" class="cell_1"/>
- <Static text="발병일자" position="absolute 5 155 85 178" align="align:center middle;" id="cap_attackdd" class="cell_1"/>
- <Shape position="absolute 401 218 792 224" linetype="horizontal" id="line31" class="line_2"/>
- <Shape position="absolute 401 242 792 248" linetype="horizontal" id="line32" class="line_2"/>
- <Shape position="absolute 401 103 792 109" linetype="horizontal" id="line33" class="line_10"/>
- <Static text="기호정보" position="absolute 402 87 506 103" id="caption42" class="tit_2"/>
- <Shape position="absolute 401 293 792 299" linetype="horizontal" id="line38" class="line_10"/>
- <Static text="여성정보" position="absolute 402 277 506 293" id="caption50" class="tit_2"/>
- <Shape position="absolute 401 319 792 325" linetype="horizontal" id="line39" class="line_2"/>
- <Shape position="absolute 401 343 792 349" linetype="horizontal" id="line40" class="line_2"/>
- <Edit position="absolute 591 347 617 366" id="ipt_prgbthhisa" class="input_default" enable="false" taborder="49" autoselect="true"/>
- <Static text="AA" position="absolute 675 345 693 370" align="align:center middle;" id="caption125"/>
- <Static text=") L" position="absolute 725 345 743 370" align="align:center middle;" id="caption127"/>
- <Edit position="absolute 502 347 528 366" id="ipt_prgbthhisg" class="input_default" enable="false" taborder="47" autoselect="true"/>
- <Edit position="absolute 751 347 777 366" id="ipt_prgbthhisl" class="input_default" enable="false" taborder="52" autoselect="true"/>
- <Static text="G" position="absolute 484 345 499 370" align="align:center middle;" id="caption120"/>
- <Edit position="absolute 646 347 672 366" id="ipt_prgbthhissa" class="input_default" enable="false" taborder="50" autoselect="true"/>
- <Static text="P" position="absolute 531 344 546 369" align="align:center middle;" id="caption121"/>
- <Edit position="absolute 696 347 722 366" id="ipt_prgbthhisaa" class="input_default" enable="false" taborder="51" autoselect="true"/>
- <Edit position="absolute 549 347 575 366" id="ipt_prgbthhisp" class="input_default" enable="false" taborder="48" autoselect="true"/>
- <Static text="A" position="absolute 578 344 593 369" align="align:center middle;" id="caption122"/>
- <Static text="(SA" position="absolute 620 344 643 369" align="align:center middle;" id="caption123"/>
- <Shape position="absolute 401 507 791 513" linetype="horizontal" id="line41" class="line_10"/>
- <Static text="특이사항" position="absolute 402 490 476 506" id="caption53" class="tit_2"/>
- <Calendar position="absolute 108 31 208 50" id="ipt_indd" class="input_default" enable="false" taborder="10"/>
- <Static text="입원일자" position="absolute 5 30 105 53" id="cap_indd" class="cell_1"/>
- <Static text="입원시간" position="absolute 211 30 293 53" id="cap_indt" class="cell_1"/>
- <MaskEdit position="absolute 295 31 395 50" align="align:center middle;" id="ipt_indt" taborder="11" mask="##:##" type="string" style="align:center middle;" displaynulltext=" " maskchar=" " ontextchange="ipt_indt_ontextchange" autoselect="true"/>
- <Static text="입원경로" position="absolute 5 54 105 77" id="cap_inpath" class="cell_1"/>
- <Combo position="absolute 108 55 208 74" id="cmb_inpath" class="combo_default" taborder="12" innerdataset="ds_init_mlist_M0418" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_inpath_onitemchanged"/>
- <Static text="입원방법" position="absolute 5 78 105 101" id="cap_inmthd" class="cell_1"/>
- <Combo position="absolute 108 79 208 98" id="cmb_inmthd" class="combo_default" taborder="14" innerdataset="ds_init_mlist_M0210" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_inmthd_onitemchanged"/>
- <Static text="입원시동반자" position="absolute 5 102 105 125" id="cap_inptner" class="cell_1"/>
- <Combo position="absolute 108 103 208 122" id="cmb_inacompst" class="combo_default" taborder="16" innerdataset="ds_init_mlist_M0098" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_inacompst_onitemchanged"/>
- <TextArea position="absolute 401 512 791 597" id="tar_spcffact" taborder="53" oneditclick="tar_spcffact_oneditclick"/>
- <Radio position="absolute 494 108 639 146" id="rdo_smokinfo" taborder="33" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_smokinfo_onitemchanged" style="background:#ffe4b5ff;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">현재흡연</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">과거흡연</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">비흡연</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">확인불능</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="음주정보" position="absolute 401 197 491 220" id="cap_drunkinfo" class="cell_1"/>
- <Radio position="absolute 494 201 569 217" id="rdo_drunkinfo" taborder="37" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_drunkinfo_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="기호식품" position="absolute 401 221 491 244" id="cap_gustofoodyn" class="cell_1"/>
- <Radio position="absolute 494 225 569 241" id="rdo_gustofoodyn" taborder="40" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_gustofoodyn_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="수혈부작용" position="absolute 401 245 491 268" id="cap_tnsseffcyn" class="cell_1"/>
- <Shape position="absolute 401 265 792 271" linetype="horizontal" id="line36" class="line_3"/>
- <Radio position="absolute 494 249 569 265" id="rdo_tnsseffcyn" taborder="42" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_tnsseffcyn_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit position="absolute 572 246 790 265" id="ipt_tnsseffc" enable="false" taborder="43"/>
- <Edit position="absolute 572 222 790 241" id="ipt_gustofood" enable="false" taborder="41"/>
- <Radio position="absolute 485 302 560 318" id="rdo_endmensyn" taborder="44" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_endmensyn_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit position="absolute 689 299 772 318" id="ipt_closmensage" autoselect="true"/>
- <Static text="세" position="absolute 777 299 792 318" align="align:center middle;" id="caption15"/>
- <Calendar position="absolute 584 299 685 318" id="ipt_endmensyn" class="input_default" enable="false" taborder="45" mask="yyyy-mm-dd" visible="false"/>
- <Calendar position="absolute 484 324 792 343" id="ipt_lastmensdd" class="input_default" enable="false" taborder="46" mask="yyyy-mm-dd"/>
- <Static text="최종월경일" position="absolute 401 322 481 345" id="cap_lastmensdd" class="cell_1"/>
- <Static text="폐경여부" position="absolute 401 298 481 321" id="cap_endmensyn" class="cell_1"/>
- <Static text="임신출산력" position="absolute 401 346 481 369" id="cap_prgbthhis" class="cell_1"/>
- <Shape position="absolute 401 366 792 372" linetype="horizontal" id="line37" class="line_3"/>
- <Shape position="absolute 5 122 396 128" linetype="horizontal" id="line13" class="line_3"/>
- <Edit position="absolute 210 55 395 74" id="ipt_inpathnm" taborder="13" visible="false" autoselect="true"/>
- <Edit position="absolute 210 79 395 98" id="ipt_inmthdnm" taborder="15" visible="false" autoselect="true"/>
- <Edit position="absolute 210 103 395 122" id="ipt_inacompstnm" taborder="17" visible="false" autoselect="true"/>
- <CheckBox position="absolute 720 276 790 291" id="chk_femaleinfoinclyn" text="해당없음" onchanged="chk_femaleinfoinclyn_onchanged" truevalue="1" onclick="chk_femaleinfoinclyn_onclick"/>
- <CheckBox position="absolute 631 9 701 24" id="chk_basebdinfoinclyn" visible="false" text="해당없음" onchanged="chk_basebdinfoinclyn_onchanged" truevalue="1"/>
- <Static text="기본 신체정보" position="absolute 401 9 505 25" id="caption39" class="tit_2"/>
- <Shape position="absolute 400 25 791 31" linetype="horizontal" id="line34" class="line_10"/>
- <Shape position="absolute 797 531 1188 537" linetype="vertical" id="line43" class="line_2"/>
- <Static text="병원도착전 24시간내 항생제 투약여부" position="absolute 797 512 1012 535" id="caption4" class="cell_1"/>
- <Combo position="absolute 1015 513 1187 532" align="align:center middle;" id="cmb_antibiodrugyn" taborder="16" codecolumn="codecolumn" datacolumn="datacolumn" style="background:#ffe4b5ff stretch 5,5;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Y</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- <Row>
- <Col id="codecolumn">U</Col>
- <Col id="datacolumn">확인불가</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit position="absolute 493 174 790 193" id="ipt_nosmokcnstnm" enable="false" taborder="36"/>
- <Combo position="absolute 572 149 790 168" id="cmb_nosmokcnst" class="combo_default" enable="false" taborder="35" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="cmb_nosmokcnst_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">00</Col>
- <Col id="datacolumn">
- </Col>
- </Row>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">환자의 신경학적 결함(의식 혼탁 등)으로 인해 금연 상담의 이해가 불가능한 경우</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">환자의 신체적/정신적 상태로 인해 흡연이 불가능한 경우</Col>
- </Row>
- <Row>
- <Col id="codecolumn">03</Col>
- <Col id="datacolumn">기타</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Radio position="absolute 494 152 569 168" id="rdo_nosmokcnstyn" taborder="34" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_nosmokcnstyn_onitemchanged" style="background:#ffe4b5ff;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape position="absolute 400 144 791 150" linetype="horizontal" id="line44" class="line_2"/>
- <Static text="흡연정보" position="absolute 401 108 491 146" align="align:left middle;" id="cap_smokinfo" class="cell_1"/>
- <Shape position="absolute 400 169 791 175" linetype="horizontal" id="line45" class="line_2"/>
- <Shape position="absolute 400 193 791 199" linetype="horizontal" id="line46" class="line_2"/>
- <Static text="금연상담여부" position="absolute 401 147 491 196" id="caption5" class="cell_1"/>
- <Edit position="absolute 689 198 744 217" align="align:center middle;" id="ipt_drunkinfoterm" enable="false" taborder="39"/>
- <Static text="기간(년)" position="absolute 746 199 799 218" align="align:center middle;" id="cap_drunkinfoterm"/>
- <Edit position="absolute 572 198 686 217" align="align:center middle;" id="ipt_drunkinfokind" enable="false" taborder="38"/>
- <Radio position="absolute 474 383 649 399" id="rdo_allgyn" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_allgyn_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">잘모름</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 661 381 677 397" id="btn_allg" class="icon_search" text="" onclick="btn_allg_onclick"/>
- <Static text="발병시간" position="absolute 211 155 293 177" id="caption12" class="cell_1"/>
- <Edit position="absolute 682 83 792 102" id="ipt_smokinfocnt" enable="false" taborder="41" visible="false"/>
- <Button position="absolute 1058 209 1074 225" id="btn_inhistpop" class="icon_search" text="" onclick="btn_inhistpop_onclick"/>
- <Button position="absolute 1058 310 1074 326" id="btn_ophistpop" class="icon_search" text="" onclick="btn_ophistpop_onclick"/>
- <Static text="(" position="absolute 634 109 647 128" align="align:center middle;" id="caption13"/>
- <Static text=")" position="absolute 770 128 783 147" align="align:center middle;" id="caption14"/>
- <Static text="측정불가 V" position="absolute 717 6 790 25" align="align:center middle;" id="cap_insp"/>
- <Button position="absolute 515 5 601 24" id="bnt_testroom" class="btn2" visible="false" text="입원전검사실" onclick="bnt_testroom_onclick"/>
- <Button position="absolute 1011 411 1079 430" id="btn_SPMMO14900" class="btn5" taborder="69" visible="false" text="처방조회" onclick="btn_SPMMO14900_onclick"/>
- <Shape position="absolute 5 655 396 661" linetype="horizontal" id="line8" class="line_3" visible="false"/>
- <Static text="존재유무" position="absolute 5 635 105 658" id="cap_existyn" class="cell_1" visible="false"/>
- <Button position="absolute 211 636 275 655" id="button40" class="btn2" visible="false" text="끌어오기" onclick="button40_onclick"/>
- <Static text="가계도" position="absolute 7 614 111 630" id="caption8" class="tit_2" visible="false"/>
- <Edit position="absolute 108 636 208 655" id="opt_existyn" enable="false" taborder="9" visible="false"/>
- <Shape position="absolute 5 630 396 636" linetype="horizontal" id="line7" class="line_10" visible="false"/>
- <Div position="absolute 745 195 985 335" id="grp_anti" visible="false" style="background:#ccffccff;">
- <Layouts>
- <Layout>
- <Button position="absolute 140 105 182 124" id="btn_anti1" class="btn5" visible="false" text="선택" anchor="default" onclick="grp_anti_btn_anti1_onclick"/>
- <Button position="absolute 183 105 225 124" id="btn_anti2" class="btn5" visible="false" text="취소" anchor="default" onclick="grp_anti_btn_anti2_onclick"/>
- <Radio position="absolute 19 9 219 74" id="rdo_anti" visible="false" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">페니실린계</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">기타 베타락탐계</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">기타</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <TextArea position="absolute 70 50 225 100" id="txt_anti" visible="false" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="입원전1개월이내" position="absolute 645 108 793 128" id="caption25"/>
- <Radio position="absolute 705 128 775 144" id="rdo_bfsmokinfo" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_bfsmokinfo_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="흡연여부 :" position="absolute 645 128 710 143" id="caption32"/>
- <Edit position="absolute 150 373 262 392" id="ipt_relignnm" enable="false" autoselect="true"/>
- <Combo position="absolute 327 373 396 392" id="cmb_relignreq" class="combo_default" taborder="3" visible="false" innerdataset="ds_init_mlist_M0411" datacolumn="cdnm" codecolumn="cdid"/>
- <Edit position="absolute 150 397 200 416" id="ipt_marystatnm" enable="false" taborder="8" autoselect="true"/>
- <Combo position="absolute 68 373 146 392" id="cmb_relign" class="combo_default" taborder="5" innerdataset="ds_init_mlist_M0070" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_relign_onitemchanged" style="background:#ffe4b5ff stretch 5,5;"/>
- <Combo position="absolute 68 349 146 368" id="cmb_job" class="combo_default" taborder="1" innerdataset="ds_init_mlist_M0068" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_job_onitemchanged" style="background:#ffe4b5ff stretch 5,5;"/>
- <Button position="absolute 342 451 395 470" id="btn_famyfactdel" class="btn2" text="행삭제" onclick="btn_famyfactdel_onclick"/>
- <Static text="환자기본정보" position="absolute 7 327 111 343" id="caption1" class="tit_2"/>
- <Static text="세례명" position="absolute 150 372 200 395" id="cap_baptnm" class="cell_1" visible="false"/>
- <Shape position="absolute 5 442 396 448" linetype="horizontal" id="line35" class="line_3"/>
- <Edit position="absolute 150 349 200 368" id="ipt_job" enable="false" taborder="2" autoselect="true"/>
- <Static text="연락처/휴대폰" position="absolute 5 420 100 443" id="caption11" class="cell_1"/>
- <Edit position="absolute 203 373 263 392" id="ipt_baptnm" enable="false" taborder="6" visible="false" autoselect="true"/>
- <Radio position="absolute 503 639 611 655" id="rdo_etctelflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" visible="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">본인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">보호자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo position="absolute 68 397 146 416" id="cmb_marystat" class="combo_default" taborder="7" innerdataset="ds_init_mlist_M0151" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_marystat_onitemchanged" style="background:#ffe4b5ff stretch 5,5;"/>
- <Static text="결혼상태" position="absolute 5 396 65 419" id="cap_marystat" class="cell_1"/>
- <Shape position="absolute 5 343 396 349" linetype="horizontal" id="line1" class="line_10"/>
- <Radio position="absolute 103 423 211 439" id="rdo_telflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" style="font:Dotum,9;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">본인</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape position="absolute 5 368 396 374" linetype="horizontal" id="line2" class="line_2"/>
- <Edit position="absolute 158 421 274 440" id="input1" autoselect="true" style="background:#ffe4b5ff stretch 5,5;"/>
- <CheckBox position="absolute 256 327 396 342" id="chk_privacy" visible="false" text="개인정보사정 미동의" onchanged="chk_privacy_onchanged" truevalue="Y" onclick="chk_privacy_onclick" falsevalue=" "/>
- <Shape position="absolute 5 392 396 398" linetype="horizontal" id="line3" class="line_2"/>
- <Button position="absolute 286 451 339 470" id="btn_famyfactadd" class="btn2" text="행추가" onclick="btn_famyfactadd_onclick"/>
- <Edit position="absolute 277 421 395 440" id="input2" autoselect="true" style="background:#ffe4b5ff stretch 5,5;"/>
- <Static text="영적요구" position="absolute 265 372 325 395" id="caption7" class="cell_1" visible="false"/>
- <Static text="종교" position="absolute 5 372 65 395" id="cap_relign" class="cell_1"/>
- <Shape position="absolute 5 440 396 446" linetype="horizontal" id="line4" class="line_2"/>
- <Edit position="absolute 622 637 708 656" id="input3" autoselect="true" visible="false"/>
- <Shape position="absolute 5 416 396 422" linetype="horizontal" id="line5" class="line_2"/>
- <Static text="기타 전화번호" position="absolute 405 636 500 659" id="caption9" class="cell_1" visible="false"/>
- <Edit position="absolute 709 637 795 656" id="input4" autoselect="true" visible="false"/>
- <Static text="직업" position="absolute 5 348 65 371" id="cap_job" class="cell_1"/>
- <Shape position="absolute 5 471 396 477" linetype="horizontal" id="line6" class="line_10"/>
- <Combo position="absolute 266 349 343 368" id="cmb_educgrde" class="combo_default" taborder="3" visible="false" innerdataset="ds_init_mlist_M0069" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_educgrde_onitemchanged"/>
- <Static text="보호자정보" position="absolute 7 455 111 471" id="cap_famyfact" class="tit_2"/>
- <Edit position="absolute 346 349 396 368" id="ipt_educgrde" enable="false" taborder="4" visible="false" autoselect="true"/>
- <Static text="교육정도" position="absolute 203 348 263 371" id="cap_educgrde" class="cell_1" visible="false"/>
- <Grid position="absolute 5 476 396 584" id="grd_famyfact" scrollbars="autoboth" binddataset="ds_main_famyfact" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="28"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="57"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="81"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="상태"/>
- <Cell col="1"/>
- <Cell col="2" text="관계"/>
- <Cell col="3" text="성명"/>
- <Cell col="4" text="전화번호"/>
- <Cell col="5" text="핸드폰번호"/>
- <Cell col="6" text="주보호자"/>
- <Cell col="7" text="주소(동/구)"/>
- <Cell col="8" text="세부주소"/>
- <Cell col="9" text="비고"/>
- <Cell col="10" text="fmlyseq"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stat"/>
- <Cell col="1" style="padding:0 0 0 2;"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center;padding:0 0 0 2;" class="gridcombo" text="bind:rela" combodataset="ds_init_mlist_M0072" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
- <Cell col="3" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:hngnm"/>
- <Cell col="4" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:tel"/>
- <Cell col="5" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:mpphone"/>
- <Cell col="6" displaytype="checkbox" edittype="checkbox" style="padding:0 0 0 2;" text="bind:chk"/>
- <Cell col="7" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:addr"/>
- <Cell col="8" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:detladdr"/>
- <Cell col="9" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:remfact"/>
- <Cell col="10" text="bind:fmlyseq"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 168 323 254 342" id="button1" class="btn2" visible="false" text="환자기초정보" onclick="button1_onclick"/>
- <CheckBox position="absolute 644 276 717 291" id="chk_femaleaddinfoyn" taborder="75" text="추가사정" onchanged="chk_femaleaddinfoyn_onchanged" truevalue="1"/>
- <Static text="폐경나이" position="absolute 584 298 685 321" id="caption6" class="cell_1"/>
- <Shape id="line00" class="line_1" position="absolute 797 534 1187 540"/>
- <Div id="Div00" taborder="76" text="Div00" position="absolute 406 630 768 663" style="background:white;" visible="false">
- <InitValue>
- <Shape id="line51" visible="false"/>
- <Shape id="line42" visible="false"/>
- <Static id="capnrs21" visible="false"/>
- <Static id="capnrs22" visible="false"/>
- <Static id="capnrs23" visible="false"/>
- <Static id="caption21" visible="false"/>
- <Shape id="line47" visible="false"/>
- <Combo id="comnrs1" visible="false"/>
- <Static id="caption22" visible="false"/>
- <Shape id="line48" visible="false"/>
- <Static id="caption34" visible="false"/>
- <Static id="caption23" visible="false"/>
- <Shape id="line49" visible="false"/>
- <Static id="caption24" visible="false"/>
- <Radio id="radnrs21" visible="false"/>
- <Radio id="radnrs22" visible="false"/>
- <Radio id="radnrs23" visible="false"/>
- <Shape id="line50" visible="false"/>
- <Edit id="input6" visible="false"/>
- </InitValue>
- <Layouts>
- <Layout>
- <Shape id="line51" class="line_3" position="absolute 19 172 410 178" anchor="default"/>
- <Shape id="line42" class="line_10" position="absolute 19 32 409 38" anchor="default"/>
- <Static id="capnrs21" text="고관절 골절 만성환자, 급성합병증이 동반된 상태, 간경화, 만성폐쇄성 호흡기 질환, 만성혈액투석, 당뇨, 종양" enable="false" position="absolute 114 92 414 122" style=":disabled {font:Dotum,8;}" taborder="43" anchor="default"/>
- <Static id="capnrs22" text="주요 복부수술, 뇌줄중, 중증폐렴, 혈액학적 악성종양" enable="false" position="absolute 114 127 414 152" taborder="43" anchor="default"/>
- <Static id="capnrs23" text="두부손상, 골수이식, 중환자 (APACHE 10점 이상)" enable="false" position="absolute 114 152 414 177" taborder="43" anchor="default"/>
- <Static id="caption21" text="영양위험(체중의5%:2.075kg,제중의15%:6.225kg,BMI:17.9)" class="tit_2" position="absolute 20 16 400 32" anchor="default"/>
- <Shape id="line47" class="line_3" position="absolute 19 58 410 64" anchor="default"/>
- <Combo id="comnrs1" taborder="44" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="comnrs1_onitemchanged" class="combo_default" position="absolute 104 39 409 58" style="background:#ffe4b5ff stretch 5,5;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">정상영양상태</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">3개월 동안 5% 이상 체중감소 또는 이전 1주일 동안 정상 영양 요구량의 50~75% 이하의 음식섭취</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">2개월 동안 5% 이상 체중감소 또는 MBI 18.5~20.5 + 전신상태의 악화 또는 이전 1주일 동안 정상 영양 요구량의 25~60% 음식섭취</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">1개월 내에 5% 이상 체중감소 (또는 15%이상/3개월) 또는 MBI 18.5이하 + 전신상태의 악화 또는 이전 1주일 동안의 정상영양 요구량의 0~25% 음식섭취</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption22" text="임신출산력" class="cell_1" position="absolute 19 37 99 60" anchor="default"/>
- <Shape id="line48" class="line_3" position="absolute 19 83 410 89" anchor="default"/>
- <Static id="caption34" text="Total NRS Score" class="cell_1" position="absolute 217 63 322 86" anchor="default"/>
- <Static id="caption23" text="영양상태지표" class="cell_1" position="absolute 19 38 99 61" style="font:Dotum,8;" anchor="default"/>
- <Shape id="line49" class="line_3" position="absolute 19 119 410 125" anchor="default"/>
- <Static id="caption24" text="임상상태지표" class="cell_1" position="absolute 19 63 99 86" style="font:Dotum,8;" anchor="default"/>
- <Radio id="radnrs21" taborder="45" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="radnrs21_onitemchanged" position="absolute 24 92 109 112" style="background:#ffe4b5ff;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">없음</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">있음</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="radnrs22" taborder="46" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="radnrs22_onitemchanged" position="absolute 24 127 109 147" style="background:#ffe4b5ff;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">없음</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">있음</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="radnrs23" taborder="47" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="radnrs23_onitemchanged" position="absolute 24 152 109 172" style="background:#ffe4b5ff;" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">없음</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">있음</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape id="line50" class="line_3" position="absolute 19 146 410 152" anchor="default"/>
- <Edit id="input6" taborder="48" enable="false" position="absolute 324 65 407 84" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <CheckBox id="chk_spcffactinclyn" taborder="77" text="해당없음" truevalue="1" onclick="chk_spcffactinclyn_onclick" onchanged="chk_spcffactinclyn_onchanged" position="absolute 719 488 789 503"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cmb_bdtp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_bdbtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_inhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="illnm" type="STRING"/>
- <Column id="orddept" type="STRING"/>
- <Column id="inhistpk" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_pasthist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING"/>
- <Column id="histspec" type="STRING"/>
- <Column id="remfact" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_famyhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="famyrel" type="STRING"/>
- <Column id="existyn" type="STRING"/>
- <Column id="histspec" type="STRING"/>
- <Column id="remfact" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ophist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opdd" type="STRING"/>
- <Column id="opnm" type="STRING"/>
- <Column id="orddept" type="STRING"/>
- <Column id="ophistpk" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_rectmedistat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugnm" type="STRING"/>
- <Column id="direc" type="STRING"/>
- <Column id="orddept" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_allghist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING"/>
- <Column id="flag" type="STRING"/>
- <Column id="allergespec" type="STRING"/>
- <Column id="hosoutyn" type="STRING"/>
- <Column id="comclscd" type="STRING"/>
- <Column id="drugcd" type="STRING"/>
- <Column id="drugnm" type="STRING"/>
- <Column id="rgstdt" type="STRING"/>
- <Column id="rgster" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_inpath" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_inmthd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_inacompst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_relignreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_relign" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_job" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_marystat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_educgrde" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_famyfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stat" type="STRING"/>
- <Column id="rela" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="tel" type="STRING"/>
- <Column id="mpphone" type="STRING"/>
- <Column id="addr" type="STRING"/>
- <Column id="detladdr" type="STRING"/>
- <Column id="remfact" type="STRING"/>
- <Column id="fmlyseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_allgtemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="antitype" type="STRING" size="256"/>
- <Column id="antidesc" type="STRING" size="256"/>
- <Column id="row" type="STRING" size="256"/>
- <Column id="col" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="antitype">3</Col>
- <Col id="antidesc"/>
- <Col id="row"/>
- <Col id="col"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_wardrecinfo_rectmedistatinfo_rectmedistat_rectmedistat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugnm" type="STRING" size="256"/>
- <Column id="direc" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_inbfinfo_inbfinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inbfyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_allgtemp00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="antitype" type="STRING" size="256"/>
- <Column id="antidesc" type="STRING" size="256"/>
- <Column id="row" type="STRING" size="256"/>
- <Column id="col" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="antitype">3</Col>
- <Col id="antidesc"/>
- <Col id="row"/>
- <Col id="col"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_wardrecinfo_famytree" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="existyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_chk_famyparent" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">1</Col>
- <Col id="name">부</Col>
- </Row>
- <Row>
- <Col id="code">2</Col>
- <Col id="name">모</Col>
- </Row>
- <Row>
- <Col id="code">3</Col>
- <Col id="name">무</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_indd" propid="value" datasetid="ds_main_wardrecinfo" columnid="indd"/>
- <BindItem id="item1" compid="ipt_indt" propid="value" datasetid="ds_main_wardrecinfo" columnid="indt"/>
- <BindItem id="item2" compid="cmb_inpath" propid="value" datasetid="ds_main_wardrecinfo" columnid="inpathcd"/>
- <BindItem id="item3" compid="ipt_inpathnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inpathnm"/>
- <BindItem id="item4" compid="cmb_inmthd" propid="value" datasetid="ds_main_wardrecinfo" columnid="inmthdcd"/>
- <BindItem id="item5" compid="ipt_inmthdnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inmthdnm"/>
- <BindItem id="item6" compid="cmb_inacompst" propid="value" datasetid="ds_main_wardrecinfo" columnid="inacompstcd"/>
- <BindItem id="item7" compid="ipt_inacompstnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inacompstnm"/>
- <BindItem id="item8" compid="ipt_attackdd" propid="value" datasetid="ds_data_inmotive" columnid="attackdd"/>
- <BindItem id="item9" compid="ipt_attackdt" propid="value" datasetid="ds_data_inmotive" columnid="attackdt"/>
- <BindItem id="item10" compid="rdo_inmotv" propid="value" datasetid="ds_data_inmotive" columnid="inmotive1"/>
- <BindItem id="item11" compid="tar_inmotv" propid="value" datasetid="ds_data_inmotive" columnid="inmotive2"/>
- <BindItem id="item12" compid="rdo_illnessflag" propid="value" datasetid="ds_data_inmotive" columnid="illnessflag"/>
- <BindItem id="item13" compid="chk_privacy" propid="value" datasetid="ds_main_wardrecinfo" columnid="privacy"/>
- <BindItem id="item14" compid="cmb_job" propid="value" datasetid="ds_main_wardrecinfo" columnid="jobcd"/>
- <BindItem id="item15" compid="ipt_job" propid="value" datasetid="ds_main_wardrecinfo" columnid="jobnm"/>
- <BindItem id="item16" compid="cmb_educgrde" propid="value" datasetid="ds_main_wardrecinfo" columnid="educgrdecd"/>
- <BindItem id="item17" compid="ipt_educgrde" propid="value" datasetid="ds_main_wardrecinfo" columnid="educgrdenm"/>
- <BindItem id="item18" compid="cmb_relign" propid="value" datasetid="ds_main_wardrecinfo" columnid="religncd"/>
- <BindItem id="item19" compid="ipt_baptnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="baptnm"/>
- <BindItem id="item20" compid="cmb_relignreq" propid="value" datasetid="ds_main_wardrecinfo" columnid="relignreq"/>
- <BindItem id="item21" compid="cmb_marystat" propid="value" datasetid="ds_main_wardrecinfo" columnid="marystatcd"/>
- <BindItem id="item22" compid="ipt_marystatnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="marystatnm"/>
- <BindItem id="item23" compid="rdo_telflag" propid="value" datasetid="ds_main_wardrecinfo" columnid="telflag"/>
- <BindItem id="item24" compid="input1" propid="value" datasetid="ds_main_wardrecinfo" columnid="tel"/>
- <BindItem id="item25" compid="input2" propid="value" datasetid="ds_main_wardrecinfo" columnid="mphone"/>
- <BindItem id="item26" compid="rdo_etctelflag" propid="value" datasetid="ds_main_wardrecinfo" columnid="etctelflag"/>
- <BindItem id="item27" compid="input3" propid="value" datasetid="ds_main_wardrecinfo" columnid="etcphone1"/>
- <BindItem id="item28" compid="input4" propid="value" datasetid="ds_main_wardrecinfo" columnid="etcphone2"/>
- <BindItem id="item29" compid="opt_existyn" propid="value" datasetid="ds_data_famytree" columnid="existyn"/>
- <BindItem id="item30" compid="grp_basebdinfo.chk_bdhtinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdhtinspyn"/>
- <BindItem id="item31" compid="grp_basebdinfo.chk_bdwtinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdwtinspyn"/>
- <BindItem id="item32" compid="grp_basebdinfo.ipt_bdht" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdht"/>
- <BindItem id="item33" compid="grp_basebdinfo.ipt_bdwt" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdwt"/>
- <BindItem id="item34" compid="grp_basebdinfo.chk_spo2inspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="spo2inspyn"/>
- <BindItem id="item35" compid="chk_basebdinfoinclyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="basebdinfoinclyn"/>
- <BindItem id="item36" compid="grp_basebdinfo.ipt_spo2" propid="value" datasetid="ds_main_wardrecinfo" columnid="spo2"/>
- <BindItem id="item37" compid="grp_basebdinfo.cmb_bdbtype" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdbtype"/>
- <BindItem id="item38" compid="ipt_smokinfocnt" propid="value" datasetid="ds_data_smokinfo" columnid="smokinfocnt"/>
- <BindItem id="item39" compid="rdo_smokinfo" propid="value" datasetid="ds_data_smokinfo" columnid="smokinfoyn"/>
- <BindItem id="item40" compid="rdo_bfsmokinfo" propid="value" datasetid="ds_data_smokinfo" columnid="bfsmokinfoyn"/>
- <BindItem id="item41" compid="rdo_nosmokcnstyn" propid="value" datasetid="ds_data_smokinfo" columnid="nosmokcnstyn"/>
- <BindItem id="item42" compid="cmb_nosmokcnst" propid="value" datasetid="ds_data_smokinfo" columnid="nosmokcnst"/>
- <BindItem id="item43" compid="ipt_nosmokcnstnm" propid="value" datasetid="ds_data_smokinfo" columnid="nosmokcnstnm"/>
- <BindItem id="item44" compid="rdo_drunkinfo" propid="value" datasetid="ds_data_drunkinfo" columnid="drunkinfoyn"/>
- <BindItem id="item45" compid="ipt_drunkinfokind" propid="value" datasetid="ds_data_drunkinfo" columnid="drunkinfokind"/>
- <BindItem id="item46" compid="ipt_drunkinfoterm" propid="value" datasetid="ds_data_drunkinfo" columnid="drunkinfoterm"/>
- <BindItem id="item47" compid="grp_basebdinfo.ipt_bdtp" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdtp"/>
- <BindItem id="item48" compid="grp_basebdinfo.ipt_breth" propid="value" datasetid="ds_main_wardrecinfo" columnid="breth"/>
- <BindItem id="item49" compid="rdo_gustofoodyn" propid="value" datasetid="ds_data_gustofoodinfo" columnid="gustofoodyn"/>
- <BindItem id="item50" compid="ipt_gustofood" propid="value" datasetid="ds_data_gustofoodinfo" columnid="gustofooddetl"/>
- <BindItem id="item51" compid="rdo_tnsseffcyn" propid="value" datasetid="ds_data_tnsseffcinfo" columnid="tnsseffcyn"/>
- <BindItem id="item52" compid="ipt_tnsseffc" propid="value" datasetid="ds_data_tnsseffcinfo" columnid="tnsseffcdetl"/>
- <BindItem id="item53" compid="ipt_endmensyn" propid="value" datasetid="ds_data_female2" columnid="endmensdd"/>
- <BindItem id="item54" compid="chk_femaleaddinfoyn" propid="value" datasetid="ds_data_female1" columnid="femaleaddinfoyn"/>
- <BindItem id="item55" compid="chk_femaleinfoinclyn" propid="value" datasetid="ds_data_female1" columnid="femaleinfoyn"/>
- <BindItem id="item56" compid="rdo_endmensyn" propid="value" datasetid="ds_data_female2" columnid="endmensyn"/>
- <BindItem id="item57" compid="ipt_closmensage" propid="value" datasetid="ds_data_mens" columnid="closmensage"/>
- <BindItem id="item58" compid="ipt_lastmensdd" propid="value" datasetid="ds_data_female2" columnid="lastmensdd"/>
- <BindItem id="item59" compid="ipt_prgbthhisg" propid="value" datasetid="ds_data_female2" columnid="prgbthhisg"/>
- <BindItem id="item60" compid="ipt_prgbthhisp" propid="value" datasetid="ds_data_female2" columnid="prgbthhisp"/>
- <BindItem id="item61" compid="ipt_prgbthhisa" propid="value" datasetid="ds_data_female2" columnid="prgbthhisa"/>
- <BindItem id="item62" compid="ipt_prgbthhissa" propid="value" datasetid="ds_data_female2" columnid="prgbthhissa"/>
- <BindItem id="item63" compid="ipt_prgbthhisaa" propid="value" datasetid="ds_data_female2" columnid="prgbthhisaa"/>
- <BindItem id="item64" compid="ipt_prgbthhisl" propid="value" datasetid="ds_data_female2" columnid="prgbthhisl"/>
- <BindItem id="item65" compid="tar_spcffact" propid="value" datasetid="ds_data_spcf" columnid="spcffactdetl"/>
- <BindItem id="item71" compid="chk_pasthistyn" propid="value" datasetid="ds_data_pasthist1" columnid="pasthistinclyn"/>
- <BindItem id="item72" compid="chk_famyhistyn" propid="value" datasetid="ds_data_famyhist1" columnid="famyhistinclyn"/>
- <BindItem id="item73" compid="chk_inhistyn" propid="value" datasetid="ds_data_inhist1" columnid="inhistinclyn"/>
- <BindItem id="item74" compid="chk_ophistinclyn" propid="value" datasetid="ds_data_ophist1" columnid="ophistinclyn"/>
- <BindItem id="item75" compid="grp_anti.rdo_anti" propid="value" datasetid="ds_main_allgtemp" columnid="antitype"/>
- <BindItem id="item76" compid="grp_anti.txt_anti" propid="value" datasetid="ds_main_allgtemp" columnid="antidesc"/>
- <BindItem id="item77" compid="cmb_antibiodrugyn" propid="value" datasetid="ds_data_rectmedistat1" columnid="antibiodrugyn"/>
- <BindItem id="item78" compid="chk_rectmedistatinclyn" propid="value" datasetid="ds_data_rectmedistat1" columnid="rectmedistatinfoinclyn"/>
- <BindItem id="item79" compid="rdo_allgyn" propid="value" datasetid="ds_data_allghist1" columnid="allghistinclyn"/>
- <BindItem id="item80" compid="grp_basebdinfo.ipt_highbp" propid="value" datasetid="ds_main_wardrecinfo" columnid="highbp"/>
- <BindItem id="item81" compid="grp_basebdinfo.ipt_lowbp" propid="value" datasetid="ds_main_wardrecinfo" columnid="lowbp"/>
- <BindItem id="item82" compid="grp_basebdinfo.chk_bdtpinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdtpinspyn"/>
- <BindItem id="item83" compid="grp_basebdinfo.chk_brethinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="brethinspyn"/>
- <BindItem id="item84" compid="grp_basebdinfo.ipt_pulse" propid="value" datasetid="ds_main_wardrecinfo" columnid="pulse"/>
- <BindItem id="item85" compid="ipt_relignnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="relignnm"/>
- <BindItem id="item66" compid="Div00.comnrs1" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrs1cd"/>
- <BindItem id="item68" compid="Div00.radnrs21" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrs21cd"/>
- <BindItem id="item69" compid="Div00.radnrs22" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrs22cd"/>
- <BindItem id="item70" compid="Div00.radnrs23" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrs23cd"/>
- <BindItem id="item67" compid="Div00.input6" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrsscore"/>
- <BindItem id="item86" compid="chk_spcffactinclyn" propid="value" datasetid="ds_data_spcf" columnid="spcffactinclyn"/>
- </Bind>
- <InitValue/>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var status = "select";
- var cText = "";
- function SMMNW07600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_setRowTypeIcon(grd_famyfact, 1);
-
- }
- function SMMNW07600_onload(obj:Form, e:LoadEventInfo)
- {
- //로드 부분 색깔변경만 있어서 삭제...
- }
- function fInitEventGnrlInfo() {
- if( utlf_isNull(ipt_indt.value) ) {
- ds_main_wardrecinfo.setColumn(0, "indt", ds_temp_cond_list.getColumn(0, "careinrmtm")); //입원시간
- }
- //입원전 검사실에서 기록한 기록이 있을 경우 [입원전 검사실]버튼이 생성
- var oParam = {};
- oParam.id = "TRMNW07601";
- oParam.service = "wardcareapp.WardCareRec";
- oParam.method = "reqGetInbfInfo";
- oParam.inds = "refCond=ds_send_req";
- oParam.outds = "ds_main_inbfinfo_inbfinfolist=inbfinfolist";
- oParam.async = false;
-
- tranf_submit(oParam);
- if( ds_main_inbfinfo_inbfinfolist.getColumn(0, "inbfyn") == "Y"){
- bnt_testroom.visible =true;
- } else {
- bnt_testroom.visible =false;
- }
- if(ds_temp_cond_list.getColumn(0, "sex") == "M") { // 남자일 경우 여성정보 해당사항 없음 체크
- ds_data_female1.setColumn(0, "femaleinfoyn", "1");
- ds_data_female1.setColumn(0, "femaleaddinfoyn", "");
- chk_femaleaddinfoyn.enable = false;
- }
- else
- {
- if(utlf_isNull(ds_data_female1.getColumn(0, "femaleinfoyn")))
- {
- ds_data_female1.setColumn(0, "femaleinfoyn", "");
- }
- if(utlf_isNull(ds_data_female1.getColumn(0, "femaleaddinfoyn")))
- {
- ds_data_female1.setColumn(0, "femaleaddinfoyn", "");
- }
- chk_femaleaddinfoyn.enable = true;
- }
-
- var privacychk = ds_codelist.lookup("cdgrupid", "W25", "cdid");
-
- if(privacychk == "N"){
- ds_main_wardrecinfo.setColumn(0, "privacy", "");
- chk_privacy.visible = false;
- cap_educgrde.visible = true;
- cmb_educgrde.visible = true;
- ipt_educgrde.visible = true;
- }else{
- chk_privacy.visible = true;
- cap_educgrde.visible = false; // 본원 - 교육지표 추가 요청 '15.03.19 - AYS
- cmb_educgrde.visible = false;
- ipt_educgrde.visible = false;
- }
-
- if( ds_main_wardrecinfo.getColumn(0, "privacy") == "Y"){ // 개인정보사정 미동의 Y인 경우
- cmb_job.enable = false;
- ipt_job.enable = false;
- cmb_relign.enable = false;
- ipt_relignnm.enable = false;
- cmb_marystat.enable = false;
- ipt_marystatnm.enable = false;
-
- // rdo_nationalityflag.enable = false;
- // ipt_nationalitynm.enable = false;
- // rdo_socialwelfare.enable = false;
- //
- // chk_famyparent.enable = false;
- // ipt_famybrother.enable = false;
- // ipt_famychildren.enable = false;
- cap_baptnm.visible = false;
- ipt_baptnm.visible = false;
-
- }else{
- cmb_job.enable = true;
- cmb_relign.enable = true;
- cmb_marystat.enable = true;
-
- // rdo_nationalityflag.enable = true;
- // rdo_socialwelfare.enable = true;
- //
- // chk_famyparent.enable = true;
- // ipt_famybrother.enable = true;
- // ipt_famychildren.enable = true;
-
- //cmb_job.dispatch("xforms-value-changed");
- var job = ds_main_wardrecinfo.getColumn(0, "jobcd");
- if(job == "10") { //기타
- ipt_job.enable = true;
- } else {
- ds_main_wardrecinfo.setColumn(0, "jobnm", "");
- ipt_job.enable = false;
- }
-
- //cmb_relign.dispatch("xforms-value-changed");
- var religncd = ds_main_wardrecinfo.getColumn(0, "religncd");
-
- if(religncd == "09") { //기타
- ipt_relignnm.enable = true;
- } else {
- ipt_relignnm.enable = false;
- }
-
- //cmb_educgrde.dispatch("xforms-value-changed");
- var educgrde = ds_main_wardrecinfo.getColumn(0, "educgrdecd");
- if(educgrde == "15") { //기타
- ipt_educgrde.enable = true;
- } else {
- ds_main_wardrecinfo.setColumn(0, "educgrdenm", "");
- ipt_educgrde.enable = false;
- }
-
- //cmb_marystat.dispatch("xforms-value-changed");
- var marystatcd = ds_main_wardrecinfo.getColumn(0, "marystatcd");
- if(marystatcd == "09") {
- ipt_marystatnm.enable = true;
- } else {
- ipt_marystatnm.enable = false;
- ds_main_wardrecinfo.setColumn(0, "marystatnm", "");
- }
-
- //rdo_nationalityflag.dispatch("xforms-value-changed");
- //frmf_inputEnterKey("rdo_nosmokcnstyn", "onitemchanged", new ItemChangeEventInfo );
- }
-
- if( ds_main_wardrecinfo.getColumn(0, "basebdinfoinclyn") == "1") { // 기본신체정보 해당없음 체크
- frmf_inputEnterKey("chk_basebdinfoinclyn", "onchanged", new CheckBoxChangeEventInfo );
- }
-
- //cmb_inpath.dispatch("xforms-value-changed"); // 입원경로 cmb
- if(ds_main_wardrecinfo.getColumn(0, "inpathcd") == "08") {
- ipt_inpathnm.visible = true;
- } else {
- ipt_inpathnm.visible = false;
- ds_main_wardrecinfo.setColumn(0, "inpathnm", "");
- }
-
- //cmb_inmthd.dispatch("xforms-value-changed"); // 입원방법 cmb
- if(ds_main_wardrecinfo.getColumn(0, "inmthdcd") == "08") {
- ipt_inmthdnm.visible = true;
- } else {
- ipt_inmthdnm.visible = false;
- ds_main_wardrecinfo.setColumn(0, "inmthdnm", "");
- }
-
- //cmb_inacompst.dispatch("xforms-value-changed"); // 입원시동반자 cmb
- if(ds_main_wardrecinfo.getColumn(0, "inacompstcd") == "04") {
- ipt_inacompstnm.visible = true;
-
- } else {
- ipt_inacompstnm.visible = false;
- ds_main_wardrecinfo.setColumn(0, "inacompstnm", "");
- }
-
-
- //rdo_nosmokcnstyn.dispatch("xforms-value-changed"); // 금연상담여부 유무 rdo
- frmf_inputEnterKey("rdo_nosmokcnstyn", "onitemchanged", new ItemChangeEventInfo );
-
- //rdo_drunkinfo.dispatch("xforms-value-changed"); // 음주정보 유무 rdo
- frmf_inputEnterKey("rdo_drunkinfo", "onitemchanged", new ItemChangeEventInfo );
-
- //rdo_tnsseffcyn.dispatch("xforms-value-changed"); // 기호식품 유무 rdo
- frmf_inputEnterKey("rdo_gustofoodyn", "onitemchanged", new ItemChangeEventInfo );
-
- //rdo_tnsseffcyn.dispatch("xforms-value-changed"); // 수혈부작용 rdo
- frmf_inputEnterKey("rdo_tnsseffcyn", "onitemchanged", new ItemChangeEventInfo );
- if( ds_data_pasthist1.getColumn(0, "pasthistinclyn") == "1") { // 과겨병력 해당없음 체크시 실행
- frmf_inputEnterKey("chk_pasthistyn", "onclick", new ClickEventInfo );
- }
- else
- {
- if(ds_data_pasthist2.rowcount == 0)
- {
- ds_data_pasthist2.addRow();
- }
- }
-
- if( ds_data_famyhist1.getColumn(0, "famyhistinclyn") == "1") { // 가족병력 해당없음 체크시 실행
- frmf_inputEnterKey("chk_famyhistyn", "onclick", new ClickEventInfo );
- }
- else
- {
- if(ds_data_famyhist2.rowcount == 0)
- {
- ds_data_famyhist2.addRow();
- }
- }
-
- if( ds_data_inhist1.getColumn(0, "inhistinclyn") == "1") { // 입원이력 해당없음 체크시 실행
- frmf_inputEnterKey("chk_inhistyn", "onclick", new ClickEventInfo );
- }
- else
- {
- if(ds_data_inhist2.rowcount == 0)
- {
- ds_data_inhist2.addRow();
- }
- }
-
- if( ds_data_ophist1.getColumn(0, "ophistinclyn") == "1") { // 수술이력 해당없음 체크시 실행
- frmf_inputEnterKey("chk_ophistinclyn", "onclick", new ClickEventInfo );
- }
- else
- {
- if(ds_data_ophist2.rowcount == 0)
- {
- ds_data_ophist2.addRow();
- }
- }
-
- if( ds_data_rectmedistat1.getColumn(0, "rectmedistatinfoinclyn") == "1") { // 최근투약상태 해당없음 체크시 실행
- frmf_inputEnterKey("chk_rectmedistatinclyn", "onclick", new ClickEventInfo );
- }
- else
- {
- if(ds_data_rectmedistat2.rowcount == 0)
- {
- ds_data_rectmedistat2.addRow();
- }
- }
-
- if( ds_data_allghist1.getColumn(0, "allghistinclyn") == "1") { // 알레르기 해당없음 체크시 실행
- frmf_inputEnterKey("rdo_allgyn", "onitemchanged", new ItemChangeEventInfo );
- }
- else
- {
- if(ds_data_allghist2.rowcount == 0)
- {
- ds_data_allghist2.addRow();
- }
- }
-
- //chk_femaleinfoinclyn.dispatch("xforms-value-changed");
- status = "select";
- frmf_inputEnterKey("chk_femaleinfoinclyn", "onclick", new ClickEventInfo );
-
- //신체정보 측정불가시 측정불가 체크표시 추가_20090306_SMY
- //chk_bpinspyn.dispatch("xforms-value-changed");
- frmf_inputEnterKey("grp_basebdinfo.chk_bdhtinspyn", "onchanged", new CheckBoxChangeEventInfo );
- //chk_pulseinspyn.dispatch("xforms-value-changed");
- frmf_inputEnterKey("grp_basebdinfo.chk_pulseinspyn", "onchanged", new CheckBoxChangeEventInfo );
- //chk_brethinspyn.dispatch("xforms-value-changed");
- frmf_inputEnterKey("grp_basebdinfo.chk_brethinspyn", "onchanged", new CheckBoxChangeEventInfo );
- //chk_bdtpinspyn.dispatch("xforms-value-changed");
- frmf_inputEnterKey("grp_basebdinfo.chk_bdtpinspyn", "onchanged", new CheckBoxChangeEventInfo );
- //chk_bdhtinspyn.dispatch("xforms-value-changed");
- frmf_inputEnterKey("grp_basebdinfo.chk_bdhtinspyn", "onchanged", new CheckBoxChangeEventInfo );
- //chk_bdwtinspyn.dispatch("xforms-value-changed");
- frmf_inputEnterKey("grp_basebdinfo.chk_bdwtinspyn", "onchanged", new CheckBoxChangeEventInfo );
- //chk_spo2inspyn.dispatch("xforms-value-changed");
- frmf_inputEnterKey("grp_basebdinfo.chk_spo2inspyn", "onchanged", new CheckBoxChangeEventInfo );
-
- if(utlf_isNull(ds_main_wardrecinfo.getColumnInfo("bdhtinspyn")))
- {
- ds_main_wardrecinfo.addColumn("bdhtinspyn", "string");
- }
- if(utlf_isNull(ds_main_wardrecinfo.getColumnInfo("spo2inspyn")))
- {
- ds_main_wardrecinfo.addColumn("spo2inspyn", "string");
- }
- if(utlf_isNull(ds_main_wardrecinfo.getColumnInfo("bdwtinspyn")))
- {
- ds_main_wardrecinfo.addColumn("bdwtinspyn", "string");
- }
- frmf_inputEnterKey("chk_privacy", "onclick", new ClickEventInfo );
-
- // 190619_AYS_특이사항_해당없음 추가
- frmf_inputEnterKey("chk_spcffactinclyn", "onclick", new ClickEventInfo);
-
- // 190716_AYS_개인정보사정 미동의_초기 이벤트 실행
- frmf_inputEnterKey("chk_privacy", "onclick", new ClickEventInfo);
- }
- function fChkNoneInspCode(IptPath, IptID)
- {
- if(IptPath.getColumn(0, IptPath) == NoneInspCode)
- {
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- IptPath.clearData();
- IptIDCon.setFocus();
- return;
- }
- }
- function cmb_inpath_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "inpathcd") == "08")
- {
- ipt_inpathnm.visible = true;
- }
- else
- {
- ipt_inpathnm.visible = false;
- ds_main_wardrecinfo.setColumn(0, "inpathnm", "");
- }
- }
- function cmb_inmthd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "inmthdcd") == "08") {
- ipt_inmthdnm.visible = true;
- } else {
- ipt_inmthdnm.visible = false;
- ds_main_wardrecinfo.setColumn(0, "inmthdnm", "");
- }
- }
- function cmb_inacompst_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "inacompstcd") == "04")
- {
- ipt_inacompstnm.visible = true;
- }
- else
- {
- ipt_inacompstnm.visible = false;
- ds_main_wardrecinfo.setColumn(0, "inacompstnm", "");
- }
- }
- function chk_privacy_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
-
- }
- function cmb_job_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var job = ds_main_wardrecinfo.getColumn(0, "jobcd");
- //기타
- if(job == "10")
- {
- ipt_job.enable = true;
- }
- else
- {
- ds_main_wardrecinfo.setColumn(0, "jobnm", "");
- ipt_job.enable = false;
- }
- }
- function cmb_educgrde_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var educgrde = ds_main_wardrecinfo.getColumn(0, "educgrdecd");
- //기타
- if(educgrde == "15")
- {
- ipt_educgrde.enable = true;
- }
- else
- {
- ds_main_wardrecinfo.setColumn(0, "educgrdenm", "");
- ipt_educgrde.enable = false;
- }
- }
- function cmb_relign_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var religncd = ds_main_wardrecinfo.getColumn(0, "religncd");
- //천주교일 경우 세례명 입력
- if(religncd == "01")
- {
- cap_baptnm.visible = true;
- ipt_baptnm.visible = true;
- ipt_baptnm.enable = true;
- ipt_relignnm.visible = false;
- }
- else
- {
- cap_baptnm.visible = false;
- ipt_baptnm.visible = false;
- ipt_relignnm.visible = true;
- ds_main_wardrecinfo.setColumn(0, "baptnm", "");
- //기타
- if(religncd == "09")
- {
- ipt_relignnm.enable = true;
- }
- else
- {
- ipt_relignnm.enable = false;
- }
- }
- }
- function cmb_marystat_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var marystatcd = ds_main_wardrecinfo.getColumn(0, "marystatcd");
- if(marystatcd == "09")
- {
- ipt_marystatnm.enable = true;
- }
- else
- {
- ipt_marystatnm.enable = false;
- ds_main_wardrecinfo.setColumn(0, "marystatnm", "");
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if( !utlf_isNull(ds_temp_cond_list.getColumn(0, "pid")) || !utlf_isNull(ds_temp_cond_list.getColumn(0, "hngnm")))
- {
- // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
- //예약내역이 없는 필드 체크
- var hngnm = ds_temp_cond_list.getColumn(0, "hngnm");
- var pid = ds_temp_cond_list.getColumn(0, "pid");
- if (utlf_isNull(pid) && (utlf_isNull(hngnm) && hngnm == " " && hngnm == "-"))//추민수 utlf_isNull(hngnm)
- {
- return false;
- }
- //setParameter("opener_parameter_id", pid);
- var objParam = [{col:"srchcond", type:"string", size:1, val:"1"}, {col:"pid", type:"string", size:10, val: pid}]
- dsf_createDsRow("ds_temp_source", objParam, false)
-
- var objArg = new Object();
-
- objArg.arg_ds_source = ds_temp_source;
-
- frmf_modal("SPPMO01400", "SPPMO01400", objArg, "","1", "100", "100", "", "", "", "", "", "M");
- // var hometel = getParameter("SMPMO01400_hometel");
- // var mpphontel = getParameter("SMPMO01400_mpphontel");
-
- // if( hometel != '' && mpphontel != '' ){
- // model.setValue("/root/main/patrem/selectpat/hometel", hometel) ;
- // model.setValue("/root/main/patrem/selectpat/mpphontel", mpphontel) ;
- // }
- dsf_deleteDs("ds_temp_source");
- }
- }
- function btn_famyfactadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_famyfact.addRow();
- }
- function btn_famyfactdel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_famyfact.deleteRow(ds_main_famyfact.rowposition);
- }
- function button40_onclick(obj:Button, e:ClickEventInfo)
- {
- // setParameter("SPMMR04711_shape", model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
- // modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
- //
- // if(model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") != "") {
- // model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
- // opt_existyn.refresh();
- // } else {
- // model.setValue("/root/main/wardrecinfo/famytree/existyn", "");
- // opt_existyn.refresh();
- // }
- }
- function bnt_testroom_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
- frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
- frmf_setParameter("recflag", "");
- frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
- frmf_modal("SPMNW12900", "SPMNW12900", "", "","1", "10", "10", "", "", "", "", "", "M");
- }
- function chk_basebdinfoinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(chk_basebdinfoinclyn.value == "1")
- {
- var rtn = "";
- var isEmptyYN = "Y";
-
- while(1)
- {
- if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0, "bdht")))
- {
- isEmptyYN = "N";
- break;
- }
-
- if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0 , "bdwt")))
- {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0, "bdbtype")))
- {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0, "bdbtyperh")))
- {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0, "spo2")))
- {
- isEmptyYN = "N";
- break;
- }
- break;
- }
- if(isEmptyYN == "Y")
- {
- status = "select";
- }
- if(isEmptyYN == "N")
- {
- rtn = sysf_messageBox ( "데이터를", "Q001");
- }
- if(rtn == "6")
- {
- grp_basebdinfo.ipt_bdht.enable = false;
- grp_basebdinfo.ipt_bdwt.enable = false;
- grp_basebdinfo.ipt_spo2.enable = false;
- grp_basebdinfo.cmb_bdbtype.enable = false;
- ds_main_wardrecinfo.setColumn(0, "bdht", "");
- ds_main_wardrecinfo.setColumn(0, "bdwt", "");
- ds_main_wardrecinfo.setColumn(0, "bdbtype", "");
- ds_main_wardrecinfo.setColumn(0, "bdbtyperh", "");
- ds_main_wardrecinfo.setColumn(0, "spo2", "");
- }
- else
- {
- ds_main_wardrecinfo.setColumn(0, "basebdinfoinclyn", "");
- return;
- }
- }
- else
- {
- grp_basebdinfo.ipt_bdht.enable = true;
- grp_basebdinfo.ipt_bdwt.enable = true;
- grp_basebdinfo.cmb_bdbtype.enable = true;
- grp_basebdinfo.ipt_spo2.enable = true;
- }
- }
- function grp_basebdinfo_chk_bdhtinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(grp_basebdinfo.chk_bdhtinspyn.value == "Y")
- {
- grp_basebdinfo.ipt_bdht.enable = false;
- ds_main_wardrecinfo.setColumn(0, "bdht", "")
- grp_basebdinfo.ipt_bdht.style.background.color = "gainsboro";
- }
- else
- {
- grp_basebdinfo.ipt_bdht.enable = true;
- grp_basebdinfo.ipt_bdht.style.background.color = "#ffe4b5ff";
-
- }
- }
- function grp_basebdinfo_chk_spo2inspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(grp_basebdinfo.chk_spo2inspyn.value == "Y")
- {
- grp_basebdinfo.ipt_spo2.enable = false;
- ds_main_wardrecinfo.setColumn(0, "spo2", "");
- grp_basebdinfo.ipt_spo2.style.background.color = "gainsboro";
- }
- else
- {
- grp_basebdinfo.ipt_spo2.enable = true;
- grp_basebdinfo.ipt_spo2.style.background.color = "#ffe4b5ff";
-
- }
- }
- function grp_basebdinfo_chk_bdwtinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(grp_basebdinfo.chk_bdwtinspyn.value == "Y")
- {
- grp_basebdinfo.ipt_bdwt.enable = false;
- ds_main_wardrecinfo.setColumn(0, "bdwt", "");
- grp_basebdinfo.ipt_bdwt.style.background.color = "gainsboro";
- }
- else
- {
- grp_basebdinfo.ipt_bdwt.enable = true;
- grp_basebdinfo.ipt_bdwt.style.background.color = "#ffe4b5ff";
- }
- }
- function fChkNoneInspCode(IptPath, IptID)
- {
- if(IptPath.getColumn(0, IptPath) == NoneInspCode)
- {
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- IptPath.clearData();
- IptIDCon.setFocus();
- return;
- }
- }
- function grp_basebdinfo_ipt_bdht_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- //측정불가 코드값입력 blocking_20090310_SMY
- if(ds_main_wardrecinfo.getColumn(0, "bdht") == NoneInspCode){
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- ds_main_wardrecinfo.setColumn(0, "bdht", "");
- grp_basebdinfo.ipt_bdht.setFocus();
- return;
- }
- }
- function grp_basebdinfo_ipt_spo2_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "spo2") == NoneInspCode){
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- ds_main_wardrecinfo.setColumn(0, "spo2", "");
- grp_basebdinfo.ipt_spo2.setFocus();
- return;
- }
- }
- function grp_basebdinfo_ipt_bdwt_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "bdwt") == NoneInspCode){
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- ds_main_wardrecinfo.setColumn(0, "bdwt", "");
- grp_basebdinfo.ipt_bdwt.setFocus();
- return;
- }
- }
- function grp_basebdinfo_chk_bdtpinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(grp_basebdinfo.chk_bdtpinspyn.value == "Y")
- {
- grp_basebdinfo.ipt_bdtp.enable = false;
- grp_basebdinfo.cmb_bdtp.enable = false;
- ds_main_wardrecinfo.setColumn(0, "bdtp", "");
- ds_main_wardrecinfo.setColumn(0, "bdtppartcd", "");
- }
- else
- {
- grp_basebdinfo.ipt_bdtp.enable = true;
- grp_basebdinfo.cmb_bdtp.enable = true;
-
-
- }
- }
- function grp_basebdinfo_chk_brethinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(grp_basebdinfo.chk_brethinspyn.value == "Y")
- {
- grp_basebdinfo.ipt_breth.enable = false;
- ds_main_wardrecinfo.setColumn(0, "breth", "");
- }
- else
- {
- grp_basebdinfo.ipt_breth.enable = true;
-
- }
- }
- function grp_basebdinfo_ipt_highbp_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "highbp") == NoneInspCode){
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- ds_main_wardrecinfo.setColumn(0, "highbp", "");
- grp_basebdinfo.ipt_highbp.setFocus();
- return;
- }
- }
- function grp_basebdinfo_ipt_lowbp_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "lowbp") == NoneInspCode){
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- ds_main_wardrecinfo.setColumn(0, "lowbp", "");
- grp_basebdinfo.ipt_lowbp.setFocus();
- return;
- }
- }
- function grp_basebdinfo_ipt_pulse_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "pulse") == NoneInspCode){
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- ds_main_wardrecinfo.setColumn(0, "pulse", "");
- grp_basebdinfo.ipt_pulse.setFocus();
- return;
- }
- }
- function grp_basebdinfo_ipt_breth_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- if(ds_main_wardrecinfo.getColumn(0, "breth") == NoneInspCode){
- sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
- ds_main_wardrecinfo.setColumn(0, "breth", "");
- grp_basebdinfo.ipt_pulse.setFocus();
- return;
- }
- }
- function rdo_smokinfo_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- //입원전1개월이내흡연 체크
- if(ds_data_smokinfo.getColumn(0, "smokinfoyn") == "2")
- {
- rdo_bfsmokinfo.enable = true;
- }
- else
- {
- rdo_bfsmokinfo.enable = false;
- ds_main_wardrecinfo.setColumn(0, "bfsmokinfoyn", "");
- }
-
- frmf_inputEnterKey("rdo_nosmokcnstyn", "onitemchanged", new ItemChangeEventInfo );
- }
- function rdo_nosmokcnstyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(ds_data_smokinfo.getColumn(0, "nosmokcnstyn") == "1")
- {
- if(ds_data_smokinfo.getColumn(0, "smokinfoyn") == "4"
- || ds_data_smokinfo.getColumn(0, "bfsmokinfoyn") == "Y")
- {
- cmb_nosmokcnst.enable = true;
- ipt_nosmokcnstnm.enable = true;
- }
- else
- {
- cmb_nosmokcnst.enable = false;
- ipt_nosmokcnstnm.enable = false;
- ds_data_smokinfo.setColumn(0, "nosmokcnstnm", "");
- ds_data_smokinfo.setColumn(0, "nosmokcnst", "");
- }
- }
- else
- {
- cmb_nosmokcnst.enable = false;
- ipt_nosmokcnstnm.enable = false;
- ds_data_smokinfo.setColumn(0, "nosmokcnst", "");
- ds_data_smokinfo.setColumn(0, "nosmokcnstnm", "");
- }
- }
- function rdo_bfsmokinfo_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- frmf_inputEnterKey("rdo_smokinfo", "onitemchanged", new ItemChangeEventInfo );
- }
- function cmb_nosmokcnst_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(ds_data_smokinfo.getColumn(0, "nosmokcnst") == "03")
- {
- ipt_nosmokcnstnm.enable = true;
- }
- else
- {
- ipt_nosmokcnstnm.enable = false;
- ds_data_smokinfo.setColumn(0, "nosmokcnstnm", "");
- }
- }
- function rdo_drunkinfo_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(ds_data_drunkinfo.getColumn(0, "drunkinfoyn") == "2")
- {
- ipt_drunkinfokind.enable = true;
- ipt_drunkinfoterm.enable = true;
- } else {
- ds_data_drunkinfo.setColumn(0, "drunkinfokind", "");
- ds_data_drunkinfo.setColumn(0, "drunkinfoterm", "");
-
- ipt_drunkinfokind.enable = false;
- ipt_drunkinfoterm.enable = false;
- }
- }
- function rdo_gustofoodyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(ds_data_gustofoodinfo.getColumn(0, "gustofoodyn") == "2")
- {
- ipt_gustofood.enable = true;
- }
- else
- {
- ds_data_gustofoodinfo.setColumn(0, "gustofooddetl", "");
- ipt_gustofood.enable = false;
- }
- }
- function chk_femaleaddinfoyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(chk_femaleaddinfoyn.value == "1")
- {
- rdo_endmensyn.enable = true;
- ipt_endmensyn.enable = true;
- ipt_closmensage.enable = true;
- ipt_lastmensdd.enable = true;
- ipt_prgbthhisg.enable = true;
- ipt_prgbthhisp.enable = true;
- ipt_prgbthhisa.enable = true;
- ipt_prgbthhissa.enable = true;
- ipt_prgbthhisaa.enable = true;
- ipt_prgbthhisl.enable = true;
- } else {
- ds_data_female2.setColumn(0, "lastmensdd", "");
- ds_data_female2.setColumn(0, "prgbthhisg", "");
- ds_data_female2.setColumn(0, "prgbthhisp", "");
- ds_data_female2.setColumn(0, "prgbthhisa", "");
- ds_data_female2.setColumn(0, "prgbthhissa", "");
- ds_data_female2.setColumn(0, "prgbthhisaa", "");
- ds_data_female2.setColumn(0, "prgbthhisl", "");
-
- rdo_endmensyn.enable = true;
- ipt_endmensyn.enable = true;
- ipt_closmensage.enable = false;
- ipt_lastmensdd.enable = false;
- ipt_prgbthhisg.enable = false;
- ipt_prgbthhisp.enable = false;
- ipt_prgbthhisa.enable = false;
- ipt_prgbthhissa.enable = false;
- ipt_prgbthhisaa.enable = false;
- ipt_prgbthhisl.enable = false;
- }
- }
- function comnrs1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fnNRScalc();
- }
- function fnNRScalc()
- {
- var snrs1 = ds_main_wardrecinfo.getColumn(0, "nrs1cd");
- var snrs21 = ds_main_wardrecinfo.getColumn(0, "nrs21cd");
- var snrs22 = ds_main_wardrecinfo.getColumn(0, "nrs22cd");
- var snrs23 = ds_main_wardrecinfo.getColumn(0, "nrs23cd");
-
- var totalnrs= 0;
- var snm = "";
-
- if (utlf_isNull(snrs1))
- {
- snrs21 = 0;
- ds_main_wardrecinfo.setColumn(0, "nrs1nm","");
- }
- else
- {
- snm = comnrs1.text;
- ds_main_wardrecinfo.setColumn(0, "nrs1nm",snm);
- }
-
- if (utlf_isNull(snrs21) || snrs21 == "1")
- {
- snrs21 = 0;
- ds_main_wardrecinfo.setColumn(0, "nrs21nm", "");
- }
- else
- {
- snrs21 = 1;
- snm = capnrs21.text;
- ds_main_wardrecinfo.setColumn(0, "nrs21nm", snm);
- }
-
- if (utlf_isNull(snrs22) || snrs22=="1")
- {
- snrs22 = 0;
- ds_main_wardrecinfo.setColumn(0, "nrs22nm", "");
- }
- else
- {
- snrs22 = 2;
- snm = capnrs22.text;
- ds_main_wardrecinfo.setColumn(0, "nrs22nm", snm);
- }
-
- if (utlf_isNull(snrs23) || snrs23 == "1")
- {
- snrs23 = 0;
- ds_main_wardrecinfo.setColumn(0, "nrs23nm","");
- }
- else
- {
- snrs23 = 3;
- snm = capnrs23.text;
- ds_main_wardrecinfo.setColumn(0, "nrs23nm", snm);
- }
-
- //----------(20110108) 경북대
- if (utlf_isNull(snrs1)) snrs1 = 0;
- if (utlf_isNull(snrs21)) snrs21 = 0;
- if (utlf_isNull(snrs22)) snrs22 = 0;
- if (utlf_isNull(snrs23)) snrs23 = 0;
- //----------(20110108) 경북대
- totalnrs = parseInt(snrs1) +parseInt(snrs21) + parseInt(snrs22) + parseInt(snrs23);
- ds_main_wardrecinfo.setColumn(0, "nrsscore", totalnrs);
- }
- function radnrs21_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fnNRScalc();
- }
- function radnrs22_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fnNRScalc();
- }
- function radnrs23_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fnNRScalc();
- }
- function isCheckGridDataYN(grdData)
- {
- var isEmptyYN = "Y";
- var bindDs = eval(grdData.binddataset);
- if(bindDs.rowcount > 0)
- {
- for(var i = 0; i < grdData.getCellCount("Body"); i++) {
- if(!utlf_isNull(grdData.getCellValue(0, i)))
- {
-
- isEmptyYN = "N";
- break;
- }
- else
- {
- isEmptyYN = "Y";
- }
- }
- }
- else if(bindDs.rowcount == 0)
- {
- isEmptyYN = "Y";
- }
- else
- {
- isEmptyYN = "N";
- }
-
- if(isEmptyYN == "Y")
- {
- status = "select";
- }
- else
- {
- status = "";
- }
- return isEmptyYN;
- }
- function chk_pasthistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- status = "";
- }
- function btn_pasthistadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_pasthist2.addRow();
- grdDateType(ds_data_pasthist2, "genrdd", 0, grd_ophist);
- }
- function btn_pasthistdel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_pasthist2.deleteRow(ds_data_pasthist2.rowposition);
- }
- function chk_famyhistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- status = "";
- }
- function btn_famyhistadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_famyhist2.addRow();
- }
- function btn_famyhistdel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_famyhist2.deleteRow(ds_data_famyhist2.rowposition);
- }
- function chk_inhistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- status = "";
- }
- function btn_inhistadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_inhist2.addRow(); // 입원이력 행추가
- grdDateType(ds_data_inhist2, "indd", 0, grd_inhist);
- grdDateType(ds_data_inhist2, "dschdd", 1, grd_inhist);
- }
- function btn_inhistdel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_inhist2.deleteRow(ds_data_inhist2.rowposition); // 입원이력 행삭제
- }
- function btn_inhistpop_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("histflag", "inhist");
- frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
- frmf_setParameter("indd", ds_temp_cond_list.getColumn(0, "indd"));
- frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
- frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
- frmf_open("SPMNW12800","SPMNW12800","","","","","","","","","","","M");
- }
- function chk_ophistinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- status = "";
- }
- function btn_ophistadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_ophist2.addRow();
- grdDateType(ds_data_ophist2, "opdd", 0, grd_ophist);
- }
- function btn_ophistdel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_ophist2.deleteRow(ds_data_ophist2.rowposition);
- }
- function btn_ophistpop_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("histflag", "ophist");
- frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
- frmf_setParameter("indd", ds_temp_cond_list.getColumn(0, "indd"));
- frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
- frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
- frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
- frmf_open("SPMNW12800","SPMNW12800","","","","","","","","","","","M");
- }
- function grp_anti_btn_anti1_onclick(obj:Button, e:ClickEventInfo)
- {
- var antitype = utlf_transNullToEmpty(ds_main_allgtemp.getColumn(0, "antitype"));
- var antilabel = grp_anti.rdo_anti.text;
- var antidesc = utlf_transNullToEmpty(ds_main_allgtemp.getColumn(0, "antidesc"));
- var allgrow = ds_main_allgtemp.getColumn(0, "row");
- var allgcol = eval(ds_main_allgtemp.getColumn(0, "col")) + 1;
- //var alldesc = utlf_transNullToEmpty(grd_allghist.getCellValue(allgrow, allgcol));
- var alldesc = utlf_transNullToEmpty(ds_data_allghist2.getColumn(allgrow, "allergespec"));
-
- if (!utlf_isNull(alldesc) && !utlf_isNull(antitype)) {
- alldesc = alldesc + ",";
- }
-
- if (antitype == "3") {
- if (!utlf_isNull(antidesc)) {
- antidesc = ":" + antidesc;
- }
- } else {
- antidesc = "";
- }
-
- var allgdesc = alldesc + antilabel + antidesc;
-
- ds_data_allghist2.setColumn(allgrow, "allergespec", allgdesc);
-
- ds_main_allgtemp.clearData();
-
- //allergespec
- grp_anti.visible = false;
- grp_anti.rdo_anti.visible = false;
- grp_anti.txt_anti.visible = false;
- grp_anti.btn_anti1.visible = false;
- grp_anti.btn_anti2.visible = false;
- }
- function grp_anti_btn_anti2_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_anti.visible = false;
- grp_anti.rdo_anti.visible = false;
- grp_anti.txt_anti.visible = false;
- grp_anti.btn_anti1.visible = false;
- grp_anti.btn_anti2.visible = false;
- ds_main_allgtemp.clearData();
- }
- function chk_rectmedistatinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
-
- }
- function btn_SPMMO14900_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SPMMO14900","SPMMO14900","","","","","","","","","","","M");
- }
- function btn_rectmedistatadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_rectmedistat2.addRow(); // 최근투약상태
- }
- function btn_rectmedistatdel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_rectmedistat2.deleteRow(ds_data_rectmedistat2.rowposition); // 최근투약상태 행삭제
- }
- function rdo_allgyn_onitemchanged(obj, e)
- {
- status = "click";
- if( ds_data_allghist1.getColumn(0, "allghistinclyn") == "1") {
- var isEmptyYN = "Y";
- isEmptyYN = group3.switch1.case2.import4.isCheckGridDataYN(group3.switch1.case1.import1.grd_allghist);
- // if(ds_data_allghist2.rowcount > 0)
- // {
- // var rtn = sysf_messageBox ( "데이터를", "Q001");
- // }
- var rtn = group3.switch1.case2.import4.fSetStatus();
- if(rtn == "6") {
- ds_data_allghist2.clearData();
- //grd_pasthist.rebuild();
- btn_allghistadd.enable = false;
- btn_allghistdel.enable = false;
- } else if(rtn == "7") {
- ds_data_allghist1.setColumn(0, "allghistinclyn", "");
- }
- }
- else
- {
- btn_allghistadd.enable = true;
- btn_allghistdel.enable = true;
-
- if( ds_data_allghist2.rowcount == 0 ){
- ds_data_allghist2.addRow();
- grdDateType(ds_data_allghist2, "genrdd", 0, grd_allghist);
- }
- }
- }
- function btn_allg_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SPMMD03300","SPMMD03300","","","","","","","","","","","M");
- }
- function btn_allghistadd_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_allghist2.addRow();
- grdDateType(ds_data_allghist2, "genrdd", 0, grd_allghist);
- }
- function btn_allghistdel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_data_allghist2.deleteRow(ds_data_allghist2.rowposition);
- }
- function grp_basebdinfo_chk_bpinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(grp_basebdinfo.chk_bpinspyn.value == "Y")
- {
- grp_basebdinfo.ipt_highbp.enable = false;
- grp_basebdinfo.ipt_lowbp.enable = false;
-
- ds_main_wardrecinfo.setColumn(0, "highbp", "")
- ds_main_wardrecinfo.setColumn(0, "lowbp", "")
-
- }else{
- grp_basebdinfo.ipt_highbp.enable = true;
- grp_basebdinfo.ipt_lowbp.enable = true;
- }
- }
- function grp_basebdinfo_chk_pulseinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(grp_basebdinfo.chk_pulseinspyn.value == "Y")
- {
- grp_basebdinfo.ipt_pulse.enable = false;
- ds_main_wardrecinfo.setColumn(0, "pulse", "")
- }
- else
- {
- grp_basebdinfo.ipt_pulse.enable = true;
-
- }
- }
- function fSetStatus() {
- var rtn = "";
-
- if(status == "select") {
- rtn = "6";
- } else {
- rtn = sysf_messageBox("데이터를 ", "Q001");
- }
- return rtn;
- }
- function chk_femaleinfoinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- status = "";
- }
- function rdo_endmensyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(ds_data_female2.getColumn(0, "endmensyn") == "2")
- {
- ipt_endmensyn.enable = true;
- ipt_closmensage.enable = true;
- }
- else
- {
- ipt_endmensyn.enable = false;
- ipt_closmensage.enable = false;
- ds_data_female2.setColumn(0, "endmensdd", "");
- ds_data_mens.setColumn(0, "closmensage", "");
- }
- }
- function rdo_tnsseffcyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(ds_data_tnsseffcinfo.getColumn(0, "tnsseffcyn") == "2")
- {
- ipt_tnsseffc.enable = true;
- } else
- {
- ds_data_tnsseffcinfo.setColumn(0, "tnsseffcdetl", "");
- ipt_tnsseffc.enable = false;
- }
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- function chk_pasthistyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( chk_pasthistyn.value == "1") { // ds_data_pasthist_1.getColumn(0, "pasthistinclyn") == "1") {
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_pasthist);
-
- var rtn = fSetStatus();
-
- if(rtn == "6") {
- ds_data_pasthist2.clearData();
- btn_pasthistadd.enable = false;
- btn_pasthistdel.enable = false;
- } else if(rtn == "7") {
- ds_data_pasthist1.setColumn(0, "pasthistinclyn", "");
- }
- }
- else
- {
- btn_pasthistadd.enable = true;
- btn_pasthistdel.enable = true;
- ds_data_pasthist2.addRow();
- }
- }
- function chk_famyhistyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( chk_famyhistyn.value == "1") {
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_famyhist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- ds_data_famyhist2.clearData();
- //grd_pasthist.rebuild();
- btn_famyhistadd.enable = false;
- btn_famyhistdel.enable = false;
- status = "select";
- } else if(rtn == "7") {
- ds_data_famyhist1.setColumn(0, "famyhistinclyn", "");
- }
- }
- else
- {
- btn_famyhistadd.enable = true;
- btn_famyhistdel.enable = true;
- ds_data_famyhist2.addRow();
- }
- }
- function chk_inhistyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( chk_inhistyn.value == "1") {
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_inhist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- ds_data_inhist2.clearData();
- btn_inhistadd.enable = false;
- btn_inhistdel.enable = false;
- status = "select";
- //ds_data_inhist1.setColumn(0, "inhistinclyn", "1");
- } else if(rtn == "7") {
- ds_data_inhist1.setColumn(0, "inhistinclyn", "");
- }
- }
- else
- {
- btn_inhistadd.enable = true;
- btn_inhistdel.enable = true;
- ds_data_inhist2.addRow();
- }
- }
- function chk_ophistinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( chk_ophistinclyn.value == true) {
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_ophist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- ds_data_ophist2.clearData();
- //grd_pasthist.rebuild();
- btn_ophistadd.enable = false;
- btn_ophistdel.enable = false;
- status = "select";
- } else if(rtn == "7") {
- ds_data_ophist1.setColumn(0, "ophistinclyn", "");
- }
- }
- else
- {
- btn_ophistadd.enable = true;
- btn_ophistdel.enable = true;
- ds_data_ophist2.addRow();
- }
- }
- function chk_rectmedistatinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- //190719_AYS_최근투약상태 해당없음 삭제로 인한 주석처리
- /*
- if( chk_rectmedistatinclyn.value == "1") {
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- ds_data_rectmedistat2.clearData();
- //grd_pasthist.rebuild();
- btn_rectmedistatadd.enable = false;
- btn_rectmedistatdel.enable = false;
- status = "select";
- } else if(rtn == "7") {
- //ds_data_rectmedistat1.setColumn(0, "rectmedistatinfoinclyn", "");
- }
- }
- else
- {
- btn_rectmedistatadd.enable = true;
- btn_rectmedistatdel.enable = true;
- ds_data_rectmedistat2.addRow();
- }
- */
- }
- function tar_spcffact_oneditclick(obj:TextArea, e:EditClickEventInfo)
- {
-
- }
- function grdExprPasthist()
- {
- var i = 0;
- var EXPR = "EXPR(";
- for(i = 0; i < ds_data_pasthist2.rowcount ; i++)
- {
- if(!utlf_isNull(ds_data_pasthist2.getColumn(i, "genrdd")))
- {
- EXPR += "currow == " + i + " && " + ds_data_pasthist2.getColumn(i, "genrdd").length + " == 8 ? 'date' :";
- }
- }
- if(EXPR.length > 7)
- {
- EXPR += "'text')";
- }
- else
- {
- EXPR = "";
- }
- grd_pasthist.setCellProperty("Body", "genrdd", "displaytype", EXPR);
- }
- function grd_pasthist_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
-
- }
- function grd_pasthist_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- cText = e.value;
- }
- function grd_pasthist_onkillfocus(obj:Grid, e:KillFocusEventInfo)
- {
- }
- function grd_pasthist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.keycode == "13")
- {
- obj.showEditor(false);
- }
- }
- function grd_pasthist_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo)
- {
- //cText = e.posttext.replace("-","").replace(" ","");
- }
- function fGetMask(currow) {
- var sMask = "";
- if(ds_data_pasthist2.getColumn(currow,"genrdd").length == 4) sMask = "####";
- else if(ds_data_pasthist2.getColumn(currow,"genrdd").length == 6) sMask = "####-##";
- else if(ds_data_pasthist2.getColumn(currow,"genrdd").length == 8) sMask = "####-##-##";
- return sMask;
- }
- function fGetMaskI1(currow) {
- var sMask = "";
- if(ds_data_inhist2.getColumn(currow,"indd").length == 4) sMask = "####";
- else if(ds_data_inhist2.getColumn(currow,"indd").length == 6) sMask = "####-##";
- else if(ds_data_inhist2.getColumn(currow,"indd").length == 8) sMask = "####-##-##";
- return sMask;
- }
- function fGetMaskI2(currow) {
- var sMask = "";
- if(ds_data_inhist2.getColumn(currow,"dschdd").length == 4) sMask = "####";
- else if(ds_data_inhist2.getColumn(currow,"dschdd").length == 6) sMask = "####-##";
- else if(ds_data_inhist2.getColumn(currow,"dschdd").length == 8) sMask = "####-##-##";
- return sMask;
- }
- function fGetMaskO(currow) {
- var sMask = "";
- if(ds_data_ophist2.getColumn(currow,"opdd").length == 4) sMask = "####";
- else if(ds_data_ophist2.getColumn(currow,"opdd").length == 6) sMask = "####-##";
- else if(ds_data_ophist2.getColumn(currow,"opdd").length == 8) sMask = "####-##-##";
- return sMask;
- }
- function fGetMaskA(currow) {
- var sMask = "";
- if(ds_data_allghist2.getColumn(currow,"genrdd").length == 4) sMask = "####";
- else if(ds_data_allghist2.getColumn(currow,"genrdd").length == 6) sMask = "####-##";
- else if(ds_data_allghist2.getColumn(currow,"genrdd").length == 8) sMask = "####-##-##";
- return sMask;
- }
- function grd_inhist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.keycode == "13")
- {
- obj.showEditor(false);
- }
- }
- function grd_ophist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.keycode == "13")
- {
- obj.showEditor(false);
- }
- }
- function grd_allghist_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if(e.keycode == "13")
- {
- obj.showEditor(false);
- }
- }
- function chk_femaleinfoinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( utlf_isNull(ds_data_female1.getColumnInfo("femaleaddinfoyn")) ){
- ds_data_female1.addColumn("femaleaddinfoyn", "string");
- }
-
- if(chk_femaleinfoinclyn.value == "1")
- {
- var isEmptyYN = "Y";
- while(1)
- {
- if(!utlf_isNull(ds_data_mens.getColumn(0, "closmensage")))
- {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_data_female2.getColumn(0, "endmensdd")))
- {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_data_female2.getColumn(0, "lastmensdd"))) {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisg"))) {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisp"))) {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisa"))) {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhissa"))) {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisaa"))) {
- isEmptyYN = "N";
- break;
- }
- if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisl"))) {
- isEmptyYN = "N";
- break;
- }
- break;
- }
-
- if(isEmptyYN == "Y") {
- status = "select";
- }
-
- var rtn = "";
- rtn = fSetStatus();
-
- if(rtn == "6") {
- ds_data_female2.setColumn(0, "endmensyn", "");
- ds_data_female2.setColumn(0, "endmensdd", "");
- ds_data_mens.setColumn(0, "closmensage", "");
- ds_data_female2.setColumn(0, "lastmensdd", "");
- ds_data_female2.setColumn(0, "prgbthhisg", "");
- ds_data_female2.setColumn(0, "prgbthhisp", "");
- ds_data_female2.setColumn(0, "prgbthhisa", "");
- ds_data_female2.setColumn(0, "prgbthhissa", "");
- ds_data_female2.setColumn(0, "prgbthhisaa", "");
- ds_data_female2.setColumn(0, "prgbthhisl", "");
- ds_data_female1.setColumn(0, "femaleaddinfoyn", "");// 여성정보 추가사정
-
- ds_data_mens.setColumn(0, "mensinclyn", "1");
-
- rdo_endmensyn.enable = false;
- ipt_endmensyn.enable = false;
- ipt_lastmensdd.enable = false;
- ipt_prgbthhisg.enable = false;
- ipt_prgbthhisp.enable = false;
- ipt_prgbthhisa.enable = false;
- ipt_prgbthhissa.enable = false;
- ipt_prgbthhisaa.enable = false;
- ipt_prgbthhisl.enable = false;
- ipt_closmensage.enable = false;
- chk_femaleaddinfoyn.enable = false;
- status = "select";
- //frmf_inputEnterKey("group3.switch1.case2.import4.chk_mensinclyn", "onchanged", new CheckBoxChangeEventInfo );
- }
- else
- {
- ds_data_mens.setColumn(0, "mensinclyn", "");
- return;
- }
- } else {
- if(ds_data_female1.getColumn(0, "femaleaddinfoyn") == "1")
- {
- // 추가사정 체크일 때, 모두 활성화, 아닐경우 폐경여부(유/무), 폐경일자, 폐경나이만 활성화.
- rdo_endmensyn.enable = true;
- ipt_endmensyn.enable = true;
- ipt_closmensage.enable = true;
- ipt_lastmensdd.enable = true;
- ipt_prgbthhisg.enable = true;
- ipt_prgbthhisp.enable = true;
- ipt_prgbthhisa.enable = true;
- ipt_prgbthhissa.enable = true;
- ipt_prgbthhisaa.enable = true;
- ipt_prgbthhisl.enable = true;
- chk_femaleaddinfoyn.enable = true;
-
- } else {
- rdo_endmensyn.enable = true;
- ipt_endmensyn.enable = true;
- ipt_closmensage.enable = false;
- ipt_lastmensdd.enable = false;
- ipt_prgbthhisg.enable = false;
- ipt_prgbthhisp.enable = false;
- ipt_prgbthhisa.enable = false;
- ipt_prgbthhissa.enable = false;
- ipt_prgbthhisaa.enable = false;
- ipt_prgbthhisl.enable = false;
- chk_femaleaddinfoyn.enable = true;
- }
- //rdo_endmensyn.dispatch("xforms-value-changed");
- frmf_inputEnterKey("rdo_endmensyn", "onitemchanged", new ItemChangeEventInfo);
- }
- }
- function chk_privacy_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(chk_privacy.value == "Y")
- {
- ds_main_wardrecinfo.setColumn(0, "jobcd","");
- ds_main_wardrecinfo.setColumn(0, "jobnm","");
- ds_main_wardrecinfo.setColumn(0, "religncd","");
- ds_main_wardrecinfo.setColumn(0, "relignnm","");
- ds_main_wardrecinfo.setColumn(0, "baptnm","");
- ds_main_wardrecinfo.setColumn(0, "marystatcd","");
- ds_main_wardrecinfo.setColumn(0, "marystatnm","");
- //ds_main_wardrecinfo.setColumn(0, "privacy","");
-
- cmb_job.enable = false;
- ipt_job.enable = false;
- cmb_relign.enable = false;
- ipt_relignnm.enable = false;
- cmb_marystat.enable = false;
- ipt_marystatnm.enable = false;
- cap_baptnm.visible = false;
- ipt_baptnm.visible = false;
- ipt_relignnm.visible = true;
-
- //190712_AYS_개인정보사정 미동의시_직업/종교/결혼상태 BG 회색변경
- cmb_job.style.background = "#E3E5E8";
- cmb_relign.style.background = "#E3E5E8";
- cmb_marystat.style.background = "#E3E5E8";
- }
- else
- {
- cmb_job.enable = true;
- cmb_relign.enable = true;
- cmb_marystat.enable = true;
- ds_main_wardrecinfo.setColumn(0, "privacy","");
-
- frmf_inputEnterKey("cmb_job", "onitemchanged", new ItemChangeEventInfo );
- frmf_inputEnterKey("cmb_relign", "onitemchanged", new ItemChangeEventInfo );
- frmf_inputEnterKey("cmb_marystat", "onitemchanged", new ItemChangeEventInfo );
-
- //190712_AYS_개인정보사정 미동의시_직업/종교/결혼상태 BG 주황색 변경
- cmb_job.style.background = "#ffe4b5ff";
- cmb_relign.style.background = "#ffe4b5ff";
- cmb_marystat.style.background = "#ffe4b5ff";
- }
- }
- function grd_allghist_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- grd_allghist.updateToDataset();
- if (e.col == 1)
- {
- if (ds_data_allghist2.getColumn(ds_data_allghist2.rowposition, "flag") == "07")
- {
- // 분류값이 항생제로 선택이 되면..
- ds_main_allgtemp.addColumn("antitype", "string");
- ds_main_allgtemp.addColumn("antidesc", "string");
-
- dsf_makeValue(ds_main_allgtemp, "row", "string", grd_allghist.currentrow);
- dsf_makeValue(ds_main_allgtemp, "col", "string", grd_allghist.currentcol);
-
- grp_anti.visible = true;
- grp_anti.rdo_anti.visible = true;
- grp_anti.txt_anti.visible = true;
- grp_anti.btn_anti1.visible = true;
- grp_anti.btn_anti2.visible = true;
- }
- else if ( ds_data_allghist2.getColumn(ds_data_allghist2.rowposition, "flag") == "06")
- {
- // 조영제로 선택이 되면
- sysf_messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
- frmf_modal("SPMMD03300","SPMMD03300","", 1, 10, 10,"","", "", "", "", "", "M");
- }
- else
- {
- grp_anti.visible = false;
- grp_anti.rdo_anti.visible = false;
- grp_anti.txt_anti.visible = false;
- grp_anti.btn_anti1.visible = false;
- grp_anti.btn_anti2.visible = false;
- }
- }
- }
- function grd_pasthist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.col == 0)
- {
- var stredit = utlf_getRemoveFormatter(obj.getEditText());
-
- if(utlf_isValidDateTime(stredit) == false || utlf_isNull(stredit))
- {
- obj.setEditCaret(0);
- }
- }
- }
- function grd_inhist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.col == 0 || e.col == 1)
- {
- var stredit = utlf_getRemoveFormatter(obj.getEditText());
-
- if(utlf_isValidDateTime(stredit) == false || utlf_isNull(stredit))
- {
- obj.setEditCaret(0);
- }
- }
- }
- function grd_ophist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.col == 0)
- {
- var stredit = utlf_getRemoveFormatter(obj.getEditText());
-
- if(utlf_isValidDateTime(stredit) == false || utlf_isNull(stredit))
- {
- obj.setEditCaret(0);
- }
- }
- }
- function grd_allghist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.col == 0)
- {
- var stredit = utlf_getRemoveFormatter(obj.getEditText());
-
- if(utlf_isValidDateTime(stredit) == false || utlf_isNull(stredit))
- {
- obj.setEditCaret(0);
- }
- }
- }
- function ipt_indt_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- var posttext = utlf_trim(e.posttext.replace(":",""));
- if(!utlf_isNull(posttext.substring(0,1))){
- if(eval(posttext.substring(0,1)) > 2){
- ipt_indt.value = "";
- ipt_indt.setCaretPos(0);
- return;
- }
- }
- if(!utlf_isNull(posttext.substring(1,2))){
- if(eval(posttext.substring(0,1)) > 1){
- if(eval(posttext.substring(1,2)) > 3){
- ipt_indt.value = posttext.substring(0,1);
- ipt_indt.setCaretPos(1);
- return;
- }
- }
- }
- if(!utlf_isNull(posttext.substring(3,2))){
- if(eval(posttext.substring(3,2)) > 5){
- ipt_indt.value = posttext.substring(0,2);
- ipt_indt.setCaretPos(2);
- return;
- }
- }
- }
- function ipt_attackdt_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- var posttext = utlf_trim(e.posttext.replace(":",""));
- if(!utlf_isNull(posttext.substring(0,1))){
- if(eval(posttext.substring(0,1)) > 2){
- ipt_attackdt.value = "";
- ipt_attackdt.setCaretPos(0);
- return;
- }
- }
- if(!utlf_isNull(posttext.substring(1,2))){
- if(eval(posttext.substring(0,1)) > 1){
- if(eval(posttext.substring(1,2)) > 3){
- ipt_attackdt.value = posttext.substring(0,1);
- ipt_attackdt.setCaretPos(1);
- return;
- }
- }
- }
- if(!utlf_isNull(posttext.substring(3,2))){
- if(eval(posttext.substring(3,2)) > 5){
- ipt_attackdt.value = posttext.substring(0,2);
- ipt_attackdt.setCaretPos(2);
- return;
- }
- }
- }
- function chk_spcffactinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- status = "etc";
- }
- function chk_spcffactinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(ds_data_spcf.getColumn(0, "spcffactinclyn")=="1") {
-
- var rtn = "";
-
- rtn = fSetStatus();
-
- if(rtn == "6") {
- tar_spcffact.enable = false;
- ds_data_spcf.setColumn(0, "spcffactdetl", "");
- }
- else if(rtn == "7") {
- ds_data_spcf.setColumn(0, "spcffactinclyn", "");
- }
- } else {
- tar_spcffact.enable = true;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|