123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRSD02300" position="absolute 0 0 1190 790" titletext="처방전달 물품 응급 불출" oninit="SMRSD02300_oninit" onload="SMRSD02300_onload" ontimer="SMRSD02300_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1185 23" id="group1" scrollbars="none">
- <Layouts>
- <Layout>
- <Static text="처방전달 물품 응급 불출" position="absolute 0 0 189 24" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 23 1186 782" id="group5" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 5 218 345 755" align="align:center top;" id="grp_detail">
- <Layouts>
- <Layout>
- <Button position="absolute 0 41 97 60" align="align:center middle;" id="btn_searchTree" class="btn2" taborder="18" visible="true" text="트 리 재 구 성" onclick="group5_grp_detail_btn_searchTree_onclick"/>
- <Radio position="absolute 100 43 340 58" id="rdo_viewcls" taborder="17" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1" style="textpadding:0 5 0 3;" onitemchanged="group5_grp_detail_rdo_viewcls_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">시행부서</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">처방부서</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">불출</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Grid position="absolute 0 65 338 535" treeusecheckbox="false" autofit="col" id="trv_setcode" binddataset="ds_main_PrcpGoodTrees_TreeList" oncellclick="group5_grp_detail_trv_setcode_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="320"/>
- </Columns>
- <Rows>
- <Row size="17"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" style="line:0 none #808080ff ;" text="bind:dispnm" treestartlevel="1" treelevel="bind:depth"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 350 8 1185 755" id="grp_main">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 100 835 415" id="grd_excelgood" visible="false" binddataset="ds_main_list_searchgood_searchgoodlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="66"/>
- <Column size="69"/>
- <Column size="70"/>
- <Column size="27"/>
- <Column size="183"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="55"/>
- <Column size="56"/>
- <Column size="36"/>
- <Column size="55"/>
- <Column size="40"/>
- <Column size="72"/>
- <Column size="76"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="68"/>
- <Column size="82"/>
- <Column size="82"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- </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="선불출"/>
- <Cell col="9" text="단위"/>
- <Cell col="10" text="등록번호"/>
- <Cell col="11" text="환자명"/>
- <Cell col="12" text="입외"/>
- <Cell col="13" text="병동"/>
- <Cell col="14" text="병실"/>
- <Cell col="15" text="처방부서"/>
- <Cell col="16" text="시행부서"/>
- <Cell col="17" text="수량"/>
- <Cell col="18" text="횟수"/>
- <Cell col="19" text="일수"/>
- <Cell col="20" text="집계"/>
- <Cell col="21" text="집계일자"/>
- <Cell col="22" text="구매구분"/>
- <Cell col="23" text="제조원"/>
- <Cell col="24" text="거래처"/>
- <Cell col="25"/>
- <Cell col="26"/>
- <Cell col="27"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34" text="불출일시"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" text="bind:rgstdd" calendardisplaynulltype="none"/>
- <Cell col="1" displaytype="date" text="bind:prcpdd" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:goodcd"/>
- <Cell col="3" text="bind:allsizespecid"/>
- <Cell col="4" text="bind:goodnm"/>
- <Cell col="5" text="bind:goodspec"/>
- <Cell col="6" text="bind:goodmodel"/>
- <Cell col="7" displaytype="number" text="bind:totqty"/>
- <Cell col="8" text="bind:beforqty" mask="#,###.#"/>
- <Cell col="9" text="bind:setunit"/>
- <Cell col="10" text="bind:pid2"/>
- <Cell col="11" text="bind:patnm2"/>
- <Cell col="12" text="bind:ioflag" enable="false"/>
- <Cell col="13" text="bind:wardnm"/>
- <Cell col="14" text="bind:room"/>
- <Cell col="15" text="bind:orddeptcdnm"/>
- <Cell col="16" text="bind:prcpdeptcdnm"/>
- <Cell col="17" text="bind:goodqty" mask="#,###.#"/>
- <Cell col="18" text="bind:times" mask="#,###"/>
- <Cell col="19" text="bind:dayno" mask="#,###"/>
- <Cell col="20" text="bind:sumflagnm"/>
- <Cell col="21" displaytype="date" text="bind:acptdd" mask="yyyy-mm-dd" calendardisplaynulltype="none"/>
- <Cell col="22" text="bind:purcflagnm"/>
- <Cell col="23" text="bind:prodcmpynm"/>
- <Cell col="24" text="bind:suplplcecdnm"/>
- <Cell col="25" text="bind:fstrgstrid"/>
- <Cell col="26" text="bind:fstrgstdt" mask="yyyy-mm-dd"/>
- <Cell col="27" text="bind:ward"/>
- <Cell col="28" text="bind:orddeptcd"/>
- <Cell col="29" text="bind:prcpdeptcd"/>
- <Cell col="30" text="bind:sumflag"/>
- <Cell col="31" text="bind:purcflag"/>
- <Cell col="32" text="bind:prodcmpycd"/>
- <Cell col="33" text="bind:suplplcecd"/>
- <Cell col="34" text="bind:lastupdtdt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 35 833 745" id="grd_searchgood" binddataset="ds_main_list_searchgood_searchgoodlist" oncellclick="group5_grp_main_grd_searchgood_oncellclick" cellsizingtype="col" cellsizebandtype="allband">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="24" band="left"/>
- <Column size="69" band="left"/>
- <Column size="60" band="left"/>
- <Column size="60" band="left"/>
- <Column size="70" band="left"/>
- <Column size="0" band="left"/>
- <Column size="165" band="left"/>
- <Column size="71"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="66"/>
- <Column size="80"/>
- <Column size="149"/>
- <Column size="70"/>
- <Column size="58"/>
- <Column size="46"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="43"/>
- <Column size="70"/>
- <Column size="76"/>
- <Column size="76"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="35"/>
- <Column size="70"/>
- <Column size="25"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="처방일자"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="물품코드"/>
- <Cell col="6" text="물품코드"/>
- <Cell col="7" text="물품명"/>
- <Cell col="8" text="규격"/>
- <Cell col="9" text="총수량"/>
- <Cell col="10" text="불출"/>
- <Cell col="11" text="집계"/>
- <Cell col="12" text="출력"/>
- <Cell col="13" text="대차"/>
- <Cell col="14" text="시행일자"/>
- <Cell col="15" text="처방코드"/>
- <Cell col="16" text="처방명"/>
- <Cell col="17" text="모델"/>
- <Cell col="18" text="구매구분"/>
- <Cell col="19" text="단위"/>
- <Cell col="20" text="귀가수량"/>
- <Cell col="21" text="입외"/>
- <Cell col="22" text="병동"/>
- <Cell col="23" text="병실"/>
- <Cell col="24" text="처방부서"/>
- <Cell col="25" text="시행부서"/>
- <Cell col="26" text="수량"/>
- <Cell col="27" text="횟수"/>
- <Cell col="28" text="일수"/>
- <Cell col="29" colspan="2" text="집계일자" taborder="undefined"/>
- <Cell col="31" text="불출자"/>
- <Cell col="32" text="불출일시"/>
- <Cell col="33" text="caption1"/>
- <Cell col="34" text="caption2"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- <Cell col="43"/>
- <Cell col="44"/>
- <Cell col="45"/>
- <Cell col="46"/>
- <Cell col="47"/>
- <Cell col="48"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == '1' || chk == 'Y' ? '1' : '0'"/>
- <Cell col="2" displaytype="date" text="bind:prcpdd" calendardisplaynulltype="none"/>
- <Cell col="3" style="align:left;" text="bind:pid"/>
- <Cell col="4" style="align:left;" text="bind:patnm" suppress="0"/>
- <Cell col="5" style="align:left;" text="bind:goodcd"/>
- <Cell col="6" style="align:left;" text="bind:allsizespecid"/>
- <Cell col="7" style="align:left;" text="bind:goodnm"/>
- <Cell col="8" style="align:left;" text="bind:goodspec"/>
- <Cell col="9" displaytype="number" style="background:BIND(backtotqty);background2:BIND(backtotqty);color:BIND(colortotqty);color2:BIND(colortotqty);" text="bind:totqty" mask="#,##0.#"/>
- <Cell col="10" displaytype="number" edittype="expr:editbeforqty" style="background:BIND(backbeforqty);background2:BIND(backbeforqty);color:BIND(colorbeforqty);color2:BIND(colorbeforqty);" text="bind:beforqty" mask="#,##0.#"/>
- <Cell col="11" text="bind:sumflagnm"/>
- <Cell col="12" style="background:BIND(backprntynnm);background2:BIND(backprntynnm);color:BIND(colorprntynnm);color2:BIND(colorprntynnm);" text="bind:prntynnm"/>
- <Cell col="13" style="background:BIND(backautdeliveyn);background2:BIND(backautdeliveyn);color:BIND(colorautdeliveyn);color2:BIND(colorautdeliveyn);" text="bind:autdeliveyn"/>
- <Cell col="14" displaytype="date" style="padding:2 2 2 2;background:BIND(backrgstdd);background2:BIND(backrgstdd);color:BIND(colorrgstdd);color2:BIND(colorrgstdd);" text="bind:rgstdd" calendardisplaynulltype="none"/>
- <Cell col="15" style="align:left;" text="bind:prcpcd"/>
- <Cell col="16" style="align:left;" text="bind:prcpnm"/>
- <Cell col="17" style="align:left;" text="bind:goodmodel"/>
- <Cell col="18" text="bind:purcflagnm"/>
- <Cell col="19" text="bind:setunit"/>
- <Cell col="20" text="bind:homematrqty" mask="#,###.#"/>
- <Cell col="21" style="align:left;" text="bind:ioflag" enable="false"/>
- <Cell col="22" text="bind:wardnm"/>
- <Cell col="23" style="align:left;" text="bind:room"/>
- <Cell col="24" style="align:left;" text="bind:orddeptcdnm"/>
- <Cell col="25" style="align:left;" text="bind:prcpdeptcdnm"/>
- <Cell col="26" text="bind:goodqty" mask="#,###.#"/>
- <Cell col="27" text="bind:times" mask="#,###"/>
- <Cell col="28" displaytype="number" text="bind:dayno" mask="#,###"/>
- <Cell col="29" displaytype="date" text="bind:acptdd" calendardisplaynulltype="none"/>
- <Cell col="30" text="bind:sumcnt"/>
- <Cell col="31" text="bind:lastupdtrid"/>
- <Cell col="32" displaytype="normal" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="33" text="bind:ward"/>
- <Cell col="34" text="bind:orddeptcd"/>
- <Cell col="35" text="bind:prcpdeptcd"/>
- <Cell col="36" text="bind:sumflag"/>
- <Cell col="37" text="bind:instcd"/>
- <Cell col="38" text="bind:genrdd"/>
- <Cell col="39" text="bind:genrno"/>
- <Cell col="40" text="bind:genrseq"/>
- <Cell col="41" text="bind:beforqtyold"/>
- <Cell col="42" text="bind:homematrflag"/>
- <Cell col="43" text="bind:centcd"/>
- <Cell col="44" text="bind:subdeptcd"/>
- <Cell col="45" text="bind:centcdnm"/>
- <Cell col="46" text="bind:subdeptcdnm"/>
- <Cell col="47" text="bind:prntyn"/>
- <Cell col="48" text="bind:prtndt" mask="yyyy-mm-dd hh:nn:ss"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 600 5 653 24" id="btn_excel2" class="btn5" text="Excel" onclick="group5_grp_main_btn_excel2_onclick"/>
- <Shape position="absolute 0 30 834 36" linetype="horizontal" id="lin_main" class="line_10"/>
- <Button position="absolute 0 11 16 27" id="button57" class="icon_pre_month" visible="false" text="" onclick="group5_grp_main_button57_onclick"/>
- <Button position="absolute 20 11 36 27" id="button58" class="icon_next_month" visible="false" text="" onclick="group5_grp_main_button58_onclick"/>
- <Static text="처방전달물품내역" position="absolute 5 13 580 29" id="cpt_disp" class="tit_2"/>
- <Static text="All Size" position="absolute 555 10 605 25" id="caption5" visible="false"/>
- <Static position="absolute 537 9 552 24" id="caption9" class="color_6" visible="false" style="background:#ffff00ff;"/>
- <Button position="absolute 542 4 598 26" id="btn_save" class="btn4" enable="true" text="저장" onclick="group5_grp_main_btn_save_onclick"/>
- <Button position="absolute 655 5 741 24" id="btn_wardprint" class="btn2" text="환자별 출력" onclick="group5_grp_main_btn_wardprint_onclick" tooltiptext="선불출 내용 변경시 저장 하신 후 선불출서를 출력해 주세요"/>
- <CheckBox position="absolute 23 38 43 58" id="chk_allchk" onclick="group5_grp_main_chk_allchk_onclick" truevalue="Y" falsevalue="N"/>
- <Button position="absolute 360 5 424 24" id="button3" class="btn2" taborder="20" text="알람설정" onclick="group5_grp_main_button3_onclick"/>
- <Button position="absolute 425 5 511 24" id="btn_newercp" class="btn2" taborder="22" text="응급처방(0)" onclick="group5_grp_main_btn_newercp_onclick"/>
- <Button position="absolute 743 5 829 24" id="btn_goodprint" class="btn2" text="물품별 출력" onclick="group5_grp_main_btn_goodprint_onclick" tooltiptext="선불출 내용 변경시 저장 하신 후 선불출서를 출력해 주세요"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 5 8 345 255" align="align:center top;" id="grp_key" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="기관코드 :" position="absolute 6 5 95 22" id="caption10" class="search_name"/>
- <Edit readonly="true" position="absolute 215 5 235 24" id="opt_instcd" visible="false" autoselect="true" class="output"/>
- <Calendar position="absolute 216 53 315 72" id="ipt_prcpdd2" class="input_essential" taborder="3" autoselect="true"/>
- <Calendar position="absolute 85 53 184 72" id="ipt_prcpdd" class="input_essential" taborder="2" autoselect="true"/>
- <Static text="~" position="absolute 196 53 211 73" id="caption12"/>
- <Static text="시행일자 :" position="absolute 6 53 95 70" id="caption3" class="search_name"/>
- <Radio position="absolute 20 180 70 197" id="rdo_sumflag" visible="false" columncount="3" innerdataset="ds_init_sumflag" datacolumn="label" codecolumn="value"/>
- <Radio position="absolute 95 77 335 97" id="radio1" visible="false" columncount="5" innerdataset="@ds_init_ioflag" datacolumn="label" codecolumn="value"/>
- <Static text="환자구분 :" position="absolute 6 77 95 94" id="caption8" class="search_name" visible="false"/>
- <Button position="absolute 260 5 316 27" align="align:left middle;" id="btn_search" class="btn1" taborder="19" visible="false" text="조회" onclick="group5_grp_key_btn_search_onclick"/>
- <Button position="absolute 163 77 179 93" id="button1" class="icon_search" taborder="5" text="" onclick="group5_grp_key_button1_onclick"/>
- <Static text="시행부서 :" position="absolute 6 77 99 94" id="caption2" class="search_name"/>
- <Edit position="absolute 180 77 325 96" id="ipt_prcpdeptnm" taborder="6" autoselect="true" readonly="true" class="output"/>
- <Edit position="absolute 85 77 160 96" id="ipt_prcpdeptcd" class="input_fix" taborder="4" autoselect="true"/>
- <Edit readonly="true" position="absolute 85 5 210 24" align="align:center middle;" id="opt_instcdnm" autoselect="true" class="output" style="align:center middle;"/>
- <Static text="등록번호 :" position="absolute 6 101 99 118" id="caption1" class="search_name"/>
- <Static text="환자명 :" position="absolute 170 101 263 118" id="caption4" class="search_name"/>
- <Edit position="absolute 85 101 160 120" id="ipt_pid" class="input_fix" taborder="7" autoselect="true" onkeyup="group5_grp_key_ipt_pid_onkeyup"/>
- <Edit position="absolute 235 101 325 120" id="ipt_patnm" class="input_fix" taborder="8" autoselect="true" onkeyup="group5_grp_key_ipt_patnm_onkeyup"/>
- <Static text="청구구분 :" position="absolute 6 29 92 46" align="align:center middle;" id="caption20" class="search_name"/>
- <Combo position="absolute 85 29 210 48" id="cmb_reqflag" class="combo_default" taborder="1" innerdataset="@ds_init_reqflag_reqflaglist" datacolumn="reqflagnm" codecolumn="reqflag"/>
- <Static text="구매구분 :" position="absolute 170 125 263 142" id="caption11" class="search_name"/>
- <Combo position="absolute 250 125 325 144" id="cmb_purcflag" class="combo_default" taborder="10" innerdataset="@ds_init_purcflag" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="물품코드 :" position="absolute 6 125 99 142" id="caption13" class="search_name"/>
- <Edit position="absolute 85 125 160 144" id="ipt_goodcd" class="input_fix" taborder="9" autoselect="true" onkeyup="group5_grp_key_ipt_goodcd_onkeyup"/>
- <Radio position="absolute 85 173 255 190" id="rdo_prntyn" taborder="13" columncount="3" innerdataset="@ds_init_prntyn" datacolumn="label" codecolumn="value"/>
- <Static text="출력여부 :" position="absolute 6 173 95 190" id="caption14" class="search_name"/>
- <Static text="불출여부 :" position="absolute 6 197 95 214" id="caption7" class="search_name"/>
- <Radio position="absolute 85 197 255 214" id="rdo_deliveyn" taborder="14" columncount="3" innerdataset="@ds_init_deliveprcsflag" datacolumn="label" codecolumn="value"/>
- <CheckBox position="absolute 255 221 330 241" id="chk_prcpinptflag" taborder="16" text="CCD 제외" truevalue="ignore"/>
- <Static text="처방구분 :" position="absolute 6 221 95 238" id="caption15" class="search_name"/>
- <Radio position="absolute 85 221 210 241" id="rdo_erprcpflag" taborder="15" columncount="2" innerdataset="ds_init_rdo_erprcpflag" datacolumn="label" codecolumn="value"/>
- <Edit position="absolute 235 149 325 168" id="ipt_prcpnm" class="input_fix" taborder="12" autoselect="true" onkeyup="group5_grp_key_ipt_prcpnm_onkeyup"/>
- <Edit position="absolute 85 149 160 168" id="ipt_prcpcd" class="input_fix" taborder="11" autoselect="true" onkeyup="group5_grp_key_ipt_prcpcd_onkeyup"/>
- <Static text="처방명 :" position="absolute 170 149 259 166" id="caption45" class="search_name"/>
- <Static text="처방코드 :" position="absolute 6 149 102 166" id="caption46" class="search_name"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 645 60 890 200" id="group2" visible="false">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 245 140" id="roundrect1" type="roundrectangle"/>
- <Combo position="absolute 10 110 75 129" id="cmb_alarmsec" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group2_cmb_alarmsec_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-1</Col>
- <Col id="datacolumn">끄기</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">5초</Col>
- </Row>
- <Row>
- <Col id="codecolumn">30</Col>
- <Col id="datacolumn">30초</Col>
- </Row>
- <Row>
- <Col id="codecolumn">60</Col>
- <Col id="datacolumn">1분</Col>
- </Row>
- <Row>
- <Col id="codecolumn">300</Col>
- <Col id="datacolumn">5분</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button position="absolute 120 109 176 131" id="btn_demon" class="btn1" text="실행" onclick="group2_btn_demon_onclick"/>
- <Edit readonly="true" position="absolute 40 85 235 104" id="opt_alarm" class="output"/>
- <Button position="absolute 180 109 236 131" id="button2" class="btn1" text="닫기" onclick="group2_button2_onclick"/>
- <Edit readonly="true" position="absolute 80 110 115 129" align="align:center middle;" id="opt_alarmcount" class="output"/>
- <Button position="absolute 170 60 234 79" id="btn_addfile" class="btn2" taborder="21" text="알람파일" onclick="group2_btn_addfile_onclick"/>
- <Edit position="absolute 10 60 165 79" id="opt_alarmfile" enable="false"/>
- <Static text="결과" position="absolute 10 82 45 107" id="caption16"/>
- <ActiveX position="absolute 10 10 235 55" id="sound1" progid="{6bf52a52-394a-11d3-b153-00c04f79faa6}"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 650 285 900 430" id="group3" visible="false" style="background:white;">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 250 145" id="roundrect3" type="roundrectangle" style="strokepen:2 solid #ff9900ff;"/>
- <Radio position="absolute 5 5 180 140" id="rdo_prntlist" columncount="1" innerdataset="@ds_main_list_searchgood_prntlist" datacolumn="prntkey" codecolumn="prntkey" rowcount="0"/>
- <Button position="absolute 185 45 241 67" id="button4" class="btn4" text="출력" onclick="group3_button4_onclick"/>
- <Button position="absolute 185 75 241 97" id="button5" class="btn4" text="닫기" onclick="group3_button5_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING"/>
- <Column id="value" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- <Row>
- <Col id="label">건진</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_reqflag_reqflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqflagnm" type="STRING"/>
- <Column id="reqflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_purcflag" 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_prntyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING"/>
- <Column id="value" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- </Row>
- <Row>
- <Col id="label">출력</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">미출력</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_deliveprcsflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING"/>
- <Column id="value" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- </Row>
- <Row>
- <Col id="label">미불출</Col>
- <Col id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">불출</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_rdo_erprcpflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING"/>
- <Column id="value" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_searchgood" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자 "/>
- <Column id="prcpdd2" type="STRING" size="256" sumtext="처방일자 "/>
- <Column id="sumflag" type="STRING" size="256" sumtext="집계여부 "/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
- <Column id="reqdeptcd" type="STRING" size="256" sumtext="처방부서 "/>
- <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="시행부서 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
- <Column id="goodcd_like" type="STRING" size="256" sumtext="물품코드 유사여부"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입외구분 "/>
- <Column id="deptgr" type="STRING" size="256" sumtext="부서그룹 "/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID "/>
- <Column id="demdkey" type="STRING" size="256" sumtext="청구여부 Y/N "/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호 "/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명 "/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
- <Column id="homematrflag" type="STRING" size="256" sumtext="귀가유치물품flag "/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
- <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처 "/>
- <Column id="suplplcecdnm" type="STRING" size="256" sumtext="주거래처명 "/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처 "/>
- <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
- <Column id="prntyn" type="STRING" size="256" sumtext="출력여부 "/>
- <Column id="deliveyn" type="STRING" size="256" sumtext="불출여부 "/>
- <!-- 선불출 조회 조건 추가 이창록 -->
- <Column id="querycls" type="STRING" size="256" sumtext="선불출 조회 조건"/>
- <Column id="screen_id" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="erprcpflag" type="STRING" size="256" sumtext="응급여부"/>
- <Column id="prcpinptflag" type="STRING" size="256" sumtext="처방입력구분"/>
- <Column id="wareflagarr" type="STRING" size="256" sumtext="창고구분"/>
- <!-- 처방집계 상세조회팝업 조건 추가 -->
- <Column id="acptddfr" type="STRING" size="256" sumtext="집계일자Fr "/>
- <Column id="acptddto" type="STRING" size="256" sumtext="집계일자To "/>
- <Column id="sumcnt" type="STRING" size="256" sumtext="집계횟수 "/>
- <Column id="screen_id" type="STRING" size="256" sumtext="화면ID "/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드 "/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명 "/>
- <Column id="genrsumcnt" type="STRING" size="256" sumtext="반납물품발생차수"/>
- <Column id="lastsumcnt" type="STRING" size="256" sumtext="반납물품최종차수"/>
- <Column id="facptddfr" type="STRING" size="256" sumtext="부모집계일자"/>
- <Column id="fsumcnt" type="STRING" size="256" sumtext="부모집계차수"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_searchgood_searchgoodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list_searchgood_searchgoodlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="선택 "/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자 "/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방번호 "/>
- <Column id="prcphisno" type="STRING" size="256" sumtext="처방이력번호 "/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분 "/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호(환자) "/>
- <Column id="pid2" type="STRING" size="256" sumtext="등록번호(환자) "/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명 "/>
- <Column id="patnm2" type="STRING" size="256" sumtext="환자명 "/>
- <Column id="ward" type="STRING" size="256" sumtext="병동 "/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동 "/>
- <Column id="room" type="STRING" size="256" sumtext="병실 "/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 "/>
- <Column id="orddeptcdnm" type="STRING" size="256" sumtext="진료과 "/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서코드 "/>
- <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서명 "/>
- <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="관리부서 "/>
- <Column id="prcppsn" type="STRING" size="256" sumtext="처방의 "/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자 "/>
- <Column id="setflag" type="STRING" size="256" sumtext="재료set구분 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명 "/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분 "/>
- <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
- <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
- <Column id="spec" type="STRING" size="256" sumtext="규격 "/>
- <Column id="goodqty" type="STRING" size="256" sumtext="물품수량 "/>
- <Column id="times" type="STRING" size="256" sumtext="횟수 "/>
- <Column id="dayno" type="STRING" size="256" sumtext="일수 "/>
- <Column id="totqty" type="STRING" size="256" sumtext="총수량 "/>
- <Column id="beforqty" type="STRING" size="256" sumtext="선불출수량 "/>
- <Column id="beforqtyold" type="STRING" size="256" sumtext="선불출수량변경전 "/>
- <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자 "/>
- <Column id="rgstdeptcd" type="STRING" size="256" sumtext="등록부서코드 "/>
- <Column id="sumflag" type="STRING" size="256" sumtext="집계구분 "/>
- <Column id="sumflagnm" type="STRING" size="256" sumtext="집계구분 "/>
- <Column id="prntyn" type="STRING" size="256" sumtext="출력여부 "/>
- <Column id="prntynnm" type="STRING" size="256" sumtext="출력여부명 "/>
- <Column id="acptdd" type="STRING" size="256" sumtext="접수일자 "/>
- <Column id="demdkey" type="STRING" size="256" sumtext="demdkey(수동여부) "/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자id "/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시 "/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자id "/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시 "/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID "/>
- <Column id="allsizeyn" type="STRING" size="256" sumtext="ALL SIZE 여부 "/>
- <Column id="genrdd" type="STRING" size="256" sumtext="생성일자 "/>
- <Column id="genrno" type="STRING" size="256" sumtext="생성번호 "/>
- <Column id="genrseq" type="STRING" size="256" sumtext="생성순번 "/>
- <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
- <Column id="chk" type="STRING" size="256" sumtext="Grid Check "/>
- <Column id="purcflagnm" type="STRING" size="256" sumtext="구매구분명 "/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위 "/>
- <Column id="prcpunit2" type="STRING" size="256" sumtext="처방단위 "/>
- <Column id="homematrflag" type="STRING" size="256" sumtext="귀가유치물품flag "/>
- <Column id="homematrqty" type="STRING" size="256" sumtext="귀가유치물품수량 "/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드 "/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과코드 "/>
- <Column id="centcdnm" type="STRING" size="256" sumtext="센터코드명 "/>
- <Column id="subdeptcdnm" type="STRING" size="256" sumtext="세부과코드명 "/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
- <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처 "/>
- <Column id="suplplcecdnm" type="STRING" size="256" sumtext="주거래처명 "/>
- <Column id="edicd" type="STRING" size="256" sumtext="EDI 코드 "/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
- <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
- <Column id="goodunitcost" type="STRING" size="256" sumtext="단가 "/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcppsnnm" type="STRING" size="256" sumtext="진료의사명"/>
- <Column id="sumcnt" type="STRING" size="256" sumtext="집계차수"/>
- <Column id="erprcpflag" type="STRING" size="256" sumtext="처방구분"/>
- <Column id="prntkey" type="STRING" size="256" sumtext="출력구분"/>
- <Column id="cmt" type="STRING" size="256" sumtext="Remark"/>
- <Column id="rtnqty" type="STRING" size="256" sumtext="반납수량"/>
- <Column id="autdeliveyn" type="STRING" size="256" sumtext="대차불출여부"/>
- <Column id="sumyn" type="STRING" size="256" sumtext="집계여부"/>
- <Column id="facptddfr" type="STRING" size="256" sumtext="부모집계일자"/>
- <Column id="fsumcnt" type="STRING" size="256" sumtext="부모집계차수"/>
- <Column id="execprcpuniqno" type="STRING" size="256" sumtext="처방일련번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_searchgood_prntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prntkey" type="STRING" size="256" sumtext="출력키 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_searchgood_groupgoodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서코드"/>
- <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서명"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명"/>
- <Column id="beforqty" type="STRING" size="256" sumtext="선불출수량"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
- <Column id="prntkey" type="STRING" size="256" sumtext="출력구분"/>
- <Column id="autdeliveyn" type="STRING" size="256" sumtext="대차불출여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_searchgood_goodsumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="i_sum_qty" type="STRING" size="256" sumtext="입원처방수량"/>
- <Column id="o_sum_qty" type="STRING" size="256" sumtext="외래처방수량"/>
- <Column id="s_sum_qty" type="STRING" size="256" sumtext="건진처방수량"/>
- <Column id="e_sum_qty" type="STRING" size="256" sumtext="응급처방수량"/>
- <Column id="total_qty" type="STRING" size="256" sumtext="전체수량"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_SearchTree" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_SearchTree_oncolumnchanged">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="prcpdd2" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="sumflag" type="STRING" size="256" sumtext="집계여부"/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="시행부서"/>
- <Column id="prcpdeptnm" type="STRING" size="256" sumtext="시행부서명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입외구분"/>
- <Column id="querycls" type="STRING" size="256" sumtext="조회구분 1:처방부서,2:시행부서별"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구구분"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="reqprid" type="STRING" size="256" sumtext="청구주기"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodcd_like" type="STRING" size="256" sumtext="물품코드 유사여부"/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분"/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드"/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
- <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처"/>
- <Column id="suplplcecdnm" type="STRING" size="256" sumtext="주거래처명"/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처"/>
- <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명"/>
- <Column id="prntyn" type="STRING" size="256" sumtext="출력여부"/>
- <Column id="deliveyn" type="STRING" size="256" sumtext="불출여부"/>
- <Column id="erprcpflag" type="STRING" size="256" sumtext="응급여부"/>
- <Column id="prcpinptflag" type="STRING" size="256" sumtext="처방입력구분"/>
- <Column id="screen_id" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="wareflagarr" type="STRING" size="256" sumtext="창고구분"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="instcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_PrcpGoodTrees_TreeList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depth" type="STRING" size="256" sumtext=" 01 LEVEL "/>
- <Column id="pcode" type="STRING" size="256" sumtext=" 02 상위결합코드 "/>
- <Column id="codecd" type="STRING" size="256" sumtext=" 03 코드 "/>
- <Column id="codenm" type="STRING" size="256" sumtext=" 04 코드명 "/>
- <Column id="dispnm" type="STRING" size="256" sumtext=" 05 DISPLAY 명칭 "/>
- <Column id="basecode" type="STRING" size="256" sumtext=" 06 상위코드 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_save_rsihopmabefore" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="00 기관코드 "/>
- <Column id="genrdd" type="STRING" size="256" sumtext="01 생성일자 "/>
- <Column id="genrno" type="STRING" size="256" sumtext="02 생성번호 "/>
- <Column id="genrseq" type="STRING" size="256" sumtext="03 생성순번 "/>
- <Column id="beforqty" type="BIGDECIMAL" size="256" sumtext="04 선불출수량 "/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_save_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="01 기관코드"/>
- <Column id="genrdd" type="STRING" size="256" sumtext="02 생성일자"/>
- <Column id="genrno" type="STRING" size="256" sumtext="03 생성번호"/>
- <Column id="genrseq" type="STRING" size="256" sumtext="04 생성순번"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prntkey" type="STRING" size="256"/>
- <Column id="allchk" type="STRING" size="256"/>
- <Column id="alarmfile" type="STRING" size="256"/>
- <Column id="demonresult" type="STRING" size="256"/>
- <Column id="alarmsec" type="STRING" size="256"/>
- <Column id="alarmcount" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_sumflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- </Row>
- <Row>
- <Col id="label">집계</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">미집계</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_checkercpdelivery" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ercpcount" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_prcpprntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="erprcpflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_prtinfo_gooddetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="선택 "/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자 "/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방번호 "/>
- <Column id="prcphisno" type="STRING" size="256" sumtext="처방이력번호 "/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
- <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분 "/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호(환자) "/>
- <Column id="pid2" type="STRING" size="256" sumtext="등록번호(환자) "/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명 "/>
- <Column id="patnm2" type="STRING" size="256" sumtext="환자명 "/>
- <Column id="ward" type="STRING" size="256" sumtext="병동 "/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동 "/>
- <Column id="room" type="STRING" size="256" sumtext="병실 "/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 "/>
- <Column id="orddeptcdnm" type="STRING" size="256" sumtext="진료과 "/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서코드 "/>
- <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서명 "/>
- <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="관리부서 "/>
- <Column id="prcppsn" type="STRING" size="256" sumtext="처방의 "/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자 "/>
- <Column id="setflag" type="STRING" size="256" sumtext="재료set구분 "/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명 "/>
- <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
- <Column id="goodflag" type="STRING" size="256" sumtext="물품구분 "/>
- <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
- <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
- <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
- <Column id="spec" type="STRING" size="256" sumtext="규격 "/>
- <Column id="goodqty" type="STRING" size="256" sumtext="물품수량 "/>
- <Column id="times" type="STRING" size="256" sumtext="횟수 "/>
- <Column id="dayno" type="STRING" size="256" sumtext="일수 "/>
- <Column id="totqty" type="STRING" size="256" sumtext="총수량 "/>
- <Column id="beforqty" type="STRING" size="256" sumtext="선불출수량 "/>
- <Column id="beforqtyold" type="STRING" size="256" sumtext="선불출수량변경전 "/>
- <Column id="rgstdd" type="STRING" size="256" sumtext="등록일자 "/>
- <Column id="rgstdeptcd" type="STRING" size="256" sumtext="등록부서코드 "/>
- <Column id="sumflag" type="STRING" size="256" sumtext="집계구분 "/>
- <Column id="sumflagnm" type="STRING" size="256" sumtext="집계구분 "/>
- <Column id="prntyn" type="STRING" size="256" sumtext="출력여부 "/>
- <Column id="prntynnm" type="STRING" size="256" sumtext="출력여부명 "/>
- <Column id="acptdd" type="STRING" size="256" sumtext="접수일자 "/>
- <Column id="demdkey" type="STRING" size="256" sumtext="demdkey(수동여부) "/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자id "/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시 "/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자id "/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시 "/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격 "/>
- <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID "/>
- <Column id="allsizeyn" type="STRING" size="256" sumtext="ALL SIZE 여부 "/>
- <Column id="genrdd" type="STRING" size="256" sumtext="생성일자 "/>
- <Column id="genrno" type="STRING" size="256" sumtext="생성번호 "/>
- <Column id="genrseq" type="STRING" size="256" sumtext="생성순번 "/>
- <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
- <Column id="chk" type="STRING" size="256" sumtext="Grid Check "/>
- <Column id="purcflagnm" type="STRING" size="256" sumtext="구매구분명 "/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위 "/>
- <Column id="prcpunit2" type="STRING" size="256" sumtext="처방단위 "/>
- <Column id="homematrflag" type="STRING" size="256" sumtext="귀가유치물품flag "/>
- <Column id="homematrqty" type="STRING" size="256" sumtext="귀가유치물품수량 "/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드 "/>
- <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과코드 "/>
- <Column id="centcdnm" type="STRING" size="256" sumtext="센터코드명 "/>
- <Column id="subdeptcdnm" type="STRING" size="256" sumtext="세부과코드명 "/>
- <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
- <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
- <Column id="suplplcecd" type="STRING" size="256" sumtext="주거래처 "/>
- <Column id="suplplcecdnm" type="STRING" size="256" sumtext="주거래처명 "/>
- <Column id="edicd" type="STRING" size="256" sumtext="EDI 코드 "/>
- <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
- <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
- <Column id="goodunitcost" type="STRING" size="256" sumtext="단가 "/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcppsnnm" type="STRING" size="256" sumtext="진료의사명"/>
- <Column id="sumcnt" type="STRING" size="256" sumtext="집계차수"/>
- <Column id="erprcpflag" type="STRING" size="256" sumtext="처방구분"/>
- <Column id="prntkey" type="STRING" size="256" sumtext="출력구분"/>
- <Column id="cmt" type="STRING" size="256" sumtext="Remark"/>
- <Column id="rtnqty" type="STRING" size="256" sumtext="반납수량"/>
- <Column id="autdeliveyn" type="STRING" size="256" sumtext="대차불출여부"/>
- <Column id="sumyn" type="STRING" size="256" sumtext="집계여부"/>
- <Column id="facptddfr" type="STRING" size="256" sumtext="부모집계일자"/>
- <Column id="fsumcnt" type="STRING" size="256" sumtext="부모집계차수"/>
- <Column id="execprcpuniqno" type="STRING" size="256" sumtext="처방일련번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_prtinfo_groupgoodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="prcpdeptcd" type="STRING" size="256" sumtext="처방부서코드"/>
- <Column id="prcpdeptcdnm" type="STRING" size="256" sumtext="처방부서명"/>
- <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
- <Column id="goodnm" type="STRING" size="256" sumtext="물품코드명"/>
- <Column id="beforqty" type="STRING" size="256" sumtext="선불출수량"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
- <Column id="allsizespecid" type="STRING" size="256" sumtext="ALL SIZE ID"/>
- <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
- <Column id="prntkey" type="STRING" size="256" sumtext="출력구분"/>
- <Column id="autdeliveyn" type="STRING" size="256" sumtext="대차불출여부"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group5.grp_key.opt_instcdnm" propid="value" datasetid="ds_send_SearchTree" columnid="instcdnm"/>
- <BindItem id="item1" compid="group5.grp_key.opt_instcd" propid="value" datasetid="ds_send_SearchTree" columnid="instcd"/>
- <BindItem id="item2" compid="group5.grp_key.cmb_reqflag" propid="value" datasetid="ds_send_SearchTree" columnid="reqflag"/>
- <BindItem id="item3" compid="group5.grp_key.ipt_prcpdd" propid="value" datasetid="ds_send_SearchTree" columnid="prcpdd"/>
- <BindItem id="item4" compid="group5.grp_key.ipt_prcpdd2" propid="value" datasetid="ds_send_SearchTree" columnid="prcpdd2"/>
- <BindItem id="item5" compid="group5.grp_key.ipt_prcpdeptcd" propid="value" datasetid="ds_send_SearchTree" columnid="prcpdeptcd"/>
- <BindItem id="item6" compid="group5.grp_key.ipt_prcpdeptnm" propid="value" datasetid="ds_send_SearchTree" columnid="prcpdeptnm"/>
- <BindItem id="item7" compid="group5.grp_key.ipt_pid" propid="value" datasetid="ds_send_SearchTree" columnid="pid"/>
- <BindItem id="item8" compid="group5.grp_key.ipt_patnm" propid="value" datasetid="ds_send_SearchTree" columnid="patnm"/>
- <BindItem id="item9" compid="group5.grp_key.ipt_goodcd" propid="value" datasetid="ds_send_SearchTree" columnid="goodcd"/>
- <BindItem id="item10" compid="group5.grp_key.cmb_purcflag" propid="value" datasetid="ds_send_SearchTree" columnid="purcflag"/>
- <BindItem id="item11" compid="group5.grp_key.ipt_prcpcd" propid="value" datasetid="ds_send_SearchTree" columnid="prcpcd"/>
- <BindItem id="item12" compid="group5.grp_key.ipt_prcpnm" propid="value" datasetid="ds_send_SearchTree" columnid="prcpnm"/>
- <BindItem id="item13" compid="group5.grp_key.rdo_prntyn" propid="value" datasetid="ds_send_SearchTree" columnid="prntyn"/>
- <BindItem id="item14" compid="group5.grp_key.rdo_sumflag" propid="value" datasetid="ds_send_SearchTree" columnid="sumflag"/>
- <BindItem id="item15" compid="group5.grp_key.rdo_deliveyn" propid="value" datasetid="ds_send_SearchTree" columnid="deliveyn"/>
- <BindItem id="item16" compid="group5.grp_key.rdo_erprcpflag" propid="value" datasetid="ds_send_SearchTree" columnid="erprcpflag"/>
- <BindItem id="item17" compid="group5.grp_key.chk_prcpinptflag" propid="value" datasetid="ds_send_SearchTree" columnid="prcpinptflag"/>
- <BindItem id="item18" compid="group5.grp_detail.rdo_viewcls" propid="value" datasetid="ds_send_SearchTree" columnid="querycls"/>
- <BindItem id="item19" compid="group5.grp_key.radio1" propid="value" datasetid="ds_send_SearchTree" columnid="ioflag"/>
- <BindItem id="item20" compid="group3.rdo_prntlist" propid="value" datasetid="ds_temp" columnid="prntkey"/>
- <BindItem id="item21" compid="group5.grp_main.chk_allchk" propid="value" datasetid="ds_temp" columnid="allchk"/>
- <BindItem id="item22" compid="group2.opt_alarmfile" propid="value" datasetid="ds_temp" columnid="alarmfile"/>
- <BindItem id="item23" compid="group2.opt_alarm" propid="value" datasetid="ds_temp" columnid="demonresult"/>
- <BindItem id="item24" compid="group2.cmb_alarmsec" propid="value" datasetid="ds_temp" columnid="alarmsec"/>
- <BindItem id="item25" compid="group2.opt_alarmcount" propid="value" datasetid="ds_temp" columnid="alarmcount"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : mis_reqxp -> SMRSD02300
- * Creator : yjh
- * Make Date : 2017-11-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-11-01 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_reqxp::SMRSD02200.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_miscommonxp::RSZ001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var fv_defaultPath = group5;
- var fv_defaultPath2 = group5.grp_key;
- var fv_defaultPath3 = group5.grp_key;
- var fv_documentCookie = "";
- var arErrorCode = new HashArray();
- var fv_radioPath = group3;
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- var alarmTimer = -1;
- var alarmFile = "c:\\ALARM.wav";
- function fCheckTimer() {
- ds_temp.setColumn(0, "alarmcount", alarmTimer);
-
- if(alarmTimer != -1) {
- alarmTimer -= 1;
- if(alarmTimer < 0) {
- fSearchNewErprcp();
- alarmTimer = ds_temp.getColumn(0, "alarmsec");
- }
- }
- }
- function fSearchNewErprcp() {
- var oParam = {};
- oParam.id = "TRRSD02211";
- oParam.service = "reqapp.ReqMngt";
- oParam.method = "reqGetCheckErpcDelivery";
- oParam.inds = "req=ds_send_SearchTree";
- oParam.outds = "ds_hidden_checkercpdelivery=checkercpdelivery";
- oParam.async = false;
- oParam.callback = "responseHandlerTRRSD02211";
- tranf_submit(oParam);
- }
- function playsound(){
- group2.sound1.url = alarmFile;
- }
- function responseHandlerTRRSD02211(submitUUID, response, responseType) {
- // 서버에서 전달된 결과를 instance에 맵핑
- //defualtResponseHandler(submitUUID, response, responseType);
- var ercpcount = ds_hidden_checkercpdelivery.getColumn(0, "ercpcount");
- ds_temp.setColumn(0, "demonresult",ercpcount + "건의 미불출 응급처방이 있습니다.");
-
- group5.grp_main.btn_newercp.text = "응급처방(" + ercpcount + ")";
-
- if(ercpcount > 0) playsound();
- }
- function setCookie(strName, strValue, intDate)
- {
- var strExpires = "";
- if(!utlf_isNull(intDate) && !isNaN(intDate))
- {
- var dtmToday = new Date();
- dtmToday.setDate(dtmToday.getDate() + parseInt(intDate));
- strExpires = "; expires=" + dtmToday.toGMTString();
- }
- fv_documentCookie = strName + "=" + escape(strValue) + strExpires + "; ";
- }
- function getCookie(strName)
- {
- var arrCookie = fv_documentCookie.split("; ");
- var arrCrumb;
- for (var i=0;i<arrCookie.length;i++)
- {
- arrCrumb = arrCookie[i].split("=");
- if (strName==arrCrumb[0].replace(/^\s+/, ""))
- return unescape(arrCrumb[1]);
- }
- return null;
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMRSD02300
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMRSD02300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMRSD02300
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMRSD02300_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send_SearchTree.setColumn(0, "querycls", "0");
- ds_send_SearchTree.setColumn(0, "erprcpflag", "Y");
-
- grdf_setGridSort(group5.grp_main.grd_searchgood);
- grdf_setGridSort(group5.grp_main.grd_excelgood);
-
- misfComboComCdList("R0111", group5.grp_key.cmb_purcflag, "Y"); //구매구분
- rszfUserReqFlagList("group5.grp_key.cmb_reqflag",sysf_getUserInfo("dutplceinstcd"),sysf_getUserInfo("userid"),"%","B");
- fInit(); // 화면 Control을 초기화한다
-
- group5.grp_key.cmb_reqflag.index = 0; //청구구분
-
- vProgramCls = "SMRSD02300";
-
- this.setTimer(0, 1000);
-
- if( !utlf_isNull(getCookie("alarmTimer")) ) {
- group2.cmb_alarmsec.value = getCookie("alarmTimer");
- alarmTimer = getCookie("alarmTimer");
- } else {
- group2.cmb_alarmsec.index = 0;
- }
-
- ds_temp.setColumn(0, "alarmfile", alarmFile);
-
- fSearchNewErprcp();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_searchTree
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 트리재구성버튼 클릭시
- ****************************************************************************************/
- function group5_grp_detail_btn_searchTree_onclick(obj:Button, e:ClickEventInfo)
- {
- fDataSearchTree();
- ds_prcpprntinfo.setColumn(0, "usernm" ,sysf_getUserInfo("usernm"));
- ds_prcpprntinfo.setColumn(0, "erprcpflag", ds_send_SearchTree.getColumn(0, "erprcpflag"));
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_viewcls
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라디오 값 변경시
- ****************************************************************************************/
- function group5_grp_detail_rdo_viewcls_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fDataSearchTree();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_list_searchgood_searchgoodlist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_list_searchgood_searchgoodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chk" ){
- if( e.newvalue == "1" || e.newvalue == "Y" ){
- obj.setColumn(e.row, e.columnid, "Y");
- }else{
- obj.setColumn(e.row, e.columnid, "N");
- }
- }else{
- fBeforQtyOnChange(e.row, 1);
-
- if(e.row < obj.rowcount){
- obj.rowposition = e.row + 1
- group5.grp_main.grd_searchgood.setCellPos(group5.grp_main.grd_searchgood.getBindCellIndex("body", "beforqty"));
- }
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_searchgood
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function group5_grp_main_grd_searchgood_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- switch( e.col ){
- case 1 :
- ds_main_list_searchgood_searchgoodlist.enableevent = false;
- ds_main_list_searchgood_searchgoodlist.updatecontrol = false;
-
- if( ds_main_list_searchgood_searchgoodlist.getColumn(e.row, "chk") == "Y" ){
- var totqty = ds_main_list_searchgood_searchgoodlist.getColumn(e.row, "totqty");
- ds_main_list_searchgood_searchgoodlist.setColumn(e.row, "beforqty", totqty);
- }else{
- ds_main_list_searchgood_searchgoodlist.setColumn(e.row, "beforqty", "0");
- }
-
- ds_main_list_searchgood_searchgoodlist.updatecontrol = true;
- ds_main_list_searchgood_searchgoodlist.enableevent = true;
-
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function group5_grp_main_btn_excel2_onclick(obj:Button, e:ClickEventInfo)
- {
- var vdate = new Date();
- var HH = vdate.getHours();
- var MI = vdate.getMinutes();
- var SS = vdate.getSeconds();
- var vTime = HH +"" + MI +"" + SS;
- var vFileNM = "처방전달물품내역_"+utlf_getCurrentDate()+ vTime;
-
- grdf_exportExcel(group5.grp_main.grd_excelgood, vFileNM, vFileNM, false, "", "user", false);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button57
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : <버튼 클릭시
- ****************************************************************************************/
- function group5_grp_main_button57_onclick(obj:Button, e:ClickEventInfo)
- {
- fDataPartToggle("1");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button58
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : >버튼 클릭시
- ****************************************************************************************/
- function group5_grp_main_button58_onclick(obj:Button, e:ClickEventInfo)
- {
- fDataPartToggle("0");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function group5_grp_main_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fBeforQtyDataSave(); // Data를 저장한다.
- fSearchNewErprcp();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_wardprint
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 환자별 출력버튼 클릭시
- ****************************************************************************************/
- function group5_grp_main_btn_wardprint_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grdf_getGridUpdateData(group5.grp_main.grd_searchgood).rowcount > 0) {
- if(sysf_messageBox("변경 된 내용을 ","Q002") == "6"){
- fBeforQtyDataSave();
- } else {
- return;
- }
- }
-
- ds_prtinfo_gooddetlist.clearData();
-
- if(ds_main_list_searchgood_searchgoodlist.findRowExpr("beforqty!='0'") < 0){
- sysf_messageBox("출력할 내용이","I004");
- return;
- }
-
- // copyNodesetType("/root/prtinfo/gooddetlist","/root/main/list/searchgood/searchgoodlist[beforqty != '0' and sumflag == 'N']","replace");
- ds_main_list_searchgood_searchgoodlist.filter("beforqty!='0'");
- ds_prtinfo_gooddetlist.copyData(ds_main_list_searchgood_searchgoodlist, true);
- ds_main_list_searchgood_searchgoodlist.filter("");
-
- if(ds_prtinfo_gooddetlist.rowcount == 0){
- ds_prtinfo_gooddetlist.addRow();
- }
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/prcpprntinfo", ds_prcpprntinfo); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "/root/prtinfo/gooddetlist", ds_prtinfo_gooddetlist); // 데이터셋 1
-
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPRSD02203"],[objParam], option);
-
- // fBeforQtyDataSave(); // Data를 저장한다.
- fPrntDataSave();
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : chk_allchk
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function group5_grp_main_chk_allchk_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var allchk = ds_temp.getColumn(0, "allchk");
- if(allchk=="Y"){
- for(var i=0; i < ds_main_list_searchgood_searchgoodlist.rowcount;i++){
- ds_main_list_searchgood_searchgoodlist.setColumn(i, "chk", "Y");
- ds_main_list_searchgood_searchgoodlist.setColumn(i, "beforqty", ds_main_list_searchgood_searchgoodlist.getColumn(i, "totqty"));
- }
- }else{
- for(var i=0; i < ds_main_list_searchgood_searchgoodlist.rowcount;i++){
- ds_main_list_searchgood_searchgoodlist.setColumn(i, "chk", "N");
- ds_main_list_searchgood_searchgoodlist.setColumn(i, "beforqty", "0");
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 알림설정버튼 클릭시
- ****************************************************************************************/
- function group5_grp_main_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.visible = true;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_newercp
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 응급처방(0)버튼 클릭시
- ****************************************************************************************/
- function group5_grp_main_btn_newercp_onclick(obj:Button, e:ClickEventInfo)
- {
- group5.grp_key.ipt_prcpdeptcd.value = "";
- group5.grp_key.ipt_prcpdeptnm.value = "";
- group5.grp_key.ipt_pid.value = "";
- group5.grp_key.ipt_patnm.value = "";
- group5.grp_key.ipt_goodcd.value = "";
- group5.grp_key.cmb_purcflag.value = "";
- group5.grp_key.rdo_prntyn.value = "";
- group5.grp_key.rdo_deliveyn.value = "N";
- group5.grp_key.chk_prcpinptflag.value = "ignore";
- group5.grp_detail.rdo_viewcls.value = "0";
-
- group5.grp_detail.btn_searchTree.click();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_goodprint
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 물품별 출력버튼 클릭시
- ****************************************************************************************/
- function group5_grp_main_btn_goodprint_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grdf_getGridUpdateData(group5.grp_main.grd_searchgood).rowcount > 0) {
- if(sysf_messageBox("변경 된 내용을 ","Q002") == "6"){
- fBeforQtyDataSave();
- } else {
- return;
- }
- }
-
- ds_prtinfo_groupgoodlist.clearData();
-
- if(ds_main_list_searchgood_groupgoodlist.rowcount < 1){
- sysf_messageBox("출력할 내용이","I004");
- return;
- } else {
- if(ds_main_list_searchgood_groupgoodlist.findRowExpr("prntkey==null || prntkey=='' || prntkey=='undefined' || prntkey==' '") > -1) {
- ds_main_list_searchgood_groupgoodlist.filter("prntkey==null || prntkey=='' || prntkey=='undefined' || prntkey==' '");
- ds_prtinfo_groupgoodlist.copyData(ds_main_list_searchgood_groupgoodlist, true);
- ds_main_list_searchgood_groupgoodlist.filter("");
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/prtinfo/groupgoodlist", ds_prtinfo_groupgoodlist); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "/root/prcpprntinfo", ds_prcpprntinfo); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPRSD02204"],[objParam], option);
-
- fPrntDataSave();
-
- return;
- }
- if(ds_main_list_searchgood_prntlist.rowcount > 1){
- ds_temp.setColumn(0, "prntkey", "");
-
- group3.rdo_prntlist.index = 0;
- group5.enable = false;
- group3.visible = true;
- return;
- } else {
- ds_prtinfo_groupgoodlist.copyData(ds_main_list_searchgood_groupgoodlist);
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/prtinfo/groupgoodlist", ds_prtinfo_groupgoodlist); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "/root/prcpprntinfo", ds_prcpprntinfo); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPRSD02204"],[objParam], option);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group5_grp_key_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- misfGridInit(group5.grp_main.grd_searchgood);
- //misfGridInit(grd_orderlist);
- misfMsterDetailRetrieve();
-
- //fAfterRetrieve();
- misfSetReadOnlyCol(group5.grp_main.grd_searchgood, "sumflag", true);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function group5_grp_key_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var recv_list = "prcpdeptcd,prcpdeptnm";
- misfOpenPopUpList("02", group5.grp_key.ipt_prcpdeptcd,"", recv_list) ;
-
- fDataSearchTree();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_send_SearchTree
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_send_SearchTree_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "prcpdeptcd" :
- misfSearchDept(group5.grp_key.ipt_prcpdeptnm);
- break;
-
- case "prcpinptflag" :
- if( e.newvalue != "ignore" ){
- obj.setColumn(e.row, e.columnid, "");
- }
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_pid
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group5_grp_key_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- group5.grp_detail.btn_searchTree.click();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_patnm
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group5_grp_key_ipt_patnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- group5.grp_detail.btn_searchTree.click();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_goodcd
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group5_grp_key_ipt_goodcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- group5.grp_detail.btn_searchTree.click();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_prcpnm
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group5_grp_key_ipt_prcpnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- group5.grp_detail.btn_searchTree.click();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_prcpcd
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group5_grp_key_ipt_prcpcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
-
- group5.grp_detail.btn_searchTree.click();
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_alarmsec
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group2_cmb_alarmsec_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- alarmTimer = group2.cmb_alarmsec.value;
- setCookie("alarmTimer",group2.cmb_alarmsec.value,30);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_demon
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 실행버튼 클릭시
- ****************************************************************************************/
- function group2_btn_demon_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearchNewErprcp();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기버튼 클릭시
- ****************************************************************************************/
- function group2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_addfile
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 알림파일버튼 클릭시
- ****************************************************************************************/
- function group2_btn_addfile_onclick(obj:Button, e:ClickEventInfo)
- {
- var fd = new FileDialog;
-
- var objVFileList = fd.open("FileOpen", FileDialog.SINGLELOAD); // 여러파일 선택 MULTILOAD //Wave Files (*.wav)|*.wav
-
- if( !utlf_isNull(objVFileList) ){
- ds_temp.setColumn(0, "alarmfile", objVFileList.fullpath);
- alarmFile = objVFileList.fullpath;
- group2.sound1.url = objVFileList.fullpath;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 출력버튼 클릭시
- ****************************************************************************************/
- function group3_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_prtinfo_groupgoodlist.clearData();
-
- group5.enable = false;
- group3.visible = true;
-
- ds_main_list_searchgood_groupgoodlist.filter("prntkey=='"+ds_temp.getColumn(0, "prntkey")+"'");
- ds_prtinfo_groupgoodlist.copyData(ds_main_list_searchgood_groupgoodlist, true); // 전체 선불출 노드
- ds_main_list_searchgood_groupgoodlist.filter("");
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/prtinfo/groupgoodlist", ds_prtinfo_groupgoodlist); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "/root/prcpprntinfo", ds_prcpprntinfo); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPRSD02204"],[objParam], option);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button5
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기버튼 클릭시
- ****************************************************************************************/
- function group3_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- group5.enable = true;
- group3.visible = false;
- }
- function SMRSD02300_ontimer(obj:Form, e:TimerEventInfo)
- {
- switch( e.timerid ){
- case 0 :
- //this.killTimer(0);
-
- fCheckTimer();
-
- break;
-
- default :
- break;
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : trv_setcode
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function group5_grp_detail_trv_setcode_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fDataSearchDetail(ds_main_PrcpGoodTrees_TreeList.rowposition, "D");
- }
- ]]></Script>
- </Form>
- </FDL>
|