123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPASI04500" position="absolute 0 0 830 780" titletext="결핵환자진료대상자조회" oninit="SPASI04500_oninit" onload="SPASI04500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 830 775" id="group3">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 180 23" id="grp_tle">
- <Layouts>
- <Layout>
- <Static text="결핵환자진료대상자조회" position="absolute 0 0 178 23" id="caption7" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 20 815 58" align="align:center top;" id="grp_sea" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="검색일자 :" position="absolute 15 9 96 26" id="caption9" class="search_name"/>
- <Shape position="absolute 687 6 693 28" linetype="vertical" id="line5" class="line_4"/>
- <Calendar position="absolute 95 8 180 27" id="ipt_srchdd" class="input_search" autoselect="true"/>
- <Button position="absolute 695 6 751 28" id="btn_search" class="btn1" text="조회" onclick="group3_grp_sea_btn_search_onclick"/>
- <Button position="absolute 756 8 798 27" id="btn_excel" class="btn2" text="엑셀" onclick="group3_grp_sea_btn_excel_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 0 68 815 760" id="switch1">
- <Tabpages>
- <Tabpage text="외래" position="absolute 0 0 813 668" id="out">
- <Layouts>
- <Layout>
- <Grid position="absolute 1 0 810 665" id="grd_outpatlist" binddataset="ds_main_outpatlist" extendsizetype="row" autosizingtype="row" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="77"/>
- <Column size="70"/>
- <Column size="126"/>
- <Column size="70"/>
- <Column size="388"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="등록번호"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="진료과"/>
- <Cell col="3" text="담당의"/>
- <Cell col="4" text="진단명"/>
- <Cell col="5" text="예약시간"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" text="bind:hngnm" suppress="2" suppressalign="middle,over"/>
- <Cell col="2" style="align:left;" text="bind:depthngnm"/>
- <Cell col="3" style="align:left;" text="bind:orddrnm"/>
- <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:diagengnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="5" text="bind:ordtm" mask="expr:utlf_isNull(ordtm) ? '' : '##:##'"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="입원" id="in">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 809 665" id="grd_inpatlist" binddataset="ds_main_inpatlist" extendsizetype="row" autosizingtype="row" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="77"/>
- <Column size="71"/>
- <Column size="145"/>
- <Column size="71"/>
- <Column size="278"/>
- <Column size="79"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="등록번호"/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="진료과"/>
- <Cell col="3" text="담당의"/>
- <Cell col="4" text="진단명"/>
- <Cell col="5" text="입원병동"/>
- <Cell col="6" text="입원병실"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" style="align:left;" text="bind:depthngnm"/>
- <Cell col="3" text="bind:orddrnm"/>
- <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:diagengnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="5" style="align:left;" text="bind:wardnm"/>
- <Cell col="6" style="align:left;" text="bind:roomcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdd" type="STRING" size="256" sumtext="검색일"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_outpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="과명"/>
- <Column id="diagengnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="ordtm" type="STRING" size="256" sumtext="진료시간"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="담당의"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_inpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="depthngnm" type="STRING" size="256" sumtext="과명"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="담당의"/>
- <Column id="diagengnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.ipt_srchdd" propid="value" datasetid="ds_send_reqdata" columnid="srchdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : ast_infcmngtxp -> SPASI04500
- * Creator : yjh
- * Make Date : 2017-09-22
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-09-22 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_infcmngtxp::SPASI04500.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPASI04500
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPASI04500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPASI04500
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPASI04500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(group3.switch1.out.grd_outpatlist);
- grdf_setGridSort(group3.switch1.in.grd_inpatlist);
-
- fInitialize();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function group3_grp_sea_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if( group3.switch1.tabindex == 0 ){
- grdf_exportExcel(group3.switch1.out.grd_outpatlist, "결핵환자진료대상자(외래)", "결핵환자진료대상자(외래)", false, "", "user", false);
- }else{
- grdf_exportExcel(group3.switch1.in.grd_inpatlist, "결핵환자진료대상자(입원)", "결핵환자진료대상자(입원)", false, "", "user", false);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|