123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADT20400" position="absolute 0 0 1195 729" titletext="TPNCodeMaster 관리" oninit="SMADT20400_oninit" onload="SMADT20400_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="TPNCodeMaster" class="tit_1" position="absolute 0 0 149 25"/>
- <Shape id="line8" class="line_2" position="absolute 1 560 1194 566" anchor="left bottom"/>
- <Static id="caption60" text="비고" class="cell_1" position="absolute 439 700 548 723" anchor="left bottom"/>
- <Shape id="line9" class="line_2" position="absolute 1 586 1194 592" anchor="left bottom"/>
- <Static id="caption50" text="%" position="absolute 1042 462 1062 482" anchor="left bottom"/>
- <Static id="caption61" text="약가(원/P)" class="cell_1" position="absolute 817 647 926 670" anchor="left bottom"/>
- <Static id="caption40" text="mEq" position="absolute 660 539 695 559" anchor="left bottom"/>
- <Static id="caption51" text="ml" position="absolute 1173 462 1193 482" anchor="left bottom"/>
- <Shape id="line10" class="line_2" position="absolute 1 534 1194 540" anchor="left bottom"/>
- <Static id="caption52" text="%" position="absolute 1042 487 1062 507" anchor="left bottom"/>
- <Static id="caption41" text="ml" position="absolute 661 566 696 586" anchor="left bottom"/>
- <Static id="caption30" text="KCal" position="absolute 288 592 323 612" anchor="left bottom"/>
- <Static id="caption42" text="Lipid" class="cell_1" position="absolute 820 460 930 483" anchor="left bottom"/>
- <Static id="caption53" text="mEq" position="absolute 1041 513 1076 533" anchor="left bottom"/>
- <Static id="caption31" text="g" position="absolute 420 487 440 507" anchor="left bottom"/>
- <Shape id="line12" class="line_3" position="absolute -1 613 1192 619" anchor="left bottom"/>
- <Static id="caption43" text="Mg" class="cell_1" position="absolute 820 538 929 561" anchor="left bottom"/>
- <Static id="caption54" text="ml" position="absolute 1041 566 1076 586" anchor="left bottom"/>
- <Static id="caption32" text="TPN구분" class="cell_1" position="absolute 691 431 758 454" anchor="left bottom"/>
- <Static id="caption21" text="Amino Acid" class="cell_1" position="absolute 440 460 550 483" anchor="left bottom"/>
- <Static id="caption10" text="제품성상" class="cell_1" position="absolute 0 673 67 696" anchor="left bottom"/>
- <Shape id="line13" class="line_3" position="absolute -1 642 1192 648" anchor="left bottom"/>
- <Static id="caption1" text="성인/소아" class="cell_1" position="absolute 0 432 67 455" anchor="left bottom"/>
- <Static id="caption44" text="FURV" class="cell_1" position="absolute 820 564 929 587" anchor="left bottom"/>
- <Static id="caption55" text="KCal" position="absolute 931 592 966 612" anchor="left bottom"/>
- <Static id="caption33" text="적용일자" class="cell_1" position="absolute 691 407 758 430" anchor="left bottom"/>
- <Static id="caption22" text="Ca" class="cell_1" position="absolute 440 538 549 561" anchor="left bottom"/>
- <Static id="caption11" text="제약회사" class="cell_1" position="absolute 0 700 67 723" anchor="left bottom"/>
- <Shape id="line14" class="line_2" position="absolute 1 669 1194 675" anchor="left bottom"/>
- <Static id="caption2" text="혼합 전" class="cell_1" position="absolute 0 460 67 483" anchor="left bottom"/>
- <Button id="button61" taborder="1" class="icon_search" position="absolute 289 411 305 427" onclick="button61_onclick" anchor="left bottom"/>
- <Static id="caption45" text="Tt.Calories" class="cell_1" position="absolute 705 590 814 613" anchor="left bottom"/>
- <Static id="caption34" text="규격" class="cell_1" position="absolute 902 432 1032 455" anchor="left bottom"/>
- <Static id="caption56" text=":" position="absolute 433 621 439 641" anchor="left bottom"/>
- <Static id="caption23" text="Multi-vit" class="cell_1" position="absolute 440 564 549 587" anchor="left bottom"/>
- <Static id="caption12" text="NPC" class="cell_1" position="absolute 70 590 174 613" anchor="left bottom"/>
- <Static id="caption3" text="혼합 후" class="cell_1" position="absolute 0 486 67 509" anchor="left bottom"/>
- <Static id="caption35" text="g" position="absolute 793 487 813 507" anchor="left bottom"/>
- <Static id="caption46" text="Lipid" class="cell_1" position="absolute 820 486 930 509" anchor="left bottom"/>
- <Static id="caption57" text=":" position="absolute 295 622 301 642" anchor="left bottom"/>
- <Static id="caption24" text="%" position="absolute 289 462 309 482" anchor="left bottom"/>
- <Static id="caption13" text="관리대장" class="cell_1" position="absolute 351 432 418 455" anchor="left bottom"/>
- <Shape id="line16" class="line_2" position="absolute 1 695 1194 701" anchor="left bottom"/>
- <Static id="caption4" text="Dexttrose" class="cell_1" position="absolute 70 486 175 509" anchor="left bottom"/>
- <Static id="caption36" text="%" position="absolute 662 462 682 482" anchor="left bottom"/>
- <Static id="caption47" text="Cl" class="cell_1" position="absolute 820 512 929 535" anchor="left bottom"/>
- <Shape id="line17" class="line_3" position="absolute -1 722 1192 728" anchor="left bottom"/>
- <Static id="caption58" text="안정성" class="cell_1" position="absolute 439 647 548 670" anchor="left bottom"/>
- <Static id="caption25" text="ml" position="absolute 420 462 440 482" anchor="left bottom"/>
- <Static id="caption5" text="Na" class="cell_1" position="absolute 70 512 174 535" anchor="left bottom"/>
- <Static id="caption14" text="처방코드" class="cell_1" position="absolute 0 406 67 429" anchor="left bottom"/>
- <Static id="caption37" text="ml" position="absolute 793 462 813 482" anchor="left bottom"/>
- <Static id="caption48" text="mEq" position="absolute 1040 539 1075 559" anchor="left bottom"/>
- <Static id="caption59" text="Remark" class="cell_1" position="absolute 439 673 548 696" anchor="left bottom"/>
- <Static id="caption26" text="%" position="absolute 289 487 309 507" anchor="left bottom"/>
- <Static id="caption15" text="Dexttrose" class="cell_1" position="absolute 70 460 175 483" anchor="left bottom"/>
- <Shape id="line2" class="line_2" position="absolute 1 482 1194 488" anchor="left bottom"/>
- <Static id="caption38" text="%" position="absolute 662 487 682 507" anchor="left bottom"/>
- <Static id="caption49" text="g" position="absolute 1173 487 1193 507" anchor="left bottom"/>
- <Static id="caption27" text="mEq" position="absolute 288 513 323 533" anchor="left bottom"/>
- <Static id="caption16" text="NPC : N" class="cell_1" position="absolute 440 590 549 613" anchor="left bottom"/>
- <Static id="caption7" text="Phosphate" class="cell_1" position="absolute 70 538 174 561" anchor="left bottom"/>
- <Shape id="line3" class="line_2" position="absolute 1 428 1194 434" anchor="left bottom"/>
- <Static id="caption39" text="mEq" position="absolute 661 513 696 533" anchor="left bottom"/>
- <Static id="caption28" text="mmol" position="absolute 287 539 322 559" anchor="left bottom"/>
- <Static id="caption17" text="Amino Acid" class="cell_1" position="absolute 440 486 550 509" anchor="left bottom"/>
- <Static id="caption8" text="Heparin" class="cell_1" position="absolute 70 564 174 587" anchor="left bottom"/>
- <Shape id="line4" class="line_3" position="absolute 0 453 1189 463" anchor="left bottom"/>
- <Static id="caption29" text="ml" position="absolute 288 566 323 586" anchor="left bottom"/>
- <Static id="caption18" text="K" class="cell_1" position="absolute 440 512 549 535" anchor="left bottom"/>
- <Static id="caption9" text="투여경로" class="cell_1" position="absolute 0 647 67 670" anchor="left bottom"/>
- <Static id="caption19" text="Dextrose : Protein : Lipid" class="cell_1" position="absolute 0 619 158 642" anchor="left bottom"/>
- <Shape id="line6" class="line_3" position="absolute 1 401 1188 409" anchor="left bottom"/>
- <Shape id="line7" class="line_2" position="absolute 1 508 1194 514" anchor="left bottom"/>
- <Static id="caption20" text="~" position="absolute 891 409 911 429" anchor="left bottom"/>
- <Edit id="output3" taborder="2" readonly="true" position="absolute 71 702 431 721" anchor="left bottom" class="output"/>
- <Edit id="output4" taborder="3" readonly="true" position="absolute 930 649 1190 668" anchor="left bottom" class="output"/>
- <Edit id="ipt_drugcd" taborder="4" class="input_essential" position="absolute 70 409 285 428" anchor="left bottom"/>
- <Edit id="opt_ordnm" taborder="5" readonly="true" class="output" position="absolute 313 409 685 428" anchor="left bottom"/>
- <Calendar id="ipt_fromdd" taborder="6" class="input_essential" position="absolute 760 409 890 428" anchor="left bottom"/>
- <Calendar id="ipt_todd" taborder="7" class="input_essential" position="absolute 910 409 1040 428" anchor="left bottom"/>
- <Combo id="cmb_tpnkind" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_essential" position="absolute 70 433 345 452" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">성인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">소아</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="cmb_marketflag" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_essential" position="absolute 421 434 685 453" anchor="left bottom">
- <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>
- </Combo>
- <Combo id="cmb_tpnflag" taborder="10" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 760 433 890 452" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">성인 TPN</Col>
- </Row>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">성인 TNA</Col>
- </Row>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">아미노산 수액</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit id="opt_packunit" taborder="11" readonly="true" position="absolute 1033 433 1183 452" anchor="left bottom" class="output"/>
- <Edit id="ipt_dexbfmixrate" taborder="12" class="input_default" position="absolute 180 462 285 481" anchor="left bottom"/>
- <MaskEdit id="ipt_dexbfmixvol" taborder="13" mask="#######.#####" class="input_default" position="absolute 312 462 417 481" anchor="left bottom"/>
- <MaskEdit id="ipt_aminobfmixrate" taborder="14" mask="#######.#####" class="input_default" position="absolute 553 462 658 481" anchor="left bottom"/>
- <MaskEdit id="ipt_aminobfmixvol" taborder="15" mask="#######.#####" class="input_default" position="absolute 685 462 790 481" anchor="left bottom"/>
- <MaskEdit id="ipt_lipidbfmixrate" taborder="16" mask="#######.#####" class="input_default" position="absolute 933 462 1038 481" anchor="left bottom"/>
- <MaskEdit id="ipt_lipidbfmixvol" taborder="17" mask="#######.#####" class="input_default" position="absolute 1065 462 1170 481" anchor="left bottom"/>
- <MaskEdit id="ipt_dexrate" taborder="18" mask="#######.#####" class="input_default" position="absolute 180 487 285 506" anchor="left bottom"/>
- <MaskEdit id="ipt_dexvol" taborder="19" mask="#######.#####" class="input_default" position="absolute 312 487 417 506" anchor="left bottom"/>
- <MaskEdit id="ipt_aminorate" taborder="20" mask="#######.#####" class="input_default" position="absolute 553 487 658 506" anchor="left bottom"/>
- <MaskEdit id="ipt_aminovol" taborder="21" mask="#######.#####" class="input_default" position="absolute 685 487 790 506" anchor="left bottom"/>
- <MaskEdit id="ipt_lipidrate" taborder="22" mask="#######.#####" class="input_default" position="absolute 933 487 1038 506" anchor="left bottom"/>
- <MaskEdit id="ipt_lipidvol" taborder="23" mask="#######.#####" class="input_default" position="absolute 1065 487 1170 506" anchor="left bottom"/>
- <MaskEdit id="ipt_navol" taborder="24" mask="#######.#####" class="input_default" position="absolute 180 515 285 534" anchor="left bottom"/>
- <MaskEdit id="ipt_kvol" taborder="25" mask="#######.#####" class="input_default" position="absolute 553 515 658 534" anchor="left bottom"/>
- <MaskEdit id="ipt_clvol" taborder="26" mask="#######.#####" class="input_default" position="absolute 933 515 1038 534" anchor="left bottom"/>
- <MaskEdit id="ipt_phosphatevol" taborder="27" mask="#######.#####" class="input_default" position="absolute 180 540 285 559" anchor="left bottom"/>
- <MaskEdit id="ipt_cavol" taborder="28" mask="#######.#####" class="input_default" position="absolute 553 540 658 559" anchor="left bottom"/>
- <MaskEdit id="ipt_mgvol" taborder="29" mask="#######.#####" class="input_default" position="absolute 933 540 1038 559" anchor="left bottom"/>
- <MaskEdit id="ipt_heparinvol" taborder="30" mask="#######.#####" class="input_default" position="absolute 180 566 285 585" anchor="left bottom"/>
- <MaskEdit id="ipt_multivitavol" taborder="31" mask="#######.#####" class="input_default" position="absolute 553 566 658 585" anchor="left bottom"/>
- <MaskEdit id="ipt_traceelevol" taborder="32" mask="#######.#####" class="input_default" position="absolute 933 566 1038 585" anchor="left bottom"/>
- <MaskEdit id="ipt_npccalr" taborder="33" mask="#######.#####" class="input_default" position="absolute 180 592 285 611" anchor="left bottom"/>
- <MaskEdit id="ipt_npcncalr" taborder="34" mask="#######.#####" class="input_default" position="absolute 553 592 658 611" anchor="left bottom"/>
- <MaskEdit id="ipt_totcalr" taborder="35" mask="#######.#####" class="input_default" position="absolute 819 592 929 611" onkillfocus="ipt_totcalr_onkillfocus" anchor="left bottom"/>
- <MaskEdit id="ipt_dextotrate" taborder="36" mask="#######.#####" class="input_default" position="absolute 163 622 283 641" anchor="left bottom"/>
- <MaskEdit id="ipt_prottotrate" taborder="37" mask="#######.#####" class="input_default" position="absolute 308 622 423 641" anchor="left bottom"/>
- <MaskEdit id="ipt_lipidtotrate" taborder="38" mask="#######.#####" class="input_default" position="absolute 448 622 568 641" anchor="left bottom"/>
- <Combo id="cmb_adminpathflag" taborder="39" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 71 649 431 668" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">TPN(중심정맥)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">PPN(말초정맥)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">EN(경구영양)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">EN+PPN</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">EN+TPN</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="cmb_scrtflag" taborder="40" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 550 649 808 668" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">48시간, 차광</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">72시간, 차광</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit id="ipt_goodtype" taborder="41" class="input_default" position="absolute 71 675 431 694" anchor="left bottom"/>
- <Edit id="ipt_remark" taborder="42" class="input_default" position="absolute 549 674 1192 693" anchor="left bottom"/>
- <Edit id="ipt_remark2" taborder="43" class="input_default" position="absolute 549 702 1192 721" anchor="left bottom"/>
- <Static id="caption62" text="ml" position="absolute 1173 592 1194 612" anchor="left bottom"/>
- <MaskEdit id="input1" taborder="44" mask="#######.#####" class="input_default" position="absolute 1065 592 1170 611" onkillfocus="input1_onkillfocus" anchor="left bottom"/>
- <Static id="caption63" text="Tt .Volume" class="cell_1" position="absolute 960 590 1060 613" anchor="left bottom"/>
- <Static id="caption64" text="Kcal/ml" position="absolute 931 624 975 642" anchor="left bottom"/>
- <MaskEdit id="input2" taborder="45" mask="#######.#####" class="input_default" position="absolute 818 622 928 641" anchor="left bottom"/>
- <Static id="caption65" text="단위 공급열량" class="cell_1" position="absolute 705 619 814 642" anchor="left bottom"/>
- <Button id="btn_save" taborder="46" text="저장" class="btn4" position="absolute 1001 22 1057 44" onclick="btn_save_onclick" anchor="top right"/>
- <Button id="btn_del" taborder="47" text="삭제" class="btn4" position="absolute 1060 22 1116 44" onclick="btn_del_onclick" anchor="top right"/>
- <Button id="btn_can" taborder="48" text="초기화" class="btn4" position="absolute 1119 22 1187 44" onclick="btn_can_onclick" anchor="top right"/>
- <Grid id="grd_codelist" taborder="49" binddataset="ds_grd_codelist" useinputpanel="false" autofittype="col" position="absolute 0 49 1187 396" oncelldblclick="grd_codelist_oncelldblclick" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="179"/>
- <Column size="487"/>
- <Column size="126"/>
- <Column size="102"/>
- <Column size="108"/>
- <Column size="135"/>
- </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="TPN구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="align:left;padding:0 2 0 2;" text="bind:drugcd"/>
- <Cell col="2" style="align:left;padding:0 2 0 2;" text="bind:ordnm"/>
- <Cell col="3" style="align:left;padding:0 2 0 2;" text="bind:packunit"/>
- <Cell col="4" text="bind:tpnkind"/>
- <Cell col="5" text="bind:marketflag"/>
- <Cell col="6" text="bind:tpnflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line18" class="line_1" position="absolute 0 43 1188 49" anchor="left top right"/>
- <Shape id="line00" class="line_1" position="absolute 0 44 1188 50" anchor="left top right"/>
- <Shape id="line01" class="line_1" position="absolute 0 45 1188 51" anchor="left top right"/>
- <Shape id="line05" class="line_3" position="absolute 1 401 1188 409" anchor="left bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING"/>
- <Column id="ordnm" type="STRING"/>
- <Column id="packunit" type="STRING"/>
- <Column id="tpnkind" type="STRING"/>
- <Column id="marketflag" type="STRING"/>
- <Column id="tpnflag" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_codedetlinfo" 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="instcd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="tpnflag" type="STRING" size="256"/>
- <Column id="tpnkind" type="STRING" size="256"/>
- <Column id="marketflag" type="STRING" size="256"/>
- <Column id="dexbfmixrate" type="STRING" size="256"/>
- <Column id="dexbfmixvol" type="STRING" size="256"/>
- <Column id="aminobfmixrate" type="STRING" size="256"/>
- <Column id="aminobfmixvol" type="STRING" size="256"/>
- <Column id="lipidbfmixrate" type="STRING" size="256"/>
- <Column id="lipidbfmixvol" type="STRING" size="256"/>
- <Column id="dexrate" type="STRING" size="256"/>
- <Column id="dexvol" type="STRING" size="256"/>
- <Column id="aminorate" type="STRING" size="256"/>
- <Column id="aminovol" type="STRING" size="256"/>
- <Column id="lipidrate" type="STRING" size="256"/>
- <Column id="lipidvol" type="STRING" size="256"/>
- <Column id="navol" type="STRING" size="256"/>
- <Column id="kvol" type="STRING" size="256"/>
- <Column id="clvol" type="STRING" size="256"/>
- <Column id="phosphatevol" type="STRING" size="256"/>
- <Column id="cavol" type="STRING" size="256"/>
- <Column id="mgvol" type="STRING" size="256"/>
- <Column id="heparinvol" type="STRING" size="256"/>
- <Column id="multivitavol" type="STRING" size="256"/>
- <Column id="traceelevol" type="STRING" size="256"/>
- <Column id="npccalr" type="STRING" size="256"/>
- <Column id="npcncalr" type="STRING" size="256"/>
- <Column id="totcalr" type="STRING" size="256"/>
- <Column id="dextotrate" type="STRING" size="256"/>
- <Column id="prottotrate" type="STRING" size="256"/>
- <Column id="lipidtotrate" type="STRING" size="256"/>
- <Column id="adminpathflag" type="STRING" size="256"/>
- <Column id="scrtflag" type="STRING" size="256"/>
- <Column id="goodtype" type="STRING" size="256"/>
- <Column id="remark" type="STRING" size="256"/>
- <Column id="drugcost" type="STRING" size="256"/>
- <Column id="packunit" type="STRING" size="256"/>
- <Column id="m" type="STRING" size="256"/>
- <Column id="ttvolume" type="STRING" size="256"/>
- <Column id="kcalml" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drugcd"/>
- <Col id="ordnm"/>
- <Col id="instcd"/>
- <Col id="todd"/>
- <Col id="fromdd"/>
- <Col id="tpnflag"/>
- <Col id="tpnkind"/>
- <Col id="marketflag"/>
- <Col id="dexbfmixrate"/>
- <Col id="dexbfmixvol"/>
- <Col id="aminobfmixrate"/>
- <Col id="aminobfmixvol"/>
- <Col id="lipidbfmixrate"/>
- <Col id="lipidbfmixvol"/>
- <Col id="dexrate"/>
- <Col id="dexvol"/>
- <Col id="aminorate"/>
- <Col id="aminovol"/>
- <Col id="lipidrate"/>
- <Col id="lipidvol"/>
- <Col id="navol"/>
- <Col id="kvol"/>
- <Col id="clvol"/>
- <Col id="phosphatevol"/>
- <Col id="cavol"/>
- <Col id="mgvol"/>
- <Col id="heparinvol"/>
- <Col id="multivitavol"/>
- <Col id="traceelevol"/>
- <Col id="npccalr"/>
- <Col id="npcncalr"/>
- <Col id="totcalr"/>
- <Col id="dextotrate"/>
- <Col id="prottotrate"/>
- <Col id="lipidtotrate"/>
- <Col id="adminpathflag"/>
- <Col id="scrtflag"/>
- <Col id="goodtype"/>
- <Col id="remark"/>
- <Col id="drugcost"/>
- <Col id="packunit"/>
- <Col id="m">i</Col>
- <Col id="ttvolume"/>
- <Col id="kcalml"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req" 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="instcd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="tpnflag" type="STRING" size="256"/>
- <Column id="tpnkind" type="STRING" size="256"/>
- <Column id="marketflag" type="STRING" size="256"/>
- <Column id="dexbfmixrate" type="STRING" size="256"/>
- <Column id="dexbfmixvol" type="STRING" size="256"/>
- <Column id="aminobfmixrate" type="STRING" size="256"/>
- <Column id="aminobfmixvol" type="STRING" size="256"/>
- <Column id="lipidbfmixrate" type="STRING" size="256"/>
- <Column id="lipidbfmixvol" type="STRING" size="256"/>
- <Column id="dexrate" type="STRING" size="256"/>
- <Column id="dexvol" type="STRING" size="256"/>
- <Column id="aminorate" type="STRING" size="256"/>
- <Column id="aminovol" type="STRING" size="256"/>
- <Column id="lipidrate" type="STRING" size="256"/>
- <Column id="lipidvol" type="STRING" size="256"/>
- <Column id="navol" type="STRING" size="256"/>
- <Column id="kvol" type="STRING" size="256"/>
- <Column id="clvol" type="STRING" size="256"/>
- <Column id="phosphatevol" type="STRING" size="256"/>
- <Column id="cavol" type="STRING" size="256"/>
- <Column id="mgvol" type="STRING" size="256"/>
- <Column id="heparinvol" type="STRING" size="256"/>
- <Column id="multivitavol" type="STRING" size="256"/>
- <Column id="traceelevol" type="STRING" size="256"/>
- <Column id="npccalr" type="STRING" size="256"/>
- <Column id="npcncalr" type="STRING" size="256"/>
- <Column id="totcalr" type="STRING" size="256"/>
- <Column id="dextotrate" type="STRING" size="256"/>
- <Column id="prottotrate" type="STRING" size="256"/>
- <Column id="lipidtotrate" type="STRING" size="256"/>
- <Column id="adminpathflag" type="STRING" size="256"/>
- <Column id="scrtflag" type="STRING" size="256"/>
- <Column id="goodtype" type="STRING" size="256"/>
- <Column id="remark" type="STRING" size="256"/>
- <Column id="packunit" type="STRING" size="256"/>
- <Column id="m" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drugcd"/>
- <Col id="instcd"/>
- <Col id="todd"/>
- <Col id="fromdd"/>
- <Col id="tpnflag"/>
- <Col id="tpnkind"/>
- <Col id="marketflag"/>
- <Col id="dexbfmixrate"/>
- <Col id="dexbfmixvol"/>
- <Col id="aminobfmixrate"/>
- <Col id="aminobfmixvol"/>
- <Col id="lipidbfmixrate"/>
- <Col id="lipidbfmixvol"/>
- <Col id="dexrate"/>
- <Col id="dexvol"/>
- <Col id="aminorate"/>
- <Col id="aminovol"/>
- <Col id="lipidrate"/>
- <Col id="lipidvol"/>
- <Col id="navol"/>
- <Col id="kvol"/>
- <Col id="clvol"/>
- <Col id="phosphatevol"/>
- <Col id="cavol"/>
- <Col id="mgvol"/>
- <Col id="heparinvol"/>
- <Col id="multivitavol"/>
- <Col id="traceelevol"/>
- <Col id="npccalr"/>
- <Col id="npcncalr"/>
- <Col id="totcalr"/>
- <Col id="dextotrate"/>
- <Col id="prottotrate"/>
- <Col id="lipidtotrate"/>
- <Col id="adminpathflag"/>
- <Col id="scrtflag"/>
- <Col id="goodtype"/>
- <Col id="remark"/>
- <Col id="packunit"/>
- <Col id="m"/>
- </Row>
- </Rows>
- </Dataset>
- <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_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_srchinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdrugcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_drugitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_drugcd" propid="value" datasetid="ds_main_codedetlinfo" columnid="drugcd"/>
- <BindItem id="item1" compid="cmb_tpnkind" propid="value" datasetid="ds_main_codedetlinfo" columnid="tpnkind"/>
- <BindItem id="item2" compid="opt_ordnm" propid="value" datasetid="ds_main_codedetlinfo" columnid="ordnm"/>
- <BindItem id="item3" compid="cmb_marketflag" propid="value" datasetid="ds_main_codedetlinfo" columnid="marketflag"/>
- <BindItem id="item4" compid="ipt_fromdd" propid="value" datasetid="ds_main_codedetlinfo" columnid="fromdd"/>
- <BindItem id="item5" compid="ipt_todd" propid="value" datasetid="ds_main_codedetlinfo" columnid="todd"/>
- <BindItem id="item6" compid="cmb_tpnflag" propid="value" datasetid="ds_main_codedetlinfo" columnid="tpnflag"/>
- <BindItem id="item7" compid="opt_packunit" propid="value" datasetid="ds_main_codedetlinfo" columnid="packunit"/>
- <BindItem id="item8" compid="ipt_dexbfmixrate" propid="value" datasetid="ds_main_codedetlinfo" columnid="dexbfmixrate"/>
- <BindItem id="item9" compid="ipt_dexbfmixvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="dexbfmixvol"/>
- <BindItem id="item10" compid="ipt_dexrate" propid="value" datasetid="ds_main_codedetlinfo" columnid="dexrate"/>
- <BindItem id="item11" compid="ipt_dexvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="dexvol"/>
- <BindItem id="item12" compid="ipt_navol" propid="value" datasetid="ds_main_codedetlinfo" columnid="navol"/>
- <BindItem id="item13" compid="ipt_phosphatevol" propid="value" datasetid="ds_main_codedetlinfo" columnid="phosphatevol"/>
- <BindItem id="item14" compid="ipt_heparinvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="heparinvol"/>
- <BindItem id="item15" compid="ipt_npccalr" propid="value" datasetid="ds_main_codedetlinfo" columnid="npccalr"/>
- <BindItem id="item16" compid="ipt_aminobfmixrate" propid="value" datasetid="ds_main_codedetlinfo" columnid="aminobfmixrate"/>
- <BindItem id="item17" compid="ipt_aminobfmixvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="aminobfmixvol"/>
- <BindItem id="item18" compid="ipt_aminorate" propid="value" datasetid="ds_main_codedetlinfo" columnid="aminorate"/>
- <BindItem id="item19" compid="ipt_aminovol" propid="value" datasetid="ds_main_codedetlinfo" columnid="aminovol"/>
- <BindItem id="item20" compid="ipt_kvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="kvol"/>
- <BindItem id="item21" compid="ipt_cavol" propid="value" datasetid="ds_main_codedetlinfo" columnid="cavol"/>
- <BindItem id="item22" compid="ipt_multivitavol" propid="value" datasetid="ds_main_codedetlinfo" columnid="multivitavol"/>
- <BindItem id="item23" compid="ipt_npcncalr" propid="value" datasetid="ds_main_codedetlinfo" columnid="npccalr"/>
- <BindItem id="item24" compid="ipt_lipidbfmixrate" propid="value" datasetid="ds_main_codedetlinfo" columnid="lipidbfmixrate"/>
- <BindItem id="item25" compid="ipt_lipidbfmixvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="lipidbfmixvol"/>
- <BindItem id="item26" compid="ipt_lipidrate" propid="value" datasetid="ds_main_codedetlinfo" columnid="lipidrate"/>
- <BindItem id="item27" compid="ipt_lipidvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="lipidvol"/>
- <BindItem id="item28" compid="ipt_clvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="clvol"/>
- <BindItem id="item29" compid="ipt_mgvol" propid="value" datasetid="ds_main_codedetlinfo" columnid="mgvol"/>
- <BindItem id="item30" compid="ipt_traceelevol" propid="value" datasetid="ds_main_codedetlinfo" columnid="traceelevol"/>
- <BindItem id="item31" compid="ipt_totcalr" propid="value" datasetid="ds_main_codedetlinfo" columnid="totcalr"/>
- <BindItem id="item32" compid="input1" propid="value" datasetid="ds_main_codedetlinfo" columnid="ttvolume"/>
- <BindItem id="item33" compid="ipt_dextotrate" propid="value" datasetid="ds_main_codedetlinfo" columnid="dextotrate"/>
- <BindItem id="item34" compid="ipt_prottotrate" propid="value" datasetid="ds_main_codedetlinfo" columnid="prottotrate"/>
- <BindItem id="item35" compid="ipt_lipidtotrate" propid="value" datasetid="ds_main_codedetlinfo" columnid="lipidtotrate"/>
- <BindItem id="item36" compid="input2" propid="value" datasetid="ds_main_codedetlinfo" columnid="kcalml"/>
- <BindItem id="item37" compid="cmb_adminpathflag" propid="value" datasetid="ds_main_codedetlinfo" columnid="adminpathflag"/>
- <BindItem id="item38" compid="cmb_scrtflag" propid="value" datasetid="ds_main_codedetlinfo" columnid="scrtflag"/>
- <BindItem id="item39" compid="output4" propid="value" datasetid="ds_main_codedetlinfo" columnid="drugcost"/>
- <BindItem id="item40" compid="ipt_goodtype" propid="value" datasetid="ds_main_codedetlinfo" columnid="goodtype"/>
- <BindItem id="item41" compid="ipt_remark2" propid="value" datasetid="ds_main_codedetlinfo" columnid="remark"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMADT20400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMADT20400_onload(obj:Form, e:LoadEventInfo)
- {
- // 12월 5일 권한 처리
- btn_save.enable = frmf_checkAuth("X"); //저장
- btn_del.enable = frmf_checkAuth("X"); //삭제
-
- var oParam = {};
- oParam.id = "TRADT20401";
- oParam.service = "pharmacybaseapp.TpnMngt";
- oParam.method = "reqGetTPNCodeMasterList";
- oParam.inds = "";
- oParam.outds = "ds_grd_codelist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADT20401";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : TPN Code List 상세보기
- ******************************************************************/
- function grd_codelist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row < 0 || e.col < 0 )
- return;
-
- var row = ds_grd_codelist.rowposition;
-
- ds_main_codedetlinfo.clearData();
- var nRow = ds_main_codedetlinfo.addRow();
- ds_main_codedetlinfo.copyRow(nRow, ds_grd_codelist, row);
- ds_main_codedetlinfo.setColumn(0, "m", "u");
- }
- /******************************************************************
- * Argument :
- * Description : 처방코드조회
- ******************************************************************/
- function button61_onclick(obj:Button, e:ClickEventInfo)
- {
- var drugcode = "";
-
- dsf_createDsRow("ds_temp_receivedata",
- [{col:"receiveref", type:"string", size:256, val:"ds_send_srchinfo"}
- ,{col:"srchflag", type:"string", size:256, val:""}
- ,{col:"srchcnts", type:"string", size:256, val:""}
- ,{col:"receivedrugcd", type:"string", size:256, val:"srchdrugcd"}
- ,{col:"receivedrugnm", type:"string", size:256, val:"srchdrugnm"}
- ,{col:"drugkind", type:"string", size:256, val:""}],true);
-
- var objArg = new Object();
- objArg.arg_ds_temp_receivedata = ds_temp_receivedata;
- frmf_modal("SPADB60100", "SPADB60100", objArg, null, null, null, null, null, null, null, null, null, "M");
-
- drugcode = ds_send_srchinfo.getColumn(0, "srchdrugcd");
-
- if( !utlf_isNull(drugcode) ){
- ds_main_codedetlinfo.setColumn(0, "drugcd", drugcode);
- var oParam = {};
- oParam.id = "TRADB02604";
- oParam.service = "pharmacybaseapp.VolDiv";
- oParam.method = "reqGetDrugNm";
- oParam.inds = "req=ds_send_srchinfo";
- oParam.outds = "ds_hidden_drugitem=drugitem";
- oParam.async = false;
- //oParam.callback = "cf_TRADB02604";
- tranf_submit(oParam);
- sysf_trace(ds_hidden_drugitem.s);
- ds_main_codedetlinfo.setColumn(0, "ordnm", ds_hidden_drugitem.getColumn(0, "drugnm"));
- }
- }
- /******************************************************************
- * Argument :
- * Description : Tt.Calories FocusOut Event
- ******************************************************************/
- function ipt_totcalr_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- fKcalMl(); //2010-02-19 단위공급열량 계산
- }
- /******************************************************************
- * Argument :
- * Description : 단위 공급열량 계산 = Tt.Calories / Tt.Volume
- ******************************************************************/
- function fKcalMl(){
- var totcalr = ds_main_codedetlinfo.getColumn(0, "totcalr"); //Tt.Calories
- var ttvolume = ds_main_codedetlinfo.getColumn(0, "ttvolume"); //Tt. Volume
-
- if ( !utlf_isNull(totcalr) && !utlf_isNull(ttvolume) ) {
- var tt_calc = (totcalr / ttvolume ).toString().getRound(-3,"HALF_UP");
- ds_main_codedetlinfo.setColumn(0, "kcalml", tt_calc);
- }
- }
- /******************************************************************
- * Argument :
- * Description : Tt.Volume FocusOut Event
- ******************************************************************/
- function input1_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- fKcalMl(); //2010-02-19 단위공급열량 계산
- }
- /******************************************************************
- * Argument : fValidateMainData
- * Description : 저장 시 data check
- ******************************************************************/
- function fValidateMainData(){
- var drugcd = ds_main_codedetlinfo.getColumn(0, "drugcd");
- var fromdd = ds_main_codedetlinfo.getColumn(0, "fromdd");
- var todd = ds_main_codedetlinfo.getColumn(0, "todd");
- var tpnflag = ds_main_codedetlinfo.getColumn(0, "tpnflag");
- var tpnkind = ds_main_codedetlinfo.getColumn(0, "tpnkind");
- var marketflag = ds_main_codedetlinfo.getColumn(0, "marketflag");
-
- //처방코드 체크
- if( utlf_isNull(drugcd) ){
- sysf_messageBox("처방코드를" , "C001");
- ipt_drugcd.setFocus();
- return false;
- }
-
- //적용시작일 체크
- if( utlf_isNull(fromdd) ){
- sysf_messageBox("적용시작일" , "C001");
- ipt_fromdd.setFocus();
- return false;
- }
-
- //적용종료일 체크
- if( utlf_isNull(todd) ){
- messageBox("적용종료일" , "C001");
- ipt_todd.setFocus();
- return false;
- }
-
- //성인/소아구분 체크
- if( utlf_isNull(tpnkind) ){
- sysf_messageBox("성인/소아구분을" , "C002");
- cmb_tpnkind.setFocus();
- return false;
- }
-
- //관리대장 체크
- if( utlf_isNull(marketflag) ){
- sysf_messageBox("관리대장을" , "C002");
- cmb_marketflag.setFocus();
- return false;
- }
-
- //TPN 구분 체크
- if( tpnkind == "A" ) { // 성인일경우만 필수
- if( utlf_isNull(tpnflag) ){
- sysf_messageBox("TPN 구분을" , "C002");
- cmb_tpnflag.setFocus();
- return false;
- }
- }
-
- //ds_send_req.setColumn(0, "dexbfmixrate", utlf_transNullToChar(ds_send_req.getColumn(0, "dexbfmixrate"), 0) );
-
- // 입력 default set
- dsf_setDefaultVal(ds_send_req, "dexbfmixrate:'0',dexbfmixvol:'0',aminobfmixrate:0,aminobfmixvol:0,lipidbfmixrate:0,lipidbfmixvol:0,dexrate:0,dexvol:0"
- + ",aminorate:0,aminovol:0,lipidrate:0,lipidvol:0,navol:0,kvol:0,clvol:0,phosphatevol:0,cavol:0,mgvol:0,heparinvol:0"
- + ",multivitavol:0,traceelevol:0,npccalr:0,totcalr:0,dextotrate:0,prottotrate:0,lipidtotrate:0,npcncalr:0");
-
-
- return true;
- }
- /******************************************************************
- * Argument :
- * Description : 저장 Button Event
- ******************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_req.copyData(ds_main_codedetlinfo);
-
- var ret = fValidateMainData();
- if( ret == false ) return;
- var oParam = {};
- oParam.id = "TXADT20401";
- oParam.service = "pharmacybaseapp.TpnMngt";
- oParam.method = "reqExeTPNCodeMaster";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- //oParam.callback = "cf_TXADT20401";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRADT20401";
- oParam.service = "pharmacybaseapp.TpnMngt";
- oParam.method = "reqGetTPNCodeMasterList";
- oParam.inds = "";
- oParam.outds = "ds_grd_codelist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADT20401";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument : fValidateMainData
- * Description : 삭제 Event
- ******************************************************************/
- function fValidateDelData(){
- var drugcd = ds_main_codedetlinfo.getColumn(0, "drugcd");
- var todd = ds_main_codedetlinfo.getColumn(0, "todd");
-
- if( utlf_isNull(drugcd) || utlf_isNull(todd) ){
- sysf_messageBox("삭제할 데이터를" , "C002");
- return false;
- }
- return true;
- }
- /******************************************************************
- * Argument :
- * Description : 삭제 Button Event
- ******************************************************************/
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- var ret = fValidateDelData();
- if (ret == false) return;
-
- var result = sysf_messageBox( "해당 코드를 삭제", "S001");
- if( result == 7 || result == 2 ) return;
-
- ds_main_codedetlinfo.setColumn(0, "m", "d");
- ds_send_req.copyData(ds_main_codedetlinfo);
-
- var oParam = {};
- oParam.id = "TXADT20401";
- oParam.service = "pharmacybaseapp.TpnMngt";
- oParam.method = "reqExeTPNCodeMaster";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- //oParam.callback = "cf_TXADT20401";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRADT20401";
- oParam.service = "pharmacybaseapp.TpnMngt";
- oParam.method = "reqGetTPNCodeMasterList";
- oParam.inds = "";
- oParam.outds = "ds_grd_codelist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRADT20401";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : 초기화 Button Event
- ******************************************************************/
- function btn_can_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_codedetlinfo.clearData();
- var iRow = ds_main_codedetlinfo.addRow();
- ds_main_codedetlinfo.setColumn(iRow, "m", "i");
- }
- ]]></Script>
- </Form>
- </FDL>
|