123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNI00200" position="absolute 0 0 1256 805" titletext="주사실 미시행내역" onload="SMMNI00200_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="group3" position="absolute 0 0 1256 805" anchor="all" positiontype="position" scrollbars="none">
- <Layouts>
- <Layout>
- <Static id="caption10" class="tit_2" position="absolute 0 76 157 96" style="align:left middle;" anchor="default" text="대상자 리스트" positiontype="position" align="align:left middle;"/>
- <Shape id="line7" class="line_1" position="absolute 0 71 1194 71" anchor="default" linetype="horizontal" positiontype="position"/>
- <Grid id="grd_prcpdetl" class="datagrid2" position="absolute 0 96 1256 782" anchor="all" positiontype="position" binddataset="ds_grd_prcpdetl" onmousemove="group3_grd_prcpdetl_onmousemove" cellsizingtype="col" cellsizebandtype="allband">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26" band="left"/>
- <Column size="75" band="left"/>
- <Column size="70" band="left"/>
- <Column size="50" band="left"/>
- <Column size="105" band="left"/>
- <Column size="0" band="left"/>
- <Column size="40" band="left"/>
- <Column size="60" band="left"/>
- <Column size="50" band="left"/>
- <Column size="77"/>
- <Column size="200"/>
- <Column size="146"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="81"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="1"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="S/A"/>
- <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="Mix"/>
- <Cell col="13" text="보관검체"/>
- <Cell col="14" text="AST"/>
- <Cell col="15" text="부위"/>
- <Cell col="16" text="차수"/>
- <Cell col="17" text="LOT No"/>
- <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"/>
- <Cell col="28"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'true' || chk =='1'?1:0"/>
- <Cell col="1" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:pid"/>
- <Cell col="2" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:hngnm"/>
- <Cell col="3" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:gndrage"/>
- <Cell col="4" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:depthngnm"/>
- <Cell col="5" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:usernm"/>
- <Cell col="6" displaytype="combo" edittype="none" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:prcpclscd" combodataset="ds_grid_prcpclscd" combocodecol="value" combodatacol="label"/>
- <Cell col="7" displaytype="combo" edittype="none" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:stat" combodataset="ds_grid_stat" combocodecol="value" combodatacol="label"/>
- <Cell col="8" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:rcptchk" combodataset="ds_grid_rcptchk" combocodecol="value" combodatacol="label"/>
- <Cell col="9" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:prcpcd"/>
- <Cell col="10" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:prcpnm"/>
- <Cell col="11" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:datagroup"/>
- <Cell col="12" displaytype="normal" edittype="none" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:mix"/>
- <Cell col="13" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:keepspc" mask="@@@@-@@-@@"/>
- <Cell col="14" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:ast" mask="####-##-##"/>
- <Cell col="15" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:partflag"/>
- <Cell col="16" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:dgno"/>
- <Cell col="17" displaytype="normal" edittype="none" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:lotno"/>
- <Cell col="18" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:prcpdelivefact"/>
- <Cell col="19" displaytype="date" edittype="none" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:actorddd" calendardisplaynulltype="none"/>
- <Cell col="20" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:rsrvtm1" mask="####-##-##" combodataset="ds_grid_rsrvtm1" combocodecol="value" combodatacol="label"/>
- <Cell col="21" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:orddd" mask="expr:utlf_isNull(orddd) ? '' : '####-##-## ##:##'"/>
- <Cell col="22" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:execdd" mask="expr:execdd == '-' ? '' : '####-##-## ##:##'"/>
- <Cell col="23" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:execdeptcdnm"/>
- <Cell col="24" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:execrid"/>
- <Cell col="25" displaytype="normal" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:enddd"/>
- <Cell col="26" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");background2:EXPR(printyn == 'Y' && execprcpstatcd != '610'?"#FFFFCC":!utlf_isNull(enddd)?"#ffcccc":rcptchk == 'N'?"#ff9600":rcptchk == 'V'?"#ffff00":"#ffffff");" text="bind:endid"/>
- <Cell col="27" text="bind:prcpdd"/>
- <Cell col="28" text="bind:prcpno"/>
- <Cell col="29" text="bind:prcphistno"/>
- <Cell col="30" text="bind:instcd"/>
- <Cell col="31" text="bind:etcprcpresncd"/>
- <Cell col="32" text="bind:blodcomstat"/>
- <Cell col="33"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_prcpend" taborder="1" text="마감" position="absolute 1209 75 1253 94" class="btn2" onclick="group3_btn_prcpend_onclick"/>
- <Static id="Static00" position="absolute 17 787 35 802" style="background:#ffccccff;"/>
- <Static id="Static01" text="마감처방" position="absolute 43 786 117 804"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" class="tit_1" position="absolute 0 4 145 29" anchor="default" positiontype="position" text="주사실 미시행내역" onclick="caption6_onclick"/>
- <Div id="grp_sea" anchor="left top right" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 29 1256 71">
- <Layouts>
- <Layout>
- <Button id="button1" taborder="0" text="조회" onlbuttonup="button1_onlbuttonup" class="btn1" position="absolute 1092 10 1148 30" anchor="right" onclick="grp_sea_button1_onclick" positiontype="position"/>
- <Static id="caption13" text="시행여부" class="search_name" position="absolute 531 12 599 32" anchor="default" positiontype="position"/>
- <Calendar id="ipt_todd" taborder="2" class="input_search" position="absolute 417 12 507 32" mask="####-##-##" dateformat="yyyy-MM-dd " value="null" align="align:center middle;" anchor="default" positiontype="position" autoselect="true"/>
- <Static id="caption1" text="~" position="absolute 401 12 417 32" style="align:center middle;" anchor="default" positiontype="position"/>
- <Calendar id="ipt_fromdd" taborder="3" class="input_search" position="absolute 311 12 401 32" mask="####-##-##" dateformat="yyyy-MM-dd " value="null" align="align:center middle;" anchor="default" positiontype="position" autoselect="true" autoskip="true"/>
- <Radio id="radio2" taborder="4" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 83 11 303 31" onclick="radio2_onclick" value="1" index="0" anchor="default" positiontype="position">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">시행일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">처방일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">예약일자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption2" text="조회구간" class="search_name" position="absolute 8 12 79 32" anchor="default" positiontype="position"/>
- <Radio id="radio1" taborder="7" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 605 11 1056 31" value="1" index="0" enable="true" anchor="default" positiontype="position" onitemchanged="grp_sea_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">미시행 ______________</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">완료 ______________</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="combo1" taborder="8" position="absolute 663 12 751 32" codecolumn="codecolumn" datacolumn="datacolumn" index="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">출력전</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">출력후</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="cmb_execflag" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 801 12 889 32" onitemchanged="grp_sea_cmb_execflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">마감전</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">마감후</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="button3" taborder="10" text="엑셀저장" position="absolute 1162 10 1243 30" class="btn7" onclick="grp_sea_button3_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_prcpdetl" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="gndrage" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="stat" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="datagroup" type="STRING"/>
- <Column id="mix" type="STRING"/>
- <Column id="keepspc" type="STRING"/>
- <Column id="ast" type="STRING"/>
- <Column id="partflag" type="STRING"/>
- <Column id="dgno" type="STRING"/>
- <Column id="lotno" type="STRING"/>
- <Column id="actorddd" type="STRING"/>
- <Column id="rsrvtm1" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="execdeptcdnm" type="STRING"/>
- <Column id="execrid" type="STRING"/>
- <Column id="drugsumdt" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="enddd" type="STRING"/>
- <Column id="endid" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="etcprcpresncd" type="STRING"/>
- <Column id="blodcomstat" type="STRING"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="execprcpstatcd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="execprcpno" type="STRING" size="256"/>
- <Column id="printyn" type="STRING" size="256"/>
- <Column id="fluidyn" type="STRING" size="256"/>
- <Column id="prcpinptflag" type="STRING" size="256"/>
- <Column id="rcptchk" type="STRING" size="256"/>
- <Column id="bloodst" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="termkind" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="execflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="termkind">1</Col>
- <Col id="execflag">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_grid_prcpclscd" 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>
- <Col id="value">A6</Col>
- </Row>
- <Row>
- <Col id="label">혈액</Col>
- <Col id="value">B4</Col>
- </Row>
- <Row>
- <Col id="label">항암</Col>
- <Col id="value">A7</Col>
- </Row>
- <Row>
- <Col id="label">예방</Col>
- <Col id="value">A8</Col>
- </Row>
- <Row>
- <Col id="label">무균</Col>
- <Col id="value">A9</Col>
- </Row>
- <Row>
- <Col id="label">경구</Col>
- <Col id="value">A2</Col>
- </Row>
- <Row>
- <Col id="label">처치</Col>
- <Col id="value">H4</Col>
- </Row>
- <Row>
- <Col id="label">재료</Col>
- <Col id="value">M2</Col>
- </Row>
- <Row>
- <Col id="label">진검</Col>
- <Col id="value">B2</Col>
- </Row>
- <Row>
- <Col id="label">수술</Col>
- <Col id="value">H2</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">Z0</Col>
- </Row>
- <Row>
- <Col id="label">지시</Col>
- <Col id="value">09</Col>
- </Row>
- <Row>
- <Col id="label">외용</Col>
- <Col id="value">A4</Col>
- </Row>
- <Row>
- <Col id="label">기능</Col>
- <Col id="value">E2</Col>
- </Row>
- <Row>
- <Col id="label">수액</Col>
- <Col id="value">17</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_stat" 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>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">조제완료</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">준비</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">준비완료</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">출고</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">시행완료</Col>
- <Col id="value">6</Col>
- </Row>
- <Row>
- <Col id="label">반납의뢰</Col>
- <Col id="value">7</Col>
- </Row>
- <Row>
- <Col id="label">반납완료</Col>
- <Col id="value">8</Col>
- </Row>
- <Row>
- <Col id="label">폐기의뢰</Col>
- <Col id="value">9</Col>
- </Row>
- <Row>
- <Col id="label">폐기완료</Col>
- <Col id="value">10</Col>
- </Row>
- <Row>
- <Col id="label">접수</Col>
- <Col id="value">11</Col>
- </Row>
- <Row>
- <Col id="label">실시완료</Col>
- <Col id="value">12</Col>
- </Row>
- <Row>
- <Col id="label">전송완료</Col>
- <Col id="value">13</Col>
- </Row>
- <Row>
- <Col id="label">잔여폐기</Col>
- <Col id="value">14</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_grid_rsrvtm1" 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">09:00</Col>
- <Col id="value">090000</Col>
- </Row>
- <Row>
- <Col id="label">10:00</Col>
- <Col id="value">100000</Col>
- </Row>
- <Row>
- <Col id="label">11:30</Col>
- <Col id="value">113000</Col>
- </Row>
- <Row>
- <Col id="label">14:00</Col>
- <Col id="value">140000</Col>
- </Row>
- <Row>
- <Col id="label">15:30</Col>
- <Col id="value">153000</Col>
- </Row>
- <Row>
- <Col id="label">-</Col>
- <Col id="value">000000</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_rcptchk" 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>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">후불</Col>
- <Col id="value">V</Col>
- </Row>
- <Row>
- <Col id="label">수납</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">수납</Col>
- <Col id="value">F</Col>
- </Row>
- <Row>
- <Col id="label">수납</Col>
- <Col id="value">R</Col>
- </Row>
- <Row>
- <Col id="label">미수</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_refspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="execflag" type="STRING" size="256"/>
- <Column id="endflag" type="STRING" size="256"/>
- <Column id="termkind" type="STRING" size="256"/>
- <Column id="prtyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="execflag">1</Col>
- <Col id="endflag"/>
- <Col id="termkind">2</Col>
- <Col id="prtyn"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.radio2" propid="value" datasetid="ds_refspec" columnid="termkind"/>
- <BindItem id="item3" compid="grp_sea.radio1" propid="value" datasetid="ds_refspec" columnid="execflag"/>
- <BindItem id="item1" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_refspec" columnid="fromdd"/>
- <BindItem id="item2" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_refspec" columnid="todd"/>
- <BindItem id="item4" compid="grp_sea.combo1" propid="value" datasetid="ds_refspec" columnid="prtyn"/>
- <BindItem id="item5" compid="grp_sea.cmb_execflag" propid="value" datasetid="ds_refspec" columnid="endflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name : SMMNI00200_주사실미시행내역.xfdl
- * Creator :
- * Make Date : 2016-02-11
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- //include "emr_injroomxp::SMMNI00200.xjs";
- include "com_commonxp::comm_main.xjs";
- function fInit(){
-
- ds_cond.clear();
-
- var Ndate = utlf_getNewDate();
- var Odate = Ndate.getAddDate(-1, "D");
- var Idate = Odate.getDateFormat("YYYYMMDD");
- grp_sea.ipt_fromdd.value = utlf_getCurrentDate(); // 조회구간에 현재날짜(디폴트)
- grp_sea.ipt_todd.value = utlf_getCurrentDate();// 조회구간에 현재날짜(디폴트)
- //group3.grd_prcpdetl.setCellProperty("Head",0,"text","1");
-
-
- dsf_makeValue(ds_cond,"orddeptcd","string", sysf_getUserInfo("dutplcecd")); // 사용자부서코드
- dsf_makeValue(ds_cond,"execrid", "string",sysf_getUserInfo("userid")); // 사용자ID
-
-
- //20090911 dhkim 메인에서 팝업으로 띄운경우 조회조건 값 세팅
- var isPopup = opener.frmf_getParameter("ispopup");
- if(isPopup == "Y"){
-
- dsf_makeValue(ds_cond,"execflag", "string", opener.frmf_getParameter("execflag"));
- dsf_makeValue(ds_cond,"termkind", "string", opener.frmf_getParameter("termkind"));
- dsf_makeValue(ds_cond,"enddd", "string", opener.frmf_getParameter("enddd"));
- dsf_makeValue(ds_cond,"fromdd", "string", opener.frmf_getParameter("fromdd"));
- dsf_makeValue(ds_cond,"todd", "string", opener.frmf_getParameter("todd"));
-
-
- ds_refspec.setColumn(0,"execflag", opener.frmf_getParameter("execflag"));
- ds_refspec.setColumn(0,"termkind", opener.frmf_getParameter("termkind"));
- dsf_makeValue(ds_refspec,"enddd","string", opener.frmf_getParameter("enddd"));
- ds_refspec.setColumn(0,"fromdd", opener.frmf_getParameter("fromdd"));
- ds_refspec.setColumn(0,"todd", opener.frmf_getParameter("todd"));
- ds_refspec.setColumn(0,"endflag", opener.frmf_getParameter("endflag"));
- fcbxClick();
- }else{
-
- // 마감시 사용할 정보조회
- dsf_makeValue(ds_cond,"enddd", "string", utlf_getCurrentDate()); // 현재일자
- }
-
- //20090806 dhkim 처방전출력전후콤보 디폴트 전체로 세팅
- ds_refspec.setColumn(0,"prtyn", "A");
-
-
- ds_grd_prcpdetl.clearData();
-
- fprcpdetllist();
- }
-
- function fprcpdetllist(){
-
- ds_temp.clear();
- ds_temp.copyData(ds_refspec);
- dsf_makeValue(ds_temp,"deptcd", "string", sysf_getUserInfo("dutplcecd"));
- dsf_makeValue(ds_temp,"centcd", "string", sysf_getUserInfo("dutplcecd"));
-
- if(ds_refspec.getColumn(0,"execflag") == "1"){//미시행
- //20090714 dhkim
- ds_temp.setColumn(0,"prtyn", ds_refspec.getColumn(0,"prtyn"));
- //grp_sea.combo1.enable = true;
- }else{
-
- ds_temp.setColumn(0,"prtyn", "A");
- ds_refspec.setColumn(0,"prtyn", "A");
- //grp_sea.combo1.enable = false;
-
- }
- var oParam = {};
- oParam.id = "TRMNI00201";
- oParam.service = "injroomapp.InjRoomPatMngt";
- oParam.method = "reqGetOperationData";
- oParam.inds = "refCond=ds_temp";
- oParam.outds = "ds_grd_prcpdetl=prcpdetllist";
- oParam.async = false;
- oParam.callback = "cf_TRMNI00201";
- tranf_submit(oParam);
-
- ds_grd_prcpdetl.rowposition = -1;
-
- }
- function cf_TRMNI00201(sScvId, nErrorCode, sErrorMsg){
- if(nErrorCode == 0){//성공하였을때
-
- var mixchk = 0;
- var rcptchk = "";
-
- var Row = ds_grd_prcpdetl.rowcount;
-
- for(i=0; i<Row; i++){
- var execdd = ds_grd_prcpdetl.getColumn(i,"execrid");
- var execprcpstatcd = ds_grd_prcpdetl.getColumn(i,"execprcpstatcd");
- var prcpclscd = ds_grd_prcpdetl.getColumn(i,"prcpclscd");
- var drugno = ds_grd_prcpdetl.getColumn(i,"drugno");
- var printyn = ds_grd_prcpdetl.getColumn(i,"printyn");
- var etcprcpresncd = ds_grd_prcpdetl.getColumn(i,"etcprcpresncd"); // 수혈반납 및 폐기사유코드
- var blodcomstat = ds_grd_prcpdetl.getColumn(i,"blodcomstat");
-
- if(drugno != "0" && execprcpstatcd == "230"){
- ds_grd_prcpdetl.setColumn(i,"stat",13);
- }
- if(execprcpstatcd == "300"){
- ds_grd_prcpdetl.setColumn(i,"stat",1);
- }
- if(execprcpstatcd == "310" || execprcpstatcd == "315" && (prcpclscd == "A7"||prcpclscd == "A9")){
- ds_grd_prcpdetl.setColumn(i,"stat",2);
- var mixk = ds_grd_prcpdetl.getColumn(i,"mix");
- var actordddk = ds_grd_prcpdetl.getColumn(i,"actorddd");
- var rsrvtmk = ds_grd_prcpdetl.getColumn(i,"rsrvtm1");
- var ordddk = ds_grd_prcpdetl.getColumn(i,"orddd");
-
- for (r=0; r<Row; r++){
- var mixr = ds_grd_prcpdetl.getColumn(r,"mix");
- var actordddr = ds_grd_prcpdetl.getColumn(r,"actorddd");
- var rsrvtmr = ds_grd_prcpdetl.getColumn(r,"rsrvtm1");
- var ordddr = ds_grd_prcpdetl.getColumn(r,"orddd");
- if(mixk == mixr && actordddr == actordddk && rsrvtmr == rsrvtmk && ordddr == ordddk){
- ds_grd_prcpdetl.setColumn(r,"stat",2);
-
- }
- }
-
- }
-
- if(execprcpstatcd == "500" || execprcpstatcd == "505" || execprcpstatcd == "510"){
- ds_grd_prcpdetl.setColumn(i,"stat",11);
- }
- if(execprcpstatcd == "520" || execprcpstatcd == "525"){
- ds_grd_prcpdetl.setColumn(i,"stat",4);
- }
- if(execprcpstatcd == "530"){
-
- if (blodcomstat == "8") {
- ds_grd_prcpdetl.setColumn(i,"stat",14);
- }
- else {
- ds_grd_prcpdetl.setColumn(i,"stat",5);
- }
-
- }
- if(execprcpstatcd == "540"){
- ds_grd_prcpdetl.setColumn(i,"stat",7);
- }
- if(execprcpstatcd == "550"){
- ds_grd_prcpdetl.setColumn(i,"stat",8);
- }
- if(execprcpstatcd == "560"){
-
- if (etcprcpresncd == "07" || etcprcpresncd == "12") {
- ds_grd_prcpdetl.setColumn(i,"stat", 14); //잔여폐기
- }
- else {
- ds_grd_prcpdetl.setColumn(i,"stat", 9); //폐기의뢰
- }
- }
- if(execprcpstatcd == "570"){
- ds_grd_prcpdetl.setColumn(i,"stat",10);
- }
- if(execprcpstatcd == "320"){
- ds_grd_prcpdetl.setColumn(i,"stat",5);
- }
- if(prcpclscd =="B4"){
- if(execprcpstatcd == "610"){
- ds_grd_prcpdetl.setColumn(i,"stat",12);
- }
- }else{
- if(execprcpstatcd == "610"){
- ds_grd_prcpdetl.setColumn(i,"stat",6);
- }
- }
-
- var mix = ds_grd_prcpdetl.getColumn(i,"mix");
- var actorddd = ds_grd_prcpdetl.getColumn(i,"actorddd");
- var rsrvtm = ds_grd_prcpdetl.getColumn(i,"rsrvtm1");
- var orddd = ds_grd_prcpdetl.getColumn(i,"orddd");
- var enddd = ds_grd_prcpdetl.getColumn(i,"enddd");
-
- if(prcpclscd == "A7"){
- for (k=0; k<Row; k++){
- var mixs = ds_grd_prcpdetl.getColumn(k,"mix");
- var actorddds = ds_grd_prcpdetl.getColumn(k,"actorddd");
- var rsrvtms = ds_grd_prcpdetl.getColumn(k,"rsrvtm1");
- var orddds = ds_grd_prcpdetl.getColumn(k,"orddd");
- if(mix == mixs && mix != '-' && actorddds == actorddd && rsrvtms == rsrvtm && orddds == orddd){
-
- ds_grd_prcpdetl.setColumn(k,"prcpclscd","A7");
- }
- }
- }
-
- //20090526 dhkim 무균추가
- if(prcpclscd == "A9"){
- for (k=0; k<Row; k++){
- var mixs = ds_grd_prcpdetl.getColumn(k,"mix");
- var actorddds = ds_grd_prcpdetl.getColumn(k,"actorddd");
- var rsrvtms = ds_grd_prcpdetl.getColumn(k,"rsrvtm1");
- var orddds = ds_grd_prcpdetl.getColumn(k,"orddd");
- if(mix == mixs && mix != '-' && actorddds == actorddd && rsrvtms == rsrvtm && orddds == orddd){
- ds_grd_prcpdetl.setColumn(k,"prcpclscd","A9");
- }
- }
- }
-
-
- //20090529 dhkim
- //혈액 상태중 반납의뢰, 통폐기의뢰, 잔여폐기의뢰, 출고, 접수, 준비완료, 반납완료, 통폐기완료, 잔여폐기완료 상태값 정의
- if(prcpclscd == "B4"){
- ds_grd_prcpdetl.setColumn(i,"stat", ds_grd_prcpdetl.getColumn(i,"bloodst"));
- }
- rcptchk = ds_grd_prcpdetl.getColumn(i,"rcptchk");
-
- } // for end
- }else{
- sysf_messageBox(sErrorMsg, "E");
- }
- }
- function fcbxClick(){
- var chkstatus = ds_refspec.getColumn(0,"execflag"); // 시행여부구분
-
- //alert(chkstatus);
- //cmb_execflag.value = "";
- if (chkstatus == "2") { // 시행여부 - 완료시
- //grp_sea.cmb_execflag.enable = true;
- ds_refspec.setColumn(0,"endflag","N");
-
- var Endstatus = ds_refspec.getColumn(0,"endflag"); // 시행여부완료시 마감구분
- // 마감전 체크시만 마감버튼 활성화 되도록
- if (Endstatus == "N") {
- group3.btn_prcpend.enable = true;
- }else {
- group3.btn_prcpend.enable = false;
- }
- }else {
- //grp_sea.cmb_execflag.enable = false;
- group3.btn_prcpend.enable = false;
- }
-
- fprcpdetllist(); // 조회
- }
- function fEndSave(){
- var Row = ds_grd_prcpdetl.rowcount;
- //var prcpdetlPATH = "/root/main/prcpdetl/prcpdetllist"
- var iRow = ds_grd_prcpdetl.rowposition;
- var sSrchData = "";
- var chek = 0;
- var kRow = 0;
- for (i=0; i<Row; i++){
- chek = chek + ds_grd_prcpdetl.getColumn(i,"chk");
- if(ds_grd_prcpdetl.getColumn(i,"chk") == 1){
- kRow = kRow +","+ i
- }
- }
- if(chek==0){
- sysf_messageBox("하나 이상의 처방내역을", "C002")
- return;
- }
- for (i=0; i<Row; i++){
- if(ds_grd_prcpdetl.getColumn(i,"chk") == "1"){
- //var sSrchData = "";
- var sSrchHeader = "m▦rownum▦chk▦pid▦hngnm▦gndrage▦depthngnm▦usernm▦prcpclscd▦stat▦prcpcd▦prcpnm▦datagroup▦mix▦prcpdelivefact▦keepspc▦ast▦partflag▦dgno▦lotno▦actorddd▦rsrvtm1▦orddd▦execdd▦execdeptcdnm▦execrid▦enddd▦endid▦prcpdd▦prcpno▦prcphistno▦instcd▦etcprcpresncd▦blodcomstat▩";
- var sSrchData = sSrchData
- + "u" +"▦"
- + i +"▦"
- + "true"+"▦"
- + ds_grd_prcpdetl.getColumn(i,"pid" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"hngnm" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"gndrage" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"depthngnm" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"usernm" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"prcpclscd" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"stat" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"prcpcd" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"prcpnm" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"datagroup" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"mix" )+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"prcpdelivefact" ))+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"keepspc" ))+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"ast" ))+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"partflag" ))+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"dgno" ))+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"lotno" ))+"▦"
- + ds_grd_prcpdetl.getColumn(i,"actorddd" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"rsrvtm1" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"orddd" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"execdd" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"execdeptcdnm" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"execrid" )+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"enddd" ))+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"endid" ))+"▦"
- + ds_grd_prcpdetl.getColumn(i,"prcpdd" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"prcpno" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"prcphistno" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"instcd" )+"▦"
- + ds_grd_prcpdetl.getColumn(i,"etcprcpresncd" )+"▦"
- + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"blodcomstat" ))+"▩";
- }
- }
-
- dsf_setCSVToDs("ds_send_data",sSrchHeader + sSrchData);
-
- dsf_createDsRow("ds_send", [{col: "enddd", val:ds_cond.getColumn(0,"enddd") }
- ,{col: "orddeptcd", val:ds_cond.getColumn(0,"orddeptcd") }
- ,{col: "execrid", val:ds_cond.getColumn(0,"execrid") }
- ]);
-
-
- var oParam = {};
- oParam.id = "TXMNI00201";
- oParam.service = "injroomapp.InjRoomPatMngt";
- oParam.method = "reqExeSetEndinfo";
- oParam.inds = "req=ds_send_data cominfo=ds_send";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNI00201";
- tranf_submit(oParam);
-
- fprcpdetllist();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : SMMNI00200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMMNI00200_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(group3.grd_prcpdetl);
- fInit();
- }
- function grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fprcpdetllist();
- }
- /****************************************************************************************
- * Components : grid
- * Components ID : grd_prcpdetl
- * Event : onmousemove
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 대상자리스트 그리드 mousemoveevent
- ****************************************************************************************/
- function group3_grd_prcpdetl_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.cell < 0 || utlf_isNull(obj.getCellText(e.row, e.cell))){
- obj.tooltiptext = "";
- return;
- }
-
- //tooltip 세팅
- var sObjExtCom = new ExtCommon();
- var sCellTextLen = sObjExtCom.getTextExtent(obj, obj.getCellText(e.row, e.cell));
-
-
- if(sCellTextLen[1] > obj.getRealColSize(e.cell)){
- obj.tooltiptext = utlf_trim(obj.getCellText(e.row, e.cell)); //cell의 width 보다 클 경우만 tooltiptext 셋팅.
- }else{
- obj.tooltiptext = ""; //tooltiptext 초기화
- }
- }
- function group3_btn_prcpend_onclick(obj:Button, e:ClickEventInfo)
- {
- fEndSave(); // 마감
- }
- function grp_sea_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- //var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- //grd_prcpdetl.saveExcel(fileName, "SheetName", true, true, "", "", false);
-
- grdf_exportExcel(group3.grd_prcpdetl, "exportExcel", "SheetName");
- }
- function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(obj.value == "1")
- {
- grp_sea.combo1.enable = true;
- grp_sea.cmb_execflag.enable = false;
- group3.btn_prcpend.enable = false;
-
- }
- else if (obj.value == "2")
- {
- grp_sea.combo1.enable = false;
- grp_sea.cmb_execflag.enable = true;
- group3.btn_prcpend.enable = true;
- }
- else
- {
- grp_sea.combo1.enable = false;
- grp_sea.cmb_execflag.enable = false;
- group3.btn_prcpend.enable = false;
- }
-
- }
- function grp_sea_cmb_execflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|