123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNR00600" position="absolute 0 0 635 740" titletext="심사기준 안내" oninit="SPMNR00600_oninit" onload="SPMNR00600_onload">
- <Layouts>
- <Layout>
- <Static text="투약기록 1일 총 투여량 심사 기준 조회" position="absolute 0 0 265 25" id="caption6" class="tit_1"/>
- <Grid position="absolute 0 76 625 730" id="grd_druglist" binddataset="ds_main_pmbmdruginfo_druglist" selecttype="multirow" cellsizingtype="both" extendsizetype="row" onheadclick="grd_druglist_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="100"/>
- <Column size="355"/>
- <Column size="55"/>
- <Column size="75"/>
- </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="액팅횟수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left;" text="bind:calcscorcd"/>
- <Cell col="2" style="align:left;" text="bind:prcpnm"/>
- <Cell col="3" text="bind:drugdayno"/>
- <Cell col="4" text="bind:drugtims"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 25 625 70" align="align:center top;" id="grp_sea">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 625 45" id="roundrect3" class="roundrect_search" type="roundrectangle"/>
- <Static text="처방코드 :" position="absolute 10 13 100 30" id="caption2" class="search_name"/>
- <Button position="absolute 560 10 616 32" id="btn_sear" class="btn1" text="조회" onclick="grp_sea_btn_sear_onclick"/>
- <Shape position="absolute 547 7 553 37" linetype="vertical" id="line16"/>
- <Static text="처 방 명 :" position="absolute 225 13 315 30" id="caption1" class="search_name"/>
- <Edit position="absolute 90 11 185 30" id="input1" onkeydown="grp_sea_input1_onkeydown"/>
- <Edit position="absolute 300 11 510 30" id="input2" onkeydown="grp_sea_input2_onkeydown"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_pmbmdruginfo_druglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="calcscorcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="drugdayno" type="STRING"/>
- <Column id="drugtims" type="STRING"/>
- </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="workdd" type="STRING" size="256" sumtext="workdd"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="prcpcd"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="prcpnm"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srch_prcpcd" type="STRING" size="256"/>
- <Column id="srch_prcpnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.input1" propid="value" datasetid="ds_cond" columnid="srch_prcpcd"/>
- <BindItem id="item1" compid="grp_sea.input2" propid="value" datasetid="ds_cond" columnid="srch_prcpnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_caremedirecxp -> SPMNR00600
- * Creator : yjh
- * Make Date : 2016-05-26
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-26 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function fSearch() {
-
- var curdate = utlf_getCurrentDate();
- var prcpcd = ds_cond.getColumn(0, "srch_prcpcd");
- var prcpnm = ds_cond.getColumn(0, "srch_prcpnm");
-
- ds_main_pmbmdruginfo_druglist.clearData();
- ds_send.setColumn(0, "workdd", curdate);
- ds_send.setColumn(0, "prcpcd", prcpcd);
- ds_send.setColumn(0, "prcpnm", prcpnm);
-
- var oParam = {};
- oParam.id = "TRMNR00620";
- oParam.service = "caremedirecapp.CareMediRec";
- oParam.method = "reqGetPmbmDrugInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_pmbmdruginfo_druglist=druglist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNR00620";
- tranf_submit(oParam);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNR00600
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNR00600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNR00600
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNR00600_onload(obj:Form, e:LoadEventInfo)
- {
- fSearch();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_sear
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function grp_sea_btn_sear_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : input1
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function grp_sea_input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- grp_sea.btn_sear.click();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : input2
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function grp_sea_input2_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- grp_sea.btn_sear.click();
- }
- }
- function grd_druglist_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- grdf_setEventGrid(grd_druglist, e);
- }
- ]]></Script>
- </Form>
- </FDL>
|