123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSMNO00100" position="absolute 0 0 1212 800" titletext="외래환자수" onload="SSMNO00100_onload">
- <Layouts>
- <Layout>
- <Div id="group3" scrollbars="autoboth" position="absolute 0 26 1212 770" style="" anchor="all">
- <Layouts>
- <Layout>
- <Grid id="grd_outpatlist" binddataset="ds_main_outpatinfo_outpatlist" position="absolute 0 61 1212 732" style="" anchor="all" cellsizingtype="both" cellmovingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="124" band="left"/>
- <Column size="45"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="45"/>
- <Column size="54"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="58"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- <Column size="48"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25" band="head"/>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="3" taborder="undefined"/>
- <Cell col="1" colspan="13" text="초진" taborder="undefined"/>
- <Cell col="14" colspan="12" text="재진" taborder="undefined"/>
- <Cell col="26" colspan="3" text="외래환자수" taborder="undefined"/>
- <Cell col="29" rowspan="3" text="특진율" taborder="undefined"/>
- <Cell col="30" rowspan="3" text="초진율" taborder="undefined"/>
- <Cell col="31" rowspan="3" text="진료 예약" taborder="undefined"/>
- <Cell col="32" rowspan="3" text="진료 반환" taborder="undefined"/>
- <Cell col="33" rowspan="3" text="부도율" taborder="undefined"/>
- <Cell col="34" rowspan="3" text="진료 과별 비율" taborder="undefined"/>
- <Cell col="35" text="caption1"/>
- <Cell col="36" text="caption3"/>
- <Cell col="37" text="caption2"/>
- <Cell col="38"/>
- <Cell col="39" text="전화 예약"/>
- <Cell col="40" text="과예약"/>
- <Cell col="41" text=" 인터넷 예약"/>
- <Cell col="42" text="당일 접수"/>
- <Cell col="43" text="당일 예약"/>
- <Cell col="44" text="협력 예약"/>
- <Cell col="45" text="의뢰"/>
- <Cell col="46" text="기타"/>
- <Cell col="47" text="부도"/>
- <Cell col="48" text="외래환자수"/>
- <Cell col="49" text="외래환자수"/>
- <Cell col="50" text="외래환자수"/>
- <Cell col="51" text="초진 부도율"/>
- <Cell col="52" text="전화 예약"/>
- <Cell col="53" text="과예약"/>
- <Cell col="54" text="당일 접수"/>
- <Cell col="55" text="당일 예약"/>
- <Cell col="56" text="협력 예약"/>
- <Cell col="57" text="의뢰"/>
- <Cell col="58" text="기타"/>
- <Cell col="59" text="부도"/>
- <Cell col="60" text="외래환자수"/>
- <Cell col="61" text="외래환자수"/>
- <Cell col="62" text="외래환자수"/>
- <Cell col="63" text=" 재진 부도율"/>
- <Cell col="64" text="특진"/>
- <Cell col="65" text="일반"/>
- <Cell col="66" text="합계"/>
- <Cell col="67" text="특진율"/>
- <Cell col="68" text="초진율"/>
- <Cell col="69" text="진료 예약"/>
- <Cell col="70" text="진료 반환"/>
- <Cell col="71" text="부도율"/>
- <Cell col="72" text="진료 과별 비율"/>
- <Cell col="73" text="caption1"/>
- <Cell col="74" text="caption3"/>
- <Cell col="75" text="caption2"/>
- <Cell col="76"/>
- <Cell col="77" text="전화 예약"/>
- <Cell col="78" text="과예약"/>
- <Cell col="79" text=" 인터넷 예약"/>
- <Cell col="80" text="당일 접수"/>
- <Cell col="81" text="당일 예약"/>
- <Cell col="82" text="협력 예약"/>
- <Cell col="83" text="의뢰"/>
- <Cell col="84" text="기타"/>
- <Cell col="85" text="부도"/>
- <Cell col="86" text="특진"/>
- <Cell col="87" text="일반"/>
- <Cell col="88" text="합계"/>
- <Cell col="89" text="초진 부도율"/>
- <Cell col="90" text="전화 예약"/>
- <Cell col="91" text="과예약"/>
- <Cell col="92" text="당일 접수"/>
- <Cell col="93" text="당일 예약"/>
- <Cell col="94" text="협력 예약"/>
- <Cell col="95" text="의뢰"/>
- <Cell col="96" text="기타"/>
- <Cell col="97" text="부도"/>
- <Cell col="98" text="특진"/>
- <Cell col="99" text="일반"/>
- <Cell col="100" text="합계"/>
- <Cell col="101" text=" 재진 부도율"/>
- <Cell col="102" text="특진"/>
- <Cell col="103" text="일반"/>
- <Cell col="104" text="합계"/>
- <Cell col="105" text="특진율"/>
- <Cell col="106" text="초진율"/>
- <Cell col="107" text="진료 예약"/>
- <Cell col="108" text="진료 반환"/>
- <Cell col="109" text="부도율"/>
- <Cell col="110" text="진료 과별 비율"/>
- <Cell col="111" text="caption1"/>
- <Cell col="112" text="caption3"/>
- <Cell col="113" text="caption2"/>
- <Cell row="1" col="1" rowspan="2" text="전화 예약" taborder="undefined"/>
- <Cell row="1" col="2" rowspan="2" text="과예약" taborder="undefined"/>
- <Cell row="1" col="3" rowspan="2" text=" 인터넷 예약" taborder="undefined"/>
- <Cell row="1" col="4" rowspan="2" text="당일 접수" taborder="undefined"/>
- <Cell row="1" col="5" rowspan="2" text="당일 예약" taborder="undefined"/>
- <Cell row="1" col="6" rowspan="2" text="협력 예약" taborder="undefined"/>
- <Cell row="1" col="7" rowspan="2" text="의뢰" taborder="undefined"/>
- <Cell row="1" col="8" rowspan="2" text="기타" taborder="undefined"/>
- <Cell row="1" col="9" rowspan="2" text="부도" taborder="undefined"/>
- <Cell row="1" col="10" colspan="3" text="외래환자수" taborder="undefined"/>
- <Cell row="1" col="13" rowspan="2" text="초진 부도율" taborder="undefined"/>
- <Cell row="1" col="14" rowspan="2" text="전화 예약" taborder="undefined"/>
- <Cell row="1" col="15" rowspan="2" text="과예약" taborder="undefined"/>
- <Cell row="1" col="16" rowspan="2" text="당일 접수" taborder="undefined"/>
- <Cell row="1" col="17" rowspan="2" text="당일 예약" taborder="undefined"/>
- <Cell row="1" col="18" rowspan="2" text="협력 예약" taborder="undefined"/>
- <Cell row="1" col="19" rowspan="2" text="의뢰" taborder="undefined"/>
- <Cell row="1" col="20" rowspan="2" text="기타" taborder="undefined"/>
- <Cell row="1" col="21" rowspan="2" text="부도" taborder="undefined"/>
- <Cell row="1" col="22" colspan="3" text="외래환자수" taborder="undefined"/>
- <Cell row="1" col="25" rowspan="2" text=" 재진 부도율" taborder="undefined"/>
- <Cell row="1" col="26" rowspan="2" text="특진" taborder="undefined"/>
- <Cell row="1" col="27" rowspan="2" text="일반" taborder="undefined"/>
- <Cell row="1" col="28" rowspan="2" text="합계" taborder="undefined"/>
- <Cell row="1" col="35" text="caption1"/>
- <Cell row="1" col="36" text="caption3"/>
- <Cell row="1" col="37" text="caption2"/>
- <Cell row="2" col="10" text="특진"/>
- <Cell row="2" col="11" text="일반"/>
- <Cell row="2" col="12" text="합계"/>
- <Cell row="2" col="22" text="특진"/>
- <Cell row="2" col="23" text="일반"/>
- <Cell row="2" col="24" text="합계"/>
- <Cell row="2" col="35" text="caption1"/>
- <Cell row="2" col="36" text="caption3"/>
- <Cell row="2" col="37" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:stsview"/>
- <Cell col="1" displaytype="number" text="bind:fstelrsrv"/>
- <Cell col="2" displaytype="number" text="bind:fsdeptrsrv"/>
- <Cell col="3" displaytype="number" text="bind:fsitnrsrv"/>
- <Cell col="4" displaytype="number" text="bind:fstdyrsrv"/>
- <Cell col="5" displaytype="number" text="bind:fscurntrsrv"/>
- <Cell col="6" displaytype="number" text="bind:fscorsrv"/>
- <Cell col="7" displaytype="number" text="bind:fscnsltrsrv"/>
- <Cell col="8" displaytype="number" text="bind:fsetcrsrv"/>
- <Cell col="9" displaytype="number" text="bind:fsabsntrsrv"/>
- <Cell col="10" displaytype="number" text="bind:fssltdiagrsrv"/>
- <Cell col="11" displaytype="number" text="bind:fsgendiagrsrv"/>
- <Cell col="12" displaytype="number" text="bind:fsotpttot"/>
- <Cell col="13" displaytype="number" text="bind:fsabsntrsrvrate"/>
- <Cell col="14" displaytype="number" text="bind:sectelrsrv"/>
- <Cell col="15" displaytype="number" text="bind:secdeptrsrv"/>
- <Cell col="16" displaytype="number" text="bind:sectdyrsrv"/>
- <Cell col="17" displaytype="number" text="bind:seccurntrsrv"/>
- <Cell col="18" displaytype="number" text="bind:seccorsrv"/>
- <Cell col="19" displaytype="number" text="bind:seccnsltrsrv"/>
- <Cell col="20" displaytype="number" text="bind:secetcrsrv"/>
- <Cell col="21" displaytype="number" text="bind:secabsntrsrv"/>
- <Cell col="22" displaytype="number" text="bind:secsltdiagrsrv"/>
- <Cell col="23" displaytype="number" text="bind:secgendiagrsrv"/>
- <Cell col="24" displaytype="number" text="bind:secotpttot"/>
- <Cell col="25" displaytype="number" text="bind:secabsntrsrvrate"/>
- <Cell col="26" displaytype="number" text="bind:sltotpt"/>
- <Cell col="27" displaytype="number" text="bind:genotpt"/>
- <Cell col="28" displaytype="number" text="bind:otpttot"/>
- <Cell col="29" displaytype="number" text="bind:sltotptrate"/>
- <Cell col="30" displaytype="number" text="bind:genotptrate"/>
- <Cell col="31" displaytype="number" text="bind:totrsrv"/>
- <Cell col="32" displaytype="number" text="bind:cnclrsrv"/>
- <Cell col="33" displaytype="number" text="bind:absntrsrvrate"/>
- <Cell col="34" displaytype="number" text="bind:deptrate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" position="absolute 0 0 1212 35" style="align: top;" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_print" class="btn6" position="absolute 1147 7 1203 29" text="출력" onclick="group3_grp_sea_btn_print_onclick" anchor="top right"/>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1021 7 1024 29" style="" anchor="top right"/>
- <Static id="caption3" class="search_name" position="absolute 25 10 90 27" text="기간 :" anchor="left top"/>
- <Combo innerdataset="ds_init_orddr_orddr" datacolumn="usernm" codecolumn="userid" columncount="-1" rowcount="-1" id="cmb_orddrid" class="combo_search" position="absolute 554 10 660 29" anchor="left top"/>
- <Static id="caption4" class="search_name" position="absolute 460 10 564 27" text="진료의별 :" anchor="left top"/>
- <Static id="caption8" class="search_name" position="absolute 215 10 319 27" text="진료과별 :" anchor="left top"/>
- <Combo innerdataset="ds_init_orddeptlist_dept" datacolumn="depthngnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_orddeptcd" class="combo_search" position="absolute 309 10 425 29" style="" onitemchanged="group3_grp_sea_cmb_orddeptcd_onitemchanged" anchor="left top"/>
- <Calendar id="input1" class="input_s_essential" position="absolute 90 10 185 29" style="" anchor="left top"/>
- <Button id="btn_srch" class="btn1" position="absolute 1031 7 1087 29" text="조회" onclick="group3_grp_sea_btn_srch_onclick" anchor="top right"/>
- <Button id="btn_excel" class="btn7" position="absolute 1089 7 1145 29" text="엑셀" onclick="group3_grp_sea_btn_excel_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" class="tit_2" position="absolute 0 71 156 85" text="외래환자수"/>
- <Static id="caption2" position="absolute 0 760 1212 795" style="font:Dotum,9,bold;" text="*** 기타: 물리치료, 인공신장실, 주사, F_U, 치료방사선 *** 과예약: 외래, 병동, 응급, DSC, 특수주사실 포함한 예약건수" anchor="left right bottom"/>
- <Static id="cap_title" text="외래환자수" class="tit_1" position="absolute 0 0 181 26"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="orddeptlist" type="STRING" size="256"/>
- <Column id="orddr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddeptlist"/>
- <Col id="orddr"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="outpatinfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchdd"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reqdata" type="STRING" size="256"/>
- <Column id="outpatinfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_outpatinfo_outpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddeptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddr_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_outpatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.cmb_orddrid" propid="value" datasetid="ds_main_cond" columnid="orddrid"/>
- <BindItem id="item1" compid="group3.grp_sea.cmb_orddeptcd" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
- <BindItem id="item2" compid="group3.grp_sea.input1" propid="value" datasetid="ds_main_cond" columnid="srchdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- var menuParam = String(frmf_getMenuParam());
- //스크립트 끝
- function SSMNO00100_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(group3.grd_outpatlist);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- //fInit();
- var currDate = utlf_getCurrentDate();
- ds_main_cond.setColumn( 0, "srchdd", (currDate.toDate().getAddDate(-1, "D").getDateFormat()) );
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var rslt_ref = "ds_init_orddeptlist_dept";
- //ds_main_cond.setColumn( 0, "orddeptcd", "%");
- ds_main_cond.setColumn( 0, "orddrid", "");
- var dt = ds_main_cond.getColumn(0, "srchdd");
- appf_getCareOutOrderDepartmentList(instcd, dt, rslt_ref);
- frmf_addComboItem("group3.grp_sea.cmb_orddeptcd","전체","","above");
- frmf_addComboItem("group3.grp_sea.cmb_orddrid","전체","","above");
- group3.grp_sea.btn_srch.click();
- }
- function group3_grp_sea_btn_print_onclick(obj:Button, e:ClickEventInfo) {
- var srchdd = ds_main_cond.getColumn(0, "srchdd");
- var currdt = utlf_getCurrentDate()+""+utlf_getCurrentTime();
-
- ds_send_outpatinfo.copyData(ds_main_outpatinfo_outpatlist);
-
- var objDOM = rptf_createDOM(); //DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/outpatinfo/outpatlist", ds_send_outpatinfo);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- objParam.srchdd = srchdd.substring(0,4)+"/"+srchdd.substring(4,6)+"/"+srchdd.substring(6,8);
- objParam.orddeptnm = group3.grp_sea.cmb_orddeptcd.text;
- objParam.orddrnm = group3.grp_sea.cmb_orddrid.text;
- objParam.usernm = sysf_getUserInfo("usernm");
- objParam.printdt = currdt.substring(0,4)+"/"+currdt.substring(4,6)+"/"+currdt.substring(6,8)+" "+
- currdt.substring(8,10)+":"+currdt.substring(10,12)+":"+currdt.substring(12,14) ;
-
- var option = //"open=1;save=1;directprint=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPSTO00100"],[objParam], option);
- }
- function group3_grp_sea_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- var sordclsdeptflag = ds_init_orddeptlist_dept.lookupExpr("deptcd == '"+obj.value+"'" , "ordclsdeptflag"); // 대표_분과_서브 구분
- var sorddeptkind = ds_init_orddeptlist_dept.lookupExpr("deptcd == '"+obj.value+"'" , "orddeptkind"); // 센터_대표 구분
- var ssupdeptcd = ds_init_orddeptlist_dept.lookupExpr("deptcd == '"+obj.value+"'" , "supdeptcd"); // 상위부서코드
- var sorddeptflag = "";
- if (sorddeptkind == "C") { // 센터이면
- sorddeptflag = "C";
- } else if (sorddeptkind != "C" && sordclsdeptflag == "A") { // 센터가 아니면서 분과이면
- sorddeptflag = "A";
- } else { // 그외에 기타과
- sorddeptflag = "etc";
- }
- dsf_makeValue( ds_send_reqdata, "ordclsdeptflag", "string", sorddeptflag);
- dsf_makeValue( ds_send_reqdata, "supdeptcd", "string", ssupdeptcd);
- dsf_makeValue( ds_send_reqdata, "prcpspecflag", "string", "Y");
- dsf_makeValue( ds_send_reqdata, "orddd", "string", ds_main_cond.getColumn(0, "srchdd"));
- dsf_makeValue( ds_send_reqdata, "orddeptcd", "string", ds_main_cond.getColumn(0, "orddeptcd"));
- var oParam = {};
- oParam.id = "TRMNO00104";
- oParam.service = "outcareapp.OutCareMngt";
- oParam.method = "reqGetDrId";
- oParam.inds = "reqdrid=ds_send_reqdata";
- oParam.outds = "ds_init_orddr_orddr=orddr";
- oParam.async = false;
- //oParam.callback = "cf_TRMNO00104";
- tranf_submit(oParam);
- frmf_addComboItem("group3.grp_sea.cmb_orddrid");
- }
- function group3_grp_sea_btn_srch_onclick(obj:Button, e:ClickEventInfo) {
- if ( utlf_isNull(ds_main_cond.getColumn(0, "srchdd")) || ds_main_cond.getColumn(0, "srchdd") >= utlf_getCurrentDate() ){
- sysf_messageBox("과거의 외래환자수를 조회합니다.기간을 ","I007");//확인하십시오
- return;
- }
- ds_send_reqdata.clearData();
- dsf_makeValue( ds_send_reqdata, "srchdd", "string", ds_main_cond.getColumn(0, "srchdd") );
- dsf_makeValue( ds_send_reqdata, "menu", "string", "SUM");
- if ( !utlf_isNull( ds_main_cond.getColumn(0, "orddeptcd") ) && ds_main_cond.getColumn(0, "orddeptcd") != "%") {
- dsf_makeValue( ds_send_reqdata, "orddeptcd", "string", ds_main_cond.getColumn(0, "orddeptcd"));
- }
- if ( !utlf_isNull( ds_main_cond.getColumn(0, "orddrid") ) && ds_main_cond.getColumn(0, "orddrid") != "%") {
- dsf_makeValue( ds_send_reqdata, "orddrid", "string", ds_main_cond.getColumn(0, "orddrid"));
- }
- var oParam = {};
- oParam.id = "TRSNO00101";
- oParam.service = "stsenrapp.StsOutMngt";
- oParam.method = "reqGetOutPatlist";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_outpatinfo_outpatlist=outpatlist";
- oParam.async = false;
- //oParam.callback = "cf_TRSNO00101";
- tranf_submit(oParam);
- }
- function group3_grp_sea_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
- if (ds_main_outpatinfo_outpatlist.rowcount > 0) {
- grdf_exportExcel(group3.grd_outpatlist, caption1.text , "see");
- }else{
- sysf_messageBox("엑셀저장할 내역이", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|