123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPADB61000" position="absolute 0 0 810 664" titletext="Untitle" oninit="SPADB61000_oninit" onload="SPADB61000_onload">
- <Layouts>
- <Layout>
- <Static text="임상시험약품검색" position="absolute 0 96 177 113" id="caption7" class="tit_2"/>
- <Shape position="absolute 0 112 809 118" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
- <Tab position="absolute 0 119 809 624" id="switch1" class="tab_Normal">
- <Tabpages>
- <Tabpage text="" id="case1">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 7 809 492" id="grd_druglist1" binddataset="ds_main_druglist_item" cellsizingtype="col" extendsizetype="row" autosizingtype="row" oncelldblclick="switch1_case1_grd_druglist1_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="90"/>
- <Column size="131"/>
- <Column size="183"/>
- <Column size="196"/>
- <Column size="62"/>
- <Column size="75"/>
- <Column size="62"/>
- <Column size="63"/>
- <Column size="66"/>
- <Column size="56"/>
- <Column size="52"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="약품코드"/>
- <Cell col="2" text="성분명"/>
- <Cell col="3" text="한글상품명"/>
- <Cell col="4" text="영문상품명"/>
- <Cell col="5" text="과제번호"/>
- <Cell col="6" text="시험책임자"/>
- <Cell col="7" text="의뢰자"/>
- <Cell col="8" text="임상단계"/>
- <Cell col="9" text="맹검구분"/>
- <Cell col="10" text="분류"/>
- <Cell col="11" text="효능"/>
- <Cell col="12" text="수가생성일"/>
- <Cell col="13" text="종결일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow == ds_main_druglist_item.rowposition ? "▶" : """/>
- <Cell col="1" style="align:left;padding:2 2 2 2;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:ordnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" style="align:left;padding:2 2 2 2;" text="bind:hngnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:engnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" style="align:left;padding:2 2 2 2;" text="bind:subjid" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" style="align:left;padding:2 2 2 2;" text="bind:respstdynm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:left;padding:2 2 2 2;" text="bind:reqnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" style="align:left;padding:2 2 2 2;" text="bind:clincflag" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" style="align:left;padding:2 2 2 2;" text="bind:blntestcls" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" style="align:left;padding:2 2 2 2;" text="bind:kindcls" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="11" style="align:left;padding:2 2 2 2;" text="bind:efcycd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="12" displaytype="date" text="bind:calcscorreqdt"/>
- <Cell col="13" displaytype="date" text="bind:subjenddd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="case2">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 5 240 490" id="grd_comlist" binddataset="ds_main_comlist_item" extendsizetype="row" autosizingtype="row" treeuseimage="false" treeusecheckbox="false" scrollpixel="all" autofittype="col" selecttype="treecell" oncelldblclick="switch1_case2_grd_comlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="25"/>
- <Column size="216"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="코드"/>
- <Cell col="1"/>
- <Cell col="2" text="명 칭"/>
- <Cell col="3" text="레벨"/>
- </Band>
- <Band id="body">
- <Cell text="bind:comcd"/>
- <Cell col="1" celltype="head" text="expr:currow == ds_main_comlist_item.rowposition ? "▶" : """/>
- <Cell col="2" displaytype="tree" edittype="tree" style="align:left;padding:2 2 2 2;" text="bind:comnm" wordwrap="char" treelevel="bind:comlevel" autosizerow="limitmin"/>
- <Cell col="3" text="bind:comlevel"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 246 5 809 490" id="grd_druglist2" binddataset="ds_main_druglist_item" cellsizingtype="col" autofittype="col" extendsizetype="row" autosizingtype="row" oncelldblclick="switch1_case2_grd_druglist2_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="420"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="약품코드"/>
- <Cell col="2" text="처방명칭"/>
- <Cell col="3"/>
- <Cell col="4"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow == ds_main_druglist_item.rowposition ? "▶" : """/>
- <Cell col="1" style="align:left;padding:2 2 2 2;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:ordnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:druginfo"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="case3">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 5 240 490" id="grd_efcylist" binddataset="ds_main_efcylist_item" autofittype="col" treeuseimage="false" treeusecheckbox="false" autosizingtype="row" extendsizetype="row" oncelldblclick="switch1_case3_grd_efcylist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="212"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="코드"/>
- <Cell col="1" text="효능명칭"/>
- <Cell col="2" text="레벨"/>
- </Band>
- <Band id="body">
- <Cell text="bind:efcycd"/>
- <Cell col="1" displaytype="tree" edittype="tree" style="align:left;padding:2 2 2 2;" text="bind:efcynm" treelevel="bind:efcylevel" autosizerow="limitmin"/>
- <Cell col="2" text="bind:efcylevel"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 246 5 809 490" id="grd_druglist3" binddataset="ds_main_druglist_item" autofittype="col" autosizingtype="row" extendsizetype="row" cellsizingtype="col" oncelldblclick="switch1_case3_grd_druglist3_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="100"/>
- <Column size="421"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="약품코드"/>
- <Cell col="2" text="처방명칭"/>
- <Cell col="3"/>
- <Cell col="4"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow == ds_main_druglist_item.rowposition ? "▶" : """/>
- <Cell col="1" style="align:left;padding:2 2 2 2;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:ordnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:druginfo"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button position="absolute 752 633 808 655" id="btn_cls" class="btn4" text="닫기" onclick="btn_cls_onclick"/>
- <Tab id="btn_switch" taborder="1" tabindex="0" tabjustify="true" position="absolute 0 117 810 139" onlbuttonup="btn_switch_onlbuttonup">
- <Tabpages>
- <Tabpage id="button64" text="All"/>
- <Tabpage id="button2" text="A"/>
- <Tabpage id="button3" text="B"/>
- <Tabpage id="button4" text="C"/>
- <Tabpage id="button5" text="D"/>
- <Tabpage id="button6" text="E"/>
- <Tabpage id="button7" text="G"/>
- <Tabpage id="button8" text="H"/>
- <Tabpage id="button9" text="I"/>
- <Tabpage id="button10" text="J"/>
- <Tabpage id="button11" text="K"/>
- <Tabpage id="button12" text="L"/>
- <Tabpage id="button13" text="M"/>
- <Tabpage id="button14" text="N"/>
- <Tabpage id="button15" text="O"/>
- <Tabpage id="button16" text="P"/>
- <Tabpage id="button17" text="Q"/>
- <Tabpage id="button18" text="R"/>
- <Tabpage id="button19" text="S"/>
- <Tabpage id="button20" text="T"/>
- <Tabpage id="button21" text="U"/>
- <Tabpage id="button22" text="V"/>
- <Tabpage id="button23" text="W"/>
- <Tabpage id="button24" text="X"/>
- <Tabpage id="button25" text="Y"/>
- <Tabpage id="button26" text="Z"/>
- </Tabpages>
- </Tab>
- <Div id="grp_srch" taborder="2" text="Div00" position="absolute 0 0 809 86" class="div_SA2">
- <Layouts>
- <Layout>
- <Static id="caption3" text="구 분 :" class="search_name" position="absolute 10 10 96 27" anchor="default"/>
- <Static id="caption1" text="분 류 :" class="search_name" position="absolute 10 35 96 52" anchor="default"/>
- <Static id="caption2" text="종결여부 :" class="search_name" position="absolute 10 60 88 77" anchor="default"/>
- <Static id="caption4" text="순서 :" class="search_name" position="absolute 520 10 580 27" anchor="default"/>
- <Static id="caption5" text="맹검분류 :" class="search_name" position="absolute 515 35 593 52" anchor="default"/>
- <Static id="caption6" text="조회 :" class="search_name" position="absolute 465 60 516 77" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 737 9 743 79" anchor="default"/>
- <Radio id="radio2" taborder="1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 91 8 331 28" anchor="default" index="-1" onitemchanged="grp_srch_radio2_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">코드별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">성분별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">효능별</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">상품명별</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 5 27 725 33" anchor="default"/>
- <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 5 52 725 58" anchor="default"/>
- <Edit id="input1" taborder="3" class="input_search" position="absolute 595 58 730 77" anchor="default" onkeydown="grp_srch_input1_onkeydown"/>
- <Combo id="combo1" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 517 58 592 77" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">코드명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">성분명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">상품명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="combo2" taborder="5" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" enable="false" position="absolute 92 58 187 77" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">수가미등록</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">수가등록</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">수가종결</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="combo3" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 595 33 730 52" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn"/>
- </Row>
- <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>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">이중맹검</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">처방의맹검</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Radio id="radio1" taborder="7" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 572 8 732 28" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">약품코드순</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">처방명칭순</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption8" text="저장구분 :" class="search_name" position="absolute 340 10 418 27" anchor="default"/>
- <Combo id="combo4" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 361 33 496 52" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn"/>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">허가1</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">허가2</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">허가3</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">연구용</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption9" text="임상단계 :" class="search_name" position="absolute 285 35 363 52" anchor="default"/>
- <Static id="caption10" text="기간 :" class="search_name" position="absolute 202 60 251 77" anchor="default"/>
- <Calendar id="input5" taborder="10" class="input_search" enable="false" position="absolute 252 58 352 77" anchor="default"/>
- <Calendar id="input2" taborder="11" class="input_search" enable="false" position="absolute 355 58 455 77" anchor="default"/>
- <Button id="btn_sea" taborder="12" text="조회" class="btn1" position="absolute 746 30 802 52" anchor="default" onclick="grp_srch_btn_sea_onclick"/>
- <CheckBox id="chk_drugkindall" taborder="13" class="checkbox_search" position="absolute 232 32 282 52" anchor="default" text="전체" onchanged="grp_srch_chk_drugkindall_onchanged" truevalue="4"/>
- <cp_checkboxList id="checkbox1" titletext="checkbox1" taborder="14" text="checkbox1" scrollbars="none" position="absolute 419 7 519 27" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
- <cp_checkboxList id="chk_drugkind" titletext="chk_drugkind" taborder="15" text="chk_drugkind" scrollbars="none" position="absolute 92 32 192 52" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_druglist_item" 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="ordnm" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="druginfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_comlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="comcd" type="STRING" size="256"/>
- <Column id="comnm" type="STRING" size="256"/>
- <Column id="comlevel" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_efcylist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="efcycd" type="STRING" size="256"/>
- <Column id="efcynm" type="STRING" size="256"/>
- <Column id="efcylevel" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcls" type="STRING" size="256"/>
- <Column id="cnfmyn" type="STRING" size="256"/>
- <Column id="seqflag" type="STRING" size="256"/>
- <Column id="drugkind" type="STRING" size="256"/>
- <Column id="drugkindall" type="STRING" size="256"/>
- <Column id="spcldrug" type="STRING" size="256"/>
- <Column id="efcycd" type="STRING" size="256"/>
- <Column id="efcycls" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchcnts" type="STRING" size="256"/>
- <Column id="srchdrugcd" type="STRING" size="256"/>
- <Column id="srchcomcd" type="STRING" size="256"/>
- <Column id="srchcomnm" type="STRING" size="256"/>
- <Column id="srchefcy" type="STRING" size="256"/>
- <Column id="srchetcflag" type="STRING" size="256"/>
- <Column id="srchclincflag" type="STRING" size="256"/>
- <Column id="blntestclsflag" type="STRING" size="256"/>
- <Column id="ctdrugyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcls">1</Col>
- <Col id="cnfmyn">Y N</Col>
- <Col id="seqflag">1</Col>
- <Col id="drugkind">N M Y</Col>
- <Col id="drugkindall">4</Col>
- <Col id="spcldrug"/>
- <Col id="efcycd">-</Col>
- <Col id="efcycls"/>
- <Col id="srchflag">1</Col>
- <Col id="srchcnts"/>
- <Col id="srchdrugcd">%</Col>
- <Col id="srchcomcd"/>
- <Col id="srchcomnm"/>
- <Col id="srchefcy"/>
- <Col id="srchetcflag">A</Col>
- <Col id="srchclincflag"/>
- <Col id="blntestclsflag"/>
- <Col id="ctdrugyn">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0096" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_A0006" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_receivedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="receiveref" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchcnts" type="STRING" size="256"/>
- <Column id="drugkind" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="receiveref"/>
- <Col id="srchflag"/>
- <Col id="srchcnts"/>
- <Col id="drugkind"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_chk_drugkind" 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">N</Col>
- </Row>
- <Row>
- <Col id="label">주사</Col>
- <Col id="value">M</Col>
- </Row>
- <Row>
- <Col id="label">외용</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_checkbox1" 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">Y</Col>
- </Row>
- <Row>
- <Col id="label">임시</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_srch.radio2" propid="value" datasetid="ds_send" columnid="srchcls"/>
- <BindItem id="item1" compid="grp_srch.radio1" propid="value" datasetid="ds_send" columnid="seqflag"/>
- <BindItem id="item2" compid="grp_srch.combo3" propid="value" datasetid="ds_send" columnid="blntestclsflag"/>
- <BindItem id="item3" compid="grp_srch.input1" propid="value" datasetid="ds_send" columnid="srchcnts"/>
- <BindItem id="item4" compid="grp_srch.combo1" propid="value" datasetid="ds_send" columnid="srchflag"/>
- <BindItem id="item5" compid="grp_srch.combo4" propid="value" datasetid="ds_send" columnid="srchclincflag"/>
- <BindItem id="item8" compid="grp_srch.chk_drugkindall" propid="value" datasetid="ds_send" columnid="drugkindall"/>
- <BindItem id="item9" compid="grp_srch.combo2" propid="value" datasetid="ds_send" columnid=""/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 멀티체크박스 선택시 이벤트 함수
- ****************************************************************************************/
- function fn_checkbox1() {
- ds_send.setColumn(0,"cnfmyn" ,String(grp_srch.checkbox1.getData()).replace(","," "));
- }
- function fn_chk_drugkind() {
- ds_send.setColumn(0,"drugkind",String(grp_srch.chk_drugkind.getData()).replace(","," "));
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 약품 조회
- ****************************************************************************************/
- function call_TRADB60101() {
- var oParam = {};
- oParam.id = "TRADB60101";
- oParam.service = "pharmacybaseapp.DrugCode";
- oParam.method = "reqGetDrugCodeList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_druglist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADB60101";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : opener에 정보 전달
- ****************************************************************************************/
- function lf_gridDbClick() {
- var receiveref = ds_temp_receivedata.getColumn(0,"receiveref");
- // opener 에서 TF 에선 xpath를 다 보내줬지만 XP에선 불가. DS 따로 cd나 nm을 받을 컬럼을 따로 구분하여 호출해야한다.
- var drugcd = ds_temp_receivedata.getColumn(0,"receivedrugcd");
- var drugnm = ds_temp_receivedata.getColumn(0,"receivedrugnm");
-
- if(utlf_isNull(receiveref)) receiveref = "ds_temp_receivedata";
- if(utlf_isNull(drugcd)) drugcd = "drugcd";
- if(utlf_isNull(drugnm)) drugnm = "drugnm";
-
- if(frmf_checkOpener()) {
- dsf_makeValue(opener.objects[receiveref],drugcd,"string",ds_main_druglist_item.getColumn(ds_main_druglist_item.rowposition,"drugcd"));
- dsf_makeValue(opener.objects[receiveref],drugnm,"string",ds_main_druglist_item.getColumn(ds_main_druglist_item.rowposition,"hngnm"));
- this.close();
- } else {
- sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수 없습니다.","E");
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPADB61000
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPADB61000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPADB61000
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPADB61000_onload(obj:Form, e:LoadEventInfo)
- {
- try{
- ds_temp_receivedata.copyData(arg_ds_temp_receivedata);
- }catch(e){}
-
- var sProp_2_1 = "col=2,row=1,cellspacing=1,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- var sProp_3_1 = "col=3,row=1,cellspacing=1,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- grp_srch.checkbox1.setInitComp(sProp_2_1,ds_checkbox1,"value","label","fn_checkbox1");
- grp_srch.chk_drugkind.setInitComp(sProp_3_1,ds_chk_drugkind,"value","label","fn_chk_drugkind");
-
- grp_srch.checkbox1.setData(utlf_transNullToEmpty(ds_send.getColumn(0,"cnfmyn")).split(" "),null,false);
- grp_srch.chk_drugkind.setData(utlf_transNullToEmpty(ds_send.getColumn(0,"drugkind")).split(" "),null,false);
- // zbcfGetCodeList( new Array("A0006", "P0096"), new Array("/root/init/cmbinfo/spcldrug", "/root/init/cmbinfo/efcycls") );
- var arrParam = [{dsNm: "ds_init_A0006", cdGrpId: "A0006"}
- ,{dsNm: "ds_init_P0096", cdGrpId: "P0096"}
- ]
- appf_getCodeList(arrParam);
-
- if ( !utlf_isNull(ds_temp_receivedata.getColumn(0,"drugkind"))) {
- ds_send.setColumn(0,"drugkind", ds_temp_receivedata.getColumn(0,"drugkind"));
- grp_srch.chk_drugkind.setData(utlf_transNullToEmpty(ds_send.getColumn(0,"drugkind")).split(" "),null,false);
- }
-
- if ( !utlf_isNull(ds_temp_receivedata.getColumn(0,"srchcnts"))) {
- ds_send.setColumn(0,"srchcnts" , ds_temp_receivedata.getColumn(0,"srchcnts"));
- ds_send.setColumn(0,"srchflag" , ds_temp_receivedata.getColumn(0,"srchflag"));
- ds_send.setColumn(0,"srchdrugcd","D%");
-
- call_TRADB60101();
- }
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : grp_srch.radio2
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 구분 선택
- ****************************************************************************************/
- function grp_srch_radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_main_druglist_item.clearData();
- if ( ds_send.getColumn(0,"srchcls") == "2") {
- switch1.tabindex = 1;
-
- if ( ds_main_comlist_item.rowcount < 1 ) {
- var oParam = {};
- oParam.id = "TRADB60102";
- oParam.service = "pharmacybaseapp.ComCode";
- oParam.method = "reqGetComList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_comlist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADB60102";
- tranf_submit(oParam);
-
- grdf_setToolTipBind(switch1.case2.grd_comlist);
- // setTree(grd_comlist, grd_comlist.colRef("comlevel"),grd_comlist.colRef("comnm"), true );
- }
- } else if ( ds_send.getColumn(0,"srchcls") == "3") {
- switch1.tabindex = 2;
-
- if ( ds_main_efcylist_item.rowcount < 1 ) {
- var oParam = {};
- oParam.id = "TRADB60103";
- oParam.service = "pharmacybaseapp.EfficacyCode";
- oParam.method = "reqGetEfficacyList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_efcylist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADB60103";
- tranf_submit(oParam);
- grdf_setToolTipBind(switch1.case3.grd_efcylist);
- // setTree(grd_efcylist, grd_efcylist.colRef("efcylevel"),grd_efcylist.colRef("efcynm"), true );
- }
- }else {
- ds_send.setColumn(0,"srchetcflag","A");
- switch1.tabindex = 0;
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : grp_srch.chk_drugkindall
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 분류전체선택
- ****************************************************************************************/
- function grp_srch_chk_drugkindall_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- if(e.postvalue == "4") {
- grp_srch.chk_drugkind.setCheckAll(true);
- } else {
- grp_srch.chk_drugkind.setCheckAll(false);
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : grp_srch.input1
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회조건 입력 후 엔터로 조회
- ****************************************************************************************/
- function grp_srch_input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- frmf_inputEnterKey("grp_srch.btn_sea", "onclick", new ClickEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_srch.btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function grp_srch_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0,"ctdrugyn","Y");
- if(utlf_isNull(ds_send.getColumn(0,"srchclincflag")) && utlf_isNull(ds_send.getColumn(0,"blntestclsflag"))) {
- call_TRADB60101();
- } else {
- var oParam = {};
- oParam.id = "TRADB60104";
- oParam.service = "pharmacybaseapp.DrugCode";
- oParam.method = "reqGetSrchDrugCodeList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_druglist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADB60104";
- tranf_submit(oParam);
- }
- }
- /****************************************************************************************
- * Components : Tab
- * Components ID : btn_switch
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 알파벳 버튼 클릭시 해당 약품코드 조회
- ****************************************************************************************/
- function btn_switch_onlbuttonup(obj:Tab, e:TabMouseEventInfo)
- {
- ds_send.setColumn(0,"srchcnts","");
- var tabText = obj.tabpages[obj.tabindex].text;
-
- if(tabText == "All") {
- ds_send.setColumn(0,"srchdrugcd","");
- } else {
- ds_send.setColumn(0,"srchdrugcd",tabText+"%");
- }
- call_TRADB60101();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case1.grd_druglist1
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약품정보 더블클릭하여 opener에 전달
- ****************************************************************************************/
- function switch1_case1_grd_druglist1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_gridDbClick();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case2.grd_comlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 성분명칭 더블 클릭하여 약품검색
- ****************************************************************************************/
- function switch1_case2_grd_comlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_send.setColumn(0,"srchetcflag","C");
- ds_send.setColumn(0,"srchcomcd",ds_main_comlist_item.getColumn(e.row,"comcd"));
-
- call_TRADB60101();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case2.grd_druglist2
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약품정보 더블클릭하여 opener에 전달
- ****************************************************************************************/
- function switch1_case2_grd_druglist2_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_gridDbClick();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case3.grd_efcylist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 효능명칭 더블 클릭하여 약품검색
- ****************************************************************************************/
- function switch1_case3_grd_efcylist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_send.setColumn(0,"srchetcflag","E");
- ds_send.setColumn(0,"srchefcy",ds_main_efcylist_item.getColumn(e.row,"efcycd"));
- call_TRADB60101();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case3.grd_druglist3
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 약품정보 더블클릭하여 opener에 전달
- ****************************************************************************************/
- function switch1_case3_grd_druglist3_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_gridDbClick();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_cls
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 닫기
- ****************************************************************************************/
- function btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|