123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADT12003" classname="SMADT12000_통합마약조회" inheritanceid="" position="absolute 0 0 1197 888" titletext="New Form" oninit="SMADT12003_oninit" onload="SMADT12003_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text=" 통합 마약 불출,반환,잔량 현황" class="tit_1" position="absolute 3 1 256 26" onclick="caption6_onclick"/>
- <Static id="caption00" text="처방정보" class="tit_2" position="absolute 7 32 89 53"/>
- <Static id="caption01" text="마약 현황" class="tit_2" position="absolute 7 375 145 396"/>
- <Shape id="line01" class="line_1" position="absolute 5 364 1181 370"/>
- <Grid id="grd_narclist00" class="grd_orderlist" taborder="21" binddataset="ds_adnmstoclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 610 325 744 392" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="77" band="left"/>
- <Column size="67" band="left"/>
- <Column size="123" band="left"/>
- <Column size="34" band="left"/>
- <Column size="24" band="left"/>
- <Column size="70" band="left"/>
- <Column size="109"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="13"/>
- <Column size="36"/>
- <Column size="29"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="28"/>
- <Column size="40"/>
- <Column size="29"/>
- <Column size="54"/>
- <Column size="32"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="29"/>
- <Column size="32"/>
- <Column size="35"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="7"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="7"/>
- <Column size="85"/>
- <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="40"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="처방 코드" wordwrap="char"/>
- <Cell col="1" text="입고구분" wordwrap="char"/>
- <Cell col="2" text="제품번호" wordwrap="char"/>
- <Cell col="3" colspan="2" taborder="undefined">
- <Cell/>
- <Cell col="1"/>
- </Cell>
- <Cell col="5" text="유효기간" wordwrap="char"/>
- <Cell col="6" text="제조번호" wordwrap="char"/>
- <Cell col="7" text="일련번호" wordwrap="char"/>
- <Cell col="8" colspan="2" text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="10" colspan="2" text="바코드_RFID" wordwrap="char" taborder="undefined"/>
- <Cell col="12" colspan="2" text="저장소_NO" wordwrap="char" taborder="undefined"/>
- <Cell col="14" colspan="2" text="유통수량" wordwrap="char" taborder="undefined"/>
- <Cell col="16" colspan="2" text="낱개수량" wordwrap="char" taborder="undefined"/>
- <Cell col="18" text="입고수량" wordwrap="char"/>
- <Cell col="19" colspan="2" text="입고일자" wordwrap="char" taborder="undefined"/>
- <Cell col="21" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
- <Cell col="23" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
- <Cell col="25" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
- <Cell col="26" text="불출 신청자" wordwrap="char"/>
- <Cell col="27" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
- <Cell col="28" text="조제 약사" wordwrap="char"/>
- <Cell col="29" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
- <Cell col="30" text="투약 약사" wordwrap="char"/>
- <Cell col="31" text="수령일시" wordwrap="char"/>
- <Cell col="32" text="수령 담당자" wordwrap="char"/>
- <Cell col="33" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
- <Cell col="34" text="부서확인 간호사" wordwrap="char"/>
- <Cell col="35" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
- <Cell col="36" text="간호투약 간호사" wordwrap="char"/>
- <Cell col="37" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
- <Cell col="38" text="반환신청 간호사" wordwrap="char"/>
- <Cell col="39" text="반환일시" wordwrap="char"/>
- <Cell col="40" text="반환 담당자" wordwrap="char"/>
- <Cell col="41" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
- <Cell col="42" text="반환확인 약사" wordwrap="char"/>
- <Cell col="43" text="반환사유" wordwrap="char"/>
- <Cell col="44" style="align:left;padding:0 0 0 8;" text="잔량반납 신청일시" wordwrap="char"/>
- <Cell col="45" text="잔량반납신청 간호사" wordwrap="char"/>
- <Cell col="46" style="align:left;padding:0 0 0 8;" text="잔량반납 확인일시" wordwrap="char"/>
- <Cell col="47" text="잔량반납확인 약사" wordwrap="char"/>
- <Cell col="48" text="prcpno"/>
- <Cell col="49" text="prcphistno"/>
- <Cell col="50" text="drugdd"/>
- <Cell col="51" text="drugno"/>
- <Cell col="52" text="ioflag"/>
- <Cell col="53" text="instcd"/>
- <Cell col="54" text="narcflag"/>
- <Cell col="55" text="prntflag"/>
- <Cell col="56" text="orddd"/>
- <Cell col="57" text="orddeptcd"/>
- <Cell col="58" text="prcpgenrflag"/>
- <Cell col="59" text="prntdt"/>
- <Cell col="60" text="caption1"/>
- <Cell col="61" text="반납반환 표시여부"/>
- <Cell col="62" text="투약기록 완료여부"/>
- <Cell col="63" text="간호 실시횟수"/>
- <Cell col="64" text="간호 반환횟수"/>
- <Cell col="65" text="투약x반환불가 횟수"/>
- <Cell col="66"/>
- <Cell col="67"/>
- </Band>
- <Band id="body">
- <Cell style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="1" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:infg" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
- <Cell col="2" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:seq"/>
- <Cell col="4" text="bind:histno"/>
- <Cell col="5" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" colspan="2" style="background2:#f0f0f0ff;" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- </Cell>
- <Cell col="10" colspan="2" style="background2:#f0f0f0ff;" text="bind:prd_sgtin" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:dayprcpqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:dayprcpqtyunit"/>
- </Cell>
- <Cell col="12" colspan="2" style="background2:#f0f0f0ff;" text="bind:storge_no" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpqty2"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit2"/>
- </Cell>
- <Cell col="14" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_min_distb_qy"/>
- <Cell col="15" style="background2:#f0f0f0ff;" text="bind:prd_min_distb_unit"/>
- <Cell col="16" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_tot_pce_qy"/>
- <Cell col="17" style="background2:#f0f0f0ff;" text="bind:prd_pce_unit"/>
- <Cell col="18" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:in_pce_qy"/>
- <Cell col="19" colspan="2" style="background2:#f0f0f0ff;" text="bind:indd" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:spreqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
- </Cell>
- <Cell col="21" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:rtnqty" mask="99999999999"/>
- <Cell col="22" style="background2:#f0f0f0ff;" text="bind:rtnunit"/>
- <Cell col="23" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:returnqty"/>
- <Cell col="24" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- <Cell col="25" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="26" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
- <Cell col="27" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="28" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
- <Cell col="29" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="30" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
- <Cell col="31" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
- <Cell col="32" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
- <Cell col="33" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="34" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
- <Cell col="35" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="36" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
- <Cell col="37" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="38" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
- <Cell col="39" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
- <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
- <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
- <Cell col="43" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
- <Cell col="44" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="45" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
- <Cell col="46" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="47" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
- <Cell col="48" text="bind:prcpno"/>
- <Cell col="49" text="bind:prcphistno"/>
- <Cell col="50" text="bind:drugdd"/>
- <Cell col="51" text="bind:drugno"/>
- <Cell col="52" text="bind:ioflag"/>
- <Cell col="53" text="bind:instcd"/>
- <Cell col="54" text="bind:narcflag"/>
- <Cell col="55" text="bind:prntflag"/>
- <Cell col="56" text="bind:orddd"/>
- <Cell col="57" text="bind:orddeptcd"/>
- <Cell col="58" text="bind:prcpgenrflag"/>
- <Cell col="59" text="bind:prntdt"/>
- <Cell col="60" text="bind:presqty2"/>
- <Cell col="61" text="bind:statvisible"/>
- <Cell col="62" text="bind:medrendyn"/>
- <Cell col="63" text="bind:medrqty"/>
- <Cell col="64" text="bind:medrtims"/>
- <Cell col="65" text="bind:medrx"/>
- <Cell col="66" text="bind:drugseqno"/>
- <Cell col="67"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_narclist01" class="grd_orderlist" taborder="22" binddataset="ds_adnmstocorder" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 7 396 1180 864">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="58" band="left"/>
- <Column size="60" band="left"/>
- <Column size="54" band="left"/>
- <Column size="77" band="left"/>
- <Column size="62" band="left"/>
- <Column size="108" band="left"/>
- <Column size="90" band="left"/>
- <Column size="63" band="left"/>
- <Column size="139"/>
- <Column size="101"/>
- <Column size="30"/>
- <Column size="19"/>
- <Column size="49"/>
- <Column size="73"/>
- <Column size="69"/>
- <Column size="81"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text=" 등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="투약번호"/>
- <Cell col="4" text="처방 코드" wordwrap="char"/>
- <Cell col="5" text="불출저장소"/>
- <Cell col="6" text="LabelNo"/>
- <Cell col="7" text="제품번호" wordwrap="char"/>
- <Cell col="8" text="유효기간" wordwrap="char"/>
- <Cell col="9" text="제조번호" wordwrap="char"/>
- <Cell col="10" text="일련번호" wordwrap="char"/>
- <Cell col="11" colspan="2" text="seq" taborder="undefined">
- <Cell text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="1"/>
- </Cell>
- <Cell col="13" text="잔량"/>
- <Cell col="14" text="불출일자"/>
- <Cell col="15" text="반환일자"/>
- <Cell col="16" text="잔량처리일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:pid"/>
- <Cell col="2" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:pat_nm"/>
- <Cell col="3" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugno"/>
- <Cell col="4" style="align:center top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" text="bind:storge_no"/>
- <Cell col="6" text="bind:labelno" mask="@@@@-@@-@@ @@@"/>
- <Cell col="7" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="11" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- </Cell>
- <Cell col="12" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:histno"/>
- <Cell col="13" text="bind:spreqy"/>
- <Cell col="14" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:outdd"/>
- <Cell col="15" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:rtndd"/>
- <Cell col="16" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:spredd"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Button id="Button00" taborder="24" text="화면닫기" position="absolute 1074 24 1174 44" onclick="Button00_onclick"/>
- <Grid id="grd_narclist02" class="grd_orderlist" taborder="25" binddataset="ds_main_narclist_narclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 6 52 1184 361" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" band="left"/>
- <Column size="20" band="left"/>
- <Column size="26" band="left"/>
- <Column size="67" band="left"/>
- <Column size="44" band="left"/>
- <Column size="51" band="left"/>
- <Column size="30" band="left"/>
- <Column size="57" band="left"/>
- <Column size="41" band="left"/>
- <Column size="68"/>
- <Column size="130"/>
- <Column size="28"/>
- <Column size="30"/>
- <Column size="27"/>
- <Column size="30"/>
- <Column size="28"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="31"/>
- <Column size="28"/>
- <Column size="39"/>
- <Column size="27"/>
- <Column size="28"/>
- <Column size="29"/>
- <Column size="32"/>
- <Column size="33"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="7"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="7"/>
- <Column size="85"/>
- <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="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="처방 상태" wordwrap="char"/>
- <Cell col="3" text="처방일자" wordwrap="char"/>
- <Cell col="4" text="투약번호" wordwrap="char"/>
- <Cell col="5" text="수행부서" wordwrap="char"/>
- <Cell col="6" text="병실" wordwrap="char"/>
- <Cell col="7" text="환자번호" wordwrap="char"/>
- <Cell col="8" text="환자명" wordwrap="char"/>
- <Cell col="9" text="약품코드" wordwrap="char"/>
- <Cell col="10" text="약품명" wordwrap="char"/>
- <Cell col="11" colspan="2" text="총량" wordwrap="char" taborder="undefined"/>
- <Cell col="13" colspan="2" text="일수량" wordwrap="char" taborder="undefined"/>
- <Cell col="15" colspan="2" text="1회수량" wordwrap="char" taborder="undefined"/>
- <Cell col="17" colspan="2" text="일용량" wordwrap="char" taborder="undefined"/>
- <Cell col="19" colspan="2" text="1회용량" wordwrap="char" taborder="undefined"/>
- <Cell col="21" text="횟수" wordwrap="char"/>
- <Cell col="22" colspan="2" text="잔량" wordwrap="char" taborder="undefined"/>
- <Cell col="24" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
- <Cell col="26" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
- <Cell col="28" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
- <Cell col="29" text="불출 신청자" wordwrap="char"/>
- <Cell col="30" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
- <Cell col="31" text="조제 약사" wordwrap="char"/>
- <Cell col="32" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
- <Cell col="33" text="투약 약사" wordwrap="char"/>
- <Cell col="34" text="수령일시" wordwrap="char"/>
- <Cell col="35" text="수령 담당자" wordwrap="char"/>
- <Cell col="36" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
- <Cell col="37" text="부서확인 간호사" wordwrap="char"/>
- <Cell col="38" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
- <Cell col="39" text="간호투약 간호사" wordwrap="char"/>
- <Cell col="40" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
- <Cell col="41" text="반환신청 간호사" wordwrap="char"/>
- <Cell col="42" text="반환일시" wordwrap="char"/>
- <Cell col="43" text="반환 담당자" wordwrap="char"/>
- <Cell col="44" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
- <Cell col="45" text="반환확인 약사" wordwrap="char"/>
- <Cell col="46" text="반환사유" wordwrap="char"/>
- <Cell col="47" style="align:left;padding:0 0 0 8;" text="잔량반납 신청일시" wordwrap="char"/>
- <Cell col="48" text="잔량반납신청 간호사" wordwrap="char"/>
- <Cell col="49" style="align:left;padding:0 0 0 8;" text="잔량반납 확인일시" wordwrap="char"/>
- <Cell col="50" text="잔량반납확인 약사" wordwrap="char"/>
- <Cell col="51" text="prcpno"/>
- <Cell col="52" text="prcphistno"/>
- <Cell col="53" text="drugdd"/>
- <Cell col="54" text="drugno"/>
- <Cell col="55" text="ioflag"/>
- <Cell col="56" text="instcd"/>
- <Cell col="57" text="narcflag"/>
- <Cell col="58" text="prntflag"/>
- <Cell col="59" text="orddd"/>
- <Cell col="60" text="orddeptcd"/>
- <Cell col="61" text="prcpgenrflag"/>
- <Cell col="62" text="prntdt"/>
- <Cell col="63" text="caption1"/>
- <Cell col="64" text="반납반환 표시여부"/>
- <Cell col="65" text="투약기록 완료여부"/>
- <Cell col="66" text="간호 실시횟수"/>
- <Cell col="67" text="간호 반환횟수"/>
- <Cell col="68" text="투약x반환불가 횟수"/>
- <Cell col="69"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="expr:utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? 'none' : 'checkbox'" style="background:EXPR(sel = 'Y' ? f0f0f0ff'' : '');background2:#f0f0f0ff;controlbackground:EXPR(utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? 'silver' : '');controlborder:EXPR(utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? '1 solid #708090cc' : ''));" text="bind:sel" expr="expr:(sel=="Y"||sel==1)?1:0"/>
- <Cell col="2" style="align:center top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcphistcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpdd" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
- <Cell col="4" displaytype="text" style="align:center top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:drugno" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:issdeptcdnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:roomcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:pid" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:patnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:drugnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="11" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:totdrugqty"/>
- <Cell col="12" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit"/>
- <Cell col="13" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:dayprcpqty"/>
- <Cell col="14" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:dayprcpqtyunit"/>
- <Cell col="15" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqty2"/>
- <Cell col="16" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit2"/>
- <Cell col="17" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvol"/>
- <Cell col="18" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit"/>
- <Cell col="19" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvol2"/>
- <Cell col="20" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit2"/>
- <Cell col="21" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcptims"/>
- <Cell col="22" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:spreqty"/>
- <Cell col="23" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit"/>
- <Cell col="24" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:rtnqty" mask="99999999999"/>
- <Cell col="25" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:rtnunit"/>
- <Cell col="26" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:returnqty"/>
- <Cell col="27" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit"/>
- <Cell col="28" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="29" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
- <Cell col="30" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="31" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
- <Cell col="32" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="33" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
- <Cell col="34" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
- <Cell col="35" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
- <Cell col="36" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="37" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
- <Cell col="38" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="39" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
- <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
- <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
- <Cell col="43" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
- <Cell col="44" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="45" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
- <Cell col="46" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
- <Cell col="47" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="48" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
- <Cell col="49" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="50" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
- <Cell col="51" text="bind:prcpno"/>
- <Cell col="52" text="bind:prcphistno"/>
- <Cell col="53" text="bind:drugdd"/>
- <Cell col="54" text="bind:drugno"/>
- <Cell col="55" text="bind:ioflag"/>
- <Cell col="56" text="bind:instcd"/>
- <Cell col="57" text="bind:narcflag"/>
- <Cell col="58" text="bind:prntflag"/>
- <Cell col="59" text="bind:orddd"/>
- <Cell col="60" text="bind:orddeptcd"/>
- <Cell col="61" text="bind:prcpgenrflag"/>
- <Cell col="62" text="bind:prntdt"/>
- <Cell col="63" text="bind:presqty2"/>
- <Cell col="64" text="bind:statvisible"/>
- <Cell col="65" text="bind:medrendyn"/>
- <Cell col="66" text="bind:medrqty"/>
- <Cell col="67" text="bind:medrtims"/>
- <Cell col="68" text="bind:medrx"/>
- <Cell col="69" text="bind:drugseqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_narclist05" class="grd_orderlist" taborder="28" binddataset="ds_adnmstoclistmachi" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" visible="false" position="absolute 466 325 600 392">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="77" band="left"/>
- <Column size="67" band="left"/>
- <Column size="123" band="left"/>
- <Column size="34" band="left"/>
- <Column size="24" band="left"/>
- <Column size="70" band="left"/>
- <Column size="109"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="13"/>
- <Column size="36"/>
- <Column size="29"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="28"/>
- <Column size="40"/>
- <Column size="29"/>
- <Column size="54"/>
- <Column size="32"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="29"/>
- <Column size="32"/>
- <Column size="35"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="7"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="7"/>
- <Column size="85"/>
- <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="40"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="처방 코드" wordwrap="char"/>
- <Cell col="1" text="입고구분" wordwrap="char"/>
- <Cell col="2" text="제품번호" wordwrap="char"/>
- <Cell col="3" colspan="2" taborder="undefined">
- <Cell/>
- <Cell col="1"/>
- </Cell>
- <Cell col="5" text="유효기간" wordwrap="char"/>
- <Cell col="6" text="제조번호" wordwrap="char"/>
- <Cell col="7" text="일련번호" wordwrap="char"/>
- <Cell col="8" colspan="2" text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="10" colspan="2" text="바코드_RFID" wordwrap="char" taborder="undefined"/>
- <Cell col="12" colspan="2" text="저장소_NO" wordwrap="char" taborder="undefined"/>
- <Cell col="14" colspan="2" text="유통수량" wordwrap="char" taborder="undefined"/>
- <Cell col="16" colspan="2" text="낱개수량" wordwrap="char" taborder="undefined"/>
- <Cell col="18" text="입고수량" wordwrap="char"/>
- <Cell col="19" colspan="2" text="입고일자" wordwrap="char" taborder="undefined"/>
- <Cell col="21" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
- <Cell col="23" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
- <Cell col="25" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
- <Cell col="26" text="불출 신청자" wordwrap="char"/>
- <Cell col="27" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
- <Cell col="28" text="조제 약사" wordwrap="char"/>
- <Cell col="29" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
- <Cell col="30" text="투약 약사" wordwrap="char"/>
- <Cell col="31" text="수령일시" wordwrap="char"/>
- <Cell col="32" text="수령 담당자" wordwrap="char"/>
- <Cell col="33" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
- <Cell col="34" text="부서확인 간호사" wordwrap="char"/>
- <Cell col="35" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
- <Cell col="36" text="간호투약 간호사" wordwrap="char"/>
- <Cell col="37" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
- <Cell col="38" text="반환신청 간호사" wordwrap="char"/>
- <Cell col="39" text="반환일시" wordwrap="char"/>
- <Cell col="40" text="반환 담당자" wordwrap="char"/>
- <Cell col="41" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
- <Cell col="42" text="반환확인 약사" wordwrap="char"/>
- <Cell col="43" text="반환사유" wordwrap="char"/>
- <Cell col="44" style="align:left;padding:0 0 0 8;" text="잔량반납 신청일시" wordwrap="char"/>
- <Cell col="45" text="잔량반납신청 간호사" wordwrap="char"/>
- <Cell col="46" style="align:left;padding:0 0 0 8;" text="잔량반납 확인일시" wordwrap="char"/>
- <Cell col="47" text="잔량반납확인 약사" wordwrap="char"/>
- <Cell col="48" text="prcpno"/>
- <Cell col="49" text="prcphistno"/>
- <Cell col="50" text="drugdd"/>
- <Cell col="51" text="drugno"/>
- <Cell col="52" text="ioflag"/>
- <Cell col="53" text="instcd"/>
- <Cell col="54" text="narcflag"/>
- <Cell col="55" text="prntflag"/>
- <Cell col="56" text="orddd"/>
- <Cell col="57" text="orddeptcd"/>
- <Cell col="58" text="prcpgenrflag"/>
- <Cell col="59" text="prntdt"/>
- <Cell col="60" text="caption1"/>
- <Cell col="61" text="반납반환 표시여부"/>
- <Cell col="62" text="투약기록 완료여부"/>
- <Cell col="63" text="간호 실시횟수"/>
- <Cell col="64" text="간호 반환횟수"/>
- <Cell col="65" text="투약x반환불가 횟수"/>
- <Cell col="66"/>
- <Cell col="67"/>
- </Band>
- <Band id="body">
- <Cell style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="1" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:infg" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
- <Cell col="2" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:seq"/>
- <Cell col="4" text="bind:histno"/>
- <Cell col="5" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" colspan="2" style="background2:#f0f0f0ff;" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- </Cell>
- <Cell col="10" colspan="2" style="background2:#f0f0f0ff;" text="bind:prd_sgtin" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:dayprcpqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:dayprcpqtyunit"/>
- </Cell>
- <Cell col="12" colspan="2" style="background2:#f0f0f0ff;" text="bind:storge_no" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpqty2"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit2"/>
- </Cell>
- <Cell col="14" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_min_distb_qy"/>
- <Cell col="15" style="background2:#f0f0f0ff;" text="bind:prd_min_distb_unit"/>
- <Cell col="16" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_tot_pce_qy"/>
- <Cell col="17" style="background2:#f0f0f0ff;" text="bind:prd_pce_unit"/>
- <Cell col="18" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:in_pce_qy"/>
- <Cell col="19" colspan="2" style="background2:#f0f0f0ff;" text="bind:indd" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:spreqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
- </Cell>
- <Cell col="21" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:rtnqty" mask="99999999999"/>
- <Cell col="22" style="background2:#f0f0f0ff;" text="bind:rtnunit"/>
- <Cell col="23" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:returnqty"/>
- <Cell col="24" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- <Cell col="25" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="26" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
- <Cell col="27" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="28" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
- <Cell col="29" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="30" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
- <Cell col="31" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
- <Cell col="32" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
- <Cell col="33" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="34" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
- <Cell col="35" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="36" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
- <Cell col="37" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="38" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
- <Cell col="39" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
- <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
- <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
- <Cell col="43" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
- <Cell col="44" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="45" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
- <Cell col="46" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="47" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
- <Cell col="48" text="bind:prcpno"/>
- <Cell col="49" text="bind:prcphistno"/>
- <Cell col="50" text="bind:drugdd"/>
- <Cell col="51" text="bind:drugno"/>
- <Cell col="52" text="bind:ioflag"/>
- <Cell col="53" text="bind:instcd"/>
- <Cell col="54" text="bind:narcflag"/>
- <Cell col="55" text="bind:prntflag"/>
- <Cell col="56" text="bind:orddd"/>
- <Cell col="57" text="bind:orddeptcd"/>
- <Cell col="58" text="bind:prcpgenrflag"/>
- <Cell col="59" text="bind:prntdt"/>
- <Cell col="60" text="bind:presqty2"/>
- <Cell col="61" text="bind:statvisible"/>
- <Cell col="62" text="bind:medrendyn"/>
- <Cell col="63" text="bind:medrqty"/>
- <Cell col="64" text="bind:medrtims"/>
- <Cell col="65" text="bind:medrx"/>
- <Cell col="66" text="bind:drugseqno"/>
- <Cell col="67"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Bind>
- <BindItem id="item12" compid="SMADT12003" propid="text" datasetid="ds_main_prntlist_patinfo" columnid=""/>
- </Bind>
- <Objects>
- <Dataset id="ds_srchbarcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="barcode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="type" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_finddrugno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="drugseqno" type="STRING" size="256"/>
- <Column id="drugkind" type="STRING" size="256"/>
- <Column id="drugflag" type="STRING" size="256"/>
- <Column id="drugstat" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_narclist_narclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_stoc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="storge_no" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="seltype" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstoclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_in" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qy" type="STRING" size="256"/>
- <column id="ade_cnt" type="STRING" size="256"/>
- <column id="tot_dcnt" type="STRING" size="256"/>
- <column id="sum_qy" type="STRING" size="256"/>
- <column id="aft_dsuse_qy" type="STRING" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstocorder" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_nm" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qty" type="STRING" size="256"/>
- <column id="ade_cnt" type="STRING" size="256"/>
- <column id="tot_dcnt" type="STRING" size="256"/>
- <column id="sum_qy" type="STRING" size="256"/>
- <column id="aft_dsuse_qy" type="STRING" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_sendstocupdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="255" value=""/>
- <Column id="infg" type="STRING" size="255" value=""/>
- <Column id="histno" type="STRING" size="255" value=""/>
- <Column id="gtin" type="STRING" size="255" value=""/>
- <Column id="prd_valid_de" type="STRING" size="255" value=""/>
- <Column id="mnf_no" type="STRING" size="255" value=""/>
- <Column id="mnf_seq" type="STRING" size="255" value=""/>
- <Column id="seq" type="STRING" size="255" value=""/>
- <Column id="prcpno" type="STRING" size="255" value=""/>
- <Column id="drugdd" type="STRING" size="255" value=""/>
- <Column id="drugno" type="STRING" size="255" value=""/>
- <Column id="ioflag" type="STRING" size="255" value=""/>
- <Column id="drugseqno" type="STRING" size="255" value=""/>
- <Column id="pat_id_no_ty_cd" type="STRING" size="255" value=""/>
- <Column id="pat_id_no" type="STRING" size="255" value=""/>
- <Column id="pat_nm" type="STRING" size="255" value=""/>
- <Column id="lcns_asort_cd" type="STRING" size="255" value=""/>
- <Column id="lcns_no" type="STRING" size="255" value=""/>
- <Column id="prsc_doc_nm" type="STRING" size="255" value=""/>
- <Column id="prsc_ord_no" type="STRING" size="255" value=""/>
- <Column id="diss_code" type="STRING" size="255" value=""/>
- <Column id="once_qy" type="STRING" size="255" value=""/>
- <Column id="ade_cnt" type="STRING" size="255" value=""/>
- <Column id="tot_dcnt" type="STRING" size="255" value=""/>
- <Column id="sum_qy" type="STRING" size="255" value=""/>
- <Column id="spreqy" type="STRING" size="256"/>
- <Column id="rtnqy" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_sumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="order" type="STRING" size="256"/>
- <Column id="outsum" type="STRING" size="256"/>
- <Column id="jaegosum" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_selstoc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onload="ds_send_selstoc_onload">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="pat_id_no" type="STRING" size="256"/>
- <Column id="seltype" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2018-03-08
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_commonxp::AST.xjs"
- var ArSendFlag = "";
- var Arstorge_no = "";
- function SMADT12003_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- grdf_setGridSort(grd_narclist02);
- grdf_setGridSort(grd_narclist01);
-
- var Vdeptcd = ds_main_narclist_narclist.getColumn(0, "stocdeptcd");
- if ( Vdeptcd == '3240300000') {
- Arstorge_no = "S0002";
- } else if ( Vdeptcd == '3240400000') {
- Arstorge_no = "S0003";
- } else if ( Vdeptcd == '3240807000') {
- Arstorge_no = "S0004";
- } else {
- Arstorge_no = "S0001";
- }
- }
- function SMADT12003_onload(obj:Form, e:LoadEventInfo)
- {
- ds_main_narclist_narclist.clearData()
- ds_adnmstocorder.clearData();
- ds_main_narclist_narclist.copyData(arg_ds_sendnarcstoc);
- ArSendFlag = arg_flag ;
- ds_send_prntinfo.clear();
- dsf_copyColInfo(ds_send_prntinfo,ds_finddrugno);
- ds_send_prntinfo.addRow();
- ////Prcp , Rtn 넘어오는 Flag 값//
- //alert(ArSendFlag) ;
- for(var i = 0; i < ds_main_narclist_narclist.rowcount ; i++){
- var Fpid = ds_main_narclist_narclist.getColumn(i, "pid");
- var Fdrugdd = ds_main_narclist_narclist.getColumn(i, "drugdd");
- var Fprcpdd = ds_main_narclist_narclist.getColumn(i, "prcpdd");
- var Fprcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
- var Forddd = ds_main_narclist_narclist.getColumn(i, "orddd");
- var Fdrugno = ds_main_narclist_narclist.getColumn(i, "drugno");
- var Fprcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var Fioflag = ds_main_narclist_narclist.getColumn(i, "ioflag");
- var Fprcphistno = ds_main_narclist_narclist.getColumn(i, "prcphistno");
- var Fdrugseqno = ds_main_narclist_narclist.getColumn(i, "drugseqno");
- var Fisdeptnm = ds_main_narclist_narclist.getColumn(i, "issdeptcdnm");
-
- ds_send_prntinfo.setColumn(0,"pid" , Fpid );
- ds_send_prntinfo.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_prntinfo.setColumn(0,"prcpdd" , Fprcpdd );
- ds_send_prntinfo.setColumn(0,"orddd" , Forddd );
- ds_send_prntinfo.setColumn(0,"drugno" , Fdrugno );
- ds_send_prntinfo.setColumn(0,"prcpno" , Fprcpno );
- ds_send_prntinfo.setColumn(0,"ioflag" , Fioflag );
- ds_send_prntinfo.setColumn(0,"prcphistno" , Fprcphistno );
- ds_send_prntinfo.setColumn(0,"drugseqno" , Fdrugseqno );
-
- var sPrcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd"); // 처방코드명
- var sPrcpno = ds_main_narclist_narclist.getColumn(i, "prcpno"); // 처방코드명
- var sTotdrugqty = parseInt(ds_main_narclist_narclist.getColumn(i, "totdrugqty")); // 처방코드명
- // alert(sPrcpcd);
- ds_send_stoc.setColumn(0,"drugcd" , Fprcpcd );
- ds_send_stoc.setColumn(0,"storge_no" , Arstorge_no );
- ds_send_stoc.setColumn(0,"prcpno" , Fprcpno );
- ds_send_stoc.setColumn(0,"pid" , Fpid );
- var oParam = {};
- oParam.id = "TRADT12007";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocOkList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- if ( ds_adnmstoclist.rowcount >= sTotdrugqty ){
- ds_main_narclist_narclist.setColumn(i,"sel" , "Y" );
- }else{
- ds_main_narclist_narclist.setColumn(i,"sel" , "N" );
- }
- for(var k = 0; k < ds_adnmstoclist.rowcount ; k++){
- var nRow = ds_adnmstocorder.addRow();
- ds_adnmstocorder.copyRow(nRow, ds_adnmstoclist, k);
- }
- }
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|