123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPMO02200" position="absolute 0 0 910 742" titletext="초진료이중발생조회" onload="SPPMO02200_onload" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 5 775 18" anchor="default" positiontype="position">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Div id="group2" position="absolute 12 11 896 53" style="align:center top;" anchor="left top right" positiontype="position" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption2" class="search_name" position="absolute 8 11 82 31" anchor="default" text="조회기간" positiontype="position"/>
- <Calendar id="ipt_fromdd" class="input_search" position="absolute 81 11 171 31" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position"/>
- <Static id="caption10" position="absolute 171 11 186 31" style="align:center middle;" anchor="default" text="~" positiontype="position"/>
- <Calendar id="ipt_todd" class="input_search" position="absolute 187 11 277 31" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position"/>
- <Shape id="line1" class="line_4" position="absolute 645 7 645 42" anchor="default" linetype="vertical" positiontype="position"/>
- <Button id="btn_search" class="btn1" position="absolute 816 12 872 32" anchor="top right" text="조회" onclick="btn_search_onclick" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_cho" position="absolute 12 60 896 728" anchor="left top right" positiontype="position" binddataset="ds_grd" scrollbars="autoboth" ondbclick="grd_bbs_ondbclick" autosizingtype="none" extendsizetype="row" autofittype="none" cellclickbound="cell" cellsizingtype="col" selecttype="multirow" autoenter="key">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="22" 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="이전초진구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:orddeptnm"/>
- <Cell col="4" text="bind:orddd" mask="####-##-##"/>
- <Cell col="5" text="bind:fsexamflag"/>
- <Cell col="6" text="bind:bforddd" mask="####-##-##"/>
- <Cell col="7" text="bind:bffsexamflag"/>
- <Cell col="8"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_1" position="absolute 0 76 778 76" anchor="default" positiontype="position" linetype="horizontal"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="fsexamflag" type="STRING" size="256"/>
- <Column id="bforddd" type="STRING" size="256"/>
- <Column id="bffsexamflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name : SPPMO02200_초진료이중발생조회.xfdl
- * Creator :
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
-
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function SPPMO02200_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- fInitialize();
- }
- //게시판 화면 초기화
- function fInitialize(){
- group2.ipt_fromdd.value = (utlf_getCurrentDate().toDate()).getAddDate(-31).getDateFormat();
- group2.ipt_todd.value = utlf_getCurrentDate();
-
- grdf_initGrid(grd_cho);
- }
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var mDate = group2.ipt_todd.value.getAddDate(-31);
-
- if(mDate.getDateFormat("YYYYMMDD") > group2.ipt_fromdd.value){
- sysf_messageBox("조회기간은 최대 31일까지","E008");
- return;
- }
-
- var oParam = {};
- oParam.id = "TRMMO02200";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetCho";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd=list";
- oParam.async = false;
- //oParam.callback = "cf_TRMNO09001";
- tranf_submit(oParam);
- }
- ]]></Script>
- </Form>
- </FDL>
|