123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SMPMI05440" position="absolute 0 0 1280 1024" titletext="퇴원환자보고서" onload="SMPMI05440_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 1195 13" style="">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 193 14" style="" text="퇴원환자 보고서" />
- </Layout>
- </Layouts>
- </Div>
- <Div id="group3" scrollbars="autoboth" position="absolute 0 15 1193 685" style="">
- <Layouts>
- <Layout>
- <Tab id="swt_aipmmngt" position="absolute 0 40 1170 640" style="" anchor="default">
- <Tabpages>
- <Tabpage id="case5" class="sw_box" position="absolute 0 0 1194 600" style="" anchor="default">
- <Layouts>
- <Layout>
- <Shape id="line20" class="line_1" linetype="horizontal" position="absolute 0 25 1170 28" style="" anchor="default" />
- <Static id="caption3" class="tit_2" position="absolute 3 6 116 20" style="" text="미수금발생 대장" />
- <Button id="button1" class="btn2_letter4" position="absolute 1098 3 1162 22" style="" text="엑셀저장" onclick="group3_swt_aipmmngt_case5_button1_onclick" />
- <Button id="button2" class="btn2_letter2" position="absolute 1050 3 1092 22" style="" text="출력" onclick="group3_swt_aipmmngt_case5_button2_onclick" />
- <Grid id="grd_uncolist" binddataset="ds_list_uncolist" position="absolute 0 30 1170 600" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- <Column size="100" />
- </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="미수금" />
- </Band>
- <Band id="body">
- <Cell text="bind:insukind" />
- <Cell col="1" text="bind:pid" />
- <Cell col="2" text="bind:hngnm" />
- <Cell col="3" text="bind:orddeptnm" />
- <Cell col="4" text="bind:indd" />
- <Cell col="5" text="bind:uncoamt" />
- <Cell col="6" text="bind:markpay" />
- <Cell col="7" text="bind:payment" />
- <Cell col="8" text="bind:nopay" />
- <Cell col="9" text="bind:uncocard" />
- <Cell col="10" text="bind:uncoamt" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="group5" position="absolute 0 5 1172 40" style="align: top;">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 1172 35" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;" />
- <Static id="caption8" position="absolute 205 8 220 28" style="" text="~" />
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1100 7 1103 29" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
- <Static id="caption39" class="search_name" position="absolute 3 9 131 26" style="" text="정산일자조회" />
- <Calendar id="todd" class="input_search" position="absolute 220 8 310 27" style="" anchor="default" onkeypress="group3_group5_todd_onkeypress" />
- <Button id="btn_search2" class="btn1_letter2" position="absolute 1111 7 1167 29" style="align:left ;" text="조회" onclick="group3_group5_btn_search2_onclick" />
- <Calendar id="fromdd" class="input_search" position="absolute 110 8 200 27" style="" anchor="default" function="group3_group5_fromdd_function" />
- <Static id="caption4" class="search_name" position="absolute 330 9 411 26" style="" text="업무자 ID" />
- <Edit id="input1" position="absolute 415 8 515 27" style="" anchor="default" />
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <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="acceptnm" type="STRING" size="256" />
- <Column id="sess_posinstcd" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"></Col>
- <Col id="todd"></Col>
- <Col id="acceptnm"></Col>
- <Col id="sess_posinstcd"></Col>
- <Col id="ioflag"></Col>
- </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="main" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="main"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="temp"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_list_uncolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="insukind" type="STRING" size="256" />
- <Column id="pid" type="STRING" size="256" />
- <Column id="hngnm" type="STRING" size="256" />
- <Column id="orddeptnm" type="STRING" size="256" />
- <Column id="indd" type="STRING" size="256" />
- <Column id="uncoamt" type="STRING" size="256" />
- <Column id="markpay" type="STRING" size="256" />
- <Column id="payment" type="STRING" size="256" />
- <Column id="nopay" type="STRING" size="256" />
- <Column id="uncocard" type="STRING" size="256" />
- <Column id="uncoamt" type="STRING" size="256" />
- </ColumnInfo>
- </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="group3.group5.todd" propid="value" datasetid="ds_send" columnid="todd" />
- <BindItem id="item1" compid="group3.group5.fromdd" propid="value" datasetid="ds_send" columnid="fromdd" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._com_commonweb_js_utilHelper.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_commonweb_js_stringHelper.js'
- include '../../.._com_basiccodeweb_js_ZBC001.js'
- include '../../.._pam_opatmngtweb_js_PMOCOM.js'
- function SMPMI05440_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fGetUserInfosSampling();//세션정보
- ds_send.setColumn( 0, "sess_posinstcd",ds_hidden_session.getColumn(0, "sess_dutplceinstcd"));
- ds_send.setColumn( 0, "ioflag","I");
- //model.refresh();
- // submit("TRPMI00106");
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=disccd ds_=insukind ds_=suppkind ds_=suppkindhist ds_=orddeptcd ds_=orddrid ds_=wardcd ds_=roomcd ds_=bedcd ds_=roomgrdecd ds_=roomgrdelist ds_=roomtypecd ds_=flag ds_=proccd ds_=centcd ds_=hospgrde ds_=naticd ds_=erorddrid ds_=insucd ds_=uncocd";
- oParam.async = false;
- oParam.callback = "cf_TRPMI00106";
- tranf_submit(oParam);
- /*
- function cf_TRPMI00106(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPMI00106(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPMI00106") > -1
- arErrorCode.pop("TRPMI00106") < 0
- */
- var arrParam = [ {dsNm: "ds_init1_P0101list","ds_init1_P0028list","ds_init1_P0038list",
- cdGrpId: "P0101","P0028","P0038" } ];
- appf_getCodeList(arrParam, );
- //model.refresh();
- }
- function group3_swt_aipmmngt_case5_button1_onclick(obj:Button, e:ClickEventInfo) {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- grdf_exportExcel(group3.swt_aipmmngt.case5.grd_uncolist, "Sheet1", fileName, false, "" , 'user' , true);
- }
- }
- function group3_swt_aipmmngt_case5_button2_onclick(obj:Button, e:ClickEventInfo) {
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/XXX" , ds_XXX);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPMI05440"],[objParam], option);
- }
- function group3_group5_todd_onkeydown(obj:Calendar, e:KeyEventInfo) {
- if(event.keyCode == "13") {
- // btn_search.dispatch("DOMActivate");
- inputEnterKey("btn_search", "DOMActivate");
- }
- }
- function group3_group5_btn_search2_onclick(obj:Button, e:ClickEventInfo) {
- // submit("TRPMI05410");
- var oParam = {};
- oParam.id = "TRPMI05410";
- oParam.service = "ipatmngtapp.WardReport";
- oParam.method = "reqChanType";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=disinpat";
- oParam.async = false;
- oParam.callback = "cf_TRPMI05410";
- tranf_submit(oParam);
- /*
- function cf_TRPMI05410(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRPMI05410(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRPMI05410") > -1
- arErrorCode.pop("TRPMI05410") < 0
- */
- }
- function group3_group5_fromdd_function {
- ds_send.setColumn( 0, "fromdd" , utlf_getCurrentDate());
- ds_send.setColumn( 0, "todd" , utlf_getCurrentDate());
- }
- ]]></Script>
- </Form>
- </FDL>
|