123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADB00700" position="absolute 0 0 1202 770" titletext="Untitle" onload="SMADB00700_onload" oninit="SMADB00700_oninit">
- <Layouts>
- <Layout>
- <Static id="caption19" text="질병별 항암프로토콜 등록" class="tit_1" position="absolute 0 0 200 26"/>
- <Button id="button1" taborder="1" text="행추가" onclick="group3_button1_onclick" class="btn2" position="absolute 465 287 518 309"/>
- <Button id="button2" taborder="2" text="행삭제" onclick="group3_button2_onclick" class="btn2" position="absolute 520 287 573 309"/>
- <Button id="button3" taborder="3" text="행복사" class="btn2" position="absolute 409 287 462 309" visible="false"/>
- <Button id="button4" taborder="4" text="행추가" onclick="group3_button4_onclick" class="btn2" position="absolute 1092 287 1145 309" anchor="top right"/>
- <Button id="button5" taborder="5" text="행삭제" onclick="group3_button5_onclick" class="btn2" position="absolute 1147 287 1200 309" anchor="top right"/>
- <Button id="button6" taborder="6" text="행복사" onclick="group3_button6_onclick" class="btn2" position="absolute 1036 287 1089 309" anchor="top right" visible="false"/>
- <Static id="caption1" text="질병정보" class="tit_2" position="absolute 375 41 470 57"/>
- <Static id="caption2" text="외래" class="tit_2" position="absolute 625 293 720 311"/>
- <Button id="button8" taborder="7" text="질병분류정보" onclick="group3_button8_onclick" class="btn2" position="absolute 1005 35 1091 57" anchor="top right"/>
- <Button id="button9" taborder="8" onclick="group3_button9_onclick" class="icon_left" position="absolute 587 469 613 488"/>
- <Shape id="line1" linetype="horizontal" class="line_3" position="absolute 0 763 573 769"/>
- <Button id="button52" taborder="9" text="행추가" onclick="group3_button52_onclick" class="btn2" position="absolute 1093 35 1146 57" anchor="top right"/>
- <Shape id="line2" class="line_1" position="absolute 0 308 573 314"/>
- <Button id="button53" taborder="10" text="행삭제" onclick="group3_button53_onclick" class="btn2" position="absolute 1148 35 1201 57" anchor="top right"/>
- <Button id="button10" taborder="11" onclick="group3_button10_onclick" class="icon_right" position="absolute 587 499 613 518"/>
- <Shape id="line3" class="line_1" position="absolute 375 56 1200 62" anchor="left top right"/>
- <Static id="caption7" text="입원" class="tit_2" position="absolute 0 293 95 311"/>
- <Button id="button54" taborder="12" text="행복사" class="btn2" position="absolute 1093 11 1146 33" anchor="top right" onclick="button54_onclick" visible="false"/>
- <Shape id="line5" linetype="horizontal" class="line_3" position="absolute 625 763 1200 769"/>
- <Shape id="line6" class="line_1" position="absolute 625 308 1199 314" anchor="left top right"/>
- <Grid id="grd_sicklist" taborder="13" binddataset="ds_grd_sicklist" useinputpanel="false" selecttype="multirow" autofittype="col" oncellclick="group3_grd_sicklist_oncellclick" position="absolute 375 62 1200 274" anchor="left top right" autoenter="key" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="159"/>
- <Column size="641"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="질병분류코드"/>
- <Cell col="2" text="질병분류명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="normal"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:sickclscd" editautoselect="true"/>
- <Cell col="2" style="align:left middle;" text="bind:sickclsnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_prtlin" taborder="14" binddataset="ds_grd_prtlin" useinputpanel="false" selecttype="multirow" autofittype="col" oncellclick="group3_grd_prtlin_oncellclick" position="absolute 0 314 573 764" anchor="left top bottom" autoenter="key" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="82"/>
- <Column size="181"/>
- <Column size="54"/>
- <Column size="50"/>
- <Column size="78"/>
- <Column size="55"/>
- <Column size="48"/>
- </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="Remark"/>
- <Cell col="6" text="투여단계"/>
- <Cell col="7" text="Cycle"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:prtlcd" editautoselect="true"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:prtlnm" editautoselect="true"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:drugprid" editautoselect="true"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:rateioflag"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:remark" editautoselect="true"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:drugstage" editautoselect="true"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:drugcycle" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_prtlout" taborder="15" binddataset="ds_grd_prtlout" useinputpanel="false" selecttype="multirow" autofittype="col" position="absolute 625 314 1200 764" anchor="all" autoenter="key" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="88"/>
- <Column size="188"/>
- <Column size="54"/>
- <Column size="46"/>
- <Column size="74"/>
- <Column size="55"/>
- <Column size="46"/>
- </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="Remark"/>
- <Cell col="6" text="투여단계"/>
- <Cell col="7" text="Cycle"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:prtlcd" editautoselect="true"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:prtlnm" editautoselect="true"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:drugprid" editautoselect="true"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:rateioflag"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:remark" editautoselect="true"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:drugstage" editautoselect="true"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:drugcycle" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption3" text="진료과정보" class="tit_2" position="absolute 0 41 95 57"/>
- <Shape id="line7" class="line_1" position="absolute 0 56 370 62"/>
- <Grid id="grd_orddeptlist" taborder="16" binddataset="ds_main_orddeptlist_item" useinputpanel="false" autofittype="col" oncellclick="group3_grd_orddeptlist_oncellclick" position="absolute 0 62 370 274" autoenter="key" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="103"/>
- <Column size="242"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="진료과코드"/>
- <Cell col="2" text="진료과명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" displaytype="normal"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:orddeptcd" editautoselect="true"/>
- <Cell col="2" style="align:left middle;" text="bind:orddeptnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button11" taborder="17" text="행삭제" onclick="group3_button11_onclick" class="btn2" position="absolute 316 35 369 57"/>
- <Button id="button90" taborder="18" text="추가" onclick="group3_button90_onclick" class="btn2" position="absolute 272 35 314 57"/>
- <Button id="button7" taborder="19" text="저장" onclick="group4_button7_onclick" class="btn4" position="absolute 1144 10 1200 32" anchor="top right"/>
- <Shape id="line00" class="line_3" position="absolute 0 275 1199 278" anchor="left top right"/>
- <Shape id="line04" class="line_1" position="absolute 0 57 370 63"/>
- <Shape id="line08" class="line_1" position="absolute 375 57 1200 63" anchor="left top right"/>
- <Shape id="line09" class="line_1" position="absolute 0 309 573 315"/>
- <Shape id="line10" class="line_1" position="absolute 625 309 1199 315" anchor="left top right"/>
- <Shape id="line11" class="line_1" position="absolute 0 58 370 64"/>
- <Shape id="line12" class="line_1" position="absolute 375 58 1200 64" anchor="left top right"/>
- <Shape id="line13" class="line_1" position="absolute 0 310 573 316"/>
- <Shape id="line14" class="line_1" position="absolute 625 310 1199 316" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_sicklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sickclscd" type="STRING"/>
- <Column id="sickclsnm" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_prtlin" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prtlcd" type="STRING"/>
- <Column id="prtlnm" type="STRING"/>
- <Column id="drugprid" type="STRING"/>
- <Column id="rateioflag" type="STRING"/>
- <Column id="remark" type="STRING"/>
- <Column id="drugstage" type="STRING"/>
- <Column id="drugcycle" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_prtlout" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prtlcd" type="STRING"/>
- <Column id="prtlnm" type="STRING"/>
- <Column id="drugprid" type="STRING"/>
- <Column id="rateioflag" type="STRING"/>
- <Column id="remark" type="STRING"/>
- <Column id="drugstage" type="STRING"/>
- <Column id="drugcycle" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_orddeptlist_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m" type="STRING" size="256" sumtext="실행구분"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="loguser" type="STRING" size="256"/>
- <Column id="sickclscd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_ret_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="count" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : SMADB00700_항암질병등록.xfdl
- * Job Name :
- * Creator :
- * Make Date : 2015-06-08
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-06-04 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "com_departmentcodexp::ZSD001.xjs"
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMADB00700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMADB00700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(grd_orddeptlist, 0);
- grdf_setRowTypeIcon(grd_sicklist, 0);
- grdf_setRowTypeIcon(grd_prtlin, 0);
- grdf_setRowTypeIcon(grd_prtlout, 0);
-
- button7.enable = frmf_checkAuth("X"); // 저장
- button8.enable = frmf_checkAuth("X"); // 질병분류정보
- // var oParam = {};
- // oParam.id = "TRADB00701";
- // oParam.service = "pharmacybaseapp.AnticancerProtocol";
- // oParam.method = "reqGetAnticancerProtocolOrdDeptList";
- // oParam.inds = "req=ds_send_srchdata";
- // oParam.outds = "ds_main_orddeptlist_item=item";
- // oParam.async = false;
- // //oParam.callback = "cf_TRADB00701";
- //
- // tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRADB00701";
- oParam.service = "pharmacyprotocolapp.AnticancerProtocol";
- oParam.method = "reqGetAnticancerProtocolOrdDeptList";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_orddeptlist_item=item";
- oParam.async = false;
- // oParam.callback = "cf_TRADB00701";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : 진료과 정보 추가
- ******************************************************************/
- function group3_button90_onclick(obj:Button, e:ClickEventInfo)
- {
- var search_condition = "deptnm";
- var search_term = "";
- var standard_yn = "orduseyn";
- var ord_deptflag = ""; //D
- // ds_hidden_data.setColumn(0,"orddeptcd","");
- // ds_hidden_data.setColumn(0,"orddeptnm","");
- var rtnObj = appf_openInstDeptCodeList(search_condition, search_term, standard_yn, ord_deptflag, "deptcd depthngnm");
- if (!utlf_isNull(rtnObj)){
- ds_main_orddeptlist_item.addRow();
- ds_main_orddeptlist_item.setColumn(ds_main_orddeptlist_item.rowposition,"orddeptcd",rtnObj.deptcd);
- ds_main_orddeptlist_item.setColumn(ds_main_orddeptlist_item.rowposition,"orddeptnm", rtnObj.depthngnm);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 진료과정보 행삭제
- ******************************************************************/
- function group3_button11_onclick(obj:Button, e:ClickEventInfo)
- {
- var cRow = ds_main_orddeptlist_item.rowposition;
- if( ds_main_orddeptlist_item.getRowType(cRow) == 2 ){
- ds_main_orddeptlist_item.deleteRow(cRow);
- } else {
- grdf_setStatus(grd_orddeptlist, "D", grdf_getSelectedRows(grd_orddeptlist));
- }
- }
- /******************************************************************
- * Argument :
- * Description :
- ******************************************************************/
- function group3_grd_orddeptlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // model.setValue("/root/send/srchdata/orddeptcd", model.getValue("/root/main/orddeptlist/item["+grd_orddeptlist.row+"]/orddeptcd"));
- ds_send_srchdata.setColumn(0, "orddeptcd", ds_main_orddeptlist_item.getColumn(obj.currentrow, "orddeptcd"));
- // submit("TRADB00702");
- // var oParam = {};
- // oParam.id = "TRADB00702";
- // oParam.service = "pharmacybaseapp.AnticancerProtocol";
- // oParam.method = "reqGetAnticancerProtocolSickList";
- // oParam.inds = "req=ds_send_srchdata";
- // oParam.outds = "ds_grd_sicklist=item";
- // oParam.async = false;
- // //oParam.callback = "cf_TRADB00702";
- //
- // tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRADB00702";
- oParam.service = "pharmacyprotocolapp.AnticancerProtocol";
- oParam.method = "reqGetAnticancerProtocolSickList";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_grd_sicklist=item";
- oParam.async = false;
- // oParam.callback = "cf_TRADB00702";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : 질병정보 리스트
- ******************************************************************/
- function group3_grd_sicklist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // model.setValue("/root/send/srchdata/sickclscd", model.getValue("/root/main/sicklist/item["+grd_sicklist.row+"]/sickclscd"));
- // model.setValue( "/root/main/sickclslist/item["+grd_sickclslist.row+"]/sickclscd","00000");
- ds_send_srchdata.setColumn(0, "sickclscd", ds_grd_sicklist.getColumn(obj.currentrow, "sickclscd"));
- // submit("TRADB00703");
- // var oParam = {};
- // oParam.id = "TRADB00703";
- // oParam.service = "pharmacybaseapp.AnticancerProtocol";
- // oParam.method = "reqGetAnticancerProtocolListIO";
- // oParam.inds = "req=ds_send_srchdata";
- // oParam.outds = "ds_grd_prtlin=itemin ds_grd_prtlout=itemout";
- // oParam.async = false;
- // //oParam.callback = "cf_TRADB00703";
- //
- // tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRADB00703";
- oParam.service = "pharmacyprotocolapp.AnticancerProtocol";
- oParam.method = "reqGetAnticancerProtocolListIO";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_grd_prtlin=itemin ds_grd_prtlout=itemout";
- oParam.async = false;
- // oParam.callback = "cf_TRADB00703";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument :
- * Description : 외래정보 => 입원정보로 복사
- ******************************************************************/
- function group3_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- // rd_prtlin.addItem();s
- var addRow = ds_grd_prtlin.addRow();
- // model.copyNode( "/root/main/prtllist/itemin["+grd_prtlin.row+"]", "/root/main/prtllist/itemout["+grd_prtlout.row+"]");
- ds_grd_prtlin.copyRow(addRow,ds_grd_prtlout,ds_grd_prtlout.rowposition);
-
- // model.refresh();
- }
- /******************************************************************
- * Argument :
- * Description : 입원정보 => 외래정보로 복사
- ******************************************************************/
- function group3_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- // grd_prtlout.addItem();
- var addRow = ds_grd_prtlout.addRow();
- // model.copyNode( "/root/main/prtllist/itemout["+grd_prtlout.row+"]","/root/main/prtllist/itemin["+grd_prtlin.row+"]");
-
- ds_grd_prtlout.copyRow(addRow,ds_grd_prtlin,ds_grd_prtlin.rowposition);
- }
- /******************************************************************
- * Argument :
- * Description : 질병분류정보 추가
- ******************************************************************/
- function group3_button8_onclick(obj:Button, e:ClickEventInfo)
- {
- //modal("SPADB61600",0,600,150,"SPADB61600","/root/hidden/receivesickcls","/root/hidden/receiveref");
-
- frmf_modal("SPADB61600", "SPADB61600", null, null, 1, null, 50, 600, 150, null, null, null, "M")
- //frmf_open("SPADB61600", "SPMMO50500", null, null, 2, null, null, null, null, null, null, null, "M");
- }
- /******************************************************************
- * Argument :
- * Description : 질병분류정보 행추가
- ******************************************************************/
- function group3_button52_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_sicklist.addRow();
-
- }
- /******************************************************************
- * Argument :
- * Description : 질병정보 행삭제
- ******************************************************************/
- function group3_button53_onclick(obj:Button, e:ClickEventInfo)
- {
- var cRow = ds_grd_sicklist.rowposition;
- if( ds_grd_sicklist.getRowType(cRow) == 2 ){
- ds_grd_sicklist.deleteRow(cRow);
- } else {
- grdf_setStatus(grd_sicklist, "D", grdf_getSelectedRows(grd_sicklist));
- }
- }
- /******************************************************************
- * Argument :
- * Description : 입원 행추가
- ******************************************************************/
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_prtlin.addRow();
- }
- /******************************************************************
- * Argument :
- * Description : 입원 행삭제
- ******************************************************************/
- function group3_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var cRow = ds_grd_prtlin.rowposition;
- if( ds_grd_prtlin.getRowType(cRow) == 2 ){
- ds_grd_prtlin.deleteRow(cRow);
- } else {
- grdf_setStatus(grd_prtlin, "D", grdf_getSelectedRows(grd_prtlin));
- }
- }
- /******************************************************************
- * Argument :
- * Description : 외래 행추가
- ******************************************************************/
- function group3_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_prtlout.addRow();
- }
- /******************************************************************
- * Argument :
- * Description : 외래 행삭제
- ******************************************************************/
- function group3_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var cRow = ds_grd_prtlout.rowposition;
- if( ds_grd_prtlout.getRowType(cRow) == 2 ){
- ds_grd_prtlout.deleteRow(cRow);
- } else {
- grdf_setStatus(grd_prtlout, "D", grdf_getSelectedRows(grd_prtlout));
- }
- }
- /******************************************************************
- * Argument :
- * Description : 항암프로토콜 전체 저장
- ******************************************************************/
- function group4_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_createDs("ds_send_req_orddeptdata");
- grdf_setStatusColumn(this.objects[grd_orddeptlist.binddataset], 'm');
- ds_send_req_orddeptdata.copyData(grdf_getGridUpdateData(grd_orddeptlist), true);
-
- dsf_createDs("ds_send_req_sickdata");
- grdf_setStatusColumn(this.objects[grd_sicklist.binddataset], 'm');
- ds_send_req_sickdata.copyData(grdf_getGridUpdateData(grd_sicklist), true);
-
-
- dsf_createDs("ds_send_req_prtlindata");
- grdf_setStatusColumn(this.objects[grd_prtlin.binddataset], 'm');
- ds_send_req_prtlindata.copyData(grdf_getGridUpdateData(grd_prtlin), true);
-
- dsf_createDs("ds_send_req_prtloutdata");
- grdf_setStatusColumn(this.objects[grd_prtlout.binddataset], 'm');
- ds_send_req_prtloutdata.copyData(grdf_getGridUpdateData(grd_prtlout), true);
-
-
- // var oParam = {};
- // oParam.id = "TXADB00701";
- // oParam.service = "pharmacybaseapp.AnticancerProtocol";
- // oParam.method = "reqExeAnticancerProtocol";
- // oParam.inds = "srchdata=ds_send_srchdata orddeptdata=ds_send_req_orddeptdata sickdata=ds_send_req_sickdata prtlindata=ds_send_req_prtlindata prtloutdata=ds_send_req_prtloutdata";
- // oParam.outds = "ds_hidden_ret_item=item";
- // oParam.async = false;
- // // oParam.callback = "cf_TXADB00701";
- //
- // tranf_submit(oParam);
- var oParam = {};
- oParam.id = "TXADB00701";
- oParam.service = "pharmacyprotocolapp.AnticancerProtocol";
- oParam.method = "reqExeAnticancerProtocol";
- oParam.inds = "srchdata=ds_send_srchdata orddeptdata=ds_send_req_orddeptdata sickdata=ds_send_req_sickdata prtlindata=ds_send_req_prtlindata prtloutdata=ds_send_req_prtloutdata";
- oParam.outds = "ds_hidden_ret_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXADB00701";
- tranf_submit(oParam);
- // submit("TRADB00701");
- var oParam = {};
- oParam.id = "TRADB00701";
- oParam.service = "pharmacyprotocolapp.AnticancerProtocol";
- oParam.method = "reqGetAnticancerProtocolOrdDeptList";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_main_orddeptlist_item=item";
- oParam.async = false;
- // oParam.callback = "cf_TRADB00701";
- tranf_submit(oParam);
- // submit("TRADB00702");
- var oParam = {};
- oParam.id = "TRADB00702";
- oParam.service = "pharmacyprotocolapp.AnticancerProtocol";
- oParam.method = "reqGetAnticancerProtocolSickList";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_grd_sicklist=item";
- oParam.async = false;
- // oParam.callback = "cf_TRADB00702";
- tranf_submit(oParam);
- // submit("TRADB00703");
- var oParam = {};
- oParam.id = "TRADB00703";
- oParam.service = "pharmacybaseapp.AnticancerProtocol";
- oParam.method = "reqGetAnticancerProtocolListIO";
- oParam.inds = "req=ds_send_srchdata";
- oParam.outds = "ds_grd_prtlin=itemin ds_grd_prtlout=itemout";
- oParam.async = false;
- // oParam.callback = "cf_TRADB00703";
- tranf_submit(oParam);
- }
- ]]></Script>
- </Form>
- </FDL>
|