SMMNW07600_일반정보.xfdl 129 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNW07600" position="absolute 0 0 1194 673" titletext="Untitle" oninit="SMMNW07600_oninit" onload="SMMNW07600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 400 30 791 80" id="grp_basebdinfo">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 0 43 391 49" linetype="vertical" id="line20" class="line_2"/>
  11. <Static text="회/분" position="absolute 335 5 388 24" align="align:center middle;" id="caption30" visible="false"/>
  12. <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"/>
  13. <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"/>
  14. <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"/>
  15. <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"/>
  16. <MaskEdit position="absolute 228 25 278 44" align="align:center middle;" id="ipt_bdtp" taborder="27" visible="false" mask="9#.#"/>
  17. <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"/>
  18. <Shape position="absolute 0 19 391 25" linetype="vertical" id="line15" class="line_2"/>
  19. <Static text="mmHg" position="absolute 170 0 223 19" align="align:center middle;" id="caption26" visible="false"/>
  20. <Static text="℃" position="absolute 335 25 388 44" align="align:center middle;" id="caption38" visible="false"/>
  21. <Static text="회/분" position="absolute 170 25 223 44" align="align:center middle;" id="caption28" visible="false"/>
  22. <Static text=".... 혈압" position="absolute 0 0 60 23" id="caption17" class="cell_1" visible="false"/>
  23. <Static text=".... 맥박" position="absolute 0 24 60 47" id="caption18" class="cell_1" visible="false"/>
  24. <Static text=".... 호흡" position="absolute 165 5 225 28" id="caption19" class="cell_1" visible="false"/>
  25. <Static text=".... 체온" position="absolute 165 24 225 47" id="caption20" class="cell_1" visible="false"/>
  26. <Shape position="absolute 0 44 391 50" linetype="horizontal" id="line29" class="line_3"/>
  27. <CheckBox position="absolute 5 4 20 19" id="chk_bpinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_bpinspyn_onchanged" truevalue="Y"/>
  28. <CheckBox position="absolute 5 28 20 43" id="chk_pulseinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_pulseinspyn_onchanged" truevalue="Y"/>
  29. <CheckBox position="absolute 170 5 185 20" id="chk_brethinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_brethinspyn_onchanged" truevalue="Y"/>
  30. <CheckBox position="absolute 170 28 185 43" id="chk_bdtpinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_bdtpinspyn_onchanged" truevalue="Y"/>
  31. <Static text=".... 신장" position="absolute 0 1 60 24" id="cap_bdht" class="cell_1"/>
  32. <Static text=".... 체중" position="absolute 0 24 60 47" id="cap_bdwt" class="cell_1"/>
  33. <Static text="... SpO2" position="absolute 196 1 256 24" id="caption2" class="cell_1"/>
  34. <CheckBox position="absolute 10 4 25 19" id="chk_bdhtinspyn" taborder="59" onchanged="grp_basebdinfo_chk_bdhtinspyn_onchanged" truevalue="Y"/>
  35. <CheckBox position="absolute 204 4 219 19" id="chk_spo2inspyn" taborder="59" onchanged="grp_basebdinfo_chk_spo2inspyn_onchanged" truevalue="Y"/>
  36. <CheckBox position="absolute 10 28 25 43" id="chk_bdwtinspyn" taborder="59" onchanged="grp_basebdinfo_chk_bdwtinspyn_onchanged" truevalue="Y"/>
  37. <Static text="혈액형" position="absolute 196 24 256 47" id="cap_btype" class="cell_1"/>
  38. <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"/>
  39. <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"/>
  40. <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"/>
  41. <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;"/>
  42. <Static text="Cm" position="absolute 168 3 198 22" align="align:center middle;" id="caption31"/>
  43. <Static text="Kg" position="absolute 169 27 199 46" align="align:center middle;" id="caption36"/>
  44. <Static text="%" position="absolute 359 4 389 23" align="align:center middle;" id="caption3"/>
  45. </Layout>
  46. </Layouts>
  47. </Div>
  48. <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">
  49. <Formats>
  50. <Format id="default">
  51. <Columns>
  52. <Column size="96"/>
  53. <Column size="96"/>
  54. <Column size="133"/>
  55. <Column size="67"/>
  56. <Column size="0"/>
  57. </Columns>
  58. <Rows>
  59. <Row size="24" band="head"/>
  60. <Row size="24"/>
  61. </Rows>
  62. <Band id="head">
  63. <Cell text="입원일자"/>
  64. <Cell col="1" text="퇴원일자"/>
  65. <Cell col="2" text="병명"/>
  66. <Cell col="3" text="진료기관"/>
  67. <Cell col="4" text="inhistpk"/>
  68. </Band>
  69. <Band id="body">
  70. <Cell displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:indd" editautoselect="true" calendardisplaynulltype="none"/>
  71. <Cell col="1" displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:dschdd" calendardisplaynulltype="none"/>
  72. <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:illnm"/>
  73. <Cell col="3" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:orddept"/>
  74. <Cell col="4" text="bind:inhistpk"/>
  75. </Band>
  76. </Format>
  77. </Formats>
  78. </Grid>
  79. <Button position="absolute 1134 207 1187 226" id="btn_inhistdel" class="btn2" taborder="64" text="행삭제" onclick="btn_inhistdel_onclick"/>
  80. <Button position="absolute 1134 411 1187 430" id="btn_rectmedistatdel" class="btn2" taborder="70" text="행삭제" onclick="btn_rectmedistatdel_onclick"/>
  81. <Static text="Allergy" position="absolute 402 384 471 400" id="cap_allghist" class="tit_2"/>
  82. <Button position="absolute 682 379 735 398" id="btn_allghistadd" class="btn2" taborder="72" text="행추가" onclick="btn_allghistadd_onclick"/>
  83. <Static text="과거병력" position="absolute 798 9 902 25" id="cap_pasthist" class="tit_2"/>
  84. <CheckBox position="absolute 902 7 972 22" id="chk_pasthistyn" taborder="56" text="해당없음" onchanged="chk_pasthistyn_onchanged" truevalue="1" onclick="chk_pasthistyn_onclick" falsevalue=" "/>
  85. <Shape position="absolute 797 126 1187 132" linetype="horizontal" id="line22" class="line_10"/>
  86. <Shape position="absolute 797 227 1187 233" linetype="horizontal" id="line23" class="line_10"/>
  87. <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">
  88. <Formats>
  89. <Format id="default">
  90. <Columns>
  91. <Column size="105"/>
  92. <Column size="169"/>
  93. <Column size="116"/>
  94. </Columns>
  95. <Rows>
  96. <Row size="24" band="head"/>
  97. <Row size="24"/>
  98. </Rows>
  99. <Band id="head">
  100. <Cell text="발생일자"/>
  101. <Cell col="1" text="병력내역"/>
  102. <Cell col="2" text="비고"/>
  103. </Band>
  104. <Band id="body">
  105. <Cell displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:genrdd" editautoselect="true" calendardisplaynulltype="none"/>
  106. <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"/>
  107. <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:remfact"/>
  108. </Band>
  109. </Format>
  110. </Formats>
  111. </Grid>
  112. <Button position="absolute 1078 106 1131 125" id="btn_famyhistadd" class="btn2" taborder="60" text="행추가" onclick="btn_famyhistadd_onclick"/>
  113. <Static text="가족병력" position="absolute 797 110 871 126" id="cap_famyhist" class="tit_2"/>
  114. <CheckBox position="absolute 902 108 972 123" id="chk_famyhistyn" taborder="59" text="해당없음" onchanged="chk_famyhistyn_onchanged" truevalue="1" onclick="chk_famyhistyn_onclick" falsevalue=" "/>
  115. <Shape position="absolute 797 328 1187 334" linetype="horizontal" id="line24" class="line_10"/>
  116. <Grid position="absolute 797 131 1187 205" id="grd_famyhist" scrollbars="autoboth" binddataset="ds_data_famyhist2" autofittype="col" autoenter="select">
  117. <Formats>
  118. <Format id="default">
  119. <Columns>
  120. <Column size="60"/>
  121. <Column size="40"/>
  122. <Column size="169"/>
  123. <Column size="102"/>
  124. </Columns>
  125. <Rows>
  126. <Row size="24" band="head"/>
  127. <Row size="24"/>
  128. </Rows>
  129. <Band id="head">
  130. <Cell text="관계"/>
  131. <Cell col="1" text="생존"/>
  132. <Cell col="2" text="병력내역"/>
  133. <Cell col="3" text="비고"/>
  134. </Band>
  135. <Band id="body">
  136. <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"/>
  137. <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"/>
  138. <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"/>
  139. <Cell col="3" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:remfact"/>
  140. </Band>
  141. </Format>
  142. </Formats>
  143. </Grid>
  144. <Shape position="absolute 797 509 1187 515" linetype="horizontal" id="line25" class="line_1"/>
  145. <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">
  146. <Formats>
  147. <Format id="default">
  148. <Columns>
  149. <Column size="96"/>
  150. <Column size="185"/>
  151. <Column size="101"/>
  152. <Column size="0"/>
  153. </Columns>
  154. <Rows>
  155. <Row size="24" band="head"/>
  156. <Row size="24"/>
  157. </Rows>
  158. <Band id="head">
  159. <Cell text="수술일자"/>
  160. <Cell col="1" text="수술명"/>
  161. <Cell col="2" text="진료기관"/>
  162. <Cell col="3" text="ophistpk"/>
  163. </Band>
  164. <Band id="body">
  165. <Cell displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:opdd" editautoselect="true" calendardisplaynulltype="none"/>
  166. <Cell col="1" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:opnm"/>
  167. <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:orddept"/>
  168. <Cell col="3" text="bind:ophistpk"/>
  169. </Band>
  170. </Format>
  171. </Formats>
  172. </Grid>
  173. <Shape position="absolute 797 431 1187 437" linetype="horizontal" id="line26" class="line_10"/>
  174. <Static text="수술이력" position="absolute 798 312 902 328" id="cap_ophist" class="tit_2"/>
  175. <CheckBox position="absolute 902 310 972 325" id="chk_ophistinclyn" taborder="65" text="해당없음" onchanged="chk_ophistinclyn_onchanged" truevalue="1" onclick="chk_ophistinclyn_onclick" falsevalue=" "/>
  176. <Button position="absolute 1078 207 1131 226" id="btn_inhistadd" class="btn2" taborder="63" text="행추가" onclick="btn_inhistadd_onclick"/>
  177. <Button position="absolute 1080 411 1133 430" id="btn_rectmedistatadd" class="btn2" taborder="69" text="행추가" onclick="btn_rectmedistatadd_onclick"/>
  178. <Shape position="absolute 401 396 791 402" linetype="vertical" id="line27" class="line_1"/>
  179. <Button position="absolute 1134 308 1187 327" id="btn_ophistdel" class="btn2" taborder="67" text="행삭제" onclick="btn_ophistdel_onclick"/>
  180. <Shape position="absolute 401 399 791 405" linetype="horizontal" id="line28" class="line_10"/>
  181. <Static text="최근투약상태" position="absolute 797 415 901 431" id="cap_rectmedistat" class="tit_2"/>
  182. <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=" "/>
  183. <Button position="absolute 738 379 791 398" id="btn_allghistdel" class="btn2" taborder="73" text="행삭제" onclick="btn_allghistdel_onclick"/>
  184. <Shape position="absolute 797 25 1188 31" linetype="horizontal" id="line19" class="line_10"/>
  185. <Button position="absolute 1078 5 1131 24" id="btn_pasthistadd" class="btn2" taborder="57" text="행추가" onclick="btn_pasthistadd_onclick"/>
  186. <Button position="absolute 1134 5 1187 24" id="btn_pasthistdel" class="btn2" taborder="58" text="행삭제" onclick="btn_pasthistdel_onclick"/>
  187. <Static text="입원이력" position="absolute 797 211 901 227" id="cap_inhist" class="tit_2" style="align:left top;"/>
  188. <CheckBox position="absolute 902 209 972 224" id="chk_inhistyn" taborder="62" text="해당없음" onchanged="chk_inhistyn_onchanged" truevalue="1" onclick="chk_inhistyn_onclick" falsevalue=" "/>
  189. <Grid position="absolute 797 434 1187 508" id="grd_rectmedistat" scrollbars="autoboth" binddataset="ds_data_rectmedistat2" autofittype="col">
  190. <Formats>
  191. <Format id="default">
  192. <Columns>
  193. <Column size="70"/>
  194. <Column size="200"/>
  195. <Column size="101"/>
  196. </Columns>
  197. <Rows>
  198. <Row size="24" band="head"/>
  199. <Row size="24"/>
  200. </Rows>
  201. <Band id="head">
  202. <Cell text="약명"/>
  203. <Cell col="1" text="복용법(용도/용량/용법)"/>
  204. <Cell col="2" text="진료기관"/>
  205. </Band>
  206. <Band id="body">
  207. <Cell displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:drugnm"/>
  208. <Cell col="1" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:direc"/>
  209. <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:orddept"/>
  210. </Band>
  211. </Format>
  212. </Formats>
  213. </Grid>
  214. <Button position="absolute 1134 106 1187 125" id="btn_famyhistdel" class="btn2" taborder="61" text="행삭제" onclick="btn_famyhistdel_onclick"/>
  215. <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">
  216. <Formats>
  217. <Format id="default">
  218. <Columns>
  219. <Column size="96"/>
  220. <Column size="70"/>
  221. <Column size="199"/>
  222. <Column size="0"/>
  223. <Column size="0"/>
  224. <Column size="0"/>
  225. <Column size="0"/>
  226. <Column size="0"/>
  227. <Column size="0"/>
  228. <Column size="0"/>
  229. </Columns>
  230. <Rows>
  231. <Row size="24" band="head"/>
  232. <Row size="24"/>
  233. </Rows>
  234. <Band id="head">
  235. <Cell text="발생일자"/>
  236. <Cell col="1" text="분류"/>
  237. <Cell col="2" text="Allergy 내역 및 증상"/>
  238. <Cell col="3"/>
  239. <Cell col="4"/>
  240. <Cell col="5"/>
  241. <Cell col="6"/>
  242. <Cell col="7"/>
  243. <Cell col="8"/>
  244. <Cell col="9"/>
  245. </Band>
  246. <Band id="body">
  247. <Cell displaytype="normal" edittype="date" style="align:left;padding:0 0 0 2;" text="bind:genrdd" editautoselect="true" calendardisplaynulltype="none"/>
  248. <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"/>
  249. <Cell col="2" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:allergespec"/>
  250. <Cell col="3" text="bind:hosoutyn"/>
  251. <Cell col="4" text="bind:comclscd"/>
  252. <Cell col="5" text="bind:drugcd"/>
  253. <Cell col="6" text="bind:drugnm"/>
  254. <Cell col="7" displaytype="date" edittype="date" text="bind:rgstdt"/>
  255. <Cell col="8" text="bind:rgster"/>
  256. <Cell col="9" text="bind:cretno"/>
  257. </Band>
  258. </Format>
  259. </Formats>
  260. </Grid>
  261. <Button position="absolute 1078 308 1131 327" id="btn_ophistadd" class="btn2" taborder="66" text="행추가" onclick="btn_ophistadd_onclick"/>
  262. <Static text="입원정보" position="absolute 7 9 111 25" id="caption10" class="tit_2"/>
  263. <Shape position="absolute 5 25 396 31" linetype="horizontal" id="line9" class="line_10"/>
  264. <Shape position="absolute 5 51 396 57" linetype="horizontal" id="line10" class="line_2"/>
  265. <Shape position="absolute 5 75 396 81" linetype="horizontal" id="line11" class="line_2"/>
  266. <Shape position="absolute 5 99 396 105" linetype="horizontal" id="line12" class="line_2"/>
  267. <Shape position="absolute 5 150 396 156" linetype="horizontal" id="line14" class="line_10"/>
  268. <Static text="입원동기와 병에 대한 인식" position="absolute 7 134 197 150" id="caption16" class="tit_2"/>
  269. <Radio position="absolute 169 184 300 200" id="rdo_inmotv" taborder="20" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  270. <Dataset id="innerdataset">
  271. <ColumnInfo>
  272. <Column id="codecolumn"/>
  273. <Column id="datacolumn"/>
  274. </ColumnInfo>
  275. <Rows>
  276. <Row>
  277. <Col id="codecolumn">Y</Col>
  278. <Col id="datacolumn">자의</Col>
  279. </Row>
  280. <Row>
  281. <Col id="codecolumn">N</Col>
  282. <Col id="datacolumn">타의</Col>
  283. </Row>
  284. </Rows>
  285. </Dataset>
  286. </Radio>
  287. <Shape position="absolute 5 175 396 181" linetype="horizontal" id="line16" class="line_2"/>
  288. <TextArea position="absolute 87 206 399 291" id="tar_inmotv" taborder="21" wordwrap="word" style="background:#ffe4b5ff stretch 5,5;font:Dotum,9;"/>
  289. <Shape position="absolute 86 201 396 207" linetype="horizontal" id="line17" class="line_2"/>
  290. <Shape position="absolute 5 292 396 298" linetype="horizontal" id="line18" class="line_2"/>
  291. <Radio position="absolute 169 298 300 314" id="rdo_illnessflag" taborder="22" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  292. <Dataset id="innerdataset">
  293. <ColumnInfo>
  294. <Column id="codecolumn"/>
  295. <Column id="datacolumn"/>
  296. </ColumnInfo>
  297. <Rows>
  298. <Row>
  299. <Col id="codecolumn">N</Col>
  300. <Col id="datacolumn">무</Col>
  301. </Row>
  302. <Row>
  303. <Col id="codecolumn">Y</Col>
  304. <Col id="datacolumn">유</Col>
  305. </Row>
  306. </Rows>
  307. </Dataset>
  308. </Radio>
  309. <Shape position="absolute 5 315 396 321" linetype="horizontal" id="line30" class="line_3"/>
  310. <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"/>
  311. <Static text="병에대한인식" position="absolute 5 295 85 318" align="align:center middle;" id="caption29" class="cell_1" style="font:Dotum,8;"/>
  312. <Calendar position="absolute 88 156 207 175" id="ipt_attackdd" class="input_default" taborder="18" style="background:#ffe4b5ff stretch 5,5;"/>
  313. <Static text="입원동기" position="absolute 5 179 85 294" align="align:center middle;" id="caption27" class="cell_1"/>
  314. <Static text="발병일자" position="absolute 5 155 85 178" align="align:center middle;" id="cap_attackdd" class="cell_1"/>
  315. <Shape position="absolute 401 218 792 224" linetype="horizontal" id="line31" class="line_2"/>
  316. <Shape position="absolute 401 242 792 248" linetype="horizontal" id="line32" class="line_2"/>
  317. <Shape position="absolute 401 103 792 109" linetype="horizontal" id="line33" class="line_10"/>
  318. <Static text="기호정보" position="absolute 402 87 506 103" id="caption42" class="tit_2"/>
  319. <Shape position="absolute 401 293 792 299" linetype="horizontal" id="line38" class="line_10"/>
  320. <Static text="여성정보" position="absolute 402 277 506 293" id="caption50" class="tit_2"/>
  321. <Shape position="absolute 401 319 792 325" linetype="horizontal" id="line39" class="line_2"/>
  322. <Shape position="absolute 401 343 792 349" linetype="horizontal" id="line40" class="line_2"/>
  323. <Edit position="absolute 591 347 617 366" id="ipt_prgbthhisa" class="input_default" enable="false" taborder="49" autoselect="true"/>
  324. <Static text="AA" position="absolute 675 345 693 370" align="align:center middle;" id="caption125"/>
  325. <Static text=") L" position="absolute 725 345 743 370" align="align:center middle;" id="caption127"/>
  326. <Edit position="absolute 502 347 528 366" id="ipt_prgbthhisg" class="input_default" enable="false" taborder="47" autoselect="true"/>
  327. <Edit position="absolute 751 347 777 366" id="ipt_prgbthhisl" class="input_default" enable="false" taborder="52" autoselect="true"/>
  328. <Static text="G" position="absolute 484 345 499 370" align="align:center middle;" id="caption120"/>
  329. <Edit position="absolute 646 347 672 366" id="ipt_prgbthhissa" class="input_default" enable="false" taborder="50" autoselect="true"/>
  330. <Static text="P" position="absolute 531 344 546 369" align="align:center middle;" id="caption121"/>
  331. <Edit position="absolute 696 347 722 366" id="ipt_prgbthhisaa" class="input_default" enable="false" taborder="51" autoselect="true"/>
  332. <Edit position="absolute 549 347 575 366" id="ipt_prgbthhisp" class="input_default" enable="false" taborder="48" autoselect="true"/>
  333. <Static text="A" position="absolute 578 344 593 369" align="align:center middle;" id="caption122"/>
  334. <Static text="(SA" position="absolute 620 344 643 369" align="align:center middle;" id="caption123"/>
  335. <Shape position="absolute 401 507 791 513" linetype="horizontal" id="line41" class="line_10"/>
  336. <Static text="특이사항" position="absolute 402 490 476 506" id="caption53" class="tit_2"/>
  337. <Calendar position="absolute 108 31 208 50" id="ipt_indd" class="input_default" enable="false" taborder="10"/>
  338. <Static text="입원일자" position="absolute 5 30 105 53" id="cap_indd" class="cell_1"/>
  339. <Static text="입원시간" position="absolute 211 30 293 53" id="cap_indt" class="cell_1"/>
  340. <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"/>
  341. <Static text="입원경로" position="absolute 5 54 105 77" id="cap_inpath" class="cell_1"/>
  342. <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"/>
  343. <Static text="입원방법" position="absolute 5 78 105 101" id="cap_inmthd" class="cell_1"/>
  344. <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"/>
  345. <Static text="입원시동반자" position="absolute 5 102 105 125" id="cap_inptner" class="cell_1"/>
  346. <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"/>
  347. <TextArea position="absolute 401 512 791 597" id="tar_spcffact" taborder="53" oneditclick="tar_spcffact_oneditclick"/>
  348. <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;">
  349. <Dataset id="innerdataset">
  350. <ColumnInfo>
  351. <Column id="codecolumn"/>
  352. <Column id="datacolumn"/>
  353. </ColumnInfo>
  354. <Rows>
  355. <Row>
  356. <Col id="codecolumn">4</Col>
  357. <Col id="datacolumn">현재흡연</Col>
  358. </Row>
  359. <Row>
  360. <Col id="codecolumn">2</Col>
  361. <Col id="datacolumn">과거흡연</Col>
  362. </Row>
  363. <Row>
  364. <Col id="codecolumn">1</Col>
  365. <Col id="datacolumn">비흡연</Col>
  366. </Row>
  367. <Row>
  368. <Col id="codecolumn">3</Col>
  369. <Col id="datacolumn">확인불능</Col>
  370. </Row>
  371. </Rows>
  372. </Dataset>
  373. </Radio>
  374. <Static text="음주정보" position="absolute 401 197 491 220" id="cap_drunkinfo" class="cell_1"/>
  375. <Radio position="absolute 494 201 569 217" id="rdo_drunkinfo" taborder="37" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_drunkinfo_onitemchanged">
  376. <Dataset id="innerdataset">
  377. <ColumnInfo>
  378. <Column id="codecolumn"/>
  379. <Column id="datacolumn"/>
  380. </ColumnInfo>
  381. <Rows>
  382. <Row>
  383. <Col id="codecolumn">1</Col>
  384. <Col id="datacolumn">무</Col>
  385. </Row>
  386. <Row>
  387. <Col id="codecolumn">2</Col>
  388. <Col id="datacolumn">유</Col>
  389. </Row>
  390. </Rows>
  391. </Dataset>
  392. </Radio>
  393. <Static text="기호식품" position="absolute 401 221 491 244" id="cap_gustofoodyn" class="cell_1"/>
  394. <Radio position="absolute 494 225 569 241" id="rdo_gustofoodyn" taborder="40" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_gustofoodyn_onitemchanged">
  395. <Dataset id="innerdataset">
  396. <ColumnInfo>
  397. <Column id="codecolumn"/>
  398. <Column id="datacolumn"/>
  399. </ColumnInfo>
  400. <Rows>
  401. <Row>
  402. <Col id="codecolumn">1</Col>
  403. <Col id="datacolumn">무</Col>
  404. </Row>
  405. <Row>
  406. <Col id="codecolumn">2</Col>
  407. <Col id="datacolumn">유</Col>
  408. </Row>
  409. </Rows>
  410. </Dataset>
  411. </Radio>
  412. <Static text="수혈부작용" position="absolute 401 245 491 268" id="cap_tnsseffcyn" class="cell_1"/>
  413. <Shape position="absolute 401 265 792 271" linetype="horizontal" id="line36" class="line_3"/>
  414. <Radio position="absolute 494 249 569 265" id="rdo_tnsseffcyn" taborder="42" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_tnsseffcyn_onitemchanged">
  415. <Dataset id="innerdataset">
  416. <ColumnInfo>
  417. <Column id="codecolumn"/>
  418. <Column id="datacolumn"/>
  419. </ColumnInfo>
  420. <Rows>
  421. <Row>
  422. <Col id="codecolumn">1</Col>
  423. <Col id="datacolumn">무</Col>
  424. </Row>
  425. <Row>
  426. <Col id="codecolumn">2</Col>
  427. <Col id="datacolumn">유</Col>
  428. </Row>
  429. </Rows>
  430. </Dataset>
  431. </Radio>
  432. <Edit position="absolute 572 246 790 265" id="ipt_tnsseffc" enable="false" taborder="43"/>
  433. <Edit position="absolute 572 222 790 241" id="ipt_gustofood" enable="false" taborder="41"/>
  434. <Radio position="absolute 485 302 560 318" id="rdo_endmensyn" taborder="44" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_endmensyn_onitemchanged">
  435. <Dataset id="innerdataset">
  436. <ColumnInfo>
  437. <Column id="codecolumn"/>
  438. <Column id="datacolumn"/>
  439. </ColumnInfo>
  440. <Rows>
  441. <Row>
  442. <Col id="codecolumn">1</Col>
  443. <Col id="datacolumn">무</Col>
  444. </Row>
  445. <Row>
  446. <Col id="codecolumn">2</Col>
  447. <Col id="datacolumn">유</Col>
  448. </Row>
  449. </Rows>
  450. </Dataset>
  451. </Radio>
  452. <Edit position="absolute 689 299 772 318" id="ipt_closmensage" autoselect="true"/>
  453. <Static text="세" position="absolute 777 299 792 318" align="align:center middle;" id="caption15"/>
  454. <Calendar position="absolute 584 299 685 318" id="ipt_endmensyn" class="input_default" enable="false" taborder="45" mask="yyyy-mm-dd" visible="false"/>
  455. <Calendar position="absolute 484 324 792 343" id="ipt_lastmensdd" class="input_default" enable="false" taborder="46" mask="yyyy-mm-dd"/>
  456. <Static text="최종월경일" position="absolute 401 322 481 345" id="cap_lastmensdd" class="cell_1"/>
  457. <Static text="폐경여부" position="absolute 401 298 481 321" id="cap_endmensyn" class="cell_1"/>
  458. <Static text="임신출산력" position="absolute 401 346 481 369" id="cap_prgbthhis" class="cell_1"/>
  459. <Shape position="absolute 401 366 792 372" linetype="horizontal" id="line37" class="line_3"/>
  460. <Shape position="absolute 5 122 396 128" linetype="horizontal" id="line13" class="line_3"/>
  461. <Edit position="absolute 210 55 395 74" id="ipt_inpathnm" taborder="13" visible="false" autoselect="true"/>
  462. <Edit position="absolute 210 79 395 98" id="ipt_inmthdnm" taborder="15" visible="false" autoselect="true"/>
  463. <Edit position="absolute 210 103 395 122" id="ipt_inacompstnm" taborder="17" visible="false" autoselect="true"/>
  464. <CheckBox position="absolute 720 276 790 291" id="chk_femaleinfoinclyn" text="해당없음" onchanged="chk_femaleinfoinclyn_onchanged" truevalue="1" onclick="chk_femaleinfoinclyn_onclick"/>
  465. <CheckBox position="absolute 631 9 701 24" id="chk_basebdinfoinclyn" visible="false" text="해당없음" onchanged="chk_basebdinfoinclyn_onchanged" truevalue="1"/>
  466. <Static text="기본 신체정보" position="absolute 401 9 505 25" id="caption39" class="tit_2"/>
  467. <Shape position="absolute 400 25 791 31" linetype="horizontal" id="line34" class="line_10"/>
  468. <Shape position="absolute 797 531 1188 537" linetype="vertical" id="line43" class="line_2"/>
  469. <Static text="병원도착전 24시간내 항생제 투약여부" position="absolute 797 512 1012 535" id="caption4" class="cell_1"/>
  470. <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;">
  471. <Dataset id="innerdataset">
  472. <ColumnInfo>
  473. <Column id="codecolumn" size="256"/>
  474. <Column id="datacolumn" size="256"/>
  475. </ColumnInfo>
  476. <Rows>
  477. <Row>
  478. <Col id="codecolumn">Y</Col>
  479. <Col id="datacolumn">Y</Col>
  480. </Row>
  481. <Row>
  482. <Col id="codecolumn">N</Col>
  483. <Col id="datacolumn">N</Col>
  484. </Row>
  485. <Row>
  486. <Col id="codecolumn">U</Col>
  487. <Col id="datacolumn">확인불가</Col>
  488. </Row>
  489. </Rows>
  490. </Dataset>
  491. </Combo>
  492. <Edit position="absolute 493 174 790 193" id="ipt_nosmokcnstnm" enable="false" taborder="36"/>
  493. <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">
  494. <Dataset id="innerdataset">
  495. <ColumnInfo>
  496. <Column id="codecolumn"/>
  497. <Column id="datacolumn"/>
  498. </ColumnInfo>
  499. <Rows>
  500. <Row>
  501. <Col id="codecolumn">00</Col>
  502. <Col id="datacolumn">
  503. </Col>
  504. </Row>
  505. <Row>
  506. <Col id="codecolumn">01</Col>
  507. <Col id="datacolumn">환자의 신경학적 결함(의식 혼탁 등)으로 인해 금연 상담의 이해가 불가능한 경우</Col>
  508. </Row>
  509. <Row>
  510. <Col id="codecolumn">02</Col>
  511. <Col id="datacolumn">환자의 신체적/정신적 상태로 인해 흡연이 불가능한 경우</Col>
  512. </Row>
  513. <Row>
  514. <Col id="codecolumn">03</Col>
  515. <Col id="datacolumn">기타</Col>
  516. </Row>
  517. </Rows>
  518. </Dataset>
  519. </Combo>
  520. <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;">
  521. <Dataset id="innerdataset">
  522. <ColumnInfo>
  523. <Column id="codecolumn"/>
  524. <Column id="datacolumn"/>
  525. </ColumnInfo>
  526. <Rows>
  527. <Row>
  528. <Col id="codecolumn">1</Col>
  529. <Col id="datacolumn">무</Col>
  530. </Row>
  531. <Row>
  532. <Col id="codecolumn">2</Col>
  533. <Col id="datacolumn">유</Col>
  534. </Row>
  535. </Rows>
  536. </Dataset>
  537. </Radio>
  538. <Shape position="absolute 400 144 791 150" linetype="horizontal" id="line44" class="line_2"/>
  539. <Static text="흡연정보" position="absolute 401 108 491 146" align="align:left middle;" id="cap_smokinfo" class="cell_1"/>
  540. <Shape position="absolute 400 169 791 175" linetype="horizontal" id="line45" class="line_2"/>
  541. <Shape position="absolute 400 193 791 199" linetype="horizontal" id="line46" class="line_2"/>
  542. <Static text="금연상담여부" position="absolute 401 147 491 196" id="caption5" class="cell_1"/>
  543. <Edit position="absolute 689 198 744 217" align="align:center middle;" id="ipt_drunkinfoterm" enable="false" taborder="39"/>
  544. <Static text="기간(년)" position="absolute 746 199 799 218" align="align:center middle;" id="cap_drunkinfoterm"/>
  545. <Edit position="absolute 572 198 686 217" align="align:center middle;" id="ipt_drunkinfokind" enable="false" taborder="38"/>
  546. <Radio position="absolute 474 383 649 399" id="rdo_allgyn" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_allgyn_onitemchanged">
  547. <Dataset id="innerdataset">
  548. <ColumnInfo>
  549. <Column id="codecolumn"/>
  550. <Column id="datacolumn"/>
  551. </ColumnInfo>
  552. <Rows>
  553. <Row>
  554. <Col id="codecolumn">1</Col>
  555. <Col id="datacolumn">무</Col>
  556. </Row>
  557. <Row>
  558. <Col id="codecolumn">2</Col>
  559. <Col id="datacolumn">유</Col>
  560. </Row>
  561. <Row>
  562. <Col id="codecolumn">3</Col>
  563. <Col id="datacolumn">잘모름</Col>
  564. </Row>
  565. </Rows>
  566. </Dataset>
  567. </Radio>
  568. <Button position="absolute 661 381 677 397" id="btn_allg" class="icon_search" text="" onclick="btn_allg_onclick"/>
  569. <Static text="발병시간" position="absolute 211 155 293 177" id="caption12" class="cell_1"/>
  570. <Edit position="absolute 682 83 792 102" id="ipt_smokinfocnt" enable="false" taborder="41" visible="false"/>
  571. <Button position="absolute 1058 209 1074 225" id="btn_inhistpop" class="icon_search" text="" onclick="btn_inhistpop_onclick"/>
  572. <Button position="absolute 1058 310 1074 326" id="btn_ophistpop" class="icon_search" text="" onclick="btn_ophistpop_onclick"/>
  573. <Static text="(" position="absolute 634 109 647 128" align="align:center middle;" id="caption13"/>
  574. <Static text=")" position="absolute 770 128 783 147" align="align:center middle;" id="caption14"/>
  575. <Static text="측정불가 V" position="absolute 717 6 790 25" align="align:center middle;" id="cap_insp"/>
  576. <Button position="absolute 515 5 601 24" id="bnt_testroom" class="btn2" visible="false" text="입원전검사실" onclick="bnt_testroom_onclick"/>
  577. <Button position="absolute 1011 411 1079 430" id="btn_SPMMO14900" class="btn5" taborder="69" visible="false" text="처방조회" onclick="btn_SPMMO14900_onclick"/>
  578. <Shape position="absolute 5 655 396 661" linetype="horizontal" id="line8" class="line_3" visible="false"/>
  579. <Static text="존재유무" position="absolute 5 635 105 658" id="cap_existyn" class="cell_1" visible="false"/>
  580. <Button position="absolute 211 636 275 655" id="button40" class="btn2" visible="false" text="끌어오기" onclick="button40_onclick"/>
  581. <Static text="가계도" position="absolute 7 614 111 630" id="caption8" class="tit_2" visible="false"/>
  582. <Edit position="absolute 108 636 208 655" id="opt_existyn" enable="false" taborder="9" visible="false"/>
  583. <Shape position="absolute 5 630 396 636" linetype="horizontal" id="line7" class="line_10" visible="false"/>
  584. <Div position="absolute 745 195 985 335" id="grp_anti" visible="false" style="background:#ccffccff;">
  585. <Layouts>
  586. <Layout>
  587. <Button position="absolute 140 105 182 124" id="btn_anti1" class="btn5" visible="false" text="선택" anchor="default" onclick="grp_anti_btn_anti1_onclick"/>
  588. <Button position="absolute 183 105 225 124" id="btn_anti2" class="btn5" visible="false" text="취소" anchor="default" onclick="grp_anti_btn_anti2_onclick"/>
  589. <Radio position="absolute 19 9 219 74" id="rdo_anti" visible="false" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  590. <Dataset id="innerdataset">
  591. <ColumnInfo>
  592. <Column id="codecolumn"/>
  593. <Column id="datacolumn"/>
  594. </ColumnInfo>
  595. <Rows>
  596. <Row>
  597. <Col id="codecolumn">1</Col>
  598. <Col id="datacolumn">페니실린계</Col>
  599. </Row>
  600. <Row>
  601. <Col id="codecolumn">2</Col>
  602. <Col id="datacolumn">기타 베타락탐계</Col>
  603. </Row>
  604. <Row>
  605. <Col id="codecolumn">3</Col>
  606. <Col id="datacolumn">기타</Col>
  607. </Row>
  608. </Rows>
  609. </Dataset>
  610. </Radio>
  611. <TextArea position="absolute 70 50 225 100" id="txt_anti" visible="false" anchor="default"/>
  612. </Layout>
  613. </Layouts>
  614. </Div>
  615. <Static text="입원전1개월이내" position="absolute 645 108 793 128" id="caption25"/>
  616. <Radio position="absolute 705 128 775 144" id="rdo_bfsmokinfo" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_bfsmokinfo_onitemchanged">
  617. <Dataset id="innerdataset">
  618. <ColumnInfo>
  619. <Column id="codecolumn"/>
  620. <Column id="datacolumn"/>
  621. </ColumnInfo>
  622. <Rows>
  623. <Row>
  624. <Col id="codecolumn">N</Col>
  625. <Col id="datacolumn">무</Col>
  626. </Row>
  627. <Row>
  628. <Col id="codecolumn">Y</Col>
  629. <Col id="datacolumn">유</Col>
  630. </Row>
  631. </Rows>
  632. </Dataset>
  633. </Radio>
  634. <Static text="흡연여부 :" position="absolute 645 128 710 143" id="caption32"/>
  635. <Edit position="absolute 150 373 262 392" id="ipt_relignnm" enable="false" autoselect="true"/>
  636. <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"/>
  637. <Edit position="absolute 150 397 200 416" id="ipt_marystatnm" enable="false" taborder="8" autoselect="true"/>
  638. <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;"/>
  639. <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;"/>
  640. <Button position="absolute 342 451 395 470" id="btn_famyfactdel" class="btn2" text="행삭제" onclick="btn_famyfactdel_onclick"/>
  641. <Static text="환자기본정보" position="absolute 7 327 111 343" id="caption1" class="tit_2"/>
  642. <Static text="세례명" position="absolute 150 372 200 395" id="cap_baptnm" class="cell_1" visible="false"/>
  643. <Shape position="absolute 5 442 396 448" linetype="horizontal" id="line35" class="line_3"/>
  644. <Edit position="absolute 150 349 200 368" id="ipt_job" enable="false" taborder="2" autoselect="true"/>
  645. <Static text="연락처/휴대폰" position="absolute 5 420 100 443" id="caption11" class="cell_1"/>
  646. <Edit position="absolute 203 373 263 392" id="ipt_baptnm" enable="false" taborder="6" visible="false" autoselect="true"/>
  647. <Radio position="absolute 503 639 611 655" id="rdo_etctelflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" visible="false">
  648. <Dataset id="innerdataset">
  649. <ColumnInfo>
  650. <Column id="codecolumn"/>
  651. <Column id="datacolumn"/>
  652. </ColumnInfo>
  653. <Rows>
  654. <Row>
  655. <Col id="codecolumn">1</Col>
  656. <Col id="datacolumn">본인</Col>
  657. </Row>
  658. <Row>
  659. <Col id="codecolumn">2</Col>
  660. <Col id="datacolumn">보호자</Col>
  661. </Row>
  662. </Rows>
  663. </Dataset>
  664. </Radio>
  665. <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;"/>
  666. <Static text="결혼상태" position="absolute 5 396 65 419" id="cap_marystat" class="cell_1"/>
  667. <Shape position="absolute 5 343 396 349" linetype="horizontal" id="line1" class="line_10"/>
  668. <Radio position="absolute 103 423 211 439" id="rdo_telflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" style="font:Dotum,9;">
  669. <Dataset id="innerdataset">
  670. <ColumnInfo>
  671. <Column id="codecolumn" size="256"/>
  672. <Column id="datacolumn" size="256"/>
  673. </ColumnInfo>
  674. <Rows>
  675. <Row>
  676. <Col id="codecolumn">1</Col>
  677. <Col id="datacolumn">본인</Col>
  678. </Row>
  679. </Rows>
  680. </Dataset>
  681. </Radio>
  682. <Shape position="absolute 5 368 396 374" linetype="horizontal" id="line2" class="line_2"/>
  683. <Edit position="absolute 158 421 274 440" id="input1" autoselect="true" style="background:#ffe4b5ff stretch 5,5;"/>
  684. <CheckBox position="absolute 256 327 396 342" id="chk_privacy" visible="false" text="개인정보사정 미동의" onchanged="chk_privacy_onchanged" truevalue="Y" onclick="chk_privacy_onclick" falsevalue=" "/>
  685. <Shape position="absolute 5 392 396 398" linetype="horizontal" id="line3" class="line_2"/>
  686. <Button position="absolute 286 451 339 470" id="btn_famyfactadd" class="btn2" text="행추가" onclick="btn_famyfactadd_onclick"/>
  687. <Edit position="absolute 277 421 395 440" id="input2" autoselect="true" style="background:#ffe4b5ff stretch 5,5;"/>
  688. <Static text="영적요구" position="absolute 265 372 325 395" id="caption7" class="cell_1" visible="false"/>
  689. <Static text="종교" position="absolute 5 372 65 395" id="cap_relign" class="cell_1"/>
  690. <Shape position="absolute 5 440 396 446" linetype="horizontal" id="line4" class="line_2"/>
  691. <Edit position="absolute 622 637 708 656" id="input3" autoselect="true" visible="false"/>
  692. <Shape position="absolute 5 416 396 422" linetype="horizontal" id="line5" class="line_2"/>
  693. <Static text="기타 전화번호" position="absolute 405 636 500 659" id="caption9" class="cell_1" visible="false"/>
  694. <Edit position="absolute 709 637 795 656" id="input4" autoselect="true" visible="false"/>
  695. <Static text="직업" position="absolute 5 348 65 371" id="cap_job" class="cell_1"/>
  696. <Shape position="absolute 5 471 396 477" linetype="horizontal" id="line6" class="line_10"/>
  697. <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"/>
  698. <Static text="보호자정보" position="absolute 7 455 111 471" id="cap_famyfact" class="tit_2"/>
  699. <Edit position="absolute 346 349 396 368" id="ipt_educgrde" enable="false" taborder="4" visible="false" autoselect="true"/>
  700. <Static text="교육정도" position="absolute 203 348 263 371" id="cap_educgrde" class="cell_1" visible="false"/>
  701. <Grid position="absolute 5 476 396 584" id="grd_famyfact" scrollbars="autoboth" binddataset="ds_main_famyfact" autofittype="col">
  702. <Formats>
  703. <Format id="default">
  704. <Columns>
  705. <Column size="0"/>
  706. <Column size="28"/>
  707. <Column size="45"/>
  708. <Column size="0"/>
  709. <Column size="90"/>
  710. <Column size="90"/>
  711. <Column size="57"/>
  712. <Column size="0"/>
  713. <Column size="0"/>
  714. <Column size="81"/>
  715. <Column size="0"/>
  716. </Columns>
  717. <Rows>
  718. <Row size="24" band="head"/>
  719. <Row size="24"/>
  720. </Rows>
  721. <Band id="head">
  722. <Cell text="상태"/>
  723. <Cell col="1"/>
  724. <Cell col="2" text="관계"/>
  725. <Cell col="3" text="성명"/>
  726. <Cell col="4" text="전화번호"/>
  727. <Cell col="5" text="핸드폰번호"/>
  728. <Cell col="6" text="주보호자"/>
  729. <Cell col="7" text="주소(동/구)"/>
  730. <Cell col="8" text="세부주소"/>
  731. <Cell col="9" text="비고"/>
  732. <Cell col="10" text="fmlyseq"/>
  733. </Band>
  734. <Band id="body">
  735. <Cell text="bind:stat"/>
  736. <Cell col="1" style="padding:0 0 0 2;"/>
  737. <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"/>
  738. <Cell col="3" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:hngnm"/>
  739. <Cell col="4" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:tel"/>
  740. <Cell col="5" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:mpphone"/>
  741. <Cell col="6" displaytype="checkbox" edittype="checkbox" style="padding:0 0 0 2;" text="bind:chk"/>
  742. <Cell col="7" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:addr"/>
  743. <Cell col="8" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:detladdr"/>
  744. <Cell col="9" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:remfact"/>
  745. <Cell col="10" text="bind:fmlyseq"/>
  746. </Band>
  747. </Format>
  748. </Formats>
  749. </Grid>
  750. <Button position="absolute 168 323 254 342" id="button1" class="btn2" visible="false" text="환자기초정보" onclick="button1_onclick"/>
  751. <CheckBox position="absolute 644 276 717 291" id="chk_femaleaddinfoyn" taborder="75" text="추가사정" onchanged="chk_femaleaddinfoyn_onchanged" truevalue="1"/>
  752. <Static text="폐경나이" position="absolute 584 298 685 321" id="caption6" class="cell_1"/>
  753. <Shape id="line00" class="line_1" position="absolute 797 534 1187 540"/>
  754. <Div id="Div00" taborder="76" text="Div00" position="absolute 406 630 768 663" style="background:white;" visible="false">
  755. <InitValue>
  756. <Shape id="line51" visible="false"/>
  757. <Shape id="line42" visible="false"/>
  758. <Static id="capnrs21" visible="false"/>
  759. <Static id="capnrs22" visible="false"/>
  760. <Static id="capnrs23" visible="false"/>
  761. <Static id="caption21" visible="false"/>
  762. <Shape id="line47" visible="false"/>
  763. <Combo id="comnrs1" visible="false"/>
  764. <Static id="caption22" visible="false"/>
  765. <Shape id="line48" visible="false"/>
  766. <Static id="caption34" visible="false"/>
  767. <Static id="caption23" visible="false"/>
  768. <Shape id="line49" visible="false"/>
  769. <Static id="caption24" visible="false"/>
  770. <Radio id="radnrs21" visible="false"/>
  771. <Radio id="radnrs22" visible="false"/>
  772. <Radio id="radnrs23" visible="false"/>
  773. <Shape id="line50" visible="false"/>
  774. <Edit id="input6" visible="false"/>
  775. </InitValue>
  776. <Layouts>
  777. <Layout>
  778. <Shape id="line51" class="line_3" position="absolute 19 172 410 178" anchor="default"/>
  779. <Shape id="line42" class="line_10" position="absolute 19 32 409 38" anchor="default"/>
  780. <Static id="capnrs21" text="고관절 골절 만성환자, 급성합병증이 동반된 상태, 간경화, 만성폐쇄성 호흡기 질환, 만성혈액투석, 당뇨, 종양" enable="false" position="absolute 114 92 414 122" style=":disabled {font:Dotum,8;}" taborder="43" anchor="default"/>
  781. <Static id="capnrs22" text="주요 복부수술, 뇌줄중, 중증폐렴, 혈액학적 악성종양" enable="false" position="absolute 114 127 414 152" taborder="43" anchor="default"/>
  782. <Static id="capnrs23" text="두부손상, 골수이식, 중환자 (APACHE 10점 이상)" enable="false" position="absolute 114 152 414 177" taborder="43" anchor="default"/>
  783. <Static id="caption21" text="영양위험(체중의5%:2.075kg,제중의15%:6.225kg,BMI:17.9)" class="tit_2" position="absolute 20 16 400 32" anchor="default"/>
  784. <Shape id="line47" class="line_3" position="absolute 19 58 410 64" anchor="default"/>
  785. <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">
  786. <Dataset id="innerdataset">
  787. <ColumnInfo>
  788. <Column id="codecolumn"/>
  789. <Column id="datacolumn"/>
  790. </ColumnInfo>
  791. <Rows>
  792. <Row>
  793. <Col id="codecolumn">0</Col>
  794. <Col id="datacolumn">정상영양상태</Col>
  795. </Row>
  796. <Row>
  797. <Col id="codecolumn">1</Col>
  798. <Col id="datacolumn">3개월 동안 5% 이상 체중감소 또는 이전 1주일 동안 정상 영양 요구량의 50~75% 이하의 음식섭취</Col>
  799. </Row>
  800. <Row>
  801. <Col id="codecolumn">2</Col>
  802. <Col id="datacolumn">2개월 동안 5% 이상 체중감소 또는 MBI 18.5~20.5 + 전신상태의 악화 또는 이전 1주일 동안 정상 영양 요구량의 25~60% 음식섭취</Col>
  803. </Row>
  804. <Row>
  805. <Col id="codecolumn">3</Col>
  806. <Col id="datacolumn">1개월 내에 5% 이상 체중감소 (또는 15%이상/3개월) 또는 MBI 18.5이하 + 전신상태의 악화 또는 이전 1주일 동안의 정상영양 요구량의 0~25% 음식섭취</Col>
  807. </Row>
  808. </Rows>
  809. </Dataset>
  810. </Combo>
  811. <Static id="caption22" text="임신출산력" class="cell_1" position="absolute 19 37 99 60" anchor="default"/>
  812. <Shape id="line48" class="line_3" position="absolute 19 83 410 89" anchor="default"/>
  813. <Static id="caption34" text="Total NRS Score" class="cell_1" position="absolute 217 63 322 86" anchor="default"/>
  814. <Static id="caption23" text="영양상태지표" class="cell_1" position="absolute 19 38 99 61" style="font:Dotum,8;" anchor="default"/>
  815. <Shape id="line49" class="line_3" position="absolute 19 119 410 125" anchor="default"/>
  816. <Static id="caption24" text="임상상태지표" class="cell_1" position="absolute 19 63 99 86" style="font:Dotum,8;" anchor="default"/>
  817. <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">
  818. <Dataset id="innerdataset">
  819. <ColumnInfo>
  820. <Column id="codecolumn"/>
  821. <Column id="datacolumn"/>
  822. </ColumnInfo>
  823. <Rows>
  824. <Row>
  825. <Col id="codecolumn">1</Col>
  826. <Col id="datacolumn">없음</Col>
  827. </Row>
  828. <Row>
  829. <Col id="codecolumn">2</Col>
  830. <Col id="datacolumn">있음</Col>
  831. </Row>
  832. </Rows>
  833. </Dataset>
  834. </Radio>
  835. <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">
  836. <Dataset id="innerdataset">
  837. <ColumnInfo>
  838. <Column id="codecolumn"/>
  839. <Column id="datacolumn"/>
  840. </ColumnInfo>
  841. <Rows>
  842. <Row>
  843. <Col id="codecolumn">1</Col>
  844. <Col id="datacolumn">없음</Col>
  845. </Row>
  846. <Row>
  847. <Col id="codecolumn">2</Col>
  848. <Col id="datacolumn">있음</Col>
  849. </Row>
  850. </Rows>
  851. </Dataset>
  852. </Radio>
  853. <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">
  854. <Dataset id="innerdataset">
  855. <ColumnInfo>
  856. <Column id="codecolumn"/>
  857. <Column id="datacolumn"/>
  858. </ColumnInfo>
  859. <Rows>
  860. <Row>
  861. <Col id="codecolumn">1</Col>
  862. <Col id="datacolumn">없음</Col>
  863. </Row>
  864. <Row>
  865. <Col id="codecolumn">2</Col>
  866. <Col id="datacolumn">있음</Col>
  867. </Row>
  868. </Rows>
  869. </Dataset>
  870. </Radio>
  871. <Shape id="line50" class="line_3" position="absolute 19 146 410 152" anchor="default"/>
  872. <Edit id="input6" taborder="48" enable="false" position="absolute 324 65 407 84" anchor="default"/>
  873. </Layout>
  874. </Layouts>
  875. </Div>
  876. <CheckBox id="chk_spcffactinclyn" taborder="77" text="해당없음" truevalue="1" onclick="chk_spcffactinclyn_onclick" onchanged="chk_spcffactinclyn_onchanged" position="absolute 719 488 789 503"/>
  877. </Layout>
  878. </Layouts>
  879. <Objects>
  880. <Dataset id="ds_init_cmb_bdtp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  881. <ColumnInfo>
  882. <Column id="cdnm" type="STRING"/>
  883. <Column id="cdid" type="STRING"/>
  884. </ColumnInfo>
  885. </Dataset>
  886. <Dataset id="ds_init_cmb_bdbtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  887. <ColumnInfo>
  888. <Column id="cdnm" type="STRING"/>
  889. <Column id="cdid" type="STRING"/>
  890. </ColumnInfo>
  891. </Dataset>
  892. <Dataset id="ds_grd_inhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  893. <ColumnInfo>
  894. <Column id="indd" type="STRING"/>
  895. <Column id="dschdd" type="STRING"/>
  896. <Column id="illnm" type="STRING"/>
  897. <Column id="orddept" type="STRING"/>
  898. <Column id="inhistpk" type="STRING"/>
  899. </ColumnInfo>
  900. </Dataset>
  901. <Dataset id="ds_grd_pasthist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  902. <ColumnInfo>
  903. <Column id="genrdd" type="STRING"/>
  904. <Column id="histspec" type="STRING"/>
  905. <Column id="remfact" type="STRING"/>
  906. </ColumnInfo>
  907. </Dataset>
  908. <Dataset id="ds_grd_famyhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  909. <ColumnInfo>
  910. <Column id="famyrel" type="STRING"/>
  911. <Column id="existyn" type="STRING"/>
  912. <Column id="histspec" type="STRING"/>
  913. <Column id="remfact" type="STRING"/>
  914. </ColumnInfo>
  915. </Dataset>
  916. <Dataset id="ds_grd_ophist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  917. <ColumnInfo>
  918. <Column id="opdd" type="STRING"/>
  919. <Column id="opnm" type="STRING"/>
  920. <Column id="orddept" type="STRING"/>
  921. <Column id="ophistpk" type="STRING"/>
  922. </ColumnInfo>
  923. </Dataset>
  924. <Dataset id="ds_grd_rectmedistat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  925. <ColumnInfo>
  926. <Column id="drugnm" type="STRING"/>
  927. <Column id="direc" type="STRING"/>
  928. <Column id="orddept" type="STRING"/>
  929. </ColumnInfo>
  930. </Dataset>
  931. <Dataset id="ds_grd_allghist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  932. <ColumnInfo>
  933. <Column id="genrdd" type="STRING"/>
  934. <Column id="flag" type="STRING"/>
  935. <Column id="allergespec" type="STRING"/>
  936. <Column id="hosoutyn" type="STRING"/>
  937. <Column id="comclscd" type="STRING"/>
  938. <Column id="drugcd" type="STRING"/>
  939. <Column id="drugnm" type="STRING"/>
  940. <Column id="rgstdt" type="STRING"/>
  941. <Column id="rgster" type="STRING"/>
  942. <Column id="cretno" type="STRING"/>
  943. </ColumnInfo>
  944. </Dataset>
  945. <Dataset id="ds_init_cmb_inpath" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  946. <ColumnInfo>
  947. <Column id="cdnm" type="STRING"/>
  948. <Column id="cdid" type="STRING"/>
  949. </ColumnInfo>
  950. </Dataset>
  951. <Dataset id="ds_init_cmb_inmthd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  952. <ColumnInfo>
  953. <Column id="cdnm" type="STRING"/>
  954. <Column id="cdid" type="STRING"/>
  955. </ColumnInfo>
  956. </Dataset>
  957. <Dataset id="ds_init_cmb_inacompst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  958. <ColumnInfo>
  959. <Column id="cdnm" type="STRING"/>
  960. <Column id="cdid" type="STRING"/>
  961. </ColumnInfo>
  962. </Dataset>
  963. <Dataset id="ds_init_cmb_relignreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  964. <ColumnInfo>
  965. <Column id="cdnm" type="STRING"/>
  966. <Column id="cdid" type="STRING"/>
  967. </ColumnInfo>
  968. </Dataset>
  969. <Dataset id="ds_init_cmb_relign" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  970. <ColumnInfo>
  971. <Column id="cdnm" type="STRING"/>
  972. <Column id="cdid" type="STRING"/>
  973. </ColumnInfo>
  974. </Dataset>
  975. <Dataset id="ds_init_cmb_job" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  976. <ColumnInfo>
  977. <Column id="cdnm" type="STRING"/>
  978. <Column id="cdid" type="STRING"/>
  979. </ColumnInfo>
  980. </Dataset>
  981. <Dataset id="ds_init_cmb_marystat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  982. <ColumnInfo>
  983. <Column id="cdnm" type="STRING"/>
  984. <Column id="cdid" type="STRING"/>
  985. </ColumnInfo>
  986. </Dataset>
  987. <Dataset id="ds_init_cmb_educgrde" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  988. <ColumnInfo>
  989. <Column id="cdnm" type="STRING"/>
  990. <Column id="cdid" type="STRING"/>
  991. </ColumnInfo>
  992. </Dataset>
  993. <Dataset id="ds_grd_famyfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  994. <ColumnInfo>
  995. <Column id="stat" type="STRING"/>
  996. <Column id="rela" type="STRING"/>
  997. <Column id="hngnm" type="STRING"/>
  998. <Column id="tel" type="STRING"/>
  999. <Column id="mpphone" type="STRING"/>
  1000. <Column id="addr" type="STRING"/>
  1001. <Column id="detladdr" type="STRING"/>
  1002. <Column id="remfact" type="STRING"/>
  1003. <Column id="fmlyseq" type="STRING"/>
  1004. </ColumnInfo>
  1005. </Dataset>
  1006. <Dataset id="ds_main_allgtemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1007. <ColumnInfo>
  1008. <Column id="antitype" type="STRING" size="256"/>
  1009. <Column id="antidesc" type="STRING" size="256"/>
  1010. <Column id="row" type="STRING" size="256"/>
  1011. <Column id="col" type="STRING" size="256"/>
  1012. </ColumnInfo>
  1013. <Rows>
  1014. <Row>
  1015. <Col id="antitype">3</Col>
  1016. <Col id="antidesc"/>
  1017. <Col id="row"/>
  1018. <Col id="col"/>
  1019. </Row>
  1020. </Rows>
  1021. </Dataset>
  1022. <Dataset id="ds_main_wardrecinfo_rectmedistatinfo_rectmedistat_rectmedistat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1023. <ColumnInfo>
  1024. <Column id="drugnm" type="STRING" size="256"/>
  1025. <Column id="direc" type="STRING" size="256"/>
  1026. <Column id="orddept" type="STRING" size="256"/>
  1027. </ColumnInfo>
  1028. <Rows>
  1029. <Row/>
  1030. </Rows>
  1031. </Dataset>
  1032. <Dataset id="ds_main_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1033. <Dataset id="ds_main_inbfinfo_inbfinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1034. <ColumnInfo>
  1035. <Column id="inbfyn" type="STRING" size="256"/>
  1036. </ColumnInfo>
  1037. <Rows>
  1038. <Row/>
  1039. </Rows>
  1040. </Dataset>
  1041. <Dataset id="ds_main_allgtemp00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1042. <ColumnInfo>
  1043. <Column id="antitype" type="STRING" size="256"/>
  1044. <Column id="antidesc" type="STRING" size="256"/>
  1045. <Column id="row" type="STRING" size="256"/>
  1046. <Column id="col" type="STRING" size="256"/>
  1047. </ColumnInfo>
  1048. <Rows>
  1049. <Row>
  1050. <Col id="antitype">3</Col>
  1051. <Col id="antidesc"/>
  1052. <Col id="row"/>
  1053. <Col id="col"/>
  1054. </Row>
  1055. </Rows>
  1056. </Dataset>
  1057. <Dataset id="ds_main_wardrecinfo_famytree" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1058. <ColumnInfo>
  1059. <Column id="existyn" type="STRING" size="256"/>
  1060. </ColumnInfo>
  1061. <Rows>
  1062. <Row/>
  1063. </Rows>
  1064. </Dataset>
  1065. <Dataset id="ds_chk_famyparent" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1066. <ColumnInfo>
  1067. <Column id="code" type="STRING" size="256"/>
  1068. <Column id="name" type="STRING" size="256"/>
  1069. </ColumnInfo>
  1070. <Rows>
  1071. <Row>
  1072. <Col id="code">1</Col>
  1073. <Col id="name">부</Col>
  1074. </Row>
  1075. <Row>
  1076. <Col id="code">2</Col>
  1077. <Col id="name">모</Col>
  1078. </Row>
  1079. <Row>
  1080. <Col id="code">3</Col>
  1081. <Col id="name">무</Col>
  1082. </Row>
  1083. </Rows>
  1084. </Dataset>
  1085. </Objects>
  1086. <Bind>
  1087. <BindItem id="item0" compid="ipt_indd" propid="value" datasetid="ds_main_wardrecinfo" columnid="indd"/>
  1088. <BindItem id="item1" compid="ipt_indt" propid="value" datasetid="ds_main_wardrecinfo" columnid="indt"/>
  1089. <BindItem id="item2" compid="cmb_inpath" propid="value" datasetid="ds_main_wardrecinfo" columnid="inpathcd"/>
  1090. <BindItem id="item3" compid="ipt_inpathnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inpathnm"/>
  1091. <BindItem id="item4" compid="cmb_inmthd" propid="value" datasetid="ds_main_wardrecinfo" columnid="inmthdcd"/>
  1092. <BindItem id="item5" compid="ipt_inmthdnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inmthdnm"/>
  1093. <BindItem id="item6" compid="cmb_inacompst" propid="value" datasetid="ds_main_wardrecinfo" columnid="inacompstcd"/>
  1094. <BindItem id="item7" compid="ipt_inacompstnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inacompstnm"/>
  1095. <BindItem id="item8" compid="ipt_attackdd" propid="value" datasetid="ds_data_inmotive" columnid="attackdd"/>
  1096. <BindItem id="item9" compid="ipt_attackdt" propid="value" datasetid="ds_data_inmotive" columnid="attackdt"/>
  1097. <BindItem id="item10" compid="rdo_inmotv" propid="value" datasetid="ds_data_inmotive" columnid="inmotive1"/>
  1098. <BindItem id="item11" compid="tar_inmotv" propid="value" datasetid="ds_data_inmotive" columnid="inmotive2"/>
  1099. <BindItem id="item12" compid="rdo_illnessflag" propid="value" datasetid="ds_data_inmotive" columnid="illnessflag"/>
  1100. <BindItem id="item13" compid="chk_privacy" propid="value" datasetid="ds_main_wardrecinfo" columnid="privacy"/>
  1101. <BindItem id="item14" compid="cmb_job" propid="value" datasetid="ds_main_wardrecinfo" columnid="jobcd"/>
  1102. <BindItem id="item15" compid="ipt_job" propid="value" datasetid="ds_main_wardrecinfo" columnid="jobnm"/>
  1103. <BindItem id="item16" compid="cmb_educgrde" propid="value" datasetid="ds_main_wardrecinfo" columnid="educgrdecd"/>
  1104. <BindItem id="item17" compid="ipt_educgrde" propid="value" datasetid="ds_main_wardrecinfo" columnid="educgrdenm"/>
  1105. <BindItem id="item18" compid="cmb_relign" propid="value" datasetid="ds_main_wardrecinfo" columnid="religncd"/>
  1106. <BindItem id="item19" compid="ipt_baptnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="baptnm"/>
  1107. <BindItem id="item20" compid="cmb_relignreq" propid="value" datasetid="ds_main_wardrecinfo" columnid="relignreq"/>
  1108. <BindItem id="item21" compid="cmb_marystat" propid="value" datasetid="ds_main_wardrecinfo" columnid="marystatcd"/>
  1109. <BindItem id="item22" compid="ipt_marystatnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="marystatnm"/>
  1110. <BindItem id="item23" compid="rdo_telflag" propid="value" datasetid="ds_main_wardrecinfo" columnid="telflag"/>
  1111. <BindItem id="item24" compid="input1" propid="value" datasetid="ds_main_wardrecinfo" columnid="tel"/>
  1112. <BindItem id="item25" compid="input2" propid="value" datasetid="ds_main_wardrecinfo" columnid="mphone"/>
  1113. <BindItem id="item26" compid="rdo_etctelflag" propid="value" datasetid="ds_main_wardrecinfo" columnid="etctelflag"/>
  1114. <BindItem id="item27" compid="input3" propid="value" datasetid="ds_main_wardrecinfo" columnid="etcphone1"/>
  1115. <BindItem id="item28" compid="input4" propid="value" datasetid="ds_main_wardrecinfo" columnid="etcphone2"/>
  1116. <BindItem id="item29" compid="opt_existyn" propid="value" datasetid="ds_data_famytree" columnid="existyn"/>
  1117. <BindItem id="item30" compid="grp_basebdinfo.chk_bdhtinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdhtinspyn"/>
  1118. <BindItem id="item31" compid="grp_basebdinfo.chk_bdwtinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdwtinspyn"/>
  1119. <BindItem id="item32" compid="grp_basebdinfo.ipt_bdht" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdht"/>
  1120. <BindItem id="item33" compid="grp_basebdinfo.ipt_bdwt" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdwt"/>
  1121. <BindItem id="item34" compid="grp_basebdinfo.chk_spo2inspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="spo2inspyn"/>
  1122. <BindItem id="item35" compid="chk_basebdinfoinclyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="basebdinfoinclyn"/>
  1123. <BindItem id="item36" compid="grp_basebdinfo.ipt_spo2" propid="value" datasetid="ds_main_wardrecinfo" columnid="spo2"/>
  1124. <BindItem id="item37" compid="grp_basebdinfo.cmb_bdbtype" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdbtype"/>
  1125. <BindItem id="item38" compid="ipt_smokinfocnt" propid="value" datasetid="ds_data_smokinfo" columnid="smokinfocnt"/>
  1126. <BindItem id="item39" compid="rdo_smokinfo" propid="value" datasetid="ds_data_smokinfo" columnid="smokinfoyn"/>
  1127. <BindItem id="item40" compid="rdo_bfsmokinfo" propid="value" datasetid="ds_data_smokinfo" columnid="bfsmokinfoyn"/>
  1128. <BindItem id="item41" compid="rdo_nosmokcnstyn" propid="value" datasetid="ds_data_smokinfo" columnid="nosmokcnstyn"/>
  1129. <BindItem id="item42" compid="cmb_nosmokcnst" propid="value" datasetid="ds_data_smokinfo" columnid="nosmokcnst"/>
  1130. <BindItem id="item43" compid="ipt_nosmokcnstnm" propid="value" datasetid="ds_data_smokinfo" columnid="nosmokcnstnm"/>
  1131. <BindItem id="item44" compid="rdo_drunkinfo" propid="value" datasetid="ds_data_drunkinfo" columnid="drunkinfoyn"/>
  1132. <BindItem id="item45" compid="ipt_drunkinfokind" propid="value" datasetid="ds_data_drunkinfo" columnid="drunkinfokind"/>
  1133. <BindItem id="item46" compid="ipt_drunkinfoterm" propid="value" datasetid="ds_data_drunkinfo" columnid="drunkinfoterm"/>
  1134. <BindItem id="item47" compid="grp_basebdinfo.ipt_bdtp" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdtp"/>
  1135. <BindItem id="item48" compid="grp_basebdinfo.ipt_breth" propid="value" datasetid="ds_main_wardrecinfo" columnid="breth"/>
  1136. <BindItem id="item49" compid="rdo_gustofoodyn" propid="value" datasetid="ds_data_gustofoodinfo" columnid="gustofoodyn"/>
  1137. <BindItem id="item50" compid="ipt_gustofood" propid="value" datasetid="ds_data_gustofoodinfo" columnid="gustofooddetl"/>
  1138. <BindItem id="item51" compid="rdo_tnsseffcyn" propid="value" datasetid="ds_data_tnsseffcinfo" columnid="tnsseffcyn"/>
  1139. <BindItem id="item52" compid="ipt_tnsseffc" propid="value" datasetid="ds_data_tnsseffcinfo" columnid="tnsseffcdetl"/>
  1140. <BindItem id="item53" compid="ipt_endmensyn" propid="value" datasetid="ds_data_female2" columnid="endmensdd"/>
  1141. <BindItem id="item54" compid="chk_femaleaddinfoyn" propid="value" datasetid="ds_data_female1" columnid="femaleaddinfoyn"/>
  1142. <BindItem id="item55" compid="chk_femaleinfoinclyn" propid="value" datasetid="ds_data_female1" columnid="femaleinfoyn"/>
  1143. <BindItem id="item56" compid="rdo_endmensyn" propid="value" datasetid="ds_data_female2" columnid="endmensyn"/>
  1144. <BindItem id="item57" compid="ipt_closmensage" propid="value" datasetid="ds_data_mens" columnid="closmensage"/>
  1145. <BindItem id="item58" compid="ipt_lastmensdd" propid="value" datasetid="ds_data_female2" columnid="lastmensdd"/>
  1146. <BindItem id="item59" compid="ipt_prgbthhisg" propid="value" datasetid="ds_data_female2" columnid="prgbthhisg"/>
  1147. <BindItem id="item60" compid="ipt_prgbthhisp" propid="value" datasetid="ds_data_female2" columnid="prgbthhisp"/>
  1148. <BindItem id="item61" compid="ipt_prgbthhisa" propid="value" datasetid="ds_data_female2" columnid="prgbthhisa"/>
  1149. <BindItem id="item62" compid="ipt_prgbthhissa" propid="value" datasetid="ds_data_female2" columnid="prgbthhissa"/>
  1150. <BindItem id="item63" compid="ipt_prgbthhisaa" propid="value" datasetid="ds_data_female2" columnid="prgbthhisaa"/>
  1151. <BindItem id="item64" compid="ipt_prgbthhisl" propid="value" datasetid="ds_data_female2" columnid="prgbthhisl"/>
  1152. <BindItem id="item65" compid="tar_spcffact" propid="value" datasetid="ds_data_spcf" columnid="spcffactdetl"/>
  1153. <BindItem id="item71" compid="chk_pasthistyn" propid="value" datasetid="ds_data_pasthist1" columnid="pasthistinclyn"/>
  1154. <BindItem id="item72" compid="chk_famyhistyn" propid="value" datasetid="ds_data_famyhist1" columnid="famyhistinclyn"/>
  1155. <BindItem id="item73" compid="chk_inhistyn" propid="value" datasetid="ds_data_inhist1" columnid="inhistinclyn"/>
  1156. <BindItem id="item74" compid="chk_ophistinclyn" propid="value" datasetid="ds_data_ophist1" columnid="ophistinclyn"/>
  1157. <BindItem id="item75" compid="grp_anti.rdo_anti" propid="value" datasetid="ds_main_allgtemp" columnid="antitype"/>
  1158. <BindItem id="item76" compid="grp_anti.txt_anti" propid="value" datasetid="ds_main_allgtemp" columnid="antidesc"/>
  1159. <BindItem id="item77" compid="cmb_antibiodrugyn" propid="value" datasetid="ds_data_rectmedistat1" columnid="antibiodrugyn"/>
  1160. <BindItem id="item78" compid="chk_rectmedistatinclyn" propid="value" datasetid="ds_data_rectmedistat1" columnid="rectmedistatinfoinclyn"/>
  1161. <BindItem id="item79" compid="rdo_allgyn" propid="value" datasetid="ds_data_allghist1" columnid="allghistinclyn"/>
  1162. <BindItem id="item80" compid="grp_basebdinfo.ipt_highbp" propid="value" datasetid="ds_main_wardrecinfo" columnid="highbp"/>
  1163. <BindItem id="item81" compid="grp_basebdinfo.ipt_lowbp" propid="value" datasetid="ds_main_wardrecinfo" columnid="lowbp"/>
  1164. <BindItem id="item82" compid="grp_basebdinfo.chk_bdtpinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdtpinspyn"/>
  1165. <BindItem id="item83" compid="grp_basebdinfo.chk_brethinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="brethinspyn"/>
  1166. <BindItem id="item84" compid="grp_basebdinfo.ipt_pulse" propid="value" datasetid="ds_main_wardrecinfo" columnid="pulse"/>
  1167. <BindItem id="item85" compid="ipt_relignnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="relignnm"/>
  1168. <BindItem id="item66" compid="Div00.comnrs1" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrs1cd"/>
  1169. <BindItem id="item68" compid="Div00.radnrs21" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrs21cd"/>
  1170. <BindItem id="item69" compid="Div00.radnrs22" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrs22cd"/>
  1171. <BindItem id="item70" compid="Div00.radnrs23" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrs23cd"/>
  1172. <BindItem id="item67" compid="Div00.input6" propid="value" datasetid="ds_main_wardrecinfo" columnid="nrsscore"/>
  1173. <BindItem id="item86" compid="chk_spcffactinclyn" propid="value" datasetid="ds_data_spcf" columnid="spcffactinclyn"/>
  1174. </Bind>
  1175. <InitValue/>
  1176. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1177. * System Name :
  1178. * Job Name :
  1179. * Creator :
  1180. * Make Date : 2015-11-13
  1181. * Description :
  1182. *---------------------------------------------------------------------------------------
  1183. * Modify Date Modifier Modify Description
  1184. *---------------------------------------------------------------------------------------
  1185. * 2015-11-13 Live Converter TF->XP
  1186. *
  1187. *---------------------------------------------------------------------------------------
  1188. ****************************************************************************************/
  1189. include "com_commonxp::comm_main.xjs";
  1190. var status = "select";
  1191. var cText = "";
  1192. function SMMNW07600_oninit(obj:Form, e:InitEventInfo)
  1193. {
  1194. frmf_initForm(obj);
  1195. grdf_setRowTypeIcon(grd_famyfact, 1);
  1196. }
  1197. function SMMNW07600_onload(obj:Form, e:LoadEventInfo)
  1198. {
  1199. //로드 부분 색깔변경만 있어서 삭제...
  1200. }
  1201. function fInitEventGnrlInfo() {
  1202. if( utlf_isNull(ipt_indt.value) ) {
  1203. ds_main_wardrecinfo.setColumn(0, "indt", ds_temp_cond_list.getColumn(0, "careinrmtm")); //입원시간
  1204. }
  1205. //입원전 검사실에서 기록한 기록이 있을 경우 [입원전 검사실]버튼이 생성
  1206. var oParam = {};
  1207. oParam.id = "TRMNW07601";
  1208. oParam.service = "wardcareapp.WardCareRec";
  1209. oParam.method = "reqGetInbfInfo";
  1210. oParam.inds = "refCond=ds_send_req";
  1211. oParam.outds = "ds_main_inbfinfo_inbfinfolist=inbfinfolist";
  1212. oParam.async = false;
  1213. tranf_submit(oParam);
  1214. if( ds_main_inbfinfo_inbfinfolist.getColumn(0, "inbfyn") == "Y"){
  1215. bnt_testroom.visible =true;
  1216. } else {
  1217. bnt_testroom.visible =false;
  1218. }
  1219. if(ds_temp_cond_list.getColumn(0, "sex") == "M") { // 남자일 경우 여성정보 해당사항 없음 체크
  1220. ds_data_female1.setColumn(0, "femaleinfoyn", "1");
  1221. ds_data_female1.setColumn(0, "femaleaddinfoyn", "");
  1222. chk_femaleaddinfoyn.enable = false;
  1223. }
  1224. else
  1225. {
  1226. if(utlf_isNull(ds_data_female1.getColumn(0, "femaleinfoyn")))
  1227. {
  1228. ds_data_female1.setColumn(0, "femaleinfoyn", "");
  1229. }
  1230. if(utlf_isNull(ds_data_female1.getColumn(0, "femaleaddinfoyn")))
  1231. {
  1232. ds_data_female1.setColumn(0, "femaleaddinfoyn", "");
  1233. }
  1234. chk_femaleaddinfoyn.enable = true;
  1235. }
  1236. var privacychk = ds_codelist.lookup("cdgrupid", "W25", "cdid");
  1237. if(privacychk == "N"){
  1238. ds_main_wardrecinfo.setColumn(0, "privacy", "");
  1239. chk_privacy.visible = false;
  1240. cap_educgrde.visible = true;
  1241. cmb_educgrde.visible = true;
  1242. ipt_educgrde.visible = true;
  1243. }else{
  1244. chk_privacy.visible = true;
  1245. cap_educgrde.visible = false; // 본원 - 교육지표 추가 요청 '15.03.19 - AYS
  1246. cmb_educgrde.visible = false;
  1247. ipt_educgrde.visible = false;
  1248. }
  1249. if( ds_main_wardrecinfo.getColumn(0, "privacy") == "Y"){ // 개인정보사정 미동의 Y인 경우
  1250. cmb_job.enable = false;
  1251. ipt_job.enable = false;
  1252. cmb_relign.enable = false;
  1253. ipt_relignnm.enable = false;
  1254. cmb_marystat.enable = false;
  1255. ipt_marystatnm.enable = false;
  1256. // rdo_nationalityflag.enable = false;
  1257. // ipt_nationalitynm.enable = false;
  1258. // rdo_socialwelfare.enable = false;
  1259. //
  1260. // chk_famyparent.enable = false;
  1261. // ipt_famybrother.enable = false;
  1262. // ipt_famychildren.enable = false;
  1263. cap_baptnm.visible = false;
  1264. ipt_baptnm.visible = false;
  1265. }else{
  1266. cmb_job.enable = true;
  1267. cmb_relign.enable = true;
  1268. cmb_marystat.enable = true;
  1269. // rdo_nationalityflag.enable = true;
  1270. // rdo_socialwelfare.enable = true;
  1271. //
  1272. // chk_famyparent.enable = true;
  1273. // ipt_famybrother.enable = true;
  1274. // ipt_famychildren.enable = true;
  1275. //cmb_job.dispatch("xforms-value-changed");
  1276. var job = ds_main_wardrecinfo.getColumn(0, "jobcd");
  1277. if(job == "10") { //기타
  1278. ipt_job.enable = true;
  1279. } else {
  1280. ds_main_wardrecinfo.setColumn(0, "jobnm", "");
  1281. ipt_job.enable = false;
  1282. }
  1283. //cmb_relign.dispatch("xforms-value-changed");
  1284. var religncd = ds_main_wardrecinfo.getColumn(0, "religncd");
  1285. if(religncd == "09") { //기타
  1286. ipt_relignnm.enable = true;
  1287. } else {
  1288. ipt_relignnm.enable = false;
  1289. }
  1290. //cmb_educgrde.dispatch("xforms-value-changed");
  1291. var educgrde = ds_main_wardrecinfo.getColumn(0, "educgrdecd");
  1292. if(educgrde == "15") { //기타
  1293. ipt_educgrde.enable = true;
  1294. } else {
  1295. ds_main_wardrecinfo.setColumn(0, "educgrdenm", "");
  1296. ipt_educgrde.enable = false;
  1297. }
  1298. //cmb_marystat.dispatch("xforms-value-changed");
  1299. var marystatcd = ds_main_wardrecinfo.getColumn(0, "marystatcd");
  1300. if(marystatcd == "09") {
  1301. ipt_marystatnm.enable = true;
  1302. } else {
  1303. ipt_marystatnm.enable = false;
  1304. ds_main_wardrecinfo.setColumn(0, "marystatnm", "");
  1305. }
  1306. //rdo_nationalityflag.dispatch("xforms-value-changed");
  1307. //frmf_inputEnterKey("rdo_nosmokcnstyn", "onitemchanged", new ItemChangeEventInfo );
  1308. }
  1309. if( ds_main_wardrecinfo.getColumn(0, "basebdinfoinclyn") == "1") { // 기본신체정보 해당없음 체크
  1310. frmf_inputEnterKey("chk_basebdinfoinclyn", "onchanged", new CheckBoxChangeEventInfo );
  1311. }
  1312. //cmb_inpath.dispatch("xforms-value-changed"); // 입원경로 cmb
  1313. if(ds_main_wardrecinfo.getColumn(0, "inpathcd") == "08") {
  1314. ipt_inpathnm.visible = true;
  1315. } else {
  1316. ipt_inpathnm.visible = false;
  1317. ds_main_wardrecinfo.setColumn(0, "inpathnm", "");
  1318. }
  1319. //cmb_inmthd.dispatch("xforms-value-changed"); // 입원방법 cmb
  1320. if(ds_main_wardrecinfo.getColumn(0, "inmthdcd") == "08") {
  1321. ipt_inmthdnm.visible = true;
  1322. } else {
  1323. ipt_inmthdnm.visible = false;
  1324. ds_main_wardrecinfo.setColumn(0, "inmthdnm", "");
  1325. }
  1326. //cmb_inacompst.dispatch("xforms-value-changed"); // 입원시동반자 cmb
  1327. if(ds_main_wardrecinfo.getColumn(0, "inacompstcd") == "04") {
  1328. ipt_inacompstnm.visible = true;
  1329. } else {
  1330. ipt_inacompstnm.visible = false;
  1331. ds_main_wardrecinfo.setColumn(0, "inacompstnm", "");
  1332. }
  1333. //rdo_nosmokcnstyn.dispatch("xforms-value-changed"); // 금연상담여부 유무 rdo
  1334. frmf_inputEnterKey("rdo_nosmokcnstyn", "onitemchanged", new ItemChangeEventInfo );
  1335. //rdo_drunkinfo.dispatch("xforms-value-changed"); // 음주정보 유무 rdo
  1336. frmf_inputEnterKey("rdo_drunkinfo", "onitemchanged", new ItemChangeEventInfo );
  1337. //rdo_tnsseffcyn.dispatch("xforms-value-changed"); // 기호식품 유무 rdo
  1338. frmf_inputEnterKey("rdo_gustofoodyn", "onitemchanged", new ItemChangeEventInfo );
  1339. //rdo_tnsseffcyn.dispatch("xforms-value-changed"); // 수혈부작용 rdo
  1340. frmf_inputEnterKey("rdo_tnsseffcyn", "onitemchanged", new ItemChangeEventInfo );
  1341. if( ds_data_pasthist1.getColumn(0, "pasthistinclyn") == "1") { // 과겨병력 해당없음 체크시 실행
  1342. frmf_inputEnterKey("chk_pasthistyn", "onclick", new ClickEventInfo );
  1343. }
  1344. else
  1345. {
  1346. if(ds_data_pasthist2.rowcount == 0)
  1347. {
  1348. ds_data_pasthist2.addRow();
  1349. }
  1350. }
  1351. if( ds_data_famyhist1.getColumn(0, "famyhistinclyn") == "1") { // 가족병력 해당없음 체크시 실행
  1352. frmf_inputEnterKey("chk_famyhistyn", "onclick", new ClickEventInfo );
  1353. }
  1354. else
  1355. {
  1356. if(ds_data_famyhist2.rowcount == 0)
  1357. {
  1358. ds_data_famyhist2.addRow();
  1359. }
  1360. }
  1361. if( ds_data_inhist1.getColumn(0, "inhistinclyn") == "1") { // 입원이력 해당없음 체크시 실행
  1362. frmf_inputEnterKey("chk_inhistyn", "onclick", new ClickEventInfo );
  1363. }
  1364. else
  1365. {
  1366. if(ds_data_inhist2.rowcount == 0)
  1367. {
  1368. ds_data_inhist2.addRow();
  1369. }
  1370. }
  1371. if( ds_data_ophist1.getColumn(0, "ophistinclyn") == "1") { // 수술이력 해당없음 체크시 실행
  1372. frmf_inputEnterKey("chk_ophistinclyn", "onclick", new ClickEventInfo );
  1373. }
  1374. else
  1375. {
  1376. if(ds_data_ophist2.rowcount == 0)
  1377. {
  1378. ds_data_ophist2.addRow();
  1379. }
  1380. }
  1381. if( ds_data_rectmedistat1.getColumn(0, "rectmedistatinfoinclyn") == "1") { // 최근투약상태 해당없음 체크시 실행
  1382. frmf_inputEnterKey("chk_rectmedistatinclyn", "onclick", new ClickEventInfo );
  1383. }
  1384. else
  1385. {
  1386. if(ds_data_rectmedistat2.rowcount == 0)
  1387. {
  1388. ds_data_rectmedistat2.addRow();
  1389. }
  1390. }
  1391. if( ds_data_allghist1.getColumn(0, "allghistinclyn") == "1") { // 알레르기 해당없음 체크시 실행
  1392. frmf_inputEnterKey("rdo_allgyn", "onitemchanged", new ItemChangeEventInfo );
  1393. }
  1394. else
  1395. {
  1396. if(ds_data_allghist2.rowcount == 0)
  1397. {
  1398. ds_data_allghist2.addRow();
  1399. }
  1400. }
  1401. //chk_femaleinfoinclyn.dispatch("xforms-value-changed");
  1402. status = "select";
  1403. frmf_inputEnterKey("chk_femaleinfoinclyn", "onclick", new ClickEventInfo );
  1404. //신체정보 측정불가시 측정불가 체크표시 추가_20090306_SMY
  1405. //chk_bpinspyn.dispatch("xforms-value-changed");
  1406. frmf_inputEnterKey("grp_basebdinfo.chk_bdhtinspyn", "onchanged", new CheckBoxChangeEventInfo );
  1407. //chk_pulseinspyn.dispatch("xforms-value-changed");
  1408. frmf_inputEnterKey("grp_basebdinfo.chk_pulseinspyn", "onchanged", new CheckBoxChangeEventInfo );
  1409. //chk_brethinspyn.dispatch("xforms-value-changed");
  1410. frmf_inputEnterKey("grp_basebdinfo.chk_brethinspyn", "onchanged", new CheckBoxChangeEventInfo );
  1411. //chk_bdtpinspyn.dispatch("xforms-value-changed");
  1412. frmf_inputEnterKey("grp_basebdinfo.chk_bdtpinspyn", "onchanged", new CheckBoxChangeEventInfo );
  1413. //chk_bdhtinspyn.dispatch("xforms-value-changed");
  1414. frmf_inputEnterKey("grp_basebdinfo.chk_bdhtinspyn", "onchanged", new CheckBoxChangeEventInfo );
  1415. //chk_bdwtinspyn.dispatch("xforms-value-changed");
  1416. frmf_inputEnterKey("grp_basebdinfo.chk_bdwtinspyn", "onchanged", new CheckBoxChangeEventInfo );
  1417. //chk_spo2inspyn.dispatch("xforms-value-changed");
  1418. frmf_inputEnterKey("grp_basebdinfo.chk_spo2inspyn", "onchanged", new CheckBoxChangeEventInfo );
  1419. if(utlf_isNull(ds_main_wardrecinfo.getColumnInfo("bdhtinspyn")))
  1420. {
  1421. ds_main_wardrecinfo.addColumn("bdhtinspyn", "string");
  1422. }
  1423. if(utlf_isNull(ds_main_wardrecinfo.getColumnInfo("spo2inspyn")))
  1424. {
  1425. ds_main_wardrecinfo.addColumn("spo2inspyn", "string");
  1426. }
  1427. if(utlf_isNull(ds_main_wardrecinfo.getColumnInfo("bdwtinspyn")))
  1428. {
  1429. ds_main_wardrecinfo.addColumn("bdwtinspyn", "string");
  1430. }
  1431. frmf_inputEnterKey("chk_privacy", "onclick", new ClickEventInfo );
  1432. // 190619_AYS_특이사항_해당없음 추가
  1433. frmf_inputEnterKey("chk_spcffactinclyn", "onclick", new ClickEventInfo);
  1434. // 190716_AYS_개인정보사정 미동의_초기 이벤트 실행
  1435. frmf_inputEnterKey("chk_privacy", "onclick", new ClickEventInfo);
  1436. }
  1437. function fChkNoneInspCode(IptPath, IptID)
  1438. {
  1439. if(IptPath.getColumn(0, IptPath) == NoneInspCode)
  1440. {
  1441. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1442. IptPath.clearData();
  1443. IptIDCon.setFocus();
  1444. return;
  1445. }
  1446. }
  1447. function cmb_inpath_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1448. {
  1449. if(ds_main_wardrecinfo.getColumn(0, "inpathcd") == "08")
  1450. {
  1451. ipt_inpathnm.visible = true;
  1452. }
  1453. else
  1454. {
  1455. ipt_inpathnm.visible = false;
  1456. ds_main_wardrecinfo.setColumn(0, "inpathnm", "");
  1457. }
  1458. }
  1459. function cmb_inmthd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1460. {
  1461. if(ds_main_wardrecinfo.getColumn(0, "inmthdcd") == "08") {
  1462. ipt_inmthdnm.visible = true;
  1463. } else {
  1464. ipt_inmthdnm.visible = false;
  1465. ds_main_wardrecinfo.setColumn(0, "inmthdnm", "");
  1466. }
  1467. }
  1468. function cmb_inacompst_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1469. {
  1470. if(ds_main_wardrecinfo.getColumn(0, "inacompstcd") == "04")
  1471. {
  1472. ipt_inacompstnm.visible = true;
  1473. }
  1474. else
  1475. {
  1476. ipt_inacompstnm.visible = false;
  1477. ds_main_wardrecinfo.setColumn(0, "inacompstnm", "");
  1478. }
  1479. }
  1480. function chk_privacy_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1481. {
  1482. }
  1483. function cmb_job_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1484. {
  1485. var job = ds_main_wardrecinfo.getColumn(0, "jobcd");
  1486. //기타
  1487. if(job == "10")
  1488. {
  1489. ipt_job.enable = true;
  1490. }
  1491. else
  1492. {
  1493. ds_main_wardrecinfo.setColumn(0, "jobnm", "");
  1494. ipt_job.enable = false;
  1495. }
  1496. }
  1497. function cmb_educgrde_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1498. {
  1499. var educgrde = ds_main_wardrecinfo.getColumn(0, "educgrdecd");
  1500. //기타
  1501. if(educgrde == "15")
  1502. {
  1503. ipt_educgrde.enable = true;
  1504. }
  1505. else
  1506. {
  1507. ds_main_wardrecinfo.setColumn(0, "educgrdenm", "");
  1508. ipt_educgrde.enable = false;
  1509. }
  1510. }
  1511. function cmb_relign_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1512. {
  1513. var religncd = ds_main_wardrecinfo.getColumn(0, "religncd");
  1514. //천주교일 경우 세례명 입력
  1515. if(religncd == "01")
  1516. {
  1517. cap_baptnm.visible = true;
  1518. ipt_baptnm.visible = true;
  1519. ipt_baptnm.enable = true;
  1520. ipt_relignnm.visible = false;
  1521. }
  1522. else
  1523. {
  1524. cap_baptnm.visible = false;
  1525. ipt_baptnm.visible = false;
  1526. ipt_relignnm.visible = true;
  1527. ds_main_wardrecinfo.setColumn(0, "baptnm", "");
  1528. //기타
  1529. if(religncd == "09")
  1530. {
  1531. ipt_relignnm.enable = true;
  1532. }
  1533. else
  1534. {
  1535. ipt_relignnm.enable = false;
  1536. }
  1537. }
  1538. }
  1539. function cmb_marystat_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1540. {
  1541. var marystatcd = ds_main_wardrecinfo.getColumn(0, "marystatcd");
  1542. if(marystatcd == "09")
  1543. {
  1544. ipt_marystatnm.enable = true;
  1545. }
  1546. else
  1547. {
  1548. ipt_marystatnm.enable = false;
  1549. ds_main_wardrecinfo.setColumn(0, "marystatnm", "");
  1550. }
  1551. }
  1552. function button1_onclick(obj:Button, e:ClickEventInfo)
  1553. {
  1554. if( !utlf_isNull(ds_temp_cond_list.getColumn(0, "pid")) || !utlf_isNull(ds_temp_cond_list.getColumn(0, "hngnm")))
  1555. {
  1556. // 전화번호 더블클릭시 해당환자의 '전화번호/주소 조회 및 수정 창' 팝업창을 호출!!!
  1557. //예약내역이 없는 필드 체크
  1558. var hngnm = ds_temp_cond_list.getColumn(0, "hngnm");
  1559. var pid = ds_temp_cond_list.getColumn(0, "pid");
  1560. if (utlf_isNull(pid) && (utlf_isNull(hngnm) && hngnm == " " && hngnm == "-"))//추민수 utlf_isNull(hngnm)
  1561. {
  1562. return false;
  1563. }
  1564. //setParameter("opener_parameter_id", pid);
  1565. var objParam = [{col:"srchcond", type:"string", size:1, val:"1"}, {col:"pid", type:"string", size:10, val: pid}]
  1566. dsf_createDsRow("ds_temp_source", objParam, false)
  1567. var objArg = new Object();
  1568. objArg.arg_ds_source = ds_temp_source;
  1569. frmf_modal("SPPMO01400", "SPPMO01400", objArg, "","1", "100", "100", "", "", "", "", "", "M");
  1570. // var hometel = getParameter("SMPMO01400_hometel");
  1571. // var mpphontel = getParameter("SMPMO01400_mpphontel");
  1572. // if( hometel != '' && mpphontel != '' ){
  1573. // model.setValue("/root/main/patrem/selectpat/hometel", hometel) ;
  1574. // model.setValue("/root/main/patrem/selectpat/mpphontel", mpphontel) ;
  1575. // }
  1576. dsf_deleteDs("ds_temp_source");
  1577. }
  1578. }
  1579. function btn_famyfactadd_onclick(obj:Button, e:ClickEventInfo)
  1580. {
  1581. ds_main_famyfact.addRow();
  1582. }
  1583. function btn_famyfactdel_onclick(obj:Button, e:ClickEventInfo)
  1584. {
  1585. ds_main_famyfact.deleteRow(ds_main_famyfact.rowposition);
  1586. }
  1587. function button40_onclick(obj:Button, e:ClickEventInfo)
  1588. {
  1589. // setParameter("SPMMR04711_shape", model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
  1590. // modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
  1591. //
  1592. // if(model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") != "") {
  1593. // model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
  1594. // opt_existyn.refresh();
  1595. // } else {
  1596. // model.setValue("/root/main/wardrecinfo/famytree/existyn", "");
  1597. // opt_existyn.refresh();
  1598. // }
  1599. }
  1600. function bnt_testroom_onclick(obj:Button, e:ClickEventInfo)
  1601. {
  1602. frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
  1603. frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
  1604. frmf_setParameter("recflag", "");
  1605. frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
  1606. frmf_modal("SPMNW12900", "SPMNW12900", "", "","1", "10", "10", "", "", "", "", "", "M");
  1607. }
  1608. function chk_basebdinfoinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1609. {
  1610. if(chk_basebdinfoinclyn.value == "1")
  1611. {
  1612. var rtn = "";
  1613. var isEmptyYN = "Y";
  1614. while(1)
  1615. {
  1616. if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0, "bdht")))
  1617. {
  1618. isEmptyYN = "N";
  1619. break;
  1620. }
  1621. if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0 , "bdwt")))
  1622. {
  1623. isEmptyYN = "N";
  1624. break;
  1625. }
  1626. if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0, "bdbtype")))
  1627. {
  1628. isEmptyYN = "N";
  1629. break;
  1630. }
  1631. if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0, "bdbtyperh")))
  1632. {
  1633. isEmptyYN = "N";
  1634. break;
  1635. }
  1636. if(!utlf_isNull(ds_main_wardrecinfo.getColumn(0, "spo2")))
  1637. {
  1638. isEmptyYN = "N";
  1639. break;
  1640. }
  1641. break;
  1642. }
  1643. if(isEmptyYN == "Y")
  1644. {
  1645. status = "select";
  1646. }
  1647. if(isEmptyYN == "N")
  1648. {
  1649. rtn = sysf_messageBox ( "데이터를", "Q001");
  1650. }
  1651. if(rtn == "6")
  1652. {
  1653. grp_basebdinfo.ipt_bdht.enable = false;
  1654. grp_basebdinfo.ipt_bdwt.enable = false;
  1655. grp_basebdinfo.ipt_spo2.enable = false;
  1656. grp_basebdinfo.cmb_bdbtype.enable = false;
  1657. ds_main_wardrecinfo.setColumn(0, "bdht", "");
  1658. ds_main_wardrecinfo.setColumn(0, "bdwt", "");
  1659. ds_main_wardrecinfo.setColumn(0, "bdbtype", "");
  1660. ds_main_wardrecinfo.setColumn(0, "bdbtyperh", "");
  1661. ds_main_wardrecinfo.setColumn(0, "spo2", "");
  1662. }
  1663. else
  1664. {
  1665. ds_main_wardrecinfo.setColumn(0, "basebdinfoinclyn", "");
  1666. return;
  1667. }
  1668. }
  1669. else
  1670. {
  1671. grp_basebdinfo.ipt_bdht.enable = true;
  1672. grp_basebdinfo.ipt_bdwt.enable = true;
  1673. grp_basebdinfo.cmb_bdbtype.enable = true;
  1674. grp_basebdinfo.ipt_spo2.enable = true;
  1675. }
  1676. }
  1677. function grp_basebdinfo_chk_bdhtinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1678. {
  1679. if(grp_basebdinfo.chk_bdhtinspyn.value == "Y")
  1680. {
  1681. grp_basebdinfo.ipt_bdht.enable = false;
  1682. ds_main_wardrecinfo.setColumn(0, "bdht", "")
  1683. grp_basebdinfo.ipt_bdht.style.background.color = "gainsboro";
  1684. }
  1685. else
  1686. {
  1687. grp_basebdinfo.ipt_bdht.enable = true;
  1688. grp_basebdinfo.ipt_bdht.style.background.color = "#ffe4b5ff";
  1689. }
  1690. }
  1691. function grp_basebdinfo_chk_spo2inspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1692. {
  1693. if(grp_basebdinfo.chk_spo2inspyn.value == "Y")
  1694. {
  1695. grp_basebdinfo.ipt_spo2.enable = false;
  1696. ds_main_wardrecinfo.setColumn(0, "spo2", "");
  1697. grp_basebdinfo.ipt_spo2.style.background.color = "gainsboro";
  1698. }
  1699. else
  1700. {
  1701. grp_basebdinfo.ipt_spo2.enable = true;
  1702. grp_basebdinfo.ipt_spo2.style.background.color = "#ffe4b5ff";
  1703. }
  1704. }
  1705. function grp_basebdinfo_chk_bdwtinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1706. {
  1707. if(grp_basebdinfo.chk_bdwtinspyn.value == "Y")
  1708. {
  1709. grp_basebdinfo.ipt_bdwt.enable = false;
  1710. ds_main_wardrecinfo.setColumn(0, "bdwt", "");
  1711. grp_basebdinfo.ipt_bdwt.style.background.color = "gainsboro";
  1712. }
  1713. else
  1714. {
  1715. grp_basebdinfo.ipt_bdwt.enable = true;
  1716. grp_basebdinfo.ipt_bdwt.style.background.color = "#ffe4b5ff";
  1717. }
  1718. }
  1719. function fChkNoneInspCode(IptPath, IptID)
  1720. {
  1721. if(IptPath.getColumn(0, IptPath) == NoneInspCode)
  1722. {
  1723. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1724. IptPath.clearData();
  1725. IptIDCon.setFocus();
  1726. return;
  1727. }
  1728. }
  1729. function grp_basebdinfo_ipt_bdht_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1730. {
  1731. //측정불가 코드값입력 blocking_20090310_SMY
  1732. if(ds_main_wardrecinfo.getColumn(0, "bdht") == NoneInspCode){
  1733. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1734. ds_main_wardrecinfo.setColumn(0, "bdht", "");
  1735. grp_basebdinfo.ipt_bdht.setFocus();
  1736. return;
  1737. }
  1738. }
  1739. function grp_basebdinfo_ipt_spo2_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1740. {
  1741. if(ds_main_wardrecinfo.getColumn(0, "spo2") == NoneInspCode){
  1742. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1743. ds_main_wardrecinfo.setColumn(0, "spo2", "");
  1744. grp_basebdinfo.ipt_spo2.setFocus();
  1745. return;
  1746. }
  1747. }
  1748. function grp_basebdinfo_ipt_bdwt_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1749. {
  1750. if(ds_main_wardrecinfo.getColumn(0, "bdwt") == NoneInspCode){
  1751. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1752. ds_main_wardrecinfo.setColumn(0, "bdwt", "");
  1753. grp_basebdinfo.ipt_bdwt.setFocus();
  1754. return;
  1755. }
  1756. }
  1757. function grp_basebdinfo_chk_bdtpinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1758. {
  1759. if(grp_basebdinfo.chk_bdtpinspyn.value == "Y")
  1760. {
  1761. grp_basebdinfo.ipt_bdtp.enable = false;
  1762. grp_basebdinfo.cmb_bdtp.enable = false;
  1763. ds_main_wardrecinfo.setColumn(0, "bdtp", "");
  1764. ds_main_wardrecinfo.setColumn(0, "bdtppartcd", "");
  1765. }
  1766. else
  1767. {
  1768. grp_basebdinfo.ipt_bdtp.enable = true;
  1769. grp_basebdinfo.cmb_bdtp.enable = true;
  1770. }
  1771. }
  1772. function grp_basebdinfo_chk_brethinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1773. {
  1774. if(grp_basebdinfo.chk_brethinspyn.value == "Y")
  1775. {
  1776. grp_basebdinfo.ipt_breth.enable = false;
  1777. ds_main_wardrecinfo.setColumn(0, "breth", "");
  1778. }
  1779. else
  1780. {
  1781. grp_basebdinfo.ipt_breth.enable = true;
  1782. }
  1783. }
  1784. function grp_basebdinfo_ipt_highbp_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1785. {
  1786. if(ds_main_wardrecinfo.getColumn(0, "highbp") == NoneInspCode){
  1787. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1788. ds_main_wardrecinfo.setColumn(0, "highbp", "");
  1789. grp_basebdinfo.ipt_highbp.setFocus();
  1790. return;
  1791. }
  1792. }
  1793. function grp_basebdinfo_ipt_lowbp_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1794. {
  1795. if(ds_main_wardrecinfo.getColumn(0, "lowbp") == NoneInspCode){
  1796. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1797. ds_main_wardrecinfo.setColumn(0, "lowbp", "");
  1798. grp_basebdinfo.ipt_lowbp.setFocus();
  1799. return;
  1800. }
  1801. }
  1802. function grp_basebdinfo_ipt_pulse_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1803. {
  1804. if(ds_main_wardrecinfo.getColumn(0, "pulse") == NoneInspCode){
  1805. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1806. ds_main_wardrecinfo.setColumn(0, "pulse", "");
  1807. grp_basebdinfo.ipt_pulse.setFocus();
  1808. return;
  1809. }
  1810. }
  1811. function grp_basebdinfo_ipt_breth_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1812. {
  1813. if(ds_main_wardrecinfo.getColumn(0, "breth") == NoneInspCode){
  1814. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1815. ds_main_wardrecinfo.setColumn(0, "breth", "");
  1816. grp_basebdinfo.ipt_pulse.setFocus();
  1817. return;
  1818. }
  1819. }
  1820. function rdo_smokinfo_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1821. {
  1822. //입원전1개월이내흡연 체크
  1823. if(ds_data_smokinfo.getColumn(0, "smokinfoyn") == "2")
  1824. {
  1825. rdo_bfsmokinfo.enable = true;
  1826. }
  1827. else
  1828. {
  1829. rdo_bfsmokinfo.enable = false;
  1830. ds_main_wardrecinfo.setColumn(0, "bfsmokinfoyn", "");
  1831. }
  1832. frmf_inputEnterKey("rdo_nosmokcnstyn", "onitemchanged", new ItemChangeEventInfo );
  1833. }
  1834. function rdo_nosmokcnstyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1835. {
  1836. if(ds_data_smokinfo.getColumn(0, "nosmokcnstyn") == "1")
  1837. {
  1838. if(ds_data_smokinfo.getColumn(0, "smokinfoyn") == "4"
  1839. || ds_data_smokinfo.getColumn(0, "bfsmokinfoyn") == "Y")
  1840. {
  1841. cmb_nosmokcnst.enable = true;
  1842. ipt_nosmokcnstnm.enable = true;
  1843. }
  1844. else
  1845. {
  1846. cmb_nosmokcnst.enable = false;
  1847. ipt_nosmokcnstnm.enable = false;
  1848. ds_data_smokinfo.setColumn(0, "nosmokcnstnm", "");
  1849. ds_data_smokinfo.setColumn(0, "nosmokcnst", "");
  1850. }
  1851. }
  1852. else
  1853. {
  1854. cmb_nosmokcnst.enable = false;
  1855. ipt_nosmokcnstnm.enable = false;
  1856. ds_data_smokinfo.setColumn(0, "nosmokcnst", "");
  1857. ds_data_smokinfo.setColumn(0, "nosmokcnstnm", "");
  1858. }
  1859. }
  1860. function rdo_bfsmokinfo_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1861. {
  1862. frmf_inputEnterKey("rdo_smokinfo", "onitemchanged", new ItemChangeEventInfo );
  1863. }
  1864. function cmb_nosmokcnst_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1865. {
  1866. if(ds_data_smokinfo.getColumn(0, "nosmokcnst") == "03")
  1867. {
  1868. ipt_nosmokcnstnm.enable = true;
  1869. }
  1870. else
  1871. {
  1872. ipt_nosmokcnstnm.enable = false;
  1873. ds_data_smokinfo.setColumn(0, "nosmokcnstnm", "");
  1874. }
  1875. }
  1876. function rdo_drunkinfo_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1877. {
  1878. if(ds_data_drunkinfo.getColumn(0, "drunkinfoyn") == "2")
  1879. {
  1880. ipt_drunkinfokind.enable = true;
  1881. ipt_drunkinfoterm.enable = true;
  1882. } else {
  1883. ds_data_drunkinfo.setColumn(0, "drunkinfokind", "");
  1884. ds_data_drunkinfo.setColumn(0, "drunkinfoterm", "");
  1885. ipt_drunkinfokind.enable = false;
  1886. ipt_drunkinfoterm.enable = false;
  1887. }
  1888. }
  1889. function rdo_gustofoodyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1890. {
  1891. if(ds_data_gustofoodinfo.getColumn(0, "gustofoodyn") == "2")
  1892. {
  1893. ipt_gustofood.enable = true;
  1894. }
  1895. else
  1896. {
  1897. ds_data_gustofoodinfo.setColumn(0, "gustofooddetl", "");
  1898. ipt_gustofood.enable = false;
  1899. }
  1900. }
  1901. function chk_femaleaddinfoyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1902. {
  1903. if(chk_femaleaddinfoyn.value == "1")
  1904. {
  1905. rdo_endmensyn.enable = true;
  1906. ipt_endmensyn.enable = true;
  1907. ipt_closmensage.enable = true;
  1908. ipt_lastmensdd.enable = true;
  1909. ipt_prgbthhisg.enable = true;
  1910. ipt_prgbthhisp.enable = true;
  1911. ipt_prgbthhisa.enable = true;
  1912. ipt_prgbthhissa.enable = true;
  1913. ipt_prgbthhisaa.enable = true;
  1914. ipt_prgbthhisl.enable = true;
  1915. } else {
  1916. ds_data_female2.setColumn(0, "lastmensdd", "");
  1917. ds_data_female2.setColumn(0, "prgbthhisg", "");
  1918. ds_data_female2.setColumn(0, "prgbthhisp", "");
  1919. ds_data_female2.setColumn(0, "prgbthhisa", "");
  1920. ds_data_female2.setColumn(0, "prgbthhissa", "");
  1921. ds_data_female2.setColumn(0, "prgbthhisaa", "");
  1922. ds_data_female2.setColumn(0, "prgbthhisl", "");
  1923. rdo_endmensyn.enable = true;
  1924. ipt_endmensyn.enable = true;
  1925. ipt_closmensage.enable = false;
  1926. ipt_lastmensdd.enable = false;
  1927. ipt_prgbthhisg.enable = false;
  1928. ipt_prgbthhisp.enable = false;
  1929. ipt_prgbthhisa.enable = false;
  1930. ipt_prgbthhissa.enable = false;
  1931. ipt_prgbthhisaa.enable = false;
  1932. ipt_prgbthhisl.enable = false;
  1933. }
  1934. }
  1935. function comnrs1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1936. {
  1937. fnNRScalc();
  1938. }
  1939. function fnNRScalc()
  1940. {
  1941. var snrs1 = ds_main_wardrecinfo.getColumn(0, "nrs1cd");
  1942. var snrs21 = ds_main_wardrecinfo.getColumn(0, "nrs21cd");
  1943. var snrs22 = ds_main_wardrecinfo.getColumn(0, "nrs22cd");
  1944. var snrs23 = ds_main_wardrecinfo.getColumn(0, "nrs23cd");
  1945. var totalnrs= 0;
  1946. var snm = "";
  1947. if (utlf_isNull(snrs1))
  1948. {
  1949. snrs21 = 0;
  1950. ds_main_wardrecinfo.setColumn(0, "nrs1nm","");
  1951. }
  1952. else
  1953. {
  1954. snm = comnrs1.text;
  1955. ds_main_wardrecinfo.setColumn(0, "nrs1nm",snm);
  1956. }
  1957. if (utlf_isNull(snrs21) || snrs21 == "1")
  1958. {
  1959. snrs21 = 0;
  1960. ds_main_wardrecinfo.setColumn(0, "nrs21nm", "");
  1961. }
  1962. else
  1963. {
  1964. snrs21 = 1;
  1965. snm = capnrs21.text;
  1966. ds_main_wardrecinfo.setColumn(0, "nrs21nm", snm);
  1967. }
  1968. if (utlf_isNull(snrs22) || snrs22=="1")
  1969. {
  1970. snrs22 = 0;
  1971. ds_main_wardrecinfo.setColumn(0, "nrs22nm", "");
  1972. }
  1973. else
  1974. {
  1975. snrs22 = 2;
  1976. snm = capnrs22.text;
  1977. ds_main_wardrecinfo.setColumn(0, "nrs22nm", snm);
  1978. }
  1979. if (utlf_isNull(snrs23) || snrs23 == "1")
  1980. {
  1981. snrs23 = 0;
  1982. ds_main_wardrecinfo.setColumn(0, "nrs23nm","");
  1983. }
  1984. else
  1985. {
  1986. snrs23 = 3;
  1987. snm = capnrs23.text;
  1988. ds_main_wardrecinfo.setColumn(0, "nrs23nm", snm);
  1989. }
  1990. //----------(20110108) 경북대
  1991. if (utlf_isNull(snrs1)) snrs1 = 0;
  1992. if (utlf_isNull(snrs21)) snrs21 = 0;
  1993. if (utlf_isNull(snrs22)) snrs22 = 0;
  1994. if (utlf_isNull(snrs23)) snrs23 = 0;
  1995. //----------(20110108) 경북대
  1996. totalnrs = parseInt(snrs1) +parseInt(snrs21) + parseInt(snrs22) + parseInt(snrs23);
  1997. ds_main_wardrecinfo.setColumn(0, "nrsscore", totalnrs);
  1998. }
  1999. function radnrs21_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2000. {
  2001. fnNRScalc();
  2002. }
  2003. function radnrs22_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2004. {
  2005. fnNRScalc();
  2006. }
  2007. function radnrs23_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2008. {
  2009. fnNRScalc();
  2010. }
  2011. function isCheckGridDataYN(grdData)
  2012. {
  2013. var isEmptyYN = "Y";
  2014. var bindDs = eval(grdData.binddataset);
  2015. if(bindDs.rowcount > 0)
  2016. {
  2017. for(var i = 0; i < grdData.getCellCount("Body"); i++) {
  2018. if(!utlf_isNull(grdData.getCellValue(0, i)))
  2019. {
  2020. isEmptyYN = "N";
  2021. break;
  2022. }
  2023. else
  2024. {
  2025. isEmptyYN = "Y";
  2026. }
  2027. }
  2028. }
  2029. else if(bindDs.rowcount == 0)
  2030. {
  2031. isEmptyYN = "Y";
  2032. }
  2033. else
  2034. {
  2035. isEmptyYN = "N";
  2036. }
  2037. if(isEmptyYN == "Y")
  2038. {
  2039. status = "select";
  2040. }
  2041. else
  2042. {
  2043. status = "";
  2044. }
  2045. return isEmptyYN;
  2046. }
  2047. function chk_pasthistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2048. {
  2049. status = "";
  2050. }
  2051. function btn_pasthistadd_onclick(obj:Button, e:ClickEventInfo)
  2052. {
  2053. ds_data_pasthist2.addRow();
  2054. grdDateType(ds_data_pasthist2, "genrdd", 0, grd_ophist);
  2055. }
  2056. function btn_pasthistdel_onclick(obj:Button, e:ClickEventInfo)
  2057. {
  2058. ds_data_pasthist2.deleteRow(ds_data_pasthist2.rowposition);
  2059. }
  2060. function chk_famyhistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2061. {
  2062. status = "";
  2063. }
  2064. function btn_famyhistadd_onclick(obj:Button, e:ClickEventInfo)
  2065. {
  2066. ds_data_famyhist2.addRow();
  2067. }
  2068. function btn_famyhistdel_onclick(obj:Button, e:ClickEventInfo)
  2069. {
  2070. ds_data_famyhist2.deleteRow(ds_data_famyhist2.rowposition);
  2071. }
  2072. function chk_inhistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2073. {
  2074. status = "";
  2075. }
  2076. function btn_inhistadd_onclick(obj:Button, e:ClickEventInfo)
  2077. {
  2078. ds_data_inhist2.addRow(); // 입원이력 행추가
  2079. grdDateType(ds_data_inhist2, "indd", 0, grd_inhist);
  2080. grdDateType(ds_data_inhist2, "dschdd", 1, grd_inhist);
  2081. }
  2082. function btn_inhistdel_onclick(obj:Button, e:ClickEventInfo)
  2083. {
  2084. ds_data_inhist2.deleteRow(ds_data_inhist2.rowposition); // 입원이력 행삭제
  2085. }
  2086. function btn_inhistpop_onclick(obj:Button, e:ClickEventInfo)
  2087. {
  2088. frmf_setParameter("histflag", "inhist");
  2089. frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
  2090. frmf_setParameter("indd", ds_temp_cond_list.getColumn(0, "indd"));
  2091. frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
  2092. frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
  2093. frmf_open("SPMNW12800","SPMNW12800","","","","","","","","","","","M");
  2094. }
  2095. function chk_ophistinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2096. {
  2097. status = "";
  2098. }
  2099. function btn_ophistadd_onclick(obj:Button, e:ClickEventInfo)
  2100. {
  2101. ds_data_ophist2.addRow();
  2102. grdDateType(ds_data_ophist2, "opdd", 0, grd_ophist);
  2103. }
  2104. function btn_ophistdel_onclick(obj:Button, e:ClickEventInfo)
  2105. {
  2106. ds_data_ophist2.deleteRow(ds_data_ophist2.rowposition);
  2107. }
  2108. function btn_ophistpop_onclick(obj:Button, e:ClickEventInfo)
  2109. {
  2110. frmf_setParameter("histflag", "ophist");
  2111. frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
  2112. frmf_setParameter("indd", ds_temp_cond_list.getColumn(0, "indd"));
  2113. frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
  2114. frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
  2115. frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
  2116. frmf_open("SPMNW12800","SPMNW12800","","","","","","","","","","","M");
  2117. }
  2118. function grp_anti_btn_anti1_onclick(obj:Button, e:ClickEventInfo)
  2119. {
  2120. var antitype = utlf_transNullToEmpty(ds_main_allgtemp.getColumn(0, "antitype"));
  2121. var antilabel = grp_anti.rdo_anti.text;
  2122. var antidesc = utlf_transNullToEmpty(ds_main_allgtemp.getColumn(0, "antidesc"));
  2123. var allgrow = ds_main_allgtemp.getColumn(0, "row");
  2124. var allgcol = eval(ds_main_allgtemp.getColumn(0, "col")) + 1;
  2125. //var alldesc = utlf_transNullToEmpty(grd_allghist.getCellValue(allgrow, allgcol));
  2126. var alldesc = utlf_transNullToEmpty(ds_data_allghist2.getColumn(allgrow, "allergespec"));
  2127. if (!utlf_isNull(alldesc) && !utlf_isNull(antitype)) {
  2128. alldesc = alldesc + ",";
  2129. }
  2130. if (antitype == "3") {
  2131. if (!utlf_isNull(antidesc)) {
  2132. antidesc = ":" + antidesc;
  2133. }
  2134. } else {
  2135. antidesc = "";
  2136. }
  2137. var allgdesc = alldesc + antilabel + antidesc;
  2138. ds_data_allghist2.setColumn(allgrow, "allergespec", allgdesc);
  2139. ds_main_allgtemp.clearData();
  2140. //allergespec
  2141. grp_anti.visible = false;
  2142. grp_anti.rdo_anti.visible = false;
  2143. grp_anti.txt_anti.visible = false;
  2144. grp_anti.btn_anti1.visible = false;
  2145. grp_anti.btn_anti2.visible = false;
  2146. }
  2147. function grp_anti_btn_anti2_onclick(obj:Button, e:ClickEventInfo)
  2148. {
  2149. grp_anti.visible = false;
  2150. grp_anti.rdo_anti.visible = false;
  2151. grp_anti.txt_anti.visible = false;
  2152. grp_anti.btn_anti1.visible = false;
  2153. grp_anti.btn_anti2.visible = false;
  2154. ds_main_allgtemp.clearData();
  2155. }
  2156. function chk_rectmedistatinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2157. {
  2158. }
  2159. function btn_SPMMO14900_onclick(obj:Button, e:ClickEventInfo)
  2160. {
  2161. frmf_open("SPMMO14900","SPMMO14900","","","","","","","","","","","M");
  2162. }
  2163. function btn_rectmedistatadd_onclick(obj:Button, e:ClickEventInfo)
  2164. {
  2165. ds_data_rectmedistat2.addRow(); // 최근투약상태
  2166. }
  2167. function btn_rectmedistatdel_onclick(obj:Button, e:ClickEventInfo)
  2168. {
  2169. ds_data_rectmedistat2.deleteRow(ds_data_rectmedistat2.rowposition); // 최근투약상태 행삭제
  2170. }
  2171. function rdo_allgyn_onitemchanged(obj, e)
  2172. {
  2173. status = "click";
  2174. if( ds_data_allghist1.getColumn(0, "allghistinclyn") == "1") {
  2175. var isEmptyYN = "Y";
  2176. isEmptyYN = group3.switch1.case2.import4.isCheckGridDataYN(group3.switch1.case1.import1.grd_allghist);
  2177. // if(ds_data_allghist2.rowcount > 0)
  2178. // {
  2179. // var rtn = sysf_messageBox ( "데이터를", "Q001");
  2180. // }
  2181. var rtn = group3.switch1.case2.import4.fSetStatus();
  2182. if(rtn == "6") {
  2183. ds_data_allghist2.clearData();
  2184. //grd_pasthist.rebuild();
  2185. btn_allghistadd.enable = false;
  2186. btn_allghistdel.enable = false;
  2187. } else if(rtn == "7") {
  2188. ds_data_allghist1.setColumn(0, "allghistinclyn", "");
  2189. }
  2190. }
  2191. else
  2192. {
  2193. btn_allghistadd.enable = true;
  2194. btn_allghistdel.enable = true;
  2195. if( ds_data_allghist2.rowcount == 0 ){
  2196. ds_data_allghist2.addRow();
  2197. grdDateType(ds_data_allghist2, "genrdd", 0, grd_allghist);
  2198. }
  2199. }
  2200. }
  2201. function btn_allg_onclick(obj:Button, e:ClickEventInfo)
  2202. {
  2203. frmf_open("SPMMD03300","SPMMD03300","","","","","","","","","","","M");
  2204. }
  2205. function btn_allghistadd_onclick(obj:Button, e:ClickEventInfo)
  2206. {
  2207. ds_data_allghist2.addRow();
  2208. grdDateType(ds_data_allghist2, "genrdd", 0, grd_allghist);
  2209. }
  2210. function btn_allghistdel_onclick(obj:Button, e:ClickEventInfo)
  2211. {
  2212. ds_data_allghist2.deleteRow(ds_data_allghist2.rowposition);
  2213. }
  2214. function grp_basebdinfo_chk_bpinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2215. {
  2216. if(grp_basebdinfo.chk_bpinspyn.value == "Y")
  2217. {
  2218. grp_basebdinfo.ipt_highbp.enable = false;
  2219. grp_basebdinfo.ipt_lowbp.enable = false;
  2220. ds_main_wardrecinfo.setColumn(0, "highbp", "")
  2221. ds_main_wardrecinfo.setColumn(0, "lowbp", "")
  2222. }else{
  2223. grp_basebdinfo.ipt_highbp.enable = true;
  2224. grp_basebdinfo.ipt_lowbp.enable = true;
  2225. }
  2226. }
  2227. function grp_basebdinfo_chk_pulseinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2228. {
  2229. if(grp_basebdinfo.chk_pulseinspyn.value == "Y")
  2230. {
  2231. grp_basebdinfo.ipt_pulse.enable = false;
  2232. ds_main_wardrecinfo.setColumn(0, "pulse", "")
  2233. }
  2234. else
  2235. {
  2236. grp_basebdinfo.ipt_pulse.enable = true;
  2237. }
  2238. }
  2239. function fSetStatus() {
  2240. var rtn = "";
  2241. if(status == "select") {
  2242. rtn = "6";
  2243. } else {
  2244. rtn = sysf_messageBox("데이터를 ", "Q001");
  2245. }
  2246. return rtn;
  2247. }
  2248. function chk_femaleinfoinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2249. {
  2250. status = "";
  2251. }
  2252. function rdo_endmensyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2253. {
  2254. if(ds_data_female2.getColumn(0, "endmensyn") == "2")
  2255. {
  2256. ipt_endmensyn.enable = true;
  2257. ipt_closmensage.enable = true;
  2258. }
  2259. else
  2260. {
  2261. ipt_endmensyn.enable = false;
  2262. ipt_closmensage.enable = false;
  2263. ds_data_female2.setColumn(0, "endmensdd", "");
  2264. ds_data_mens.setColumn(0, "closmensage", "");
  2265. }
  2266. }
  2267. function rdo_tnsseffcyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2268. {
  2269. if(ds_data_tnsseffcinfo.getColumn(0, "tnsseffcyn") == "2")
  2270. {
  2271. ipt_tnsseffc.enable = true;
  2272. } else
  2273. {
  2274. ds_data_tnsseffcinfo.setColumn(0, "tnsseffcdetl", "");
  2275. ipt_tnsseffc.enable = false;
  2276. }
  2277. }
  2278. function Button00_onclick(obj:Button, e:ClickEventInfo)
  2279. {
  2280. }
  2281. function chk_pasthistyn_onclick(obj:CheckBox, e:ClickEventInfo)
  2282. {
  2283. if( chk_pasthistyn.value == "1") { // ds_data_pasthist_1.getColumn(0, "pasthistinclyn") == "1") {
  2284. var isEmptyYN = "Y";
  2285. isEmptyYN = isCheckGridDataYN(grd_pasthist);
  2286. var rtn = fSetStatus();
  2287. if(rtn == "6") {
  2288. ds_data_pasthist2.clearData();
  2289. btn_pasthistadd.enable = false;
  2290. btn_pasthistdel.enable = false;
  2291. } else if(rtn == "7") {
  2292. ds_data_pasthist1.setColumn(0, "pasthistinclyn", "");
  2293. }
  2294. }
  2295. else
  2296. {
  2297. btn_pasthistadd.enable = true;
  2298. btn_pasthistdel.enable = true;
  2299. ds_data_pasthist2.addRow();
  2300. }
  2301. }
  2302. function chk_famyhistyn_onclick(obj:CheckBox, e:ClickEventInfo)
  2303. {
  2304. if( chk_famyhistyn.value == "1") {
  2305. var isEmptyYN = "Y";
  2306. isEmptyYN = isCheckGridDataYN(grd_famyhist);
  2307. var rtn = fSetStatus();
  2308. if(rtn == "6") {
  2309. ds_data_famyhist2.clearData();
  2310. //grd_pasthist.rebuild();
  2311. btn_famyhistadd.enable = false;
  2312. btn_famyhistdel.enable = false;
  2313. status = "select";
  2314. } else if(rtn == "7") {
  2315. ds_data_famyhist1.setColumn(0, "famyhistinclyn", "");
  2316. }
  2317. }
  2318. else
  2319. {
  2320. btn_famyhistadd.enable = true;
  2321. btn_famyhistdel.enable = true;
  2322. ds_data_famyhist2.addRow();
  2323. }
  2324. }
  2325. function chk_inhistyn_onclick(obj:CheckBox, e:ClickEventInfo)
  2326. {
  2327. if( chk_inhistyn.value == "1") {
  2328. var isEmptyYN = "Y";
  2329. isEmptyYN = isCheckGridDataYN(grd_inhist);
  2330. var rtn = fSetStatus();
  2331. if(rtn == "6") {
  2332. ds_data_inhist2.clearData();
  2333. btn_inhistadd.enable = false;
  2334. btn_inhistdel.enable = false;
  2335. status = "select";
  2336. //ds_data_inhist1.setColumn(0, "inhistinclyn", "1");
  2337. } else if(rtn == "7") {
  2338. ds_data_inhist1.setColumn(0, "inhistinclyn", "");
  2339. }
  2340. }
  2341. else
  2342. {
  2343. btn_inhistadd.enable = true;
  2344. btn_inhistdel.enable = true;
  2345. ds_data_inhist2.addRow();
  2346. }
  2347. }
  2348. function chk_ophistinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
  2349. {
  2350. if( chk_ophistinclyn.value == true) {
  2351. var isEmptyYN = "Y";
  2352. isEmptyYN = isCheckGridDataYN(grd_ophist);
  2353. var rtn = fSetStatus();
  2354. if(rtn == "6") {
  2355. ds_data_ophist2.clearData();
  2356. //grd_pasthist.rebuild();
  2357. btn_ophistadd.enable = false;
  2358. btn_ophistdel.enable = false;
  2359. status = "select";
  2360. } else if(rtn == "7") {
  2361. ds_data_ophist1.setColumn(0, "ophistinclyn", "");
  2362. }
  2363. }
  2364. else
  2365. {
  2366. btn_ophistadd.enable = true;
  2367. btn_ophistdel.enable = true;
  2368. ds_data_ophist2.addRow();
  2369. }
  2370. }
  2371. function chk_rectmedistatinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
  2372. {
  2373. //190719_AYS_최근투약상태 해당없음 삭제로 인한 주석처리
  2374. /*
  2375. if( chk_rectmedistatinclyn.value == "1") {
  2376. var isEmptyYN = "Y";
  2377. isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
  2378. var rtn = fSetStatus();
  2379. if(rtn == "6") {
  2380. ds_data_rectmedistat2.clearData();
  2381. //grd_pasthist.rebuild();
  2382. btn_rectmedistatadd.enable = false;
  2383. btn_rectmedistatdel.enable = false;
  2384. status = "select";
  2385. } else if(rtn == "7") {
  2386. //ds_data_rectmedistat1.setColumn(0, "rectmedistatinfoinclyn", "");
  2387. }
  2388. }
  2389. else
  2390. {
  2391. btn_rectmedistatadd.enable = true;
  2392. btn_rectmedistatdel.enable = true;
  2393. ds_data_rectmedistat2.addRow();
  2394. }
  2395. */
  2396. }
  2397. function tar_spcffact_oneditclick(obj:TextArea, e:EditClickEventInfo)
  2398. {
  2399. }
  2400. function grdExprPasthist()
  2401. {
  2402. var i = 0;
  2403. var EXPR = "EXPR(";
  2404. for(i = 0; i < ds_data_pasthist2.rowcount ; i++)
  2405. {
  2406. if(!utlf_isNull(ds_data_pasthist2.getColumn(i, "genrdd")))
  2407. {
  2408. EXPR += "currow == " + i + " && " + ds_data_pasthist2.getColumn(i, "genrdd").length + " == 8 ? 'date' :";
  2409. }
  2410. }
  2411. if(EXPR.length > 7)
  2412. {
  2413. EXPR += "'text')";
  2414. }
  2415. else
  2416. {
  2417. EXPR = "";
  2418. }
  2419. grd_pasthist.setCellProperty("Body", "genrdd", "displaytype", EXPR);
  2420. }
  2421. function grd_pasthist_onselectchanged(obj:Grid, e:GridSelectEventInfo)
  2422. {
  2423. }
  2424. function grd_pasthist_oncloseup(obj:Grid, e:GridEditEventInfo)
  2425. {
  2426. cText = e.value;
  2427. }
  2428. function grd_pasthist_onkillfocus(obj:Grid, e:KillFocusEventInfo)
  2429. {
  2430. }
  2431. function grd_pasthist_onkeydown(obj:Grid, e:KeyEventInfo)
  2432. {
  2433. if(e.keycode == "13")
  2434. {
  2435. obj.showEditor(false);
  2436. }
  2437. }
  2438. function grd_pasthist_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo)
  2439. {
  2440. //cText = e.posttext.replace("-","").replace(" ","");
  2441. }
  2442. function fGetMask(currow) {
  2443. var sMask = "";
  2444. if(ds_data_pasthist2.getColumn(currow,"genrdd").length == 4) sMask = "####";
  2445. else if(ds_data_pasthist2.getColumn(currow,"genrdd").length == 6) sMask = "####-##";
  2446. else if(ds_data_pasthist2.getColumn(currow,"genrdd").length == 8) sMask = "####-##-##";
  2447. return sMask;
  2448. }
  2449. function fGetMaskI1(currow) {
  2450. var sMask = "";
  2451. if(ds_data_inhist2.getColumn(currow,"indd").length == 4) sMask = "####";
  2452. else if(ds_data_inhist2.getColumn(currow,"indd").length == 6) sMask = "####-##";
  2453. else if(ds_data_inhist2.getColumn(currow,"indd").length == 8) sMask = "####-##-##";
  2454. return sMask;
  2455. }
  2456. function fGetMaskI2(currow) {
  2457. var sMask = "";
  2458. if(ds_data_inhist2.getColumn(currow,"dschdd").length == 4) sMask = "####";
  2459. else if(ds_data_inhist2.getColumn(currow,"dschdd").length == 6) sMask = "####-##";
  2460. else if(ds_data_inhist2.getColumn(currow,"dschdd").length == 8) sMask = "####-##-##";
  2461. return sMask;
  2462. }
  2463. function fGetMaskO(currow) {
  2464. var sMask = "";
  2465. if(ds_data_ophist2.getColumn(currow,"opdd").length == 4) sMask = "####";
  2466. else if(ds_data_ophist2.getColumn(currow,"opdd").length == 6) sMask = "####-##";
  2467. else if(ds_data_ophist2.getColumn(currow,"opdd").length == 8) sMask = "####-##-##";
  2468. return sMask;
  2469. }
  2470. function fGetMaskA(currow) {
  2471. var sMask = "";
  2472. if(ds_data_allghist2.getColumn(currow,"genrdd").length == 4) sMask = "####";
  2473. else if(ds_data_allghist2.getColumn(currow,"genrdd").length == 6) sMask = "####-##";
  2474. else if(ds_data_allghist2.getColumn(currow,"genrdd").length == 8) sMask = "####-##-##";
  2475. return sMask;
  2476. }
  2477. function grd_inhist_onkeydown(obj:Grid, e:KeyEventInfo)
  2478. {
  2479. if(e.keycode == "13")
  2480. {
  2481. obj.showEditor(false);
  2482. }
  2483. }
  2484. function grd_ophist_onkeydown(obj:Grid, e:KeyEventInfo)
  2485. {
  2486. if(e.keycode == "13")
  2487. {
  2488. obj.showEditor(false);
  2489. }
  2490. }
  2491. function grd_allghist_onkeydown(obj:Grid, e:KeyEventInfo)
  2492. {
  2493. if(e.keycode == "13")
  2494. {
  2495. obj.showEditor(false);
  2496. }
  2497. }
  2498. function chk_femaleinfoinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
  2499. {
  2500. if( utlf_isNull(ds_data_female1.getColumnInfo("femaleaddinfoyn")) ){
  2501. ds_data_female1.addColumn("femaleaddinfoyn", "string");
  2502. }
  2503. if(chk_femaleinfoinclyn.value == "1")
  2504. {
  2505. var isEmptyYN = "Y";
  2506. while(1)
  2507. {
  2508. if(!utlf_isNull(ds_data_mens.getColumn(0, "closmensage")))
  2509. {
  2510. isEmptyYN = "N";
  2511. break;
  2512. }
  2513. if(!utlf_isNull(ds_data_female2.getColumn(0, "endmensdd")))
  2514. {
  2515. isEmptyYN = "N";
  2516. break;
  2517. }
  2518. if(!utlf_isNull(ds_data_female2.getColumn(0, "lastmensdd"))) {
  2519. isEmptyYN = "N";
  2520. break;
  2521. }
  2522. if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisg"))) {
  2523. isEmptyYN = "N";
  2524. break;
  2525. }
  2526. if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisp"))) {
  2527. isEmptyYN = "N";
  2528. break;
  2529. }
  2530. if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisa"))) {
  2531. isEmptyYN = "N";
  2532. break;
  2533. }
  2534. if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhissa"))) {
  2535. isEmptyYN = "N";
  2536. break;
  2537. }
  2538. if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisaa"))) {
  2539. isEmptyYN = "N";
  2540. break;
  2541. }
  2542. if(!utlf_isNull(ds_data_female2.getColumn(0, "prgbthhisl"))) {
  2543. isEmptyYN = "N";
  2544. break;
  2545. }
  2546. break;
  2547. }
  2548. if(isEmptyYN == "Y") {
  2549. status = "select";
  2550. }
  2551. var rtn = "";
  2552. rtn = fSetStatus();
  2553. if(rtn == "6") {
  2554. ds_data_female2.setColumn(0, "endmensyn", "");
  2555. ds_data_female2.setColumn(0, "endmensdd", "");
  2556. ds_data_mens.setColumn(0, "closmensage", "");
  2557. ds_data_female2.setColumn(0, "lastmensdd", "");
  2558. ds_data_female2.setColumn(0, "prgbthhisg", "");
  2559. ds_data_female2.setColumn(0, "prgbthhisp", "");
  2560. ds_data_female2.setColumn(0, "prgbthhisa", "");
  2561. ds_data_female2.setColumn(0, "prgbthhissa", "");
  2562. ds_data_female2.setColumn(0, "prgbthhisaa", "");
  2563. ds_data_female2.setColumn(0, "prgbthhisl", "");
  2564. ds_data_female1.setColumn(0, "femaleaddinfoyn", "");// 여성정보 추가사정
  2565. ds_data_mens.setColumn(0, "mensinclyn", "1");
  2566. rdo_endmensyn.enable = false;
  2567. ipt_endmensyn.enable = false;
  2568. ipt_lastmensdd.enable = false;
  2569. ipt_prgbthhisg.enable = false;
  2570. ipt_prgbthhisp.enable = false;
  2571. ipt_prgbthhisa.enable = false;
  2572. ipt_prgbthhissa.enable = false;
  2573. ipt_prgbthhisaa.enable = false;
  2574. ipt_prgbthhisl.enable = false;
  2575. ipt_closmensage.enable = false;
  2576. chk_femaleaddinfoyn.enable = false;
  2577. status = "select";
  2578. //frmf_inputEnterKey("group3.switch1.case2.import4.chk_mensinclyn", "onchanged", new CheckBoxChangeEventInfo );
  2579. }
  2580. else
  2581. {
  2582. ds_data_mens.setColumn(0, "mensinclyn", "");
  2583. return;
  2584. }
  2585. } else {
  2586. if(ds_data_female1.getColumn(0, "femaleaddinfoyn") == "1")
  2587. {
  2588. // 추가사정 체크일 때, 모두 활성화, 아닐경우 폐경여부(유/무), 폐경일자, 폐경나이만 활성화.
  2589. rdo_endmensyn.enable = true;
  2590. ipt_endmensyn.enable = true;
  2591. ipt_closmensage.enable = true;
  2592. ipt_lastmensdd.enable = true;
  2593. ipt_prgbthhisg.enable = true;
  2594. ipt_prgbthhisp.enable = true;
  2595. ipt_prgbthhisa.enable = true;
  2596. ipt_prgbthhissa.enable = true;
  2597. ipt_prgbthhisaa.enable = true;
  2598. ipt_prgbthhisl.enable = true;
  2599. chk_femaleaddinfoyn.enable = true;
  2600. } else {
  2601. rdo_endmensyn.enable = true;
  2602. ipt_endmensyn.enable = true;
  2603. ipt_closmensage.enable = false;
  2604. ipt_lastmensdd.enable = false;
  2605. ipt_prgbthhisg.enable = false;
  2606. ipt_prgbthhisp.enable = false;
  2607. ipt_prgbthhisa.enable = false;
  2608. ipt_prgbthhissa.enable = false;
  2609. ipt_prgbthhisaa.enable = false;
  2610. ipt_prgbthhisl.enable = false;
  2611. chk_femaleaddinfoyn.enable = true;
  2612. }
  2613. //rdo_endmensyn.dispatch("xforms-value-changed");
  2614. frmf_inputEnterKey("rdo_endmensyn", "onitemchanged", new ItemChangeEventInfo);
  2615. }
  2616. }
  2617. function chk_privacy_onclick(obj:CheckBox, e:ClickEventInfo)
  2618. {
  2619. if(chk_privacy.value == "Y")
  2620. {
  2621. ds_main_wardrecinfo.setColumn(0, "jobcd","");
  2622. ds_main_wardrecinfo.setColumn(0, "jobnm","");
  2623. ds_main_wardrecinfo.setColumn(0, "religncd","");
  2624. ds_main_wardrecinfo.setColumn(0, "relignnm","");
  2625. ds_main_wardrecinfo.setColumn(0, "baptnm","");
  2626. ds_main_wardrecinfo.setColumn(0, "marystatcd","");
  2627. ds_main_wardrecinfo.setColumn(0, "marystatnm","");
  2628. //ds_main_wardrecinfo.setColumn(0, "privacy","");
  2629. cmb_job.enable = false;
  2630. ipt_job.enable = false;
  2631. cmb_relign.enable = false;
  2632. ipt_relignnm.enable = false;
  2633. cmb_marystat.enable = false;
  2634. ipt_marystatnm.enable = false;
  2635. cap_baptnm.visible = false;
  2636. ipt_baptnm.visible = false;
  2637. ipt_relignnm.visible = true;
  2638. //190712_AYS_개인정보사정 미동의시_직업/종교/결혼상태 BG 회색변경
  2639. cmb_job.style.background = "#E3E5E8";
  2640. cmb_relign.style.background = "#E3E5E8";
  2641. cmb_marystat.style.background = "#E3E5E8";
  2642. }
  2643. else
  2644. {
  2645. cmb_job.enable = true;
  2646. cmb_relign.enable = true;
  2647. cmb_marystat.enable = true;
  2648. ds_main_wardrecinfo.setColumn(0, "privacy","");
  2649. frmf_inputEnterKey("cmb_job", "onitemchanged", new ItemChangeEventInfo );
  2650. frmf_inputEnterKey("cmb_relign", "onitemchanged", new ItemChangeEventInfo );
  2651. frmf_inputEnterKey("cmb_marystat", "onitemchanged", new ItemChangeEventInfo );
  2652. //190712_AYS_개인정보사정 미동의시_직업/종교/결혼상태 BG 주황색 변경
  2653. cmb_job.style.background = "#ffe4b5ff";
  2654. cmb_relign.style.background = "#ffe4b5ff";
  2655. cmb_marystat.style.background = "#ffe4b5ff";
  2656. }
  2657. }
  2658. function grd_allghist_oncloseup(obj:Grid, e:GridEditEventInfo)
  2659. {
  2660. grd_allghist.updateToDataset();
  2661. if (e.col == 1)
  2662. {
  2663. if (ds_data_allghist2.getColumn(ds_data_allghist2.rowposition, "flag") == "07")
  2664. {
  2665. // 분류값이 항생제로 선택이 되면..
  2666. ds_main_allgtemp.addColumn("antitype", "string");
  2667. ds_main_allgtemp.addColumn("antidesc", "string");
  2668. dsf_makeValue(ds_main_allgtemp, "row", "string", grd_allghist.currentrow);
  2669. dsf_makeValue(ds_main_allgtemp, "col", "string", grd_allghist.currentcol);
  2670. grp_anti.visible = true;
  2671. grp_anti.rdo_anti.visible = true;
  2672. grp_anti.txt_anti.visible = true;
  2673. grp_anti.btn_anti1.visible = true;
  2674. grp_anti.btn_anti2.visible = true;
  2675. }
  2676. else if ( ds_data_allghist2.getColumn(ds_data_allghist2.rowposition, "flag") == "06")
  2677. {
  2678. // 조영제로 선택이 되면
  2679. sysf_messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
  2680. frmf_modal("SPMMD03300","SPMMD03300","", 1, 10, 10,"","", "", "", "", "", "M");
  2681. }
  2682. else
  2683. {
  2684. grp_anti.visible = false;
  2685. grp_anti.rdo_anti.visible = false;
  2686. grp_anti.txt_anti.visible = false;
  2687. grp_anti.btn_anti1.visible = false;
  2688. grp_anti.btn_anti2.visible = false;
  2689. }
  2690. }
  2691. }
  2692. function grd_pasthist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  2693. {
  2694. if(e.col == 0)
  2695. {
  2696. var stredit = utlf_getRemoveFormatter(obj.getEditText());
  2697. if(utlf_isValidDateTime(stredit) == false || utlf_isNull(stredit))
  2698. {
  2699. obj.setEditCaret(0);
  2700. }
  2701. }
  2702. }
  2703. function grd_inhist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  2704. {
  2705. if(e.col == 0 || e.col == 1)
  2706. {
  2707. var stredit = utlf_getRemoveFormatter(obj.getEditText());
  2708. if(utlf_isValidDateTime(stredit) == false || utlf_isNull(stredit))
  2709. {
  2710. obj.setEditCaret(0);
  2711. }
  2712. }
  2713. }
  2714. function grd_ophist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  2715. {
  2716. if(e.col == 0)
  2717. {
  2718. var stredit = utlf_getRemoveFormatter(obj.getEditText());
  2719. if(utlf_isValidDateTime(stredit) == false || utlf_isNull(stredit))
  2720. {
  2721. obj.setEditCaret(0);
  2722. }
  2723. }
  2724. }
  2725. function grd_allghist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  2726. {
  2727. if(e.col == 0)
  2728. {
  2729. var stredit = utlf_getRemoveFormatter(obj.getEditText());
  2730. if(utlf_isValidDateTime(stredit) == false || utlf_isNull(stredit))
  2731. {
  2732. obj.setEditCaret(0);
  2733. }
  2734. }
  2735. }
  2736. function ipt_indt_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  2737. {
  2738. var posttext = utlf_trim(e.posttext.replace(":",""));
  2739. if(!utlf_isNull(posttext.substring(0,1))){
  2740. if(eval(posttext.substring(0,1)) > 2){
  2741. ipt_indt.value = "";
  2742. ipt_indt.setCaretPos(0);
  2743. return;
  2744. }
  2745. }
  2746. if(!utlf_isNull(posttext.substring(1,2))){
  2747. if(eval(posttext.substring(0,1)) > 1){
  2748. if(eval(posttext.substring(1,2)) > 3){
  2749. ipt_indt.value = posttext.substring(0,1);
  2750. ipt_indt.setCaretPos(1);
  2751. return;
  2752. }
  2753. }
  2754. }
  2755. if(!utlf_isNull(posttext.substring(3,2))){
  2756. if(eval(posttext.substring(3,2)) > 5){
  2757. ipt_indt.value = posttext.substring(0,2);
  2758. ipt_indt.setCaretPos(2);
  2759. return;
  2760. }
  2761. }
  2762. }
  2763. function ipt_attackdt_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  2764. {
  2765. var posttext = utlf_trim(e.posttext.replace(":",""));
  2766. if(!utlf_isNull(posttext.substring(0,1))){
  2767. if(eval(posttext.substring(0,1)) > 2){
  2768. ipt_attackdt.value = "";
  2769. ipt_attackdt.setCaretPos(0);
  2770. return;
  2771. }
  2772. }
  2773. if(!utlf_isNull(posttext.substring(1,2))){
  2774. if(eval(posttext.substring(0,1)) > 1){
  2775. if(eval(posttext.substring(1,2)) > 3){
  2776. ipt_attackdt.value = posttext.substring(0,1);
  2777. ipt_attackdt.setCaretPos(1);
  2778. return;
  2779. }
  2780. }
  2781. }
  2782. if(!utlf_isNull(posttext.substring(3,2))){
  2783. if(eval(posttext.substring(3,2)) > 5){
  2784. ipt_attackdt.value = posttext.substring(0,2);
  2785. ipt_attackdt.setCaretPos(2);
  2786. return;
  2787. }
  2788. }
  2789. }
  2790. function chk_spcffactinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2791. {
  2792. status = "etc";
  2793. }
  2794. function chk_spcffactinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
  2795. {
  2796. if(ds_data_spcf.getColumn(0, "spcffactinclyn")=="1") {
  2797. var rtn = "";
  2798. rtn = fSetStatus();
  2799. if(rtn == "6") {
  2800. tar_spcffact.enable = false;
  2801. ds_data_spcf.setColumn(0, "spcffactdetl", "");
  2802. }
  2803. else if(rtn == "7") {
  2804. ds_data_spcf.setColumn(0, "spcffactinclyn", "");
  2805. }
  2806. } else {
  2807. tar_spcffact.enable = true;
  2808. }
  2809. }
  2810. ]]></Script>
  2811. </Form>
  2812. </FDL>