123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES00200" position="absolute 0 0 1256 805" titletext="기능검사실 통계(기본)" oninit="model1_oninit" onload="SMAES00200_onload">
- <Layouts>
- <Layout>
- <Tab id="switch1" taborder="3" tabindex="0" position="absolute 0 122 1256 805" anchor="all" positiontype="position" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage id="case1" text="검사">
- <Layouts>
- <Layout>
- <Grid id="grd_list" taborder="0" useinputpanel="false" position="absolute 0 0 1256 656" autofittype="col" anchor="all" binddataset="ds_grid_grd_list" positiontype="position" autosizingtype="none" cellsizingtype="col" oncolresized="switch1_case1_grd_list_oncolresized">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="296"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="86"/>
- <Column size="0"/>
- <Column size="77"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2"/>
- <Cell col="1" rowspan="2" text="검사명"/>
- <Cell col="2" rowspan="2" text="입원"/>
- <Cell col="3" rowspan="2" text="외래"/>
- <Cell col="4" rowspan="2" text="예약건수"/>
- <Cell col="5" colspan="3" text="시행건수"/>
- <Cell col="8" rowspan="2" text="부도건수"/>
- <Cell col="9" text="caption2"/>
- <Cell col="10" rowspan="2" text="예약부도율"/>
- <Cell col="11" rowspan="2" text="비교기간대비 중감율"/>
- <Cell col="12" rowspan="2" text="caption"/>
- <Cell row="1" col="5" text="예약"/>
- <Cell row="1" col="6" text="당일"/>
- <Cell row="1" col="7" text="합계"/>
- <Cell row="1" col="9" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell expr="expr:currow + 1"/>
- <Cell col="1" style="align:left;background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:prcpnm"/>
- <Cell col="2" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:inprcpcnt" mask="#,##0"/>
- <Cell col="3" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:outprcpcnt" mask="#,##0"/>
- <Cell col="4" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:totrsrvcnt" mask="#,##0"/>
- <Cell col="5" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:rsrvcnt" mask="#,##0"/>
- <Cell col="6" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:prcpexeccnt" mask="#,##0"/>
- <Cell col="7" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:totexeccnt" mask="#,##0"/>
- <Cell col="8" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:totnopaycnt" mask="#,##0"/>
- <Cell col="9" text="bind:sumcnt"/>
- <Cell col="10" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:rsrvnopayrate" mask="9,999.99%"/>
- <Cell col="11" displaytype="number" style="background:EXPR(prcpnm == '합 계' ? '#99ff99': '');background2:EXPR(prcpnm == '합 계' ? '#99ff99': '');" text="bind:comparerate" mask="9,999.99%"/>
- <Cell col="12" displaytype="number" text="bind:sumcnt" mask="#,##0"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" text="합계"/>
- <Cell col="2" text="expr:getSum("inprcpcnt")"/>
- <Cell col="3" text="expr:getSum("outprcpcnt")"/>
- <Cell col="4" text="expr:getSum("totrsrvcnt")"/>
- <Cell col="5" text="expr:getSum("rsrvcnt")"/>
- <Cell col="6" text="expr:getSum("prcpexeccnt")"/>
- <Cell col="7" text="expr:getSum("totexeccnt")"/>
- <Cell col="8" text="expr:getSum("totnopaycnt")"/>
- <Cell col="9"/>
- <Cell col="10" displaytype="number" text="expr:getSum("totnopaycnt")/getSum("totrsrvcnt")*100" mask="9,999%"/>
- <Cell col="11" displaytype="number" text="expr:(getSum("totexeccnt") - getSum("sumcnt")) / getSum("sumcnt") * 100" mask="9,999%"/>
- <Cell col="12" text="expr:getSum("sumcnt")"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="검사실">
- <Layouts>
- <Layout>
- <Grid id="grd_list1" taborder="0" binddataset="ds_grid_grd_list1" useinputpanel="false" autofittype="col" position="absolute 0 0 1256 656" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="85"/>
- <Column size="239"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="86"/>
- <Column size="0"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2"/>
- <Cell col="1" rowspan="2" text="검사실그룹"/>
- <Cell col="2" rowspan="2" text="검사실"/>
- <Cell col="3" rowspan="2" text="검사명"/>
- <Cell col="4" rowspan="2" text="입원"/>
- <Cell col="5" rowspan="2" text="외래"/>
- <Cell col="6" rowspan="2" text="예약건수"/>
- <Cell col="7" colspan="3" text="시행건수"/>
- <Cell col="10" rowspan="2" text="부도건수"/>
- <Cell col="11" text="caption2"/>
- <Cell col="12" rowspan="2" text="예약부도율"/>
- <Cell col="13" rowspan="2">
- <Cell text="비교기간"/>
- <Cell row="1" text="대비증감율"/>
- </Cell>
- <Cell col="14" rowspan="2" text="caption"/>
- <Cell row="1" col="7" text="예약"/>
- <Cell row="1" col="8" text="당일"/>
- <Cell row="1" col="9" text="합계"/>
- <Cell row="1" col="11" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell expr="expr:currow + 1"/>
- <Cell col="1" displaytype="normal" edittype="none" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:basecdcnts" suppress="1"/>
- <Cell col="2" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:excuroomcdnm" suppress="1"/>
- <Cell col="3" style="align:left;background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:excucdnm" subsumtext="소계"/>
- <Cell col="4" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:inprcpcnt" mask="#,##0"/>
- <Cell col="5" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:outprcpcnt" mask="#,##0"/>
- <Cell col="6" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:totrsrvcnt" mask="#,##0"/>
- <Cell col="7" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:rsrvcnt" mask="#,##0"/>
- <Cell col="8" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:prcpexeccnt" mask="#,##0"/>
- <Cell col="9" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:totexeccnt" mask="#,##0"/>
- <Cell col="10" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:totnopaycnt" mask="#,##0"/>
- <Cell col="11" text="bind:sumcnt"/>
- <Cell col="12" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:rsrvnopayrate" mask="9,999.9%"/>
- <Cell col="13" displaytype="number" style="background:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');background2:EXPR(getRowLevel(currow)==1 ? '#FFFFCC' : 'white');color:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');color2:EXPR(getRowLevel(currow)==1 ? '#0000ff' : '');" text="bind:comparerate" mask="9,999.9%"/>
- <Cell col="14" text="bind:sumcnt"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" colspan="3" text="총계"/>
- <Cell col="4" text="expr:getSum("inprcpcnt")"/>
- <Cell col="5" text="expr:getSum("outprcpcnt")"/>
- <Cell col="6" text="expr:getSum("totrsrvcnt")"/>
- <Cell col="7" text="expr:getSum("rsrvcnt")"/>
- <Cell col="8" text="expr:getSum("prcpexeccnt")"/>
- <Cell col="9" text="expr:getSum("totexeccnt")"/>
- <Cell col="10" text="expr:getSum("totnopaycnt")"/>
- <Cell col="11"/>
- <Cell col="12" displaytype="number" text="expr:getSum("totnopaycnt")/getSum("totrsrvcnt")*100" mask="9,999.9%"/>
- <Cell col="13" displaytype="number" text="expr:(getSum("totexeccnt") - getSum("sumcnt"))/getSum("sumcnt") *100" mask="9,999.9%"/>
- <Cell col="14" text="expr:getSum("sumcnt")"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption1" text="기능검사실 통계(기본)" class="tit_2" position="absolute 0 102 200 122" positiontype="position"/>
- <Shape id="line1" class="line_1" position="absolute 0 95 1195 95" linetype="horizontal" positiontype="position"/>
- <Div id="grp_sea" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 26 1256 93" anchor="left top right" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="caption2" text="조회기간" class="search_name" position="absolute 8 10 82 30" anchor="default" positiontype="position"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1110 7 1110 52" anchor="default" positiontype="position"/>
- <Button id="btn_sea" taborder="3" text="조회" onlbuttonup="btn_sea_onlbuttonup" class="btn1" position="absolute 1188 10 1244 30" anchor="top right" onclick="btn_sea_onclick" positiontype="position"/>
- <Calendar id="ipt_todd" taborder="4" class="input_essential" position="absolute 198 10 298 30" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position" autoselect="true"/>
- <Static id="caption5" text="~" position="absolute 182 10 198 30" anchor="default" style="align:center;" class="search_no_b" positiontype="position"/>
- <Calendar id="ipt_fromdd" taborder="5" class="input_essential" position="absolute 82 10 182 30" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position" autoselect="true"/>
- <Static id="caption3" text="비교기간" class="search_name" position="absolute 8 35 82 55" anchor="default" positiontype="position"/>
- <Calendar id="ipt_compto" taborder="6" class="input_essential" position="absolute 198 35 298 55" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position" autoselect="true"/>
- <Static id="caption4" text="~" position="absolute 182 35 198 55" anchor="default" style="align:center;" class="search_no_b" positiontype="position"/>
- <Calendar id="ipt_compfrom" taborder="7" class="input_essential" position="absolute 82 35 182 55" anchor="default" dateformat="yyyy-MM-dd" value="null" positiontype="position" autoselect="true"/>
- <Static id="caption7" text="처방과" class="search_name" position="absolute 322 10 383 30" anchor="default" positiontype="position"/>
- <Static id="caption8" text="처방의" class="search_name" position="absolute 522 10 583 30" anchor="default" positiontype="position"/>
- <Static id="caption9" text="시행과" class="search_name" visible="false" position="absolute 323 36 384 56" anchor="default" positiontype="position"/>
- <Static id="caption10" text="시행의" class="search_name" visible="false" position="absolute 522 35 583 55" anchor="default" positiontype="position"/>
- <Combo id="cmb_orddept" taborder="8" position="absolute 383 10 498 30" anchor="default" class="input_essential" innerdataset="@ds_init_cmb_orddeptcd" codecolumn="cd" datacolumn="nm" onitemchanged="grp_sea_cmb_orddept_onitemchanged" positiontype="position"/>
- <Combo id="cmb_execdept" taborder="9" visible="false" position="absolute 384 36 499 56" anchor="default" class="input_essential" innerdataset="@ds_init_cmb_orddeptcd" codecolumn="cd" datacolumn="nm" onitemchanged="grp_sea_cmb_execdept_onitemchanged" positiontype="position"/>
- <Combo id="cmb_orddr" taborder="10" position="absolute 583 10 698 30" anchor="default" class="input_essential" innerdataset="@ds_init_cmb_orddrid" codecolumn="drid" datacolumn="drnm" positiontype="position"/>
- <Combo id="cmb_execdr" taborder="11" visible="false" position="absolute 583 35 698 55" anchor="default" class="input_essential" innerdataset="@ds_init_cmb_exeddid" codecolumn="drid" datacolumn="drnm" positiontype="position"/>
- <Static id="caption11" text="실시자" class="search_name" visible="false" position="absolute 722 35 783 55" anchor="default" positiontype="position"/>
- <Combo id="cmb_excuroom" taborder="12" position="absolute 785 10 900 30" anchor="default" class="input_essential" innerdataset="@ds_init_cmb_initexcuroom" codecolumn="basecd" datacolumn="basecdflagdesc" positiontype="position"/>
- <Combo id="cmb_execrid" taborder="13" visible="false" position="absolute 783 35 898 55" anchor="default" class="input_essential" innerdataset="@ds_init_cmb_initexecrid" codecolumn="basecd" datacolumn="basecdflagdesc" positiontype="position"/>
- <Static id="caption12" text="검사실" class="search_name" position="absolute 724 10 785 30" anchor="default" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excsave" taborder="2" text="엑셀저장" onlbuttonup="btn_excsave_onlbuttonup" class="btn2" position="absolute 1188 99 1256 119" anchor="top right" positiontype="position" onclick="btn_excsave_onclick"/>
- <Static id="caption6" text="기능검사실 통계(기본)" class="tit_1" position="absolute 0 3 200 25" positiontype="position"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpnm" type="STRING"/>
- <Column id="inprcpcnt" type="STRING"/>
- <Column id="outprcpcnt" type="STRING"/>
- <Column id="totrsrvcnt" type="STRING"/>
- <Column id="rsrvcnt" type="STRING"/>
- <Column id="prcpexeccnt" type="STRING"/>
- <Column id="totexeccnt" type="STRING"/>
- <Column id="totnopaycnt" type="STRING"/>
- <Column id="sumcnt" type="STRING"/>
- <Column id="rsrvnopayrate" type="STRING"/>
- <Column id="comparerate" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_list1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" keystring="G:excuroomcdnm">
- <ColumnInfo>
- <Column id="basecdcnts" type="STRING"/>
- <Column id="excuroomcdnm" type="STRING"/>
- <Column id="excucdnm" type="STRING"/>
- <Column id="inprcpcnt" type="STRING"/>
- <Column id="outprcpcnt" type="STRING"/>
- <Column id="totrsrvcnt" type="STRING"/>
- <Column id="rsrvcnt" type="STRING"/>
- <Column id="prcpexeccnt" type="STRING"/>
- <Column id="totexeccnt" type="STRING"/>
- <Column id="totnopaycnt" type="STRING"/>
- <Column id="sumcnt" type="STRING"/>
- <Column id="rsrvnopayrate" type="STRING"/>
- <Column id="comparerate" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmb_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drid" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_initexecrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- <Column id="equaluserid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_reqparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="rbasecdflag" type="STRING" size="256"/>
- <Column id="ebasecdflag" type="STRING" size="256"/>
- <Column id="largeclass" type="STRING" size="256"/>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="centflag" type="STRING" size="256"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="suppflag" type="STRING" size="256"/>
- <Column id="baseroomopenyn" type="STRING" size="256"/>
- <Column id="screenflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_exeddid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drid" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name :
- * Creator :
- * Make Date : 2016-03-22
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- include "ast_examcurexp::combolist.xjs";
- //=======================================================================================
- //변수 선언
- var lv_suppdeptcd="";
-
- /* @group : 기능검사실 통계(처방의)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 주치의정보(진료의사) 조회를 위한 Function
- */
- //2009-06-23 진료과별 처방의 조회
- function fChngSrchDrId() {
- if(ds_init_cmb_orddeptcd.getColumn(0, "cd") == ""){
- ds_init_cmb_orddrid.clearData();
- ds_init_cmb_orddrid.setColumn(0, "execorddrcdid", "");
- }
- ds_init_cmb_orddrid.clearData();
- f_TRAER00804();
-
- }
- function lf_chkInterval(){//조회/비교기간 체크
- if(utlf_isNull(grp_sea.ipt_fromdd.value) == true || utlf_isNull(grp_sea.ipt_todd.value) == true){
- sysf_messageBox("조회기간을", "C001");
- }else{
- if(grp_sea.ipt_fromdd.value > grp_sea.ipt_todd.value){
- sysf_messageBox("시작 조회 기간보다 종료 조회 기간을 적게 입력", "E001")
- }
- }
- if(utlf_isNull(grp_sea.ipt_compfrom.value) == true || utlf_isNull(grp_sea.ipt_compto.value) == true){
- sysf_messageBox("비교기간을", "C001");
- }else{
- if(grp_sea.ipt_compfrom.value > grp_sea.ipt_compto.value){
- sysf_messageBox("시작 비교 기간보다 종료 비교 기간을 적게 입력", "E001")
- }
- }
- }
- function f_TRAER00804(){//진료의
- dsf_createDsRow("ds_cmb_orddr",
- [{col:"deptcd", val:grp_sea.cmb_orddept.value}
- ,{col:"initflag", val:"2"}
- ]);
-
- var objParam = new Object();
- objParam.id = "TRAER00804";
- objParam.service = "examcureresultrefapp.RsltRef";
- objParam.method = "reqGetInitRsltRefDrIdList";
- objParam.inds = "reqparam=ds_cmb_orddr";
- objParam.outds ="ds_init_cmb_orddrid=initexecdr";
- objParam.callback = "cbf_TRAER00804";
- objParam.alert = false;
- tranf_submit(objParam);
- }
- function cbf_TRAER00804(sSvcId, objErrorCode, objErrorMsg){
- grp_sea.cmb_orddr.index = 0;
- }
- function f_TRPMOCOM01(){//진료과
- dsf_createDsRow("ds_cmb_req",
- [{col:"sess_posinstcd", val:""}//세션에서가져오는값으로 변경해야됨.
- ,{col:"dridsorttype", val:""}
- ]);
-
- var objParam = new Object();
- objParam.id = "TRPMOCOM01";
- objParam.service = "pamcomnapp.PamComn";
- objParam.method = "reqGetComCD";
- objParam.inds = "req=ds_cmb_req";
- objParam.outds ="ds_init_cmb_orddeptcd=orddeptcd";
- objParam.callback = "cbf_TRPMOCOM01";
- objParam.alert = false;
- tranf_submit(objParam);
- }
- function cbf_TRPMOCOM01(sSvcId, objErrorCode, objErrorMsg){
-
- }
- function f_TRAEA01115(){//검사실, 실시자
-
- ds_cmb_reqparam.setColumn(0, "basesuppdeptcd", lv_suppdeptcd);
- ds_cmb_reqparam.setColumn(0, "rbasecdflag", "R");
- ds_cmb_reqparam.setColumn(0, "ebasecdflag", "E");
- ds_cmb_reqparam.setColumn(0, "largeclass", "M4");
- ds_cmb_reqparam.setColumn(0, "cdgrupid", "A0486");
- ds_cmb_reqparam.setColumn(0, "centflag", "");
- ds_cmb_reqparam.setColumn(0, "baseroomopenyn", "N");
-
- var objParam = new Object();
- objParam.id = "TRAEA01115";
- objParam.service = "examcureacptexecapp.ExamCureAcpt";
- objParam.method = "reqGetInitFuncExamCureRoomList";
- objParam.inds = "reqparam=ds_cmb_reqparam";
- objParam.outds ="ds_init_cmb_initexcuroom=initexcuroom ds_init_cmb_initexecrid=initexecrid";
- objParam.callback = "cbf_TRAEA01115";
- objParam.alert = false;
- tranf_submit(objParam);
- }
- function cbf_TRAEA01115(sSvcId, objErrorCode, objErrorMsg){
-
- }
- function cbf_getAllBizCodeList(sSvcId, objErrorCode, objErrorMsg){
-
- }
- function f_TRAES00201(){//조회(검사)
-
- dsf_createDsRow("ds_sch_req1",
- [{col:"execfromdd", val:grp_sea.ipt_fromdd.value}
- ,{col:"exectodd", val:grp_sea.ipt_todd.value}
- ,{col:"comparefromdd", val:grp_sea.ipt_compfrom.value}
- ,{col:"comparetodd", val:grp_sea.ipt_compto.value}
- ,{col:"orddeptcd", val:grp_sea.cmb_orddept.value}
- ,{col:"orddrid", val:grp_sea.cmb_orddr.value}
- ,{col:"execdeptcd", val:grp_sea.cmb_execdept.value}
- ,{col:"execdrid", val:grp_sea.cmb_execdr.value}
- ,{col:"suppdeptcd", val:lv_suppdeptcd}
- ,{col:"excuroomcd", val:grp_sea.cmb_excuroom.value}
- ,{col:"srchtab", val:""}
- ,{col:"screenflag", val:ds_cmb_reqparam.getColumn(0, "screenflag")}
- ]);
-
- var objParam = new Object();
- objParam.id = "TRAES00201";
- objParam.service = "examcurestatsapp.FuntExam";
- objParam.method = "reqGetFuntExamStatsBaseList";
- objParam.inds = "req=ds_sch_req1";
- objParam.outds ="ds_grid_grd_list=item";
- objParam.callback = "cbf_TRAES00201";
- objParam.alert = false;
- tranf_submit(objParam);
- }
- function cbf_TRAES00201(sSvcId, objErrorCode, objErrorMsg){
- }
- function f_TRAES00202(){//조회(검사실)
-
- dsf_createDsRow("ds_sch_req2",
- [{col:"execfromdd", val:grp_sea.ipt_fromdd.value}
- ,{col:"exectodd", val:grp_sea.ipt_todd.value}
- ,{col:"comparefromdd", val:grp_sea.ipt_compfrom.value}
- ,{col:"comparetodd", val:grp_sea.ipt_compto.value}
- ,{col:"orddeptcd", val:grp_sea.cmb_orddept.value}
- ,{col:"orddrid", val:grp_sea.cmb_orddr.value}
- ,{col:"execdeptcd", val:grp_sea.cmb_execdept.value}
- ,{col:"execdrid", val:grp_sea.cmb_execdr.value}
- ,{col:"suppdeptcd", val:lv_suppdeptcd}
- ,{col:"excuroomcd", val:grp_sea.cmb_excuroom.value}
- ,{col:"srchtab", val:"R"}
- ,{col:"screenflag", val:ds_cmb_reqparam.getColumn(0, "screenflag")}
- ]);
-
- var objParam = new Object();
- objParam.id = "TRAES00202";
- objParam.service = "examcurestatsapp.FuntExam";
- objParam.method = "reqGetFuntExamStatsBaseList";
- objParam.inds = "req=ds_sch_req2";
- objParam.outds ="ds_grid_grd_list1=item";
- objParam.callback = "cbf_TRAES00202";
- objParam.alert = false;
- tranf_submit(objParam);
- }
- function cbf_TRAES00202(sSvcId, objErrorCode, objErrorMsg){
- for(var i = 0 ; i <= ds_grid_grd_list1.rowcount ; i++){
- if(ds_grid_grd_list1.getColumn(i,"basecdcnts") == "FU"){
-
- ds_grid_grd_list1.setColumn(i, "basecdcnts", "기능검사" );
- }
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMAES00200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMAES00200_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
-
-
-
- lf_aezfSetSuppDeptcd();
- lv_suppdeptcd = frmf_getParameter("AST_DEPTCD")
-
- // 진료과조회
- f_TRPMOCOM01();
- // 검사실/실시자 조회
- f_TRAEA01115();
-
- var tempfrom1 = utlf_getCurrentDate().toDate();
- var tempfrom = tempfrom1.getAddDate(-1).getDateFormat("YYYYMMDD");
- grp_sea.ipt_fromdd.value = tempfrom;
- var tempto1 = utlf_getCurrentDate().toDate();
- var tempto = tempto1.getAddDate(-1).getDateFormat("YYYYMMDD");
- grp_sea.ipt_todd.value = tempto;
- var compfrom1 = utlf_getCurrentDate().toDate();
- var compfrom = compfrom1.getAddDate(-2).getDateFormat("YYYYMMDD");
- grp_sea.ipt_compfrom.value = compfrom;
- var compto1 = utlf_getCurrentDate().toDate();
- var compto = compto1.getAddDate(-2).getDateFormat("YYYYMMDD");
- grp_sea.ipt_compto.value = compto;
-
-
- //시행과,시행의,실시자 추가 20141007 by 공부매니아
- frmf_addComboItem("grp_sea.cmb_excuroom", "--전체--", "", ""); //검사실
- frmf_addComboItem("grp_sea.cmb_orddept", "--전체--", "", ""); //처방과
- frmf_addComboItem("grp_sea.cmb_orddr", "--전체--", "", ""); //처방의
- frmf_addComboItem("grp_sea.cmb_execdr", "--전체--", "", ""); //시행의
- grp_sea.cmb_excuroom.index = 0;
- grp_sea.cmb_orddept.index = 0;
- grp_sea.cmb_orddr.index = 0;
- grp_sea.cmb_execdept.index = 0;
- grp_sea.cmb_execdr.index = 0;
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_chkInterval();//조회/비교기간 체크
- f_TRAES00201();
- f_TRAES00202();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_excsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택탭(index)에 따라 excel출력 데이터셋을 다르게 처리.
- ****************************************************************************************/
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(switch1.tabindex == 0){
- if(ds_grid_grd_list.rowcount <= 0){
- sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }else{
- grdf_exportExcel(switch1.case1.grd_list, "기능검사실통계(기본)검사", "sheet1");
- }
- }else if(switch1.tabindex == 1){
- if(ds_grid_grd_list1.rowcount <= 0){
- sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }else{
- grdf_exportExcel(switch1.case2.grd_list1, "기능검사실통계(기본)검사실", "sheet1");
- }
- }
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : grp_sea.cmb_orddept
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 진료과선택에 따른 진료의 값가져오기
- ****************************************************************************************/
- function grp_sea_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fChngSrchDrId();
- }
- /****************************************************************************************
- * Components :
- * Components ID : switch1
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭선택시 조회
- ****************************************************************************************/
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(switch1.tabindex == 0){
- lf_chkInterval();//조회/비교기간 체크
- f_TRAES00201();
- }else if(switch1.tabindex == 1){
- lf_chkInterval();//조회/비교기간 체크
- f_TRAES00202();
- }
- }
- function switch1_case1_grd_list_oncolresized(obj:Grid, e:GridSizeChangedEventInfo)
- {
- if(e.newvalue == 0){
- obj.setRealColSize(e.subindex, 1);
- }
- }
- //시행과 선택시 시술의 조회 추가 20141007 by 공부매니아
- function grp_sea_cmb_execdept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var execdept = grp_sea.cmb_execdept.value;
-
- if(utlf_isNull(execdept)){
- ds_init_cmb_initexcuroom.filter("");
- }else{
- ds_init_cmb_initexcuroom.filter("basesuppdeptcd=='"+execdept+"'||basesuppdeptcd==null");
- }
-
- return;
- if(ds_init_cmb_orddeptcd.getColumn(0, "cd") == ""){
- ds_init_cmb_orddrid.clearData();
- ds_init_cmb_orddrid.setColumn(0, "execorddrcdid", "");
- }
- ds_init_cmb_orddrid.clearData();
-
-
-
- dsf_createDsRow("ds_cmb_exeddr",
- [{col:"deptcd", val:grp_sea.cmb_execdept.value}
- ,{col:"initflag", val:"2"}
- ]);
-
- var objParam = new Object();
- objParam.id = "TRAER00804";
- objParam.service = "examcureresultrefapp.RsltRef";
- objParam.method = "reqGetInitRsltRefDrIdList";
- objParam.inds = "reqparam=ds_cmb_exeddr";
- objParam.outds ="ds_init_cmb_exeddid=initexecdr";
- objParam.callback = "cbf_TRAER00804_1";
- objParam.alert = false;
- tranf_submit(objParam);
- }
- function cbf_TRAER00804_1(sSvcId, objErrorCode, objErrorMsg){
- grp_sea.cmb_execdr.index = 0;
- }
- ]]></Script>
- </Form>
- </FDL>
|