123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMABO00800" position="absolute 0 0 1194 763" titletext="BMT 스케쥴관리" onload="SMABO00800_onload" ontimer="SMABO00800_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 1 0 1194 23" id="grp_btn">
- <Layouts>
- <Layout>
- <Button position="absolute 216 3 272 23" id="btn_prt" class="btn6" text="출력" onclick="grp_btn_btn_prt_onclick" anchor="default"/>
- <Button position="absolute 274 3 402 23" id="btn_prt2" class="btn6" text="타기관 포함 출력" onclick="grp_btn_btn_prt2_onclick" anchor="default"/>
- <Button position="absolute 1078 3 1134 23" id="btn_save" class="btn4" enable="false" text="저장" onclick="grp_btn_btn_save_onclick" anchor="default"/>
- <Button position="absolute 487 3 627 23" id="button3" class="btn3" text="BMT스케쥴history" onclick="grp_btn_button3_onclick" anchor="default"/>
- <Button position="absolute 404 3 484 23" id="button4" class="btn6" text="달력출력" onclick="grp_btn_button4_onclick" anchor="default"/>
- <Button position="absolute 1018 3 1074 23" id="btn_update" class="btn4" enable="false" text="수정" onclick="grp_btn_btn_update_onclick" anchor="default"/>
- <Button position="absolute 1137 3 1193 23" id="btn_delete" class="btn4" enable="false" text="삭제" onclick="grp_btn_btn_delete_onclick" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 22 1194 763" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static text="월별 스케쥴" position="absolute 0 45 100 61" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 62 884 68" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
- <Div position="absolute 0 2 1194 37" align="align:center top;" id="grp_sea" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Static text="UNIT :" position="absolute 15 9 79 26" id="caption2" class="search_name" anchor="default"/>
- <Shape position="absolute 1104 7 1110 29" linetype="vertical" id="line13" class="line_4" anchor="default"/>
- <Static text="병실 :" position="absolute 197 9 257 26" id="caption3" class="search_name" anchor="default"/>
- <Combo position="absolute 260 8 360 27" id="combo1" class="combo_search" innerdataset="@ds_init_cmbinfo_trnptroomcd_A0480" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Combo position="absolute 82 8 182 27" id="combo3" class="combo_search" innerdataset="@ds_init_cmbinfo_trnptwardcd_A0479" datacolumn="cdnm" codecolumn="cdid" anchor="default" onitemclick="grp_biz_grp_sea_combo3_onitemclick"/>
- <Static text="주치의 :" position="absolute 375 9 448 26" id="caption5" class="search_name" anchor="default"/>
- <Combo position="absolute 451 8 551 27" id="combo4" class="combo_search" innerdataset="@ds_init_cmbinfo_atdoctid_A0536" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Combo position="absolute 642 8 792 27" id="combo6" class="combo_search" innerdataset="@ds_init_cmbinfo_deptcd_A0478" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="진료과 :" position="absolute 566 9 639 26" id="caption19" class="search_name" anchor="default"/>
- <Static text="환자명 :" position="absolute 807 9 880 26" id="caption23" class="search_name" visible="false" anchor="default"/>
- <Edit position="absolute 883 8 963 27" id="ipt_delivepsnid" class="input_search" visible="false" anchor="default" onkeydown="grp_biz_grp_sea_ipt_delivepsnid_onkeydown" autoselect="true"/>
- <Button position="absolute 1123 7 1179 29" id="btn_search" class="btn1" text="조회" anchor="default" onclick="grp_biz_grp_sea_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Edit position="absolute 1019 236 1105 255" id="input21" class="input_default" enable="false" autoselect="true" anchor="default"/>
- <Static position="absolute 905 44 1035 60" id="cap_seldate" class="tit_2" mask="yyyy-mm-dd" anchor="default"/>
- <Shape position="absolute 905 61 1194 67" linetype="horizontal" id="line15" class="line_10" anchor="default"/>
- <Static text="스케쥴 관리" position="absolute 905 189 1005 205" id="caption4" class="tit_2" anchor="default"/>
- <Shape position="absolute 905 206 1194 212" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
- <Edit position="absolute 1019 212 1176 231" id="input2" class="input_essential" onkeyup="grp_biz_input2_onkeyup" autoselect="true" anchor="default"/>
- <Combo position="absolute 1019 404 1194 423" id="combo2" class="combo_default" innerdataset="@ds_init_cmbinfo_trnptwardcd_A0479" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Edit position="absolute 1169 236 1194 255" id="input10" class="input_default" enable="false" autoselect="true" anchor="default"/>
- <Static text="BMT" position="absolute 905 518 1138 535" id="caption15" class="tit_2" anchor="default"/>
- <Shape position="absolute 905 535 1194 541" linetype="horizontal" id="line3" class="line_10" anchor="default"/>
- <Grid position="absolute 905 540 1194 741" align="align:center middle;" id="datagrid2" binddataset="ds_temp_templist_monthschedulecnt" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="138"/>
- <Column size="125"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="이식종류"/>
- <Cell col="2" text="인원수: 명(소아)"/>
- </Band>
- <Band id="body">
- <Cell expr="currow + 1"/>
- <Cell col="1" displaytype="normal" edittype="none" text="bind:trnptkind"/>
- <Cell col="2" displaytype="normal" edittype="none" text="bind:cnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 905 231 1194 237" linetype="horizontal" id="line4" class="line_2" anchor="default"/>
- <Shape position="absolute 905 255 1194 261" linetype="horizontal" id="line5" class="line_2" anchor="default"/>
- <Shape position="absolute 905 279 1194 285" linetype="horizontal" id="line6" class="line_2" anchor="default"/>
- <Shape position="absolute 905 303 1194 309" linetype="horizontal" id="line7" class="line_2" anchor="default"/>
- <Shape position="absolute 905 327 1194 333" linetype="horizontal" id="line8" class="line_2" anchor="default"/>
- <Shape position="absolute 905 351 1194 357" linetype="horizontal" id="line9" class="line_2" anchor="default"/>
- <Shape position="absolute 905 375 1194 381" linetype="horizontal" id="line10" class="line_2" anchor="default"/>
- <Shape position="absolute 905 399 1194 405" linetype="horizontal" id="line11" class="line_2" anchor="default"/>
- <TextArea position="absolute 1019 452 1194 507" id="textarea1" scrollbars="fixedvert" wordwrap="char" anchor="default" autoselect="true"/>
- <Static text="이식종류" position="absolute 905 307 1016 330" align="align:left middle;" id="caption10" class="cell_1" anchor="default"/>
- <Static text="입원예정일" position="absolute 905 355 1016 378" align="align:left middle;" id="caption11" class="cell_1" anchor="default"/>
- <Static text="보험승인일자" position="absolute 905 331 1016 354" align="align:left middle;" id="caption12" class="cell_1" anchor="default"/>
- <Static text="이식예정일" position="absolute 905 379 1016 402" align="align:left middle;" id="caption13" class="cell_1" anchor="default"/>
- <Static text="비고" position="absolute 905 451 1016 509" align="align:left middle;" id="caption16" class="cell_1" anchor="default"/>
- <Static text="등록번호" position="absolute 905 211 1016 234" align="align:left middle;" id="caption7" class="cell_1" anchor="default"/>
- <Static text="진단명" position="absolute 905 259 1016 282" align="align:left middle;" id="caption8" class="cell_1" anchor="default"/>
- <Static text="진료과" position="absolute 905 283 1016 306" align="align:left middle;" id="caption9" class="cell_1" anchor="default"/>
- <Static text="환자명" position="absolute 905 235 1016 258" align="align:left middle;" id="caption18" class="cell_1" anchor="default"/>
- <Shape position="absolute 905 507 1194 513" linetype="horizontal" id="line12" class="line_3" anchor="default"/>
- <Shape position="absolute 905 423 1194 429" linetype="horizontal" id="line14" class="line_2" anchor="default"/>
- <Combo position="absolute 1019 428 1194 447" id="combo5" class="combo_default" innerdataset="@ds_init_cmbinfo_trnptroomcd_A0480" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Shape position="absolute 905 447 1194 453" linetype="horizontal" id="line16" class="line_2" anchor="default"/>
- <Div position="absolute 0 67 885 107" id="grp_calendar" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 884 40" id="rectangle1" class="calendar_header" type="rectangle" anchor="default"/>
- <Button position="absolute 340 12 356 28" align="align:center middle;" id="btn_preyear" class="icon_pre_year" text="" onclick="grp_biz_grp_calendar_btn_preyear_onclick" anchor="default"/>
- <Button position="absolute 515 12 531 28" align="align:center middle;" id="btn_nextyear" class="icon_next_year" text="" onclick="grp_biz_grp_calendar_btn_nextyear_onclick" anchor="default"/>
- <Button position="absolute 359 12 375 28" align="align:center middle;" id="btn_premonth" class="icon_pre_month" text="" onclick="grp_biz_grp_calendar_btn_premonth_onclick" anchor="default"/>
- <Button position="absolute 496 12 512 28" align="align:center middle;" id="btn_nextmonth" class="icon_next_month" text="" onclick="grp_biz_grp_calendar_btn_nextmonth_onclick" anchor="default"/>
- <Edit readonly="true" position="absolute 382 10 423 29" align="align:center middle;" id="opt_year" enable="false" style=":disabled {color:black;}" anchor="default"/>
- <Edit readonly="true" position="absolute 444 10 474 29" align="align:center middle;" id="opt_month" enable="false" style=":disabled {color:black;}" anchor="default"/>
- <Static text="년" position="absolute 427 11 439 30" align="align:center middle;" id="caption20" class="calendar_output" style="color:black;" anchor="default"/>
- <Static text="월" position="absolute 476 11 490 30" align="align:center middle;" id="caption21" class="calendar_output" style="color:black;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 0 107 884 741" align="align:left middle;" id="grd_calendar" class="gridcalendar" binddataset="ds_hidden_calendar_weeklist_list" oncellclick="grp_biz_grd_calendar_oncellclick" onkillfocus="grp_biz_grd_calendar_onkillfocus" selecttype="cell" selectbandtype="body" readonly="true" style="focusborder:2 solid #808080ff #808080ff;line:1 solid #808080ff #808080ff;selectline:2 solid #808080ff #808080ff;background:transparent;border:0 none #808080ff,1 solid #1771beff,1 solid #1771beff,1 solid #1771beff;blur:0 ;" extendsizetype="row" autosizingtype="row" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="126"/>
- <Column size="126"/>
- <Column size="126"/>
- <Column size="126"/>
- <Column size="126"/>
- <Column size="126"/>
- <Column size="126"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="76"/>
- </Rows>
- <Band id="head">
- <Cell text="일"/>
- <Cell col="1" text="월"/>
- <Cell col="2" text="화"/>
- <Cell col="3" text="수"/>
- <Cell col="4" text="목"/>
- <Cell col="5" text="금"/>
- <Cell col="6" text="토"/>
- </Band>
- <Band id="body">
- <Cell rowspan="2" style="background:EXPR(fSetProperty(currow,"sun",0));background2:EXPR(fSetProperty(currow,"sun",0));selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff #808080ff;background:#e3e3f3ff;background2:#e3e3f3ff;color:red;color2:red;font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectcolor:red;selectfont:돋움체,11,bold;" text="bind:sun" wordwrap="word" taborder="undefined" tooltiptext="expr:fSetProperty(currow,"sun",1)" autosizerow="limitmin"/>
- <Cell row="1" style="background:EXPR(fSetProperty(currow,"sun",0));background2:EXPR(fSetProperty(currow,"sun",0));color:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectfont:돋움체,11,bold;" text="bind:sun_memo" wordwrap="word" taborder="undefined" tooltiptext="expr:fSetProperty(currow,"sun",1)" autosizerow="limitmin"/>
- </Cell>
- <Cell col="1" rowspan="2" style="background:EXPR(fSetProperty(currow,"mon",0));background2:EXPR(fSetProperty(currow,"mon",0));selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:EXPR(fSetProperty(currow,"mon",0));background2:EXPR(fSetProperty(currow,"mon",0));color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectgradation:EXPR(fSetProperty_tooltip(currow,"mon",0));selectfont:돋움체,11,bold;" text="bind:mon" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"mon",1)" autosizerow="limitmin"/>
- <Cell row="1" style="align:left top;background:EXPR(fSetProperty(currow,"mon",0));background2:EXPR(fSetProperty(currow,"mon",0));color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');selectbackground:@gradation URL('theme://images\redbox.png');" text="bind:mon_memo" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"mon",1)" autosizerow="limitmin"/>
- </Cell>
- <Cell col="2" rowspan="2" style="background:EXPR(fSetProperty(currow,"tue",0));background2:EXPR(fSetProperty(currow,"tue",0));selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:EXPR(fSetProperty(currow,"tue",0));background2:EXPR(fSetProperty(currow,"tue",0));color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectgradation:EXPR(fSetProperty_tooltip(currow,"tue",0));selectfont:돋움체,11,bold;" text="bind:tue" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"tue",1)" autosizerow="limitmin"/>
- <Cell row="1" style="align:left top;background:EXPR(fSetProperty(currow,"tue",0));background2:EXPR(fSetProperty(currow,"tue",0));color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:@gradation URL('theme://images\redbox.png');" text="bind:tue_memo" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"tue",1)" autosizerow="limitmin"/>
- </Cell>
- <Cell col="3" rowspan="2" style="background:EXPR(fSetProperty(currow,"wed",0));background2:EXPR(fSetProperty(currow,"wed",0));selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:EXPR(fSetProperty(currow,"wed",0));background2:EXPR(fSetProperty(currow,"wed",0));color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectgradation:EXPR(fSetProperty_tooltip(currow,"wed",0));selectfont:돋움체,11,bold;" text="bind:wed" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"wed",1)" autosizerow="limitmin"/>
- <Cell row="1" style="align:left top;background:EXPR(fSetProperty(currow,"wed",0));background2:EXPR(fSetProperty(currow,"wed",0));color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:@gradation URL('theme://images\redbox.png');" text="bind:wed_memo" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"wed",1)" autosizerow="limitmin"/>
- </Cell>
- <Cell col="4" rowspan="2" style="background:EXPR(fSetProperty(currow,"thu",0));background2:EXPR(fSetProperty(currow,"thu",0));selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:EXPR(fSetProperty(currow,"thu",0));background2:EXPR(fSetProperty(currow,"thu",0));color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectgradation:EXPR(fSetProperty_tooltip(currow,"thu",0));selectfont:돋움체,11,bold;" text="bind:thu" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"thu",1)" autosizerow="limitmin"/>
- <Cell row="1" style="align:left top;background:EXPR(fSetProperty(currow,"thu",0));background2:EXPR(fSetProperty(currow,"thu",0));color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:@gradation URL('theme://images\redbox.png');" text="bind:thu_memo" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"thu",1)" autosizerow="limitmin"/>
- </Cell>
- <Cell col="5" rowspan="2" style="background:EXPR(fSetProperty(currow,"fri",0));background2:EXPR(fSetProperty(currow,"fri",0));selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:EXPR(fSetProperty(currow,"fri",0));background2:EXPR(fSetProperty(currow,"fri",0));color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectgradation:EXPR(fSetProperty_tooltip(currow,"fri",0));selectfont:돋움체,11,bold;" text="bind:fri" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"fri",1)" autosizerow="limitmin"/>
- <Cell row="1" style="align:left top;background:EXPR(fSetProperty(currow,"fri",0));background2:EXPR(fSetProperty(currow,"fri",0));color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:@gradation URL('theme://images\redbox.png');" text="bind:fri_memo" wordwrap="word" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"fri",1)" autosizerow="limitmin"/>
- </Cell>
- <Cell col="6" rowspan="2" style="background:EXPR(fSetProperty(currow,"sat",0));background2:EXPR(fSetProperty(currow,"sat",0));selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="line:1 solid #808080ff #808080ff;background:#e3e3f3ff;background2:#e3e3f3ff;color:blue;color2:blue;font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectcolor:blue;selectfont:돋움체,11,bold;" text="bind:sat" wordwrap="word" taborder="undefined" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"sat",1)" autosizerow="limitmin"/>
- <Cell row="1" style="background:EXPR(fSetProperty(currow,"sat",0));background2:EXPR(fSetProperty(currow,"sat",0));color:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');color2:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');font:굴림,9,bold;selectbackground:@gradation URL('theme://images\redbox.png');selectfont:돋움체,11,bold;" text="bind:sat_memo" wordwrap="word" taborder="undefined" tooltiptype="top,bottom,left,right,center" tooltiptext="expr:fSetProperty(currow,"sat",1)" autosizerow="limitmin"/>
- </Cell>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo position="absolute 1019 260 1194 279" id="combo7" class="combo_default" enable="false" innerdataset="@ds_init_cmbinfo_lrglist_item" datacolumn="hsctlrgnm" codecolumn="hsctlrgcd" anchor="default"/>
- <Combo position="absolute 1019 284 1194 303" id="combo8" class="combo_default" enable="true" innerdataset="@ds_init_cmbinfo_deptcd_A0478" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Combo position="absolute 1019 308 1194 327" id="combo9" class="combo_default" enable="false" innerdataset="@ds_init_cmbinfo_trnptkind_A0161" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Grid position="absolute 905 66 1194 181" align="align:center middle;" id="grd_patientlist" binddataset="ds_main_patientlist_patientlist" oncellclick="grp_biz_grd_patientlist_oncellclick" cellsizingtype="col" autofittype="col" cellsizebandtype="allband" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="128"/>
- <Column size="136"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="normal" edittype="none" text="bind:pid"/>
- <Cell col="2" displaytype="normal" edittype="none" text="bind:hngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="스케쥴" position="absolute 1004 43 1044 63" id="caption22" anchor="default"/>
- <Tab position="absolute 659 534 880 726" id="switch1" visible="false" style="buttonbackground:stretch 10,10;" anchor="default">
- <Tabpages>
- <Tabpage text="" id="case1">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 16 220 179" id="datagrid3" class="datagrid1" binddataset="ds_init_cmbinfo_updtlist_A0173" oncelldblclick="grp_biz_switch1_case1_datagrid3_oncelldblclick" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="150"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="No"/>
- <Cell col="1" text="변경사유"/>
- </Band>
- <Band id="body">
- <Cell text="bind:cdid"/>
- <Cell col="1" text="bind:cdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="case2"/>
- </Tabpages>
- </Tab>
- <Div position="absolute 0 592 1092 747" id="grp_patlist" visible="false" anchor="default">
- <Layouts>
- <Layout>
- <Grid position="absolute 1 1 1089 149" align="align:center middle;" id="datagrid1" binddataset="ds_main_patientlist_patientlist" oncelldblclick="grp_biz_grp_patlist_datagrid1_oncelldblclick" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="79"/>
- <Column size="52"/>
- <Column size="63"/>
- <Column size="64"/>
- <Column size="105"/>
- <Column size="84"/>
- <Column size="72"/>
- <Column size="69"/>
- <Column size="89"/>
- <Column size="91"/>
- <Column size="277"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="등록번호"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="이식종류"/>
- <Cell col="3" text="진단명"/>
- <Cell col="4" text="진료과"/>
- <Cell col="5" text="보험승인일자"/>
- <Cell col="6" text="입원예정일"/>
- <Cell col="7" text="이식예정일"/>
- <Cell col="8" text="UNIT"/>
- <Cell col="9" text="병실"/>
- <Cell col="10" text="비고"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" edittype="none" text="bind:pid"/>
- <Cell col="1" displaytype="normal" edittype="none" text="bind:hngnm"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:trnptkind" combodataset="ds_init_cmbinfo_trnptkind_A0161" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:diagcd1" combodataset="ds_init_cmbinfo_lrglist_item" combocodecol="hsctlrgcd" combodatacol="hsctlrgnm"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:deptcd" combodataset="ds_init_cmbinfo_deptcd_A0478" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" text="bind:insuaprvdd"/>
- <Cell col="6" text="bind:inschedd"/>
- <Cell col="7" text="bind:trnptschedd"/>
- <Cell col="8" displaytype="combo" edittype="combo" text="bind:trnptwardcd" combodataset="ds_init_cmbinfo_trnptwardcd_A0479" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:trnptroomcd" combodataset="ds_init_cmbinfo_trnptroomcd_A0480" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="10" text="bind:trnptscherem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <MaskEdit trimtype="both" position="absolute 1019 332 1194 351" id="input1" class="input_default" enable="false" mask="####-##-##" type="string" style=":disabled {align:left middle;}" maskchar=" " displaynulltext=" " anchor="default"/>
- <Combo position="absolute 1108 236 1166 255" id="combo10" class="combo_default" enable="false" innerdataset="@ds_init_cmbinfo_sex_P0313" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Calendar position="absolute 1019 356 1194 375" id="ipt_inschedd" class="input_default" autoselect="true" anchor="default"/>
- <Calendar position="absolute 1019 380 1194 399" id="ipt_trnptschedd" class="input_default" onkillfocus="grp_biz_ipt_trnptschedd_onkillfocus" autoselect="true" anchor="default"/>
- <Button position="absolute 1138 186 1194 206" id="btn_search2" class="btn1" visible="false" text="조회" onclick="grp_biz_btn_search2_onclick" anchor="default"/>
- <Button id="btn_nextmonth" taborder="1" position="absolute 1178 213 1194 229" style="background:URL('theme://images/icon_btn.png') stretch 5,5;border:0 none #808080ff ;bordertype:normal 0 0 ;" onclick="grp_biz_btn_nextmonth_onclick" anchor="default"/>
- <Static id="caption14" text="UNIT" class="cell_1" position="absolute 905 403 1016 426" anchor="default"/>
- <Static id="caption17" text="병실" class="cell_1" position="absolute 905 427 1016 450" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="스케줄관리" class="tit_1" position="absolute 0 0 97 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="trnptkind" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo7" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hsctlrgnm" type="STRING"/>
- <Column id="hsctlrgcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo8" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo9" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_patientlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="trnptkind" type="STRING"/>
- <Column id="diagcd1" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- <Column id="insuaprvdd" type="STRING"/>
- <Column id="inschedd" type="STRING"/>
- <Column id="trnptschedd" type="STRING"/>
- <Column id="trnptwardcd" type="STRING"/>
- <Column id="trnptroomcd" type="STRING"/>
- <Column id="trnptscherem" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo10" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_hsctinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="diagcd1" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="trnptkind" type="STRING" size="256"/>
- <Column id="insuaprvdd" type="STRING" size="256"/>
- <Column id="inschedd" type="STRING" size="256"/>
- <Column id="trnptschedd" type="STRING" size="256"/>
- <Column id="trnptwardcd" type="STRING" size="256"/>
- <Column id="trnptroomcd" type="STRING" size="256"/>
- <Column id="trnptscherem" type="STRING" size="256"/>
- <Column id="trnptdg" type="STRING" size="256"/>
- <Column id="updtresn" type="STRING" size="256"/>
- <Column id="updttrnptschedd" type="STRING" size="256"/>
- <Column id="trnpttype" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="diagcd1"/>
- <Col id="deptcd"/>
- <Col id="trnptkind"/>
- <Col id="insuaprvdd"/>
- <Col id="inschedd"/>
- <Col id="trnptschedd"/>
- <Col id="trnptwardcd"/>
- <Col id="trnptroomcd"/>
- <Col id="trnptscherem"/>
- <Col id="trnptdg"/>
- <Col id="updtresn"/>
- <Col id="updttrnptschedd"/>
- <Col id="trnpttype"/>
- <Col id="flag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_patientlist_patientlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="trnptkind" type="STRING" size="256"/>
- <Column id="diagcd1" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="insuaprvdd" type="STRING" size="256"/>
- <Column id="inschedd" type="STRING" size="256"/>
- <Column id="trnptschedd" type="STRING" size="256"/>
- <Column id="trnptwardcd" type="STRING" size="256"/>
- <Column id="trnptroomcd" type="STRING" size="256"/>
- <Column id="trnptscherem" type="STRING" size="256"/>
- <Column id="trnptdg" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="trnptkind"/>
- <Col id="diagcd1"/>
- <Col id="deptcd"/>
- <Col id="insuaprvdd"/>
- <Col id="inschedd"/>
- <Col id="trnptschedd"/>
- <Col id="trnptwardcd"/>
- <Col id="trnptroomcd"/>
- <Col id="trnptscherem"/>
- <Col id="trnptdg"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="popupendflag" type="STRING" size="256"/>
- <Column id="seldate" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="trnptwardcd" type="STRING" size="256"/>
- <Column id="trnptroomcd" type="STRING" size="256"/>
- <Column id="atdoctid" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="trnptschedd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="lrggrupcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="trnptwardcd"/>
- <Col id="trnptroomcd"/>
- <Col id="atdoctid"/>
- <Col id="deptcd"/>
- <Col id="trnptschedd"/>
- <Col id="pid"/>
- <Col id="lrggrupcd">DI</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_patientscheinfo_patientscheinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="diagcd1" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="trnptkind" type="STRING" size="256"/>
- <Column id="insuaprvdd" type="STRING" size="256"/>
- <Column id="inschedd" type="STRING" size="256"/>
- <Column id="trnptschedd" type="STRING" size="256"/>
- <Column id="trnptwardcd" type="STRING" size="256"/>
- <Column id="trnptroomcd" type="STRING" size="256"/>
- <Column id="trnptscherem" type="STRING" size="256"/>
- <Column id="updtresn" type="STRING" size="256"/>
- <Column id="updttrnptschedd" type="STRING" size="256"/>
- <Column id="trnpttype" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="diagcd1"/>
- <Col id="orddept"/>
- <Col id="trnptkind"/>
- <Col id="insuaprvdd"/>
- <Col id="inschedd"/>
- <Col id="trnptschedd"/>
- <Col id="trnptwardcd"/>
- <Col id="trnptroomcd"/>
- <Col id="trnptscherem"/>
- <Col id="updtresn"/>
- <Col id="updttrnptschedd"/>
- <Col id="trnpttype"/>
- <Col id="flag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="trnptschedd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="trnptdg" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="printflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="trnptschedd"/>
- <Col id="pid"/>
- <Col id="trnptdg"/>
- <Col id="hngnm"/>
- <Col id="printflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="lrggrupcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_deptcd_A0478" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_trnptwardcd_A0479" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_trnptroomcd_A0480" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_trnptkind_A0161" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_lrglist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hsctlrgcd" type="STRING" size="256"/>
- <Column id="hsctlrgnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_updtlist_A0173" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_sex_P0313" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmbinfo_atdoctid_A0536" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="comcd" type="STRING" size="256"/>
- <Column id="check_cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING" size="256"/>
- <Column id="month" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_calendar_weeklist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sun" type="STRING" size="256"/>
- <Column id="mon" type="STRING" size="256"/>
- <Column id="tue" type="STRING" size="256"/>
- <Column id="wed" type="STRING" size="256"/>
- <Column id="thu" type="STRING" size="256"/>
- <Column id="fri" type="STRING" size="256"/>
- <Column id="sat" type="STRING" size="256"/>
- <Column id="sun_memo" type="STRING" size="256"/>
- <Column id="mon_memo" type="STRING" size="256"/>
- <Column id="tue_memo" type="STRING" size="256"/>
- <Column id="wed_memo" type="STRING" size="256"/>
- <Column id="thu_memo" type="STRING" size="256"/>
- <Column id="fri_memo" type="STRING" size="256"/>
- <Column id="sat_memo" type="STRING" size="256"/>
- <Column id="sun_dutflag" type="STRING" size="256"/>
- <Column id="mon_dutflag" type="STRING" size="256"/>
- <Column id="tue_dutflag" type="STRING" size="256"/>
- <Column id="wed_dutflag" type="STRING" size="256"/>
- <Column id="thu_dutflag" type="STRING" size="256"/>
- <Column id="fri_dutflag" type="STRING" size="256"/>
- <Column id="sat_dutflag" type="STRING" size="256"/>
- <Column id="sun_ampmflag" type="STRING" size="256"/>
- <Column id="mon_ampmflag" type="STRING" size="256"/>
- <Column id="tue_ampmflag" type="STRING" size="256"/>
- <Column id="wed_ampmflag" type="STRING" size="256"/>
- <Column id="thu_ampmflag" type="STRING" size="256"/>
- <Column id="fri_ampmflag" type="STRING" size="256"/>
- <Column id="sat_ampmflag" type="STRING" size="256"/>
- <Column id="sun_ordendresn" type="STRING" size="256"/>
- <Column id="mon_ordendresn" type="STRING" size="256"/>
- <Column id="tue_ordendresn" type="STRING" size="256"/>
- <Column id="wed_ordendresn" type="STRING" size="256"/>
- <Column id="thu_ordendresn" type="STRING" size="256"/>
- <Column id="fri_ordendresn" type="STRING" size="256"/>
- <Column id="sat_ordendresn" type="STRING" size="256"/>
- <Column id="sun_ordendresnmin" type="STRING" size="256"/>
- <Column id="mon_ordendresnmin" type="STRING" size="256"/>
- <Column id="tue_ordendresnmin" type="STRING" size="256"/>
- <Column id="wed_ordendresnmin" type="STRING" size="256"/>
- <Column id="thu_ordendresnmin" type="STRING" size="256"/>
- <Column id="fri_ordendresnmin" type="STRING" size="256"/>
- <Column id="sat_ordendresnmin" type="STRING" size="256"/>
- <Column id="sun_reglscheflag" type="STRING" size="256"/>
- <Column id="mon_reglscheflag" type="STRING" size="256"/>
- <Column id="tue_reglscheflag" type="STRING" size="256"/>
- <Column id="wed_reglscheflag" type="STRING" size="256"/>
- <Column id="thu_reglscheflag" type="STRING" size="256"/>
- <Column id="fri_reglscheflag" type="STRING" size="256"/>
- <Column id="sat_reglscheflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sun"/>
- <Col id="mon"/>
- <Col id="tue"/>
- <Col id="wed"/>
- <Col id="thu"/>
- <Col id="fri"/>
- <Col id="sat"/>
- <Col id="sun_memo"/>
- <Col id="mon_memo"/>
- <Col id="tue_memo"/>
- <Col id="wed_memo"/>
- <Col id="thu_memo"/>
- <Col id="fri_memo"/>
- <Col id="sat_memo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_templist_calendarlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="trnptdd" type="STRING" size="256"/>
- <Column id="diagcd1" type="STRING" size="256"/>
- <Column id="trnptkind" type="STRING" size="256"/>
- <Column id="trnpttype" type="STRING" size="256"/>
- <Column id="trnptscherem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="trnptdd"/>
- <Col id="diagcd1"/>
- <Col id="trnptkind"/>
- <Col id="trnpttype"/>
- <Col id="trnptscherem"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_templist_monthschedulecnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="trnptkind" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_templist_scheprintlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dayofweek" type="STRING" size="256"/>
- <Column id="trnptschedd" type="STRING" size="256"/>
- <Column id="scheprint" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dayofweek"/>
- <Col id="trnptschedd"/>
- <Col id="scheprint"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_bmtpatientinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="popupendflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_trnptdg_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">1차</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_tempcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_tempcodeinfo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_out" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_userinfo_delivepsn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="delivepsnid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_cmbinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_trnptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_hlalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_tretinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_mdllist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_patcheck_check" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_monthschedulecnt_monthschedulecnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.grp_sea.combo3" propid="value" datasetid="ds_send_data" columnid="trnptwardcd"/>
- <BindItem id="item1" compid="grp_biz.grp_sea.combo1" propid="value" datasetid="ds_send_data" columnid="trnptroomcd"/>
- <BindItem id="item2" compid="grp_biz.grp_sea.combo4" propid="value" datasetid="ds_send_data" columnid="atdoctid"/>
- <BindItem id="item3" compid="grp_biz.grp_sea.combo6" propid="value" datasetid="ds_send_data" columnid="deptcd"/>
- <BindItem id="item4" compid="grp_biz.grp_sea.ipt_delivepsnid" propid="value" datasetid="ds_main_userinfo_delivepsn"/>
- <BindItem id="item5" compid="grp_biz.grp_calendar.opt_year" propid="value" datasetid="ds_hidden_calendar" columnid="year"/>
- <BindItem id="item6" compid="grp_biz.grp_calendar.opt_month" propid="value" datasetid="ds_hidden_calendar" columnid="month"/>
- <BindItem id="item7" compid="grp_biz.input2" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="pid"/>
- <BindItem id="item8" compid="grp_biz.input21" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="hngnm"/>
- <BindItem id="item9" compid="grp_biz.combo10" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="sex"/>
- <BindItem id="item10" compid="grp_biz.input10" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="age"/>
- <BindItem id="item11" compid="grp_biz.combo7" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="diagcd1"/>
- <BindItem id="item12" compid="grp_biz.combo8" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="deptcd"/>
- <BindItem id="item13" compid="grp_biz.combo9" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="trnptkind"/>
- <BindItem id="item14" compid="grp_biz.input1" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="insuaprvdd"/>
- <BindItem id="item15" compid="grp_biz.ipt_inschedd" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="inschedd"/>
- <BindItem id="item16" compid="grp_biz.ipt_trnptschedd" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="trnptschedd"/>
- <BindItem id="item17" compid="grp_biz.combo2" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="trnptwardcd"/>
- <BindItem id="item18" compid="grp_biz.combo5" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="trnptroomcd"/>
- <BindItem id="item19" compid="grp_biz.textarea1" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="trnptscherem"/>
- <BindItem id="item20" compid="grp_biz.cap_seldate" propid="text" datasetid="ds_main" columnid="seldate"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- //include "com_basiccodexp::ZBC001.xjs";
- include "ast_hsctxp::bmtcommon.xjs";
-
- var arErrorCode = new HashArray();
- var dayArr = ["sun","mon","tue","wed","thu","fri","sat"];
- var dayMemoArr = ["sun_memo","mon_memo","tue_memo","wed_memo","thu_memo","fri_memo","sat_memo"];
-
- //---------
- //head 함수 시작
- //---------
- /* _group : BMT 환자 이식 스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 선택한 일자 얻기
- * _param : grdObj( calendar grid control )
- */
- function fGetCalendarDate(grdObj){
- var cal_row = grdObj.currentrow;
- var cal_col = grdObj.currentcol;
- if( cal_col > 6) cal_col -= 7;
- var rsrvdd = "";
- if( cal_row >= 0 ){
- var dd = utlf_transNullToEmpty(this.ds_hidden_calendar_weeklist_list.getColumn( cal_row, cal_col)); //grdObj.colAttribute( cal_col,"ref") ) ;
- if( dd.length < 2 ) {
- dd = "0" + dd;
- }
- rsrvdd = ds_hidden_calendar.getColumn(0, "year") + ds_hidden_calendar.getColumn(0, "month") + dd ;
- }
- return rsrvdd;
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 일자별 이식예정환자 조회
- * _param :
- */
- function fGetPatientList(){
- var seldate = fGetCalendarDate(grp_biz.grd_calendar);
-
- ds_send_srchinfo.setColumn( 0, "trnptschedd", seldate);
- ds_send_srchinfo.setColumn( 0, "pid", "");
- ds_send_srchinfo.setColumn( 0, "trnptdg", "");
- ds_main_patientlist_patientlist.clearData(); ds_main_patientlist_patientlist.addRow();
- ds_main_hsctinfo_patinfolist.clearData(); ds_main_hsctinfo_patinfolist.addRow();
- //submit("TRABO00802");
-
- var oParam = {};
- oParam.id = "TRABO00802";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqGetHsctDailySchedule";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_main_patientlist_patientlist=patientlist";
- oParam.async = false;
- tranf_submit(oParam);
- //grp_biz.cap_seldate.text = seldate;
- if(ds_main.rowcount <= 0) {
- ds_main.addRow();
- }
- ds_main.setColumn(0, "seldate", seldate);
- grp_biz.cap_seldate.text = seldate;
- //model.refresh();
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 일자별 이식예정환자에서 선택한 환자의 상세정보 SELECT
- * _param :
- */
- function fGetSelectPatientInfo(){
- var idx = grp_biz.grd_patientlist.currentrow; //.row ;
- if(idx < 0) {
- sysf_messageBox("환자를 선택하세요","E999");
- return;
- }
- var vPid = ds_main_patientlist_patientlist.getColumn(idx, "pid");
- if( vPid == "" ){
- sysf_messageBox("환자를 선택하세요","E999");
- return ;
- }
- ds_send_srchinfo.setColumn( 0, "pid" , vPid);
- ds_send_srchinfo.setColumn( 0, "trnptschedd", ds_main_patientlist_patientlist.getColumn(idx, "trnptschedd"));
- ds_send_srchinfo.setColumn( 0, "trnptdg" , ds_main_patientlist_patientlist.getColumn(idx, "trnptdg"));
- //submit("TRABO00803");
- var oParam = {};
- oParam.id = "TRABO00803";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqGetHsctMngtSchedule";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_main_hsctinfo_patinfolist=patinfolist";
- oParam.async = false;
- tranf_submit(oParam);
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "updttrnptschedd", "string", ds_main_hsctinfo_patinfolist.getColumn(0, "trnptschedd"));
-
- if(frmf_checkAuth("X") == true){
- grp_btn.btn_save.enable = false; //.disabled = true;
- grp_btn.btn_update.enable = true;
- grp_btn.btn_delete.enable = true;
- }
- }
- function fGetPatientInfo(){
- ds_send_srchinfo.setColumn( 0, "pid" , ds_main_hsctinfo_patinfolist.getColumn(0, "pid"));
- ds_send_srchinfo.setColumn( 0, "trnptschedd" , "");
- ds_send_srchinfo.setColumn( 0, "trnptdg" , "");
- //if ( submit("TRABO00803") ) {
- var oParam = {};
- oParam.id = "TRABO00803";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqGetHsctMngtSchedule";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_main_hsctinfo_patinfolist=patinfolist";
- oParam.async = false;
- oParam.callback = "cf_TRABO00803";
- tranf_submit(oParam);
- if ( arErrorCode.pop("TRABO00803") > -1 ) {
-
- if ( !utlf_isNull(ds_main.getColumn(0, "seldate")) && !utlf_isNull(ds_main_hsctinfo_patinfolist.getColumnInfo("trnptschedd"))) {
- ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptschedd", ds_main.getColumn(0, "seldate"));
- //model.refresh();
- grp_biz.ipt_inschedd.value = utlf_transNullToEmpty(String(grp_biz.ipt_trnptschedd.value)).toDate().getAddDate(-9,"D").getDateFormat("YYYYMMDD") ;
- }
- if(frmf_checkAuth("X") == true){
- ds_send_srchinfo.setColumn( 0, "pid" , ds_main_hsctinfo_patinfolist.getColumn(0, "pid"));
- ds_send_srchinfo.setColumn( 0, "trnptdg" , ds_main_hsctinfo_patinfolist.getColumn(0, "trnptdg"));
-
- //submit("TRABO00805");
- var oParam = {};
- oParam.id = "TRABO00805";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqGetPatScheduleCheck";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_main_patcheck_check=check";
- oParam.async = false;
- tranf_submit(oParam);
- if ( ds_main_patcheck_check.getColumn(0, "cnt") != "0" ) {
- grp_btn.btn_save.enable = false; //.disabled = true;
- grp_btn.btn_update.enable = false;
- grp_btn.btn_delete.enable = false;
- sysf_messageBox("이식 예정일이 저장되어 있는 환자 입니다.", "E999", "");
- }else{
- grp_btn.btn_save.enable = true; //.disabled = false;
- grp_btn.btn_update.enable = false;
- grp_btn.btn_delete.enable = false;
- }
- }
- }
- //예외 처리, 싱글노드에러
- if(utlf_isNull(ds_main_hsctinfo_patinfolist.getColumnInfo("pid"))){
- ds_main_hsctinfo_patinfolist.clearData();
- ds_main_hsctinfo_patinfolist.addRow();
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "pid", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "hngnm", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "sex", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "age", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "diagcd1", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "deptcd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptkind", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "insuaprvdd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "inschedd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptschedd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptwardcd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptroomcd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptscherem", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptdg", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "updtresn", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "updttrnptschedd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnpttype", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "flag", "string", "" );
- }
- }
- function cf_TRABO00803(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 달력 초기화
- * _param :
- */
- function initCalendar() {
- var curDate = utlf_getCurrentDate().toDate();
- ds_hidden_calendar.setColumn( 0, "year", curDate.getDateFormat('YYYY'));
- ds_hidden_calendar.setColumn( 0, "month", curDate.getDateFormat('MM'));
- //model.refresh();
- setCalendar(curDate);
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 달력 처리
- * _param :
- */
- function setCalendar(dateObj) {
- // 그리드 초기화
- // ds_hidden_calendar_weeklist_list.clearData();
- //
- // dateObj.setDate(1);
- // var startDay = dateObj.getDay();
- // var days = dateObj.getMonthDay();
- //
- // var rows = Math.ceil( ( startDay + days ) / 7 );
- // for( var i = 0; i < rows; i++ ) {
- // grp_biz.grd_calendar.addRow(false);
- // }
- //
- // //grp_biz.grd_calendar.rebuild();
- //
- // var rowIndex = grp_biz.grd_calendar.fixedRows;
- // var colIndex = startDay;
- // for( var i = 1; i <= days; i++ ) {
- // grp_biz.grd_calendar.valueMatrix(rowIndex, colIndex) = i;
- // colIndex++;
- // if( colIndex == 7 ) {
- // colIndex = 0;
- // rowIndex++;
- // }
- // }
- //
- //-----------
- // 그리드 초기화
- var nRowPos = grp_biz.grd_calendar.currentrow;
- var nColPos = grp_biz.grd_calendar.currentcol;
-
- ds_hidden_calendar_weeklist_list.clearData();
- //grd_calendar.rebuild()
-
- dateObj.setDate(1);
- var startDay = dateObj.getDay();
- var days = dateObj.getMonthDay();
-
- var rows = Math.ceil( ( startDay + days ) / 7 );
- for( var i = 0; i < rows; i++ )
- ds_hidden_calendar_weeklist_list.addRow(); //.addRow(false);
-
- //grd_calendar.rebuild();
- //grd_calendar.rebuildStyle();
- var rowIndex = 0; //grd_calendar.fixedRows;
- var colIndex = startDay;
- var dutflag = '';
-
- for( var i = 0; i < days; i++ ) {
- //write date
-
- ds_hidden_calendar_weeklist_list.setColumn(rowIndex,dayArr[colIndex%7], i + 1);
- //ds_hidden_calendar_weeklist_list.setColumn(rowIndex,dayMemoArr[colIndex%7],"0/0");
-
- if(i == parseInt(utlf_getCurrentDate().substr(6,2))) {
- toRIndex = rowIndex;
- toCIndex = colIndex;
- }
-
-
- //write memo
- // XP에서는 Dataset으로 Binding하기 때문에 필요없을 듯.
- //grd_calendar.valueMatrix(rowIndex , colIndex + 7) = fGetCalendarMemo( i );
-
- //ds_hidden_calendar_weeklist_list.setColumn(rowIndex, dayMemoArr[colIndex%7], fGetCalendarMemo( i ));
-
- // 평일/토요일/휴일 표시는 Expr로 처리함.
- //dutflag = ds_hidden_calendarinfo_calendarinfolist.getColumn(i, "dutflag");
- //
- //if( dutflag == '8' ){ //'0' 평일, '4' 토요일, '8' 휴일
- // fSetTextColor(rowIndex, colIndex, '#ff0000');
- //}
-
- colIndex++;
- if( colIndex == 7 ) {
- colIndex = 0;
- rowIndex++;
- }
- }
-
- ds_hidden_calendar_weeklist_list.rowposition = nRowPos;
- grp_biz.grd_calendar.setCellPos(nColPos);
- grp_biz.grd_calendar.setFocus();
-
- //grd_calendar.resizeCells();
-
- }
- //해당 일자의 병원 일정 정보를 얻어 온다
- function fGetCalendarMemo( i )
- {
- var holiflag = "";
- var holinm = "";
-
- holiflag = ds_hidden_calendarinfo_calendarinfolist.getColumn(i, "holiflag");
- holinm = ds_hidden_calendarinfo_calendarinfolist.getColumn(i, "holinm");
-
- if( holinm == '-' ){
- holinm = "";
- }
- return holinm;
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 달력 연_월 변경시 처리
- * _param : flagValue( -1, 1 ), flagMonthYear( 'M', 'Y')
- */
- function setCalendarDate(flagValue, flagMonthYear) {
- var isMonth = ds_hidden_calendar.getColumn(0, "month");
- var isYear = ds_hidden_calendar.getColumn(0, "year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(flagValue, flagMonthYear);
- ds_hidden_calendar.setColumn( 0, "year", isDate.getDateFormat('YYYY'));
- ds_hidden_calendar.setColumn( 0, "month", isDate.getDateFormat('MM'));
- //model.refresh();
- setCalendar(isDate);
- fGetMonthRecipientList();
- }
- function setCellColor(gridObj) {
- var calRow = gridObj.currentrow;
- var calCol = gridObj.currentcol;
- if( calCol < 7 )
- calCol += 7;
- else
- calCol -= 7;
- gridObj.rebuildStyle();
- gridObj.cellStyle("background-color", calRow, calCol) = "#daa7d9";
- }
- function setCellColor(gridObj) {
- // var calRow = gridObj.currentrow;
- // var calCol = gridObj.currentcol;
- //
- // if (!utlf_isNull(ds_hidden_calendar_weeklist_list.getColumn(calRow,dayArr[calCol%7]+ "_reglscheflag"))) { // "#daa7d9") {
- // ds_hidden_calendar_weeklist_list.setColumn(calRow,dayArr[calCol%7]+ "_reglscheflag","#daa7d9");
- // } else {
- // ds_hidden_calendar_weeklist_list.setColumn(calRow,dayArr[calCol%7]+ "_reglscheflag","#daa7d9");
- // }
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 이식스케쥴 삭제
- * _param :
- */
- function fDelTrnptSchedule(){
- var _row = grp_biz.switch1.case1.datagrid3.currentrow ;
-
-
- ds_send_patientscheinfo_patientscheinfo.copyData(ds_main_hsctinfo_patinfolist);
- ds_send_patientscheinfo_patientscheinfo.setColumn( 0, "updtresn", ds_init_cmbinfo_updtlist_A0173.getColumn(_row, "cdid"));
- ds_send_patientscheinfo_patientscheinfo.setColumn( 0, "flag", "D");
-
- //submit("TXABO00801");
- var oParam = {};
- oParam.id = "TXABO00801";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqExeHsctSchedule";
- oParam.inds = "patientscheinfo=ds_send_patientscheinfo_patientscheinfo";
- oParam.outds = "ds_result=item";
- oParam.async = false;
- tranf_submit(oParam);
- //model.refresh();
- var isMonth = ds_hidden_calendar.getColumn(0, "month");
- var isYear = ds_hidden_calendar.getColumn(0, "year");
- var isDate = (isYear+isMonth+1).toDate();
- ds_hidden_calendar.setColumn( 0, "year", isDate.getDateFormat('YYYY'));
- ds_hidden_calendar.setColumn( 0, "month", isDate.getDateFormat('MM'));
- //model.refresh();
- setCalendar(isDate);
- fGetMonthRecipientList();
-
- //grp_biz.grd_patientlist.deleteItem( grp_biz.grd_patientlist.currentrow );
- ds_main_patientlist_patientlist.deleteRow(ds_main_patientlist_patientlist.rowposition);
-
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 수정처리할 때
- * _param :
- */
- function fUpdateTrnptSchedule(){
- // 저장버튼 수정시 기본정보 (비교정보 )
- var _row = ds_main_patientlist_patientlist.rowposition;
-
- var pid = ds_main_patientlist_patientlist.getColumn( _row, "pid");
- var hngnm = ds_main_patientlist_patientlist.getColumn( _row, "hngnm");
- //var sex = ds_main_patientlist_patientlist.getColumn( _row, "sex");
- //var age = ds_main_patientlist_patientlist.getColumn( _row, "age");
- var diagcd1 = ds_main_patientlist_patientlist.getColumn( _row, "diagcd1");
- var deptcd = ds_main_patientlist_patientlist.getColumn( _row, "deptcd");
- var trnptkind = ds_main_patientlist_patientlist.getColumn( _row, "trnptkind");
- var insuaprvdd = ds_main_patientlist_patientlist.getColumn( _row, "insuaprvdd");
- var inschedd = ds_main_patientlist_patientlist.getColumn( _row, "inschedd");
- var trnptschedd = ds_main_patientlist_patientlist.getColumn( _row, "trnptschedd");
- var trnptscherem = ds_main_patientlist_patientlist.getColumn( _row, "trnptscherem");
- // 입력할 정보 , 수정할 정보
- var pid_v = ds_main_hsctinfo_patinfolist.getColumn(0, "pid");
- var hngnm_v = ds_main_hsctinfo_patinfolist.getColumn(0, "hngnm");
- var sex_v = ds_main_hsctinfo_patinfolist.getColumn(0, "sex");
- //var age_v = ds_main_hsctinfo_patinfolist.getColumn(0, "age");
- var diagcd1_v = ds_main_hsctinfo_patinfolist.getColumn(0, "diagcd1");
- var deptcd_v = ds_main_hsctinfo_patinfolist.getColumn(0, "deptcd");
- var trnptkind_v = ds_main_hsctinfo_patinfolist.getColumn(0, "trnptkind");
- var insuaprvdd_v = ds_main_hsctinfo_patinfolist.getColumn(0, "insuaprvdd");
- var inschedd_v = ds_main_hsctinfo_patinfolist.getColumn(0, "inschedd");
- var trnptschedd_v = ds_main_hsctinfo_patinfolist.getColumn(0, "trnptschedd");
- var trnptscherem_v = ds_main_hsctinfo_patinfolist.getColumn(0, "trnptscherem");
- var sRsrvMon = ds_hidden_calendar.getColumn(0, "year") + ds_hidden_calendar.getColumn(0, "month");
- if(pid_v =="" && hngnm_v =="") {
- sysf_messageBox("스케줄 항목의 등록번호 및 이름을","C001");
- return;
- }
- if(trnptschedd_v.length != 8) {
- sysf_messageBox("달력에 해당 날짜를","C002");
- return;
- }
- ds_send_patientscheinfo_patientscheinfo.copyData(ds_main_hsctinfo_patinfolist);
- var _datagrid3_currow = ds_init_cmbinfo_updtlist_A0173.rowposition; //
- //var _datagrid3_currow = grp_biz.switch1.case1.datagrid3.currentrow; //
-
- dsf_makeValue( ds_send_patientscheinfo_patientscheinfo, "updtresn", "string", ds_init_cmbinfo_updtlist_A0173.getColumn(_datagrid3_currow, "cdid"));
- dsf_makeValue( ds_send_patientscheinfo_patientscheinfo, "flag", "string", "U");
- //model.refresh();
- if( pid != pid_v || hngnm != hngnm_v) {
- if(pid == "" ){
- ds_send_patientscheinfo_patientscheinfo.setColumn( 0, "flag" , "I");
- } else {
- sysf_messageBox("스케줄 선택 목록과 항목의 정보가","E004");
- return ;
- }
- } else {
- ds_send_patientscheinfo_patientscheinfo.setColumn( 0, "flag" , "U");
- }
- if( sysf_messageBox("","Q002") !=6 ) {
- return;
- }
- //submit("TXABO00801");
-
- var oParam = {};
- oParam.id = "TXABO00801";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqExeHsctSchedule";
- oParam.inds = "patientscheinfo=ds_send_patientscheinfo_patientscheinfo";
- oParam.outds = "ds_result=item";
- oParam.async = false;
- tranf_submit(oParam);
-
- //model.refresh();
- var isMonth = ds_hidden_calendar.getColumn(0, "month");
- var isYear = ds_hidden_calendar.getColumn(0, "year");
- var isDate = (isYear+isMonth+1).toDate();//.getAddDate(1,'M');
- ds_hidden_calendar.setColumn( 0, "year", isDate.getDateFormat('YYYY'));
- ds_hidden_calendar.setColumn( 0, "month", isDate.getDateFormat('MM'));
- //model.refresh();
- setCalendar(isDate);
- fGetMonthRecipientList();
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 달력에 월별 이식환자정보 표시
- * _param :
- */
- function fGetMonthRecipientList(){
- ds_temp_templist_calendarlist.clearData();
- ds_temp_templist_monthschedulecnt.clearData();
- ds_temp_templist_scheprintlist.clearData();
-
- ds_main_patientlist_patientlist.clearData(); ds_main_patientlist_patientlist.addRow();
- ds_main_hsctinfo_patinfolist.clearData(); ds_main_hsctinfo_patinfolist.addRow();
- var sRsrvMon = ds_hidden_calendar.getColumn(0, "year") + ds_hidden_calendar.getColumn(0, "month") ;
- ds_send_srchinfo.setColumn( 0, "trnptschedd" ,sRsrvMon+"%" );
- ds_send_data.setColumn( 0, "trnptschedd" ,sRsrvMon+"%" );
-
- //submit("TRABO00801");
- var oParam = {};
- oParam.id = "TRABO00801";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqGetHsctMonthSchedule";
- oParam.inds = "req=ds_send_data";
- oParam.outds = "ds_temp_templist_calendarlist=calendarlist ds_temp_templist_monthschedulecnt=monthschedulecnt ds_temp_templist_scheprintlist=scheprintlist";
- oParam.async = false;
- tranf_submit(oParam);
- //sNode = instance1.selectSingleNode("_root_temp_templist_calendarlist");
- if( !utlf_isNull(ds_temp_templist_calendarlist)){
-
- // var dd = null ;
- // var iCol = null;
- // var iRow = null;
- // var firstDay = (sRsrvMon+ "01").toDate().getDay();
- //
- // for( var i = 0 ; i < ds_temp_templist_calendarlist.rowcount ; i++){
- // dd = ds_temp_templist_calendarlist.getColumn( i, "trnptdd" ) ;
- // dd = String(dd).substr(6,2);
- // iCol = ( sRsrvMon + dd).toDate().getDay();
- // iRow = Math.ceil( ( firstDay + Number(dd) ) / 7 );
- // grp_biz.grd_calendar.valueMatrix(iRow , iCol + 7) = "";
- // }
- //
- // for( var i = 0 ; i < ds_temp_templist_calendarlist.rowcount; i++){
- // dd = ds_temp_templist_calendarlist.getColumn( i, "trnptdd" ) ;
- // dd = dd.substring(6,8);
- // iCol = ( sRsrvMon + dd).toDate().getDay();
- // iRow = Math.ceil( ( firstDay + Number(dd) ) / 7 );
- //
- // if( grp_biz.grd_calendar.valueMatrix(iRow , iCol + 7) == ""){
- // grp_biz.grd_calendar.valueMatrix(iRow , iCol + 7) = ds_temp_templist_calendarlist.getColumn(i, "hngnm") + " " +
- // ds_temp_templist_calendarlist.getColumn(i, "diagcd1") + " " +
- // ds_temp_templist_calendarlist.getColumn(i, "trnpttype") + " " +
- // ds_temp_templist_calendarlist.getColumn(i, "trnptscherem");
- //
- // } else {
- // grp_biz.grd_calendar.valueMatrix(iRow , iCol + 7) = grp_biz.grd_calendar.valueMatrix(iRow , iCol + 7) +"\n"+ ds_temp_templist_calendarlist.getColumn(i, "hngnm" ) + " " +
- // ds_temp_templist_calendarlist.getColumn(i, "diagcd1") + " " +
- // ds_temp_templist_calendarlist.getColumn(i, "trnpttype") + " " +
- // ds_temp_templist_calendarlist.getColumn(i, "trnptscherem");
- //
- // }
- // }
- //
-
- //---------------
- var isMonth = ds_hidden_calendar.getColumn(0,"month");
- var isYear = ds_hidden_calendar.getColumn(0,"year");
- var isDate = (isYear+isMonth+1).toDate();
- var startDay = isDate.getDay();
-
- for (var i = 0; i < ds_temp_templist_calendarlist.rowcount; i++) {
- //var dd = ds_temp_templist_calendarlist.getColumn(i,"trnptdd"); //TF에서능 이렇게 불려지고,
- var dd = ds_temp_templist_calendarlist.getColumn(i,"trnptschedd"); //XP에서는 이렇게 Return됨.
-
-
-
- var colidx = dd.toDate().getDay() ;
- var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 ) - 1;
- ds_hidden_calendar_weeklist_list.setColumn(rowidx, dayMemoArr[colidx%7] , utlf_transNullToEmpty(ds_hidden_calendar_weeklist_list.getColumn(rowidx, dayMemoArr[colidx%7] )) + " " +
- utlf_transNullToEmpty(ds_temp_templist_calendarlist.getColumn(i, "hngnm" )) + " " +
- utlf_transNullToEmpty(ds_temp_templist_calendarlist.getColumn(i, "diagcd1")) + " " +
- utlf_transNullToEmpty(ds_temp_templist_calendarlist.getColumn(i, "trnpttype")) + " " +
- utlf_transNullToEmpty(ds_temp_templist_calendarlist.getColumn(i, "trnptscherem")) );
- }
-
- }
- ds_main_monthschedulecnt_monthschedulecnt.copyData(ds_temp_templist_monthschedulecnt);
- //model.refresh();
- //grp_biz.grd_calendar.rebuild();
- }
- /* _group : BMT 환자 이식스케줄관리
- * _ver : 2007.11.20
- * _by : 남수현
- * _type : function
- * _access : public
- * _desc : 사용자 이름으로 달력에 있는지 검색
- * _param :
- */
- function fKeyEvent() {
- sysf_messageBox("기능구현중", "E999", "");
- }
- function fSetProperty(currow, week, flag){
- var color = "";
- var tooltip = "";
-
- if( week == "sat" || week == "sun" ){
- color = "#E3E3F3ff";
- }
- else {
- color = "#ffffffff";
- }
-
- if( flag == 0 )
- {
- return color;
- }
- else if (flag == 1)
- {
- return tooltip;
- }
- }
- //---------
- //head 함수 끝
- //---------
- function SMABO00800_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- grdf_initGrid(this.grp_biz.grd_calendar); //Grid 초기화
- grdf_initGrid(this.grp_biz.grd_patientlist); //Grid 초기화
- grdf_initGrid(this.grp_biz.datagrid2); //Grid 초기화
- grdf_initGrid(this.grp_biz.grp_patlist.datagrid1); //Grid 초기화
- grdf_initGrid(this.grp_biz.switch1.case1.datagrid3); //Grid 초기화
-
- initCalendar();
- // 공통코드 가져오기
- //zbcfGetCodeList( new Array("A0161", "A0173", "P0313", "A0478", "A0479", "A0480", "A0536"),
- // new Array("_root_init_cmbinfo_trnptkind", "_root_init_cmbinfo_updtlist", "_root_init_cmbinfo_sex", "_root_init_cmbinfo_deptcd", "_root_init_cmbinfo_trnptwardcd", "_root_init_cmbinfo_trnptroomcd", "_root_init_cmbinfo_atdoctid") );
-
- // zbcfGetCodeList( new Array("P0313"),
- // new Array("_root_init_cmbinfo_sex"));
-
- var arrParam1 = [{dsNm: "ds_init_cmbinfo_sex_P0313", cdGrpId: "P0313"}];
- appf_getCodeList(arrParam1);
-
-
- //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
- // aboGetCodeList(new Array("A0161", "A0173", "A0478", "A0479", "A0480", "A0536"),
- // new Array("_root_init_cmbinfo_trnptkind", "_root_init_cmbinfo_updtlist", "_root_init_cmbinfo_deptcd", "_root_init_cmbinfo_trnptwardcd", "_root_init_cmbinfo_trnptroomcd", "_root_init_cmbinfo_atdoctid") );
-
- var arrParam2 = [
- {dsNm: "ds_init_cmbinfo_trnptkind_A0161", cdGrpId: "A0161"}
- ,{dsNm: "ds_init_cmbinfo_updtlist_A0173", cdGrpId: "A0173"}
- ,{dsNm: "ds_init_cmbinfo_deptcd_A0478", cdGrpId: "A0478"}
- ,{dsNm: "ds_init_cmbinfo_trnptwardcd_A0479", cdGrpId: "A0479"}
- ,{dsNm: "ds_init_cmbinfo_trnptroomcd_A0480", cdGrpId: "A0480"}
- ,{dsNm: "ds_init_cmbinfo_atdoctid_A0536", cdGrpId: "A0536"}
- ];
-
- aboGetCodeList(arrParam2);
-
- abofUpdateColID("1"); //Column 이름 변경.
-
- ds_init_cmbinfo_trnptwardcd_A0479.insertRow(0);
- ds_init_cmbinfo_trnptwardcd_A0479.setColumn(0, "cdnm", "");
- ds_init_cmbinfo_trnptwardcd_A0479.setColumn(0, "cdid", "");
- ds_init_cmbinfo_trnptwardcd_A0479.setColumn(0, "hsctlrgcd", "A0479");
- ds_init_cmbinfo_trnptroomcd_A0480.insertRow(0);
- ds_init_cmbinfo_trnptroomcd_A0480.setColumn(0, "cdnm", "");
- ds_init_cmbinfo_trnptroomcd_A0480.setColumn(0, "cdid", "");
- ds_init_cmbinfo_trnptroomcd_A0480.setColumn(0, "hsctlrgcd", "A0480");
- ds_init_cmbinfo_atdoctid_A0536.insertRow(0);
- ds_init_cmbinfo_atdoctid_A0536.setColumn(0, "cdnm", "");
- ds_init_cmbinfo_atdoctid_A0536.setColumn(0, "cdid", "");
- ds_init_cmbinfo_atdoctid_A0536.setColumn(0, "hsctlrgcd", "A0536");
- ds_init_cmbinfo_deptcd_A0478.insertRow(0);
- ds_init_cmbinfo_deptcd_A0478.setColumn(0, "cdnm", "");
- ds_init_cmbinfo_deptcd_A0478.setColumn(0, "cdid", "");
- ds_init_cmbinfo_deptcd_A0478.setColumn(0, "hsctlrgcd", "A0478");
- // bmtcommon.js : 이식종류에 AUTO [00] 추가해주기
- abofSetTrnptKindCdAuto();
- // bmtcommon.js : BMT 진단대분류 조회 : 맨 앞에 공백을 추가해주기 위해서 함수로 변경
- abofGetBmtDIagLrgList();
-
-
-
-
-
- //fGetMonthRecipientList();
- this.setTimer(0, 100);
-
- //권한체크
- grp_btn.btn_save.visible = frmf_checkAuth("X");
- grp_btn.btn_delete.visible = frmf_checkAuth("X");
- grp_btn.btn_update.visible = frmf_checkAuth("X");
- //grp_btn.btn_prt.disabled = !frmf_checkAuth("P");
- //grp_btn.btn_prt2.disabled = !frmf_checkAuth("P");
- }
- function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_srchinfo.setColumn( 0, "printflag", "N"); //타기관 포함 여부 플래그
- //submit("TRABO00804");
- var oParam = {};
- oParam.id = "TRABO00804"; //TRABO00801
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqGetHsctMonthSchedulePrint";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_temp_templist_scheprintlist=scheprintlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- var sRsrvMon = ds_hidden_calendar.getColumn(0, "year") + ds_hidden_calendar.getColumn(0, "month") ;
- //var firstDay = (sRsrvMon+ "01").toDate().getDay();
- //sNode = ds_temp_templist_scheprintlist;
- dsf_makeValue(ds_temp_templist_scheprintlist, "dayofweek", "string", "");
- for( var i = 0 ; i < ds_temp_templist_scheprintlist.rowcount; i++){
- dd = ds_temp_templist_scheprintlist.getColumn(i, "trnptschedd" ) ;
- dd = String(dd).substr(6,2);
- iCol = ( sRsrvMon + dd).toDate().getDay();
- if(iCol == '1'){
- ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "월");
- }else if(iCol == '2'){
- ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "화");
- }else if(iCol == '3'){
- ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "수");
- }else if(iCol == '4'){
- ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "목");
- }else if(iCol == '5'){
- ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "금");
- }else if(iCol == '6'){
- ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "토");
- }else if(iCol == '7'){
- ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "일");
- }else {
- ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "-");
- }
- }
- //exeReportPreview("RPABO00802", "XMLSTR", "ds_temp_templist_calendarlist");
-
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/temp/templist/scheprintlist" , ds_temp_templist_scheprintlist);
- rptf_setNodeListToDOM(objDOM, "/root/hidden/calendar" , ds_hidden_calendar);
-
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPABO00802"],[objParam], option);
-
- }
- function grp_btn_btn_prt2_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_srchinfo.setColumn( 0, "printflag", "Y"); //타기관 포함 여부 플래그
-
- //submit("TRABO00804");
- var oParam = {};
- oParam.id = "TRABO00804"; //TRABO00801
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqGetHsctMonthSchedulePrint";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_temp_templist_scheprintlist=scheprintlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- // var sRsrvMon = ds_hidden_calendar.getColumn(0, "year") + ds_hidden_calendar.getColumn(0, "month") ;
- // dsf_makeValue(ds_temp_templist_scheprintlist, "dayofweek", "string", "");
- //
- // for( var i = 0 ; i < ds_temp_templist_scheprintlist.rowcount; i++){
- // dd = ds_temp_templist_scheprintlist.getColumn(i, "trnptschedd" ) ;
- // dd = String(dd).substr(6,2);
- // iCol = ( sRsrvMon + dd).toDate().getDay();
- // if(iCol == '1'){
- // ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "월");
- // }else if(iCol == '2'){
- // ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "화");
- // }else if(iCol == '3'){
- // ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "수");
- // }else if(iCol == '4'){
- // ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "목");
- // }else if(iCol == '5'){
- // ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "금");
- // }else if(iCol == '6'){
- // ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "토");
- // }else if(iCol == '7'){
- // ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "일");
- // }else {
- // ds_temp_templist_scheprintlist.setColumn(i, "dayofweek", "-");
- // }
- // }
-
-
- //exeReportPreview("RPABO00802", "XMLSTR", "_root_temp_templist_calendarlist");
-
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/temp/templist/scheprintlist" , ds_temp_templist_scheprintlist);
- rptf_setNodeListToDOM(objDOM, "/root/hidden/calendar" , ds_hidden_calendar);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPABO00802"],[objParam], option);
- }
- function grp_btn_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- //exeReportPreview("RPABO00801", "XMLSTR", "ds_hidden_calendar");
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/hidden/calendar" , ds_hidden_calendar);
- rptf_setNodeListToDOM(objDOM, "/root/hidden/calendar/weeklist/list" , this.ds_hidden_calendar_weeklist_list);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPABO00801"],[objParam], option);
- }
- function grp_btn_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- //modal("SMABO01000 ","","","","","","");
- frmf_modal("SMABO01000", "SMABO01000", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function grp_btn_btn_update_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( ds_main_hsctinfo_patinfolist.getColumn(0, "pid") == "" ) {
- return false;
- }
- ds_send.setColumn( 0, "flag", "U");
- grp_biz.switch1.visible = true;
- }
- function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( ds_main_hsctinfo_patinfolist.getColumn(0, "pid") == "" ) {
- return false;
- }
- if ( ds_main_hsctinfo_patinfolist.getColumn(0, "trnptschedd") == "" ) {
- sysf_messageBox("이식예정일은 반드시 선택해야 합니다", "E999", "");
- return false;
- }
- ds_send.setColumn( 0, "flag" , "I");
- ds_send_patientscheinfo_patientscheinfo.copyData(ds_main_hsctinfo_patinfolist);
- //submit("TXABO00801");
-
- var oParam = {};
- oParam.id = "TXABO00801";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqExeHsctSchedule";
- oParam.inds = "patientscheinfo=ds_send_patientscheinfo_patientscheinfo";
- oParam.outds = "ds_result=item";
- oParam.async = false;
- tranf_submit(oParam);
-
- fGetMonthRecipientList();
- }
- function grp_btn_btn_delete_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn( 0, "flag", "D");
- grp_biz.switch1.visible = true;
- }
- function grp_biz_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_calendar_weeklist_list.clearData();
- initCalendar();
- fGetMonthRecipientList();
- }
- function grp_biz_grp_sea_combo3_onitemclick(obj:Combo, e:ListBoxClickEventInfo)
- {
- //submit("TRABO00104");
- ////model.refresh();
- }
- function grp_biz_grp_sea_ipt_delivepsnid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- fKeyEvent();
- }
- function grp_biz_grp_calendar_btn_preyear_onclick(obj:Button, e:ClickEventInfo)
- {
- setCalendarDate(-1, 'Y');
- }
- function grp_biz_grp_calendar_btn_premonth_onclick(obj:Button, e:ClickEventInfo)
- {
- setCalendarDate(-1, 'M');
- }
- function grp_biz_grp_calendar_btn_nextmonth_onclick(obj:Button, e:ClickEventInfo)
- {
- setCalendarDate(1, 'M');
- }
- function grp_biz_grp_calendar_btn_nextyear_onclick(obj:Button, e:ClickEventInfo)
- {
- setCalendarDate(1, 'Y');
- }
- function grp_biz_grd_calendar_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(frmf_checkAuth("X") == true){
- grp_btn.btn_save.enable = false; //.disabled = true;
- grp_btn.btn_delete.enable = false;
- grp_btn.btn_update.enable = false;
- }
- var seldate = fGetCalendarDate(grp_biz.grd_calendar);
- // 날짜가 없는 빈 곳을 클릭하면 처리하지 않는다
- if ( seldate.length == 7 ) {
- return
- }
- setCellColor(grp_biz.grd_calendar);
- fGetPatientList();
- if ( grp_biz.grd_patientlist.rowcount > 0){
- if ( grp_biz.grd_calendar.currentrow <= 4) {
- } else if ( grp_biz.grd_calendar.currentrow > 4 ){
- grp_biz.grp_patlist.position.top = (grp_biz.grd_calendar.row +1) * 96+46 - 205;
- }
- var grdcol = grp_biz.grd_calendar.currentcol ;
- grp_biz.grp_patlist.visible=true;
- } else {
- grp_biz.grp_patlist.visible=false;
- }
- }
- // grid의 onrowchanged event와 oncolchanged event에는 setCellColor(grp_biz.grd_calendar);가 포함되어 있음.
- // 이를 어떻게 처리할 것인지 고민되어야 할 듯.
- function grp_biz_grd_calendar_onkillfocus(obj:Grid, e:KillFocusEventInfo)
- {
- grp_biz.grp_patlist.visible=false;
- }
- function grp_biz_grp_patlist_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetSelectPatientInfo();
- }
- function grp_biz_grd_patientlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetSelectPatientInfo();
- }
- function grp_biz_btn_search2_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPatientInfo();
- }
- function grp_biz_input2_onlbuttonup(obj:Edit, e:MouseEventInfo)
- {
- // if ( abofGetBmtPatientSearch("ds_main_hsctinfo_patinfolist", "ds_temp_bmtpatientinfo") ) {
- //
- // dsf_makeValue( ds_main_hsctinfo_patinfolist, "deptcd", "string", "" );
- // dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptwardcd", "string", "" );
- // dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptroomcd", "string", "" );
- // dsf_makeValue( ds_main_hsctinfo_patinfolist, "inschedd", "string", "" );
- // dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptschedd", "string", "" );
- // dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptscherem", "string", "" );
- //
- // ds_main_hsctinfo_patinfolist.setColumn( 0, "deptcd" , "");
- // ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptwardcd", "");
- // ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptroomcd", "");
- // ds_main_hsctinfo_patinfolist.setColumn( 0, "inschedd" , "");
- // ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptschedd", "");
- // ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptscherem", "");
- //
- // if ( ds_main.getColumn(0, "seldate") != "" ) {
- // ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptschedd", ds_main.getColumn(0, "seldate"));
- // //model.refresh();
- // grp_biz.ipt_inschedd.value = grp_biz.ipt_trnptschedd.value.toDate().getAddDate(-9,"D").getDateFormat("YYYYMMDD") ;
- // }
- //
- // if(frmf_checkAuth("X") == true){
- // ds_send_srchinfo.setColumn( 0, "pid" , ds_main_hsctinfo_patinfolist.getColumn(0, "pid"));
- // ds_send_srchinfo.setColumn( 0, "trnptdg" , ds_main_hsctinfo_patinfolist.getColumn(0, "trnptdg"));
- //
- // //submit("TRABO00805");
- // var oParam = {};
- // oParam.id = "TRABO00805";
- // oParam.service = "hsctcoordinatorapp.HsctSchedule";
- // oParam.method = "reqGetPatScheduleCheck";
- // oParam.inds = "req=ds_send_srchinfo";
- // oParam.outds = "ds_main_patcheck_check=check";
- // oParam.async = false;
- // tranf_submit(oParam);
- //
- //
- // if ( ds_main_patcheck_check.getColumn(0, "cnt") != "0" ) {
- // grp_btn.btn_save.enable = false; //.disabled = true;
- // grp_btn.btn_update.enable = false;
- // grp_btn.btn_delete.enable = false;
- // sysf_messageBox("이식 예정일이 저장되어 있는 환자 입니다.", "E999", "");
- // }else{
- // grp_btn.btn_save.enable = true; //.disabled = false;
- // grp_btn.btn_update.enable = false;
- // grp_btn.btn_delete.enable = false;
- // }
- // }
- // //model.refresh();
- // }
- }
- function grp_biz_input2_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- frmf_inputEnterKey("grp_biz.btn_search2", "onclick", new ClickEventInfo);
- }
- }
- function grp_biz_ipt_trnptschedd_onkillfocus(obj:Calendar, e:KillFocusEventInfo)
- {
- grp_biz.ipt_inschedd.value = utlf_transNullToEmpty(String(grp_biz.ipt_trnptschedd.value)).toDate().getAddDate(-9,"D").getDateFormat("YYYYMMDD") ;
- }
- function grp_biz_switch1_case1_datagrid3_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if ( ds_send.getColumn(0, "flag") == "U" ) {
- fUpdateTrnptSchedule();
- } else {
- fDelTrnptSchedule();
- fGetMonthRecipientList();
- }
- grp_biz.switch1.visible = false; //
- }
- function SMABO00800_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
-
- fGetMonthRecipientList();
- }
- }
- function grp_biz_btn_nextmonth_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( abofGetBmtPatientSearch("ds_main_hsctinfo_patinfolist", "ds_temp_bmtpatientinfo") ) {
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "deptcd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptwardcd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptroomcd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "inschedd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptschedd", "string", "" );
- dsf_makeValue( ds_main_hsctinfo_patinfolist, "trnptscherem", "string", "" );
-
- ds_main_hsctinfo_patinfolist.setColumn( 0, "deptcd" , "");
- ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptwardcd", "");
- ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptroomcd", "");
- ds_main_hsctinfo_patinfolist.setColumn( 0, "inschedd" , "");
- ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptschedd", "");
- ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptscherem", "");
- if ( ds_main.getColumn(0, "seldate") != "" ) {
- ds_main_hsctinfo_patinfolist.setColumn( 0, "trnptschedd", ds_main.getColumn(0, "seldate"));
- //model.refresh();
- grp_biz.ipt_inschedd.value = utlf_transNullToEmpty(String(grp_biz.ipt_trnptschedd.value).toDate().getAddDate(-9,"D").getDateFormat("YYYYMMDD")) ;
- }
-
- if(frmf_checkAuth("X") == true){
- ds_send_srchinfo.setColumn( 0, "pid" , ds_main_hsctinfo_patinfolist.getColumn(0, "pid"));
- ds_send_srchinfo.setColumn( 0, "trnptdg" , ds_main_hsctinfo_patinfolist.getColumn(0, "trnptdg"));
-
- //submit("TRABO00805");
- var oParam = {};
- oParam.id = "TRABO00805";
- oParam.service = "hsctcoordinatorapp.HsctSchedule";
- oParam.method = "reqGetPatScheduleCheck";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_main_patcheck_check=check";
- oParam.async = false;
- tranf_submit(oParam);
-
- if ( ds_main_patcheck_check.getColumn(0, "cnt") != "0" ) {
- grp_btn.btn_save.enable = false; //.disabled = true;
- grp_btn.btn_update.enable = false;
- grp_btn.btn_delete.enable = false;
- sysf_messageBox("이식 예정일이 저장되어 있는 환자 입니다.", "E999", "");
- }else{
- grp_btn.btn_save.enable = true; //.disabled = false;
- grp_btn.btn_update.enable = false;
- grp_btn.btn_delete.enable = false;
- }
- }
- //model.refresh();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|