123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SMPIS00900" position="absolute 0 0 1280 1024" titletext="외과흉부외과가산조회" onload="SMPIS00900_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 1211 13" style="">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_1" position="absolute 0 0 200 13" style="" text="외과,흉부외과 가산내역 조회" />
- </Layout>
- </Layouts>
- </Div>
- <Div id="group2" scrollbars="autoboth" position="absolute 0 13 1211 745" style="">
- <Layouts>
- <Layout>
- <Div id="group3" position="absolute 0 10 1210 65" style="align: top;">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 0 1210 55" style="" />
- <Static id="caption2" class="search_name" position="absolute 10 19 91 36" style="" text="기준일자" />
- <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1109 5 1112 47" style="" anchor="default" />
- <Button id="btn_search" class="btn1_letter2" taborder="2" position="absolute 1134 15 1190 37" style="" text="조회" onclick="group2_group3_btn_search_onclick" />
- <Static id="caption26" class="search_name" position="absolute 305 18 381 35" style="" text="조회기간" />
- <Static id="caption3" class="search_name" position="absolute 665 19 741 36" style="" text="내원유형" />
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_ioflag" class="radio_search" position="absolute 755 19 855 36" style="">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" />
- <Column id="datacolumn" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="radio1" class="radio_search" position="absolute 99 19 264 36" style="">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" />
- <Column id="datacolumn" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">실시일기준</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">처방일기준</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption4" position="absolute 490 17 505 37" style="" text="~" />
- <Calendar id="ipt_todd" class="input_search" taborder="3" mask="yyyy-mm-dd" position="absolute 505 17 600 36" style="" anchor="default" />
- <Calendar id="ipt_fromdd" class="input_search" taborder="3" mask="yyyy-mm-dd" position="absolute 390 17 485 36" style="" anchor="default" />
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption8" class="tit_2" position="absolute 0 75 100 89" style="" text="리스트" />
- <Grid id="grd_gscslist" binddataset="ds_main_item1_gscslist" class="datagrid2" position="absolute 0 90 1210 730" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="42" />
- <Column size="49" />
- <Column size="83" />
- <Column size="139" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="76" />
- <Column size="44" />
- <Column size="47" />
- <Column size="54" />
- <Column size="119" />
- <Column size="50" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- </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="처리과" />
- <Cell col="7" text="단가" />
- <Cell col="8" text="수량" />
- <Cell col="9" text="일수" />
- <Cell col="10" text="산정코드" />
- <Cell col="11" text="산정명칭" />
- <Cell col="12" text="건수" />
- <Cell col="13" text="총금액" />
- <Cell col="14" text="계산금액" />
- <Cell col="15" text="병원가산" />
- <Cell col="16" text="선택진료" />
- <Cell col="17" text="산정금액" />
- <Cell col="18" text="전문의가산" />
- <Cell col="19" text="병원가산차액" />
- </Band>
- <Band id="body">
- <Cell text="bind:ioflag" />
- <Cell col="1" text="bind:yymm" />
- <Cell col="2" text="bind:snglcalcscorcd" />
- <Cell col="3" text="bind:hngnm" />
- <Cell col="4" text="bind:orddeptnm" />
- <Cell col="5" text="bind:rgstdeptnm" />
- <Cell col="6" text="bind:deptnm" />
- <Cell col="7" text="bind:appunitcost" />
- <Cell col="8" text="bind:prcpqty" />
- <Cell col="9" text="bind:prcpdayno" />
- <Cell col="10" text="bind:estmmeancd" />
- <Cell col="11" text="bind:estmmeannm" />
- <Cell col="12" text="bind:cnt" />
- <Cell col="13" text="bind:totamt" />
- <Cell col="14" text="bind:calamt" />
- <Cell col="15" text="bind:hospaddamt" />
- <Cell col="16" text="bind:specamt" />
- <Cell col="17" text="bind:estmamt" />
- <Cell col="18" text="bind:doctadd" />
- <Cell col="19" text="bind:hospdiff" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button2" class="btn2_letter4" position="absolute 1130 69 1194 88" style="" text="엑셀저장" onclick="group2_button2_onclick" />
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_item1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256" />
- <Column id="todd" type="STRING" size="256" />
- <Column id="jobflag" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_main_item1_gscslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" />
- <Column id="hngnm" type="STRING" size="256" />
- <Column id="rrgstno" type="STRING" size="256" />
- <Column id="clamym" type="STRING" size="256" />
- <Column id="clamprcsstat" type="STRING" size="256" />
- <Column id="clamdg" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="suppkind" type="STRING" size="256" />
- <Column id="clamdeptnm" type="STRING" size="256" />
- <Column id="orddeptcd" type="STRING" size="256" />
- <Column id="orddrnm" type="STRING" size="256" />
- <Column id="judgendyn" type="STRING" size="256" />
- <Column id="clamendyn" type="STRING" size="256" />
- <Column id="acptno" type="STRING" size="256" />
- <Column id="docuseqno" type="STRING" size="256" />
- <Column id="ordfromdd" type="STRING" size="256" />
- <Column id="fromdd" type="STRING" size="256" />
- <Column id="todd" type="STRING" size="256" />
- <Column id="judgyn" type="STRING" size="256" />
- <Column id="delreason1" type="STRING" size="256" />
- <Column id="delreason2" type="STRING" size="256" />
- <Column id="rtnrsncd1" type="STRING" size="256" />
- <Column id="rtnrsncd2" type="STRING" size="256" />
- <Column id="edimedcaretotamt" type="STRING" size="256" />
- <Column id="ediownbamt" type="STRING" size="256" />
- <Column id="ediinsuclamamt" type="STRING" size="256" />
- <Column id="edilimitamt" type="STRING" size="256" />
- <Column id="edisuppamt" type="STRING" size="256" />
- <Column id="edisubtamt" type="STRING" size="256" />
- <Column id="edihandcaprfund" type="STRING" size="256" />
- <Column id="judgrid" type="STRING" size="256" />
- <Column id="judgenddd" type="STRING" size="256" />
- <Column id="insuno" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"></Col>
- <Col id="hngnm"></Col>
- <Col id="rrgstno"></Col>
- <Col id="clamym"></Col>
- <Col id="clamprcsstat"></Col>
- <Col id="clamdg"></Col>
- <Col id="ioflag"></Col>
- <Col id="insukind"></Col>
- <Col id="suppkind"></Col>
- <Col id="clamdeptnm"></Col>
- <Col id="orddeptcd"></Col>
- <Col id="orddrnm"></Col>
- <Col id="judgendyn"></Col>
- <Col id="clamendyn"></Col>
- <Col id="acptno"></Col>
- <Col id="docuseqno"></Col>
- <Col id="ordfromdd"></Col>
- <Col id="fromdd"></Col>
- <Col id="todd"></Col>
- <Col id="judgyn"></Col>
- <Col id="delreason1"></Col>
- <Col id="delreason2"></Col>
- <Col id="rtnrsncd1"></Col>
- <Col id="rtnrsncd2"></Col>
- <Col id="edimedcaretotamt"></Col>
- <Col id="ediownbamt"></Col>
- <Col id="ediinsuclamamt"></Col>
- <Col id="edilimitamt"></Col>
- <Col id="edisuppamt"></Col>
- <Col id="edisubtamt"></Col>
- <Col id="edihandcaprfund"></Col>
- <Col id="judgrid"></Col>
- <Col id="judgenddd"></Col>
- <Col id="insuno"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="init"></Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.group3.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag" />
- <BindItem id="item1" compid="group2.group3.radio1" propid="value" datasetid="ds_send" columnid="jobflag" />
- <BindItem id="item2" compid="group2.group3.ipt_todd" propid="value" datasetid="ds_send" columnid="todd" />
- <BindItem id="item3" compid="group2.group3.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[function SMPIS00900_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- // 화면 초기화
- fInitialize();
- }
- include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_utilHelper.js'
- include '../../.._com_commonweb_js_numericHelper.js'
- include '../../.._com_commonweb_js_stringHelper.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- // 화면 초기화
- function fInitialize()
- {
- ds_send.setColumn( 0, "fromdd",utlf_getCurrentDate());
- ds_send.setColumn( 0, "todd",utlf_getCurrentDate());
- ds_send.setColumn( 0, "jobflag","1");
- ds_send.setColumn( 0, "ioflag","I");
- //model.refresh();
- }
- function group2_group3_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_item1_gscslist.clearData();
- // submit("TRPIS00900");
- var oParam = {};
- oParam.id = "TRPIS00900";
- oParam.service = "aftjudgstatapp.GsCsAddlist";
- oParam.method = "reqGetGsCsAddList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=gscslist";
- oParam.async = false;
- oParam.callback = "cf_TRPIS00900";
- tranf_submit(oParam);
- /*
- function cf_TRPIS00900(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPIS00900(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPIS00900") > -1
- arErrorCode.pop("TRPIS00900") < 0
- */
- }
- function group2_button2_onclick(obj:Button, e:ClickEventInfo) {
- if (group2.grd_gscslist.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "외과흉부외과 가산내역 조회_" + utlf_getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- grdf_exportExcel(//group2.grd_gscslist, "Sheet1", fileName, false, "" , 'user' , true);
- group2.grd_gscslist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- sysf_messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|