123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPAEA01102" position="absolute 0 0 689 438" titletext="처방상세내역" oninit="SPAEA01102_oninit" onload="SPAEA01102_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="처방상세내역" class="tit_2" position="absolute 0 7 120 24"/>
- <Shape id="line1" class="line_10" position="absolute 0 23 687 29"/>
- <Grid id="grd_subprcplist" taborder="1" binddataset="ds_main_subordlist_subordlist4" scrollbars="autovert" useinputpanel="false" position="absolute 0 28 688 405" onrbuttonup="grd_subprcplist_onrbuttonup" oncellclick="grd_subprcplist_oncellclick" selecttype="multirow" onlbuttonup="grd_subprcplist_onlbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="19"/>
- <Column size="61"/>
- <Column size="0"/>
- <Column size="73"/>
- <Column size="220"/>
- <Column size="72"/>
- <Column size="72"/>
- <Column size="73"/>
- <Column size="73"/>
- <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"/>
- <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" text="상태"/>
- <Cell col="2" text="M"/>
- <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="payflagcd"/>
- <Cell col="10" text="pid"/>
- <Cell col="11" text="prcpno"/>
- <Cell col="12" text="execprcpuniqno"/>
- <Cell col="13" text="gubn"/>
- <Cell col="14" text="rcptdd"/>
- <Cell col="15" text="prcpclscd"/>
- <Cell col="16" text="carecnfmdd"/>
- <Cell col="17" text="prcpgenrflag"/>
- <Cell col="18" text="orddeptcd"/>
- <Cell col="19" text="orddrid"/>
- <Cell col="20" text="ioflag"/>
- <Cell col="21" text="cretno"/>
- <Cell col="22" text="prcphistno"/>
- <Cell col="23" text="opansflagcd"/>
- <Cell col="24" text="suppdeptcd"/>
- <Cell col="25" text="orddd"/>
- <Cell col="26" text="inclprcpcd"/>
- <Cell col="27" text="inclprcpno"/>
- <Cell col="28" text="rootgubn"/>
- <Cell col="29" text="execprcphistcd"/>
- <Cell col="30" text="execprcpstatcd"/>
- <Cell col="31" text="prcpflag"/>
- <Cell col="32" text="prcpvol"/>
- <Cell col="33" text="prcpvolunitflag"/>
- <Cell col="34" text="prcpqty"/>
- <Cell col="35" text="prcpqtyunitflag"/>
- <Cell col="36" text="prcptims"/>
- <Cell col="37" text="drugmthdspccd"/>
- <Cell col="38" text="eccdyn"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:check"/>
- <Cell col="1" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:statcd"/>
- <Cell col="2" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:mset"/>
- <Cell col="3" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:calcscorcd"/>
- <Cell col="4" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:prcpnm"/>
- <Cell col="5" displaytype="date" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:prcpdd" calendardisplaynulltype="none"/>
- <Cell col="6" displaytype="date" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:acptdt" calendardisplay="edit" calendardisplaynulltype="none"/>
- <Cell col="7" displaytype="date" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:execdd" calendardisplay="edit" calendardisplaynulltype="none"/>
- <Cell col="8" displaytype="date" style="background:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');background2:EXPR(execprcphistcd == 'E' || execprcphistcd == 'D' || execprcphistcd == 'L' ? '#f3e1bf' : '');" text="bind:cnfmdt" calendardisplaynulltype="none"/>
- <Cell col="9" text="bind:payflagcd"/>
- <Cell col="10" text="bind:pid"/>
- <Cell col="11" text="bind:prcpno"/>
- <Cell col="12" text="bind:execprcpuniqno"/>
- <Cell col="13" text="bind:gubn"/>
- <Cell col="14" text="bind:rcptdd"/>
- <Cell col="15" text="bind:prcpclscd"/>
- <Cell col="16" text="bind:carecnfmdd"/>
- <Cell col="17" text="bind:prcpgenrflag"/>
- <Cell col="18" text="bind:orddeptcd"/>
- <Cell col="19" text="bind:orddrid"/>
- <Cell col="20" text="bind:ioflag"/>
- <Cell col="21" text="bind:cretno"/>
- <Cell col="22" text="bind:prcphistno"/>
- <Cell col="23" text="bind:opansflagcd"/>
- <Cell col="24" text="bind:suppdeptcd"/>
- <Cell col="25" text="bind:orddd"/>
- <Cell col="26" text="bind:inclprcpcd"/>
- <Cell col="27" text="bind:inclprcpno"/>
- <Cell col="28" text="bind:rootgubn"/>
- <Cell col="29" text="bind:execprcphistcd"/>
- <Cell col="30" text="bind:execprcpstatcd"/>
- <Cell col="31" text="bind:prcpflag"/>
- <Cell col="32" text="bind:prcpvol"/>
- <Cell col="33" text="bind:prcpvolunitflag"/>
- <Cell col="34" text="bind:prcpqty"/>
- <Cell col="35" text="bind:prcpqtyunitflag"/>
- <Cell col="36" text="bind:prcptims"/>
- <Cell col="37" text="bind:drugmthdspccd"/>
- <Cell col="38" text="bind:eccdyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_prcplist" taborder="2" binddataset="ds_init_popupdata" useinputpanel="false" visible="false" position="absolute 145 175 553 343">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="16"/>
- <Column size="62"/>
- <Column size="61"/>
- <Column size="38"/>
- <Column size="73"/>
- <Column size="58"/>
- <Column size="76"/>
- <Column size="104"/>
- <Column size="70"/>
- <Column size="41"/>
- <Column size="109"/>
- <Column size="137"/>
- <Column size="101"/>
- <Column size="62"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="68"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="39"/>
- <Column size="49"/>
- <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"/>
- <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"/>
- <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="S/A"/>
- <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="전화번호1"/>
- <Cell col="19" text="전화번호2"/>
- <Cell col="20" text="키"/>
- <Cell col="21" text="몸무게"/>
- <Cell col="22" text="execprcpuniqno"/>
- <Cell col="23" text="prcpexecdeptcd"/>
- <Cell col="24" text="excuroomcd"/>
- <Cell col="25" text="inflag"/>
- <Cell col="26" text="rcptacptyn"/>
- <Cell col="27" text="ExecBaseFlag"/>
- <Cell col="28" text="excupartcd"/>
- <Cell col="29" text="modality"/>
- <Cell col="30" text="execrem"/>
- <Cell col="31" text="prcpdelivefact"/>
- <Cell col="32" text="carecnfmdd"/>
- <Cell col="33" text="prcpkindcd"/>
- <Cell col="34" text="rcptno"/>
- <Cell col="35" text="acptseqno"/>
- <Cell col="36" text="prcpgenrflag"/>
- <Cell col="37" text="orddd"/>
- <Cell col="38" text="orddeptcd"/>
- <Cell col="39" text="rcptdd"/>
- <Cell col="40" text="orddrid"/>
- <Cell col="41" text="prcpno"/>
- <Cell col="42" text="EqmtIFYn"/>
- <Cell col="43" text="basesuppdeptcd"/>
- <Cell col="44" text="cretno"/>
- <Cell col="45" text="wardcd"/>
- <Cell col="46" text="rsrvdt"/>
- <Cell col="47" text="rgstdeptcd"/>
- <Cell col="48" text="rgstrid"/>
- <Cell col="49" text="inclprcpcd"/>
- <Cell col="50" text="lrgcd"/>
- <Cell col="51" text="mdlcd"/>
- <Cell col="52" text="actorddd"/>
- <Cell col="53" text="examroomnm"/>
- <Cell col="54" text="prcphistno"/>
- <Cell col="55" text="pacsnocretyn"/>
- <Cell col="56" text="execprcpstatcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sna"/>
- <Cell col="5" text="bind:orddepthngnm"/>
- <Cell col="6" text="bind:orddrnm"/>
- <Cell col="7" text="bind:calcscorcd"/>
- <Cell col="8" text="bind:prcpdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="9" text="bind:statcd" enable="false"/>
- <Cell col="10" text="bind:roomcd"/>
- <Cell col="11" text="bind:srchrsrvdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="12" text="bind:prcpnm"/>
- <Cell col="13" text="bind:execdt" mask="yyyy-mm-dd hh:nn"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:execrid1"/>
- <Cell col="15" text="bind:rsrvrnm"/>
- <Cell col="16" text="bind:rcptyn"/>
- <Cell col="17" text="bind:basecd"/>
- <Cell col="18" text="bind:hometel"/>
- <Cell col="19" text="bind:mpphontel"/>
- <Cell col="20" text="bind:hight"/>
- <Cell col="21" text="bind:weight"/>
- <Cell col="22" text="bind:execprcpuniqno"/>
- <Cell col="23" text="bind:prcpexecdeptcd"/>
- <Cell col="24" text="bind:excuroomcd"/>
- <Cell col="25" text="bind:inflag"/>
- <Cell col="26" text="bind:rcptacptyn"/>
- <Cell col="27" text="bind:execbaseflag"/>
- <Cell col="28" text="bind:excupartcd"/>
- <Cell col="29" text="bind:modality"/>
- <Cell col="30" text="bind:execrem"/>
- <Cell col="31" text="bind:prcpdelivefact"/>
- <Cell col="32" text="bind:carecnfmdd"/>
- <Cell col="33" text="bind:prcpkindcd"/>
- <Cell col="34" text="bind:rcptno"/>
- <Cell col="35" text="bind:acptseqno"/>
- <Cell col="36" text="bind:prcpgenrflag"/>
- <Cell col="37" text="bind:orddd"/>
- <Cell col="38" text="bind:orddeptcd"/>
- <Cell col="39" text="bind:rcptdd"/>
- <Cell col="40" text="bind:orddrid"/>
- <Cell col="41" text="bind:prcpno"/>
- <Cell col="42" text="bind:eqmtifyn"/>
- <Cell col="43" text="bind:basesuppdeptcd"/>
- <Cell col="44" text="bind:cretno"/>
- <Cell col="45" text="bind:wardcd"/>
- <Cell col="46" text="bind:rsrvdt"/>
- <Cell col="47" text="bind:rgstdeptcd"/>
- <Cell col="48" text="bind:rgstrid"/>
- <Cell col="49" text="bind:inclprcpcd"/>
- <Cell col="50" text="bind:lrgcd"/>
- <Cell col="51" text="bind:mdlcd"/>
- <Cell col="52" text="bind:actorddd"/>
- <Cell col="53" text="bind:examroomnm"/>
- <Cell col="54" text="bind:prcphistno"/>
- <Cell col="55" text="bind:pacsnocretyn"/>
- <Cell col="56" text="bind:execprcpstatcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button6" taborder="3" text="TypeⅡ" class="btn2" position="absolute 624 1 688 23" onclick="button6_onclick"/>
- <Button id="button9" taborder="4" text="닫기" class="btn4" position="absolute 632 410 688 432" onclick="button9_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_subordlist_subordlist4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256"/>
- <Column id="statcd" type="STRING" size="256"/>
- <Column id="mset" type="STRING" size="256"/>
- <Column id="calcscorcd" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="acptdt" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="cnfmdt" type="STRING" size="256"/>
- <Column id="payflagcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="gubn" type="STRING" size="256"/>
- <Column id="rcptdd" type="STRING" size="256"/>
- <Column id="prcpclscd" type="STRING" size="256"/>
- <Column id="carecnfmdd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="opansflagcd" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="inclprcpcd" type="STRING" size="256"/>
- <Column id="inclprcpno" type="STRING" size="256"/>
- <Column id="rootgubn" type="STRING" size="256"/>
- <Column id="execprcphistcd" type="STRING" size="256"/>
- <Column id="execprcpstatcd" type="STRING" size="256"/>
- <Column id="prcpflag" type="STRING" size="256"/>
- <Column id="prcpvol" type="STRING" size="256"/>
- <Column id="prcpvolunitflag" type="STRING" size="256"/>
- <Column id="prcpqty" type="STRING" size="256"/>
- <Column id="prcpqtyunitflag" type="STRING" size="256"/>
- <Column id="prcptims" type="STRING" size="256"/>
- <Column id="drugmthdspccd" type="STRING" size="256"/>
- <Column id="eccdyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="check"/>
- <Col id="statcd"/>
- <Col id="mset"/>
- <Col id="calcscorcd"/>
- <Col id="prcpnm"/>
- <Col id="prcpdd"/>
- <Col id="acptdt"/>
- <Col id="execdd"/>
- <Col id="cnfmdt"/>
- <Col id="payflagcd"/>
- <Col id="pid"/>
- <Col id="prcpno"/>
- <Col id="execprcpuniqno"/>
- <Col id="gubn"/>
- <Col id="rcptdd"/>
- <Col id="prcpclscd"/>
- <Col id="carecnfmdd"/>
- <Col id="prcpgenrflag"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- <Col id="ioflag"/>
- <Col id="cretno"/>
- <Col id="prcphistno"/>
- <Col id="opansflagcd"/>
- <Col id="suppdeptcd"/>
- <Col id="orddd"/>
- <Col id="inclprcpcd"/>
- <Col id="inclprcpno"/>
- <Col id="rootgubn"/>
- <Col id="execprcphistcd"/>
- <Col id="execprcpstatcd"/>
- <Col id="prcpflag"/>
- <Col id="prcpvol"/>
- <Col id="prcpvolunitflag"/>
- <Col id="prcpqty"/>
- <Col id="prcpqtyunitflag"/>
- <Col id="prcptims"/>
- <Col id="drugmthdspccd"/>
- <Col id="eccdyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_subordlist_deptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcdflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </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="prcpgenrflag" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="prcpgenrflag"/>
- <Col id="prcpdd"/>
- <Col id="execprcpuniqno"/>
- <Col id="pid"/>
- <Col id="orddd"/>
- <Col id="basesuppdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data_tobeacptprcp_tobeacptprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">약/주사/재료 액팅</Col>
- <Col id="hardcd">fprcpacting</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">약/주사/재료 액팅취소</Col>
- <Col id="hardcd">fprcpactingcncl</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">-</Col>
- <Col id="hardcd"/>
- </Row>
- <Row>
- <Col id="hardcdnm">처방반환</Col>
- <Col id="hardcd">fprcpdc</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_popupdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-10-14
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-14 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 약/주사/재료 액팅
- ****************************************************************************************/
- function fprcpacting() {
- ds_send_data_tobeacptprcp_tobeacptprcplist.clear();
- ds_main_subordlist_subordlist4.filter("check=='Y'");
- ds_send_data_tobeacptprcp_tobeacptprcplist.copyData(ds_main_subordlist_subordlist4,true);
- ds_main_subordlist_subordlist4.filter("");
-
- var fCnt = ds_send_data_tobeacptprcp_tobeacptprcplist.rowcount;
- if ( fCnt == 0 ) {
- sysf_messageBox("처방내역을","C002");
- return "0";
- }
- else
- {
- var selectedRows = grdf_getSelectedRows(grd_subprcplist);
- for (var i= 0; i < selectedRows.length; i++)
- {
- if(( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "E" ) || ( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "D" ) || ( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "L" ) ){
- sysf_messageBox("이미 반환된 처방","E008");
- return "0";
- }
- if( (ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "O" ) && ( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcpstatcd") >= "610") ) {
- sysf_messageBox("실시완료된 처방","E008");
- return "0";
- }
- if( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "eccdyn") == "Y" ) {
- sysf_messageBox("약_주사_재료처방만","C002");
- return "0";
- }
- }
- }
-
- // 처방 -> 검사접수_실시완료
- if ( sysf_messageBox("실시를 ","Q002")==6 ) {
- ds_send_data_tobeacptprcp_tobeacptprcplist.updateColID("execdd","excuexectodd");
- ds_send_data_tobeacptprcp_tobeacptprcplist.updateColID("suppdeptcd","basesuppdeptcd");
- dsf_setFixVal(ds_send_data_tobeacptprcp_tobeacptprcplist, "execprcpstat610cd:610,excuexectotm:-,execrid1:-");
- var oParam = {};
- oParam.id = "TXAEA01508";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAddPrcpList";
- oParam.inds = "req=ds_send_data_tobeacptprcp_tobeacptprcplist";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01508";
- tranf_submit(oParam);
- }
-
- call_TRAEA01120();
- //반환처방 색상주기
- // initGridStyle("grd_subprcplist");
- // setRowStyle("grd_subprcplist" , "2" , "E" , "execprcphistcd","equal" );
- // setRowStyle("grd_subprcplist" , "2" , "D" , "execprcphistcd","equal" );
- // setRowStyle("grd_subprcplist" , "2" , "L" , "execprcphistcd","equal" );
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 약/주사/재료 액팅취소
- ****************************************************************************************/
- function fprcpactingcncl() {
- ds_send_data_tobeacptprcp_tobeacptprcplist.clear();
- ds_main_subordlist_subordlist4.filter("check=='Y'");
- ds_send_data_tobeacptprcp_tobeacptprcplist.copyData(ds_main_subordlist_subordlist4,true);
- ds_main_subordlist_subordlist4.filter("");
-
- var fCnt = ds_send_data_tobeacptprcp_tobeacptprcplist.rowcount;
- if ( fCnt == 0 ) {
- sysf_messageBox("처방내역을","C002");
- return "0";
- }
- else
- {
- var selectedRows = grdf_getSelectedRows(grd_subprcplist);
- for (var i= 0; i < selectedRows.length; i++){
- if(( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "E" ) || ( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "D" ) || ( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "L" ) ){
- sysf_messageBox("이미 반환된 처방","E008");
- return "0";
- }
- if( (ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "O" ) && ( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcpstatcd") < "610") ) {
- sysf_messageBox("실시되지 않은 처방","E008");
- return "0";
- }
- if( (ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "O" ) && ( ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcpstatcd") > "610") ) {
- sysf_messageBox("판독완료된 처방","E008");
- return "0";
- }
- }
- }
-
- // 처방 -> 검사접수_실시완료
- if ( sysf_messageBox("실시취소를 ","Q002")==6 ) {
- ds_send_data_tobeacptprcp_tobeacptprcplist.updateColID("suppdeptcd","basesuppdeptcd");
- dsf_setFixVal(ds_send_data_tobeacptprcp_tobeacptprcplist, "execprcpstat440cd:440,execprcpstat610cd:610,execprcpstat230cd:230,execprcpstat100cd:100,execprcpstat000cd:000,excuexectodd:00000000,excuexectotm:000000,execrid1:-,tretflagcd:610");
- var oParam = {};
- oParam.id = "TXAEA01509";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeAddPrcpCnclList";
- oParam.inds = "req=ds_send_data_tobeacptprcp_tobeacptprcplist";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01509";
- tranf_submit(oParam);
- }
-
- call_TRAEA01120();
-
- //반환처방 색상주기
- // initGridStyle("grd_subprcplist");
- // setRowStyle("grd_subprcplist" , "2" , "E" , "execprcphistcd","equal" );
- // setRowStyle("grd_subprcplist" , "2" , "D" , "execprcphistcd","equal" );
- // setRowStyle("grd_subprcplist" , "2" , "L" , "execprcphistcd","equal" );
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 처방내역에서 처방반환
- ****************************************************************************************/
- function fprcpdc()
- {
- ds_send_data_tobeacptprcp_tobeacptprcplist.clear();
- ds_main_subordlist_subordlist4.filter("check=='Y'");
- ds_send_data_tobeacptprcp_tobeacptprcplist.copyData(ds_main_subordlist_subordlist4,true);
- ds_main_subordlist_subordlist4.filter("");
-
- var fCnt = ds_send_data_tobeacptprcp_tobeacptprcplist.rowcount;
- if ( fCnt == 0 )
- {
- sysf_messageBox("처방내역을","C002");
- return "0";
- }
- else
- {
- var selectedRows = grdf_getSelectedRows(grd_subprcplist);
- for (var i= 0; i < selectedRows.length; i++)
- {
- if(ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "E" || ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "D" || ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "L" )
- {
- sysf_messageBox("이미 반환된 처방","E008");
- return "0";
- }
- if(ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "O" && ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcpstatcd") == "610")
- {
- sysf_messageBox("실시된 처방","E008","취소 후 반환하십시오");
- return "0";
- }
- if(ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcphistcd") == "O" && ds_main_subordlist_subordlist4.getColumn(selectedRows[i], "execprcpstatcd") == "440")
- {
- sysf_messageBox("접수된 처방","E008","취소 후 반환하십시오");
- return "0";
- }
- }
- }
- // 처방 -> 검사접수_실시완료
- if ( sysf_messageBox("처방반환을 ","Q002")==6 )
- {
- dsf_setFixVal(ds_send_data_tobeacptprcp_tobeacptprcplist, "status:C");
- fMakeCopyColumn(ds_send_data_tobeacptprcp_tobeacptprcplist,"orddd","indd");
- fMakeCopyColumn(ds_send_data_tobeacptprcp_tobeacptprcplist,"calcscorcd","prcpcd");
- var oParam = {};
- oParam.id = "TXAEA01510";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqExeExecPrcpDCList";
- oParam.inds = "mcdprcp=ds_send_data_tobeacptprcp_tobeacptprcplist";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA01510";
- tranf_submit(oParam);
- }
- call_TRAEA01120();
-
- //반환처방 색상주기
- // initGridStyle("grd_subprcplist");
- // setRowStyle("grd_subprcplist" , "2" , "E" , "execprcphistcd","equal" );
- // setRowStyle("grd_subprcplist" , "2" , "D" , "execprcphistcd","equal" );
- // setRowStyle("grd_subprcplist" , "2" , "L" , "execprcphistcd","equal" );
- }
- /****************************************************************************************
- * Argument : objDs - Dataset ID
- * : sColSrc - 원본 컬럼
- * : sColTgt - 생성할 컬럼
- * Description : 데이터셋 특정컬럼 카피하여 새컬럼 생성
- ****************************************************************************************/
- function fMakeCopyColumn(objDs,sColSrc,sColTgt) {
- if(utlf_isNull(objDs.getColumnInfo(sColTgt))) objDs.addColumn(sColTgt,"string");
- for(var i = 0 ; i < objDs.rowcount ; i++) {
- objDs.setColumn(i,sColTgt,objDs.getColumn(i,sColSrc));
- }
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 간호일지Type2 처방정보 세팅
- ****************************************************************************************/
- function fMakeParameter() {
- var Prcpparam = "";
- var rowsep = "▩";
- var colsep = "▦";
- var param = "prcpflag" + colsep + "prcpnm" + rowsep;
- var check = "";
- var prcpflag = "";
- var prcpcd = "";
- var prcpnm = "";
- var prcpvol = "";
- var prcpvolunitflag = "";
- var prcpqty = "";
- var prcpqtyunitflag = "";
- var prcptims = "";
- var drugmthdspccd = "";
- var abbrnm = "";
- var prcpdeliverfact = "";
-
-
- for(var i = 0; i < ds_main_subordlist_subordlist4.rowcount; i++) {
- check = ds_main_subordlist_subordlist4.getColumn(i, "check");
- if(check == "Y") {
- prcpflag = ds_main_subordlist_subordlist4.getColumn(i, "prcpclscd");
- prcpcd = ds_main_subordlist_subordlist4.getColumn(i, "prcpcd");
- prcpnm = ds_main_subordlist_subordlist4.getColumn(i, "prcpnm");
- prcpvol = ds_main_subordlist_subordlist4.getColumn(i, "prcpvol");
- prcpvolunitflag = ds_main_subordlist_subordlist4.getColumn(i, "prcpvolunitflag");
- prcpqty = ds_main_subordlist_subordlist4.getColumn(i, "prcpqty");
- prcpqtyunitflag = ds_main_subordlist_subordlist4.getColumn(i, "prcpqtyunitflag");
- prcptims = ds_main_subordlist_subordlist4.getColumn(i, "prcptims");
- dugmthdspccd = ds_main_subordlist_subordlist4.getColumn(i, "drugmthdspccd");
- abbrnm = ds_main_subordlist_subordlist4.getColumn(i, "prcpnm");
- if(prcpflag=="A2" || prcpflag == "A4" || prcpflag == "A6") {
- param += prcpflag.substr(0,1) + colsep + prcpcd + "/" + prcpnm + "/" + prcpvol + "/" + prcpvolunitflag + "/" + prcpqty + "/" + prcpqtyunitflag + "/" + prcptims + "/" + dugmthdspccd + "/" + abbrnm + rowsep;
- } else if(prcpflag=="B2" || prcpflag=="B4" || prcpflag=="B6" || prcpflag=="C2" || prcpflag=="C4" || prcpflag=="D2" || prcpflag=="E2" || prcpflag=="H4") {
- prcpdelivefact = ds_main_subordlist_subordlist4.getColumn(i, "prcpdelivefact");
- param += prcpflag.substr(0,1) + colsep + prcpnm + "/" + prcpqty + prcpdeliverfact + rowsep;
- }
- }
- }
- return param;
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPAEA01102
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPAEA01102_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPAEA01102
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPAEA01102_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
- ds_init_popupdata.copyData(arg_ds_init_popupdata);
- var lRow = ds_init_popupdata.rowcount-1;
-
- ds_send_data.setColumn(0,"prcpgenrflag" , ds_init_popupdata.getColumn(lRow,"prcpgenrflag"));
- ds_send_data.setColumn(0,"prcpdd" , ds_init_popupdata.getColumn(lRow,"prcpdd"));
- ds_send_data.setColumn(0,"execprcpuniqno" , ds_init_popupdata.getColumn(lRow,"execprcpuniqno"));
- ds_send_data.setColumn(0,"pid" , ds_init_popupdata.getColumn(lRow,"pid"));
- ds_send_data.setColumn(0,"orddd" , ds_init_popupdata.getColumn(lRow,"orddd"));
- ds_send_data.setColumn(0,"basesuppdeptcd" , ds_init_popupdata.getColumn(lRow,"basesuppdeptcd"));
-
- call_TRAEA01120();
- frmf_createPopupMenuDs("pmn_menu", "pmn_menu_onmenuclick", ds_hidden_popupmenu);
- }
- function call_TRAEA01120() {
- dsf_makeValue(ds_send_data,"ioflag","string","");
- dsf_setFixVal(ds_send_data, "largeclass:M4,sublist:sub");
- var oParam = {};
- oParam.id = "TRAEA01120";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetExamCureExecPrcpList";
- oParam.inds = "reqparam=ds_send_data";
- oParam.outds = "ds_main_subordlist_subordlist4=examcureexecprcplist ds_main_subordlist_deptcdlist=deptcdlist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA01120";
- tranf_submit(oParam);
- }
- function cf_TRAEA01120(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_main_subordlist_subordlist4.updateColID("root","rootgubn");
- dsf_setFixVal(ds_main_subordlist_subordlist4, "check:N,execrid1:-,excuexectodd:-,excuexectotm:-");
- }
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button6
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : Type II
- ****************************************************************************************/
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- //*******************************************************************************************************************************************************************/
- // 간호기록(Type II) 화면을 호출하기 위한 파라미터 값 세팅
- //*******************************************************************************************************************************************************************/
- // [기록 구분 정보]
- // SMMNR03400_AST :pid ▦ instcd ▦ hngnm ▦ age ▦ cretno ▦ ioflag ▦ orddeptcd ▦ orddrid ▩(기능검사 환자정보)
- //
- // - 기록구분(recflag) :
- // O : 외래, I : 주사실, C : 외래항암
- // D : DSC, S : 전문간호, H : 가정간호,
- // E : 응급실, A : 마취과, R : 회복실,
- // L : 투석실, B : 혈당기록, P : 수술실,
- // X : 간클리닉 K : 기관지경실 X : 내시경 Y : 부정맥 Z : Echo
- //
- //
- //
- // - 부서코드(dutplaccd) :
- // 001 : 가정 005 : 병동 009 : 외래 013 : 통원 017 : 외래항암
- // 002 : 간클리닉 006 : 부정맥 010 : 응급 014 : 투석 900 : 수술
- // 003 : 기관지 007 : 분만 011 : 전문 015 : 혈당 900 : 마취
- // 004 : 내시경 008 : 성분 012 : 주사 016 : Echo 900 : 회복
- //
- // - 처방구분(prcpflag)
- // A : 투약
- // H : 처치
- // T : 검사
- var lRow = ds_init_popupdata.rowcount-1;
- // for( var i = 0 ; i < ds_init_popupdata.rowcount ; i++ ) {
- var orddd = ds_init_popupdata.getColumn(lRow, "orddd");
- var cretno = ds_init_popupdata.getColumn(lRow, "cretno");
- //var instcd = ds_init_popupdata.getColumn(i, "instcd");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var orddeptcd = ds_init_popupdata.getColumn(lRow, "orddeptcd");
- var orddrid = ds_init_popupdata.getColumn(lRow, "orddrid");
- var pid = ds_init_popupdata.getColumn(lRow, "pid");
- var sPid = ds_init_popupdata.getColumn(lRow, "pid");
- var hngnm = ds_init_popupdata.getColumn(lRow, "hngnm");
- var age = ds_init_popupdata.getColumn(lRow, "age");
- var ioflag = ds_init_popupdata.getColumn(lRow, "prcpgenrflag");
- // }
- var dutplaccd = ds_main_subordlist_deptcdlist.getColumn(0, "deptcdflag");
- // 20090409, , 장준원, 간호일지 II 호출시 Code값이 미존재(AST.AEBMBSCD.BASECD)하면 '022'로 세팅한다. 김홍점과장 요청사항.
- if ( utlf_isNull(dutplaccd) ) dutplaccd = "022";
- if(dutplaccd == "002"){ //간클리닉
- var recflag = "X";
- }
- if(dutplaccd == "003 "){ //기관지
- var recflag = "K";
- }
- if(dutplaccd == "004"){ //내시경
- var recflag = "X";
- }
- if(dutplaccd == "006"){ //부정맥
- var recflag = "Y";
- }
- if(dutplaccd == "016"){ //Echo
- var recflag = "Z";
- }else{ //외래
- var recflag = "O";
- }
- age = utlf_transNullToEmpty(age);
- var Baseparam = "recflag▦dutplaccd▦reclnkkey▩"+recflag+"▦"+ dutplaccd +"▦" + sPid + "," + orddd + "," + cretno +"," + instcd + "▩";
- // var ASTparam = "pid ▦ instcd ▦ hngnm ▦ age ▦ cretno ▦ ioflag ▦ orddeptcd ▦ orddrid ▩" + pid + "▦" + instcd + "▦" + hngnm + "▦" + age + "▦" + orddd + "▦" + cretno+ "▦" + ioflag + "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid + "▩";
- var ASTparam = "pid ▦ instcd ▦ hngnm ▦ age ▦ orddd ▦ cretno ▦ ioflag ▦ orddeptcd ▦ orddrid ▩" + pid + "▦" + instcd + "▦" + hngnm + "▦" + age + "▦"+ orddd + "▦" + cretno+ "▦" + ioflag + "▦" + orddeptcd + "▦" + orddrid + "▩";
- var Prcpparam = fMakeParameter();
- frmf_setParameter("SMMNR03400_ParamBase", Baseparam);
- frmf_setParameter("SMMNR03400_AST", ASTparam );
- frmf_setParameter("SMMNR03400_ParamPrcp", Prcpparam);
-
- frmf_modal("SMMNR03400", "SMMNR03400", "", "", "", "", "", "", "", "", "", "", "M"); //간호일지Type2
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_subprcplist
- * Event : onrbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 우클릭 팝업메뉴 호출
- ****************************************************************************************/
- function grd_subprcplist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_subprcplist
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 처방상세내역 선택
- ****************************************************************************************/
- function grd_subprcplist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if( e.row > -1 ){
- for ( var i = 0; i < ds_main_subordlist_subordlist4.rowcount; i++) {
- ds_main_subordlist_subordlist4.setColumn(i,"check", "N");
- }
-
- var selectedRows = grdf_getSelectedRows(obj);
- for (var i= 0; i < selectedRows.length; i++){
- ds_main_subordlist_subordlist4.setColumn(selectedRows[i], "check", "Y");
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button9
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기
- ****************************************************************************************/
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|