123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES05400" position="absolute 0 0 1204 731" titletext="치료 병실 가동율 통계" oninit="SMAES05400_oninit" onload="SMAES05400_onload">
- <Layouts>
- <Layout>
- <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 65 1195 722" anchor="all" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage id="case1" text="일별">
- <Layouts>
- <Layout>
- <Grid id="grd_daylist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 12 1192 626" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="병실"/>
- <Cell col="3" text="1일"/>
- <Cell col="4" text="2일"/>
- <Cell col="5" text="3일"/>
- <Cell col="6" text="4일"/>
- <Cell col="7" text="5일"/>
- <Cell col="8" text="6일"/>
- <Cell col="9" text="7일"/>
- <Cell col="10" text="8일"/>
- <Cell col="11" text="9일"/>
- <Cell col="12" text="10일"/>
- <Cell col="13" text="11일"/>
- <Cell col="14" text="12일"/>
- <Cell col="15" text="13일"/>
- <Cell col="16" text="14일"/>
- <Cell col="17" text="15일"/>
- <Cell col="18" text="16일"/>
- <Cell col="19" text="17일"/>
- <Cell col="20" text="18일"/>
- <Cell col="21" text="19일"/>
- <Cell col="22" text="20일"/>
- <Cell col="23" text="21일"/>
- <Cell col="24" text="22일"/>
- <Cell col="25" text="23일"/>
- <Cell col="26" text="24일"/>
- <Cell col="27" text="25일"/>
- <Cell col="28" text="26일"/>
- <Cell col="29" text="27일"/>
- <Cell col="30" text="28일"/>
- <Cell col="31" text="29일"/>
- <Cell col="32" text="30일"/>
- <Cell col="33" text="31일"/>
- <Cell col="34" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" displaytype="number" text="bind:item01"/>
- <Cell col="4" displaytype="number" text="bind:item02"/>
- <Cell col="5" displaytype="number" text="bind:item03"/>
- <Cell col="6" displaytype="number" text="bind:item04"/>
- <Cell col="7" displaytype="number" text="bind:item05"/>
- <Cell col="8" displaytype="number" text="bind:item06"/>
- <Cell col="9" displaytype="number" text="bind:item07"/>
- <Cell col="10" displaytype="number" text="bind:item08"/>
- <Cell col="11" displaytype="number" text="bind:item09"/>
- <Cell col="12" displaytype="number" text="bind:item10"/>
- <Cell col="13" displaytype="number" text="bind:item11"/>
- <Cell col="14" displaytype="number" text="bind:item12"/>
- <Cell col="15" displaytype="number" text="bind:item13"/>
- <Cell col="16" displaytype="number" text="bind:item14"/>
- <Cell col="17" displaytype="number" text="bind:item15"/>
- <Cell col="18" displaytype="number" text="bind:item16"/>
- <Cell col="19" displaytype="number" text="bind:item17"/>
- <Cell col="20" displaytype="number" text="bind:item18"/>
- <Cell col="21" displaytype="number" text="bind:item19"/>
- <Cell col="22" displaytype="number" text="bind:item20"/>
- <Cell col="23" displaytype="number" text="bind:item21"/>
- <Cell col="24" displaytype="number" text="bind:item22"/>
- <Cell col="25" displaytype="number" text="bind:item23"/>
- <Cell col="26" displaytype="number" text="bind:item24"/>
- <Cell col="27" displaytype="number" text="bind:item25"/>
- <Cell col="28" displaytype="number" text="bind:item26"/>
- <Cell col="29" displaytype="number" text="bind:item27"/>
- <Cell col="30" displaytype="number" text="bind:item28"/>
- <Cell col="31" displaytype="number" text="bind:item29"/>
- <Cell col="32" displaytype="number" text="bind:item30"/>
- <Cell col="33" displaytype="number" text="bind:item31"/>
- <Cell col="34" displaytype="number" text="bind:total"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
- <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
- <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
- <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
- <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
- <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
- <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item06')"/>
- <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item07')"/>
- <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item08')"/>
- <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item09')"/>
- <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item10')"/>
- <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item11')"/>
- <Cell col="14" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item12')"/>
- <Cell col="15" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item13')"/>
- <Cell col="16" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item14')"/>
- <Cell col="17" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item15')"/>
- <Cell col="18" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item16')"/>
- <Cell col="19" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item17')"/>
- <Cell col="20" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item18')"/>
- <Cell col="21" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item19')"/>
- <Cell col="22" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item20')"/>
- <Cell col="23" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item21')"/>
- <Cell col="24" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item22')"/>
- <Cell col="25" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item23')"/>
- <Cell col="26" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item24')"/>
- <Cell col="27" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item25')"/>
- <Cell col="28" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item26')"/>
- <Cell col="29" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item27')"/>
- <Cell col="30" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item28')"/>
- <Cell col="31" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item29')"/>
- <Cell col="32" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item30')"/>
- <Cell col="33" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item31')"/>
- <Cell col="34" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('itemtotal')"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="월별">
- <Layouts>
- <Layout>
- <Grid id="grd_monthlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 12 1192 626" anchor="all" autofittype="col" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="49"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- </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" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="병실" taborder="undefined"/>
- <Cell col="3" colspan="12" text="2006년" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="당해년도 가동율" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="전년도 가동율" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="증감율" taborder="undefined"/>
- <Cell row="1" col="3" text="1월"/>
- <Cell row="1" col="4" text="2월"/>
- <Cell row="1" col="5" text="3월"/>
- <Cell row="1" col="6" text="4월"/>
- <Cell row="1" col="7" text="5월"/>
- <Cell row="1" col="8" text="6월"/>
- <Cell row="1" col="9" text="7월"/>
- <Cell row="1" col="10" text="8월"/>
- <Cell row="1" col="11" text="9월"/>
- <Cell row="1" col="12" text="10월"/>
- <Cell row="1" col="13" text="11월"/>
- <Cell row="1" col="14" text="12월"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" displaytype="number" text="bind:item01"/>
- <Cell col="4" displaytype="number" text="bind:item02"/>
- <Cell col="5" displaytype="number" text="bind:item03"/>
- <Cell col="6" displaytype="number" text="bind:item04"/>
- <Cell col="7" displaytype="number" text="bind:item05"/>
- <Cell col="8" displaytype="number" text="bind:item06"/>
- <Cell col="9" displaytype="number" text="bind:item07"/>
- <Cell col="10" displaytype="number" text="bind:item08"/>
- <Cell col="11" displaytype="number" text="bind:item09"/>
- <Cell col="12" displaytype="number" text="bind:item10"/>
- <Cell col="13" displaytype="number" text="bind:item11"/>
- <Cell col="14" displaytype="number" text="bind:item12"/>
- <Cell col="15" displaytype="number" text="bind:total"/>
- <Cell col="16" displaytype="number" text="bind:comparecnt"/>
- <Cell col="17" displaytype="number" text="bind:comparerate"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
- <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
- <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
- <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
- <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
- <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
- <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item06')"/>
- <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item07')"/>
- <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item08')"/>
- <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item09')"/>
- <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item10')"/>
- <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item11')"/>
- <Cell col="14" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item12')"/>
- <Cell col="15" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
- <Cell col="16" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
- <Cell col="17" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="분기별">
- <Layouts>
- <Layout>
- <Grid id="grd_qurtlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 12 1192 626" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- <Column size="73"/>
- </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" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="병실" taborder="undefined"/>
- <Cell col="3" colspan="2" text="1분기" taborder="undefined"/>
- <Cell col="5" colspan="2" text="2분기" taborder="undefined"/>
- <Cell col="7" colspan="2" text="3분기" taborder="undefined"/>
- <Cell col="9" colspan="2" text="4분기" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="합계" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="전년도합계" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="증감율" taborder="undefined"/>
- <Cell row="1" col="3" text="가동율"/>
- <Cell row="1" col="4" text="증감율"/>
- <Cell row="1" col="5" text="가동율"/>
- <Cell row="1" col="6" text="증감율"/>
- <Cell row="1" col="7" text="가동율"/>
- <Cell row="1" col="8" text="증감율"/>
- <Cell row="1" col="9" text="가동율"/>
- <Cell row="1" col="10" text="증감율"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" displaytype="number" text="bind:item01"/>
- <Cell col="4" displaytype="number" text="bind:item02"/>
- <Cell col="5" displaytype="number" text="bind:item03"/>
- <Cell col="6" displaytype="number" text="bind:item04"/>
- <Cell col="7" displaytype="number" text="bind:item05"/>
- <Cell col="8" displaytype="number" text="bind:item06"/>
- <Cell col="9" displaytype="number" text="bind:item07"/>
- <Cell col="10" displaytype="number" text="bind:item08"/>
- <Cell col="11" displaytype="number" text="bind:total"/>
- <Cell col="12" displaytype="number" text="bind:comparecnt"/>
- <Cell col="13" displaytype="number" text="bind:comparerate"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
- <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
- <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item01') - getSum('item09')) / getSum('item09')) * 100)"/>
- <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;"/>
- <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item03') - getSum('item10')) / getSum('item10')) * 100)"/>
- <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;"/>
- <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item05') - getSum('item11')) / getSum('item11')) * 100)"/>
- <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;"/>
- <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('item07') - getSum('item12')) / getSum('item12')) * 100)"/>
- <Cell col="11" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
- <Cell col="12" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
- <Cell col="13" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case4" text="년도별">
- <Layouts>
- <Layout>
- <Grid id="grd_yearlist" taborder="0" binddataset="ds_main_list_item" useinputpanel="false" position="absolute 0 12 1192 626" anchor="all" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <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"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="병실"/>
- <Cell col="3" text="2005년"/>
- <Cell col="4" text="2006년"/>
- <Cell col="5" text="2007년"/>
- <Cell col="6" text="2008년"/>
- <Cell col="7" text="2009년"/>
- <Cell col="8" text="합계"/>
- <Cell col="9" text="비교기간"/>
- <Cell col="10" text="증감율"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:systkey1"/>
- <Cell col="2" text="bind:systkey2"/>
- <Cell col="3" displaytype="number" text="bind:item01"/>
- <Cell col="4" displaytype="number" text="bind:item02"/>
- <Cell col="5" displaytype="number" text="bind:item03"/>
- <Cell col="6" displaytype="number" text="bind:item04"/>
- <Cell col="7" displaytype="number" text="bind:item05"/>
- <Cell col="8" displaytype="number" text="bind:total"/>
- <Cell col="9" displaytype="number" text="bind:comparecnt"/>
- <Cell col="10" displaytype="number" text="bind:comparerate"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" colspan="2" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="총계" taborder="undefined"/>
- <Cell col="3" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item01')"/>
- <Cell col="4" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item02')"/>
- <Cell col="5" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item03')"/>
- <Cell col="6" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item04')"/>
- <Cell col="7" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('item05')"/>
- <Cell col="8" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('total')"/>
- <Cell col="9" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:getSum('comparecnt')"/>
- <Cell col="10" displaytype="number" style="color:#0000ffff;color2:#0000ffff;font:arial,9,bold;" text="expr:Math.floor(((getSum('total') - getSum('comparecnt')) / getSum('comparecnt')) * 100)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="치료 병실 가동율 통계" class="tit_1" position="absolute 0 0 263 23"/>
- <Shape id="line1" class="line_10" position="absolute 0 99 1195 105" anchor="left top right"/>
- <Button id="btn_excsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 1115 68 1195 87" anchor="top right" onclick="btn_excsave_onclick"/>
- <Div id="grp_sea" taborder="3" class="div_SA" position="absolute 0 24 1195 54" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 5 1113 25" anchor="top right"/>
- <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 1120 4 1176 26" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Static id="caption3" text="기준년월 :" class="search_name" position="absolute 15 7 101 24" anchor="default"/>
- <Calendar id="input4" taborder="2" class="input_default" position="absolute 105 6 195 25" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" autoselect="true" onchanged="grp_sea_input4_onchanged"/>
- </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="false">
- <ColumnInfo>
- <Column id="srchdate" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchstatsflag" type="STRING" size="256"/>
- <Column id="excuroomgrpcdid" type="STRING" size="256"/>
- <Column id="excuroomcdid" type="STRING" size="256"/>
- <Column id="srchioflag" type="STRING" size="256"/>
- <Column id="srchseanflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchstatsflag">A</Col>
- <Col id="srchflag">D</Col>
- <Col id="srchioflag">A</Col>
- <Col id="srchseanflag">G</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_list_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="systkey1" type="STRING" size="256" sumtext="구분1"/>
- <Column id="systkey2" type="STRING" size="256" sumtext="구분2"/>
- <Column id="systkey3" type="STRING" size="256" sumtext="구분2"/>
- <Column id="item01" type="INT" size="256" sumtext="1일"/>
- <Column id="item02" type="INT" size="256" sumtext="2일"/>
- <Column id="item03" type="INT" size="256" sumtext="3일"/>
- <Column id="item04" type="INT" size="256" sumtext="4일"/>
- <Column id="item05" type="INT" size="256" sumtext="5일"/>
- <Column id="item06" type="INT" size="256" sumtext="6일"/>
- <Column id="item07" type="INT" size="256" sumtext="7일"/>
- <Column id="item08" type="INT" size="256" sumtext="8일"/>
- <Column id="item09" type="INT" size="256" sumtext="9일"/>
- <Column id="item10" type="INT" size="256" sumtext="10일"/>
- <Column id="item11" type="INT" size="256" sumtext="11일"/>
- <Column id="item12" type="INT" size="256" sumtext="12일"/>
- <Column id="item13" type="INT" size="256" sumtext="13일"/>
- <Column id="item14" type="INT" size="256" sumtext="14일"/>
- <Column id="item15" type="INT" size="256" sumtext="15일"/>
- <Column id="item16" type="INT" size="256" sumtext="16일"/>
- <Column id="item17" type="INT" size="256" sumtext="17일"/>
- <Column id="item18" type="INT" size="256" sumtext="18일"/>
- <Column id="item19" type="INT" size="256" sumtext="19일"/>
- <Column id="item20" type="INT" size="256" sumtext="20일"/>
- <Column id="item21" type="INT" size="256" sumtext="21일"/>
- <Column id="item22" type="INT" size="256" sumtext="22일"/>
- <Column id="item23" type="INT" size="256" sumtext="23일"/>
- <Column id="item24" type="INT" size="256" sumtext="24일"/>
- <Column id="item25" type="INT" size="256" sumtext="25일"/>
- <Column id="item26" type="INT" size="256" sumtext="26일"/>
- <Column id="item27" type="INT" size="256" sumtext="27일"/>
- <Column id="item28" type="INT" size="256" sumtext="28일"/>
- <Column id="item29" type="INT" size="256" sumtext="29일"/>
- <Column id="item30" type="INT" size="256" sumtext="30일"/>
- <Column id="item31" type="INT" size="256" sumtext="31일"/>
- <Column id="total" type="INT" size="256" sumtext="합계"/>
- <Column id="comparecnt" type="STRING" size="256" sumtext="전년도합계"/>
- <Column id="comparerate" type="STRING" size="256" sumtext="증감율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_sublist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256" sumtext="IOFLAG"/>
- <Column id="drugqty" type="STRING" size="256" sumtext="처방량"/>
- <Column id="cnt" type="STRING" size="256" sumtext="건수"/>
- <Column id="total" type="STRING" size="256" sumtext="합계"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.input4" propid="value" datasetid="ds_send" columnid="srchdate"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- var vSuppdeptcd;
- function SMAES05400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAES05400_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_daylist);
- grdf_initGrid(switch1.case2.grd_monthlist);
- grdf_initGrid(switch1.case3.grd_qurtlist);
- grdf_initGrid(switch1.case4.grd_yearlist);
-
- lf_aezfSetSuppDeptcd();
-
- vSuppdeptcd = frmf_getPrestDeptCd();
-
- ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
- ds_send.setColumn(0, "srchdate", String(utlf_getCurrentDate()).substr(0,6));
-
- ds_main_list_item.clearData();
-
- ds_send.setColumn(0, "srchioflag", "A");
-
- setTitle();
- }
- function setTitle()
- {
- var baseDate = ds_send.getColumn(0, "srchdate") + "01";
-
- ds_main_list_item.clearData();
-
- var sDayCnt = baseDate.toDate().getMonthDay();
- var baseYear = baseDate.substr(0,4);
-
- var dtYearMonth = baseDate.toDate().getAddDate(-4, "Y");
- var addYear = "";
- var stYear = "";
-
- for (var i = 0; i < 5; i++)
- {
- addYear = dtYearMonth.getDateFormat("YYYY");
- dtYearMonth.getAddDate(1, "Y");
-
- switch1.case4.grd_yearlist.setCellProperty("Head", i+3, "text", addYear+"년")
- }
-
- switch1.case2.grd_monthlist.setCellProperty("Head", 3, "text", baseYear+"년");
- // stYear = stYear + "합계^비교기간^증감율";
- //
- // // 일별
- // stDay = stHeader + stDay;
- // grd_daylist.caption = stDay;
- //
- // // 월별
- // stMonth = stHeader + stMonth;
- // grd_monthlist.caption = stMonth;
- //
- // // 분기별
- // stQurt = stHeader + stQurt;
- // grd_qurtlist.caption = stQurt;
- //
- // // 년도별
- // stYear = stHeader + stYear;
- //grd_yearlist.caption =stYear;
-
- if(sDayCnt > 30)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 38);
- }
- else if(sDayCnt == 29)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
- else if(sDayCnt < 29)
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 0);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
- else
- {
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item29"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item30"), "size", 38);
- switch1.case1.grd_daylist.setFormatColProperty(switch1.case1.grd_daylist.getBindCellIndex("Body", "item31"), "size", 0);
- }
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- ds_main_list_item.clearData();
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 1)
- {
- ds_main_list_item.clearData();
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 2)
- {
- ds_main_list_item.clearData();
- getNmedSytsStatsCaseList();
- }
- else if(obj.tabindex == 3)
- {
- ds_main_list_item.clearData();
- getNmedSytsStatsCaseList();
- }
- }
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- getNmedSytsStatsCaseList();
- }
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if(switch1.tabindex == 0)
- {
- grdf_exportExcel(switch1.case1.grd_daylist, "", "");
- }
- else if(switch1.tabindex == 1)
- {
- grdf_exportExcel(switch1.case2.grd_monthlist, "", "");
- }
- else if(switch1.tabindex == 2)
- {
- grdf_exportExcel(switch1.case3.grd_qurtlist, "", "");
- }
- else if(switch1.tabindex == 3)
- {
- grdf_exportExcel(switch1.case4.grd_yearlist, "", "");
- }
- }
- function getNmedSytsStatsCaseList()
- {
- if(switch1.tabindex == 0)
- {
- ds_send.setColumn(0, "srchflag", "D");
- }
- else if(switch1.tabindex == 1)
- {
- ds_send.setColumn(0, "srchflag", "M");
- }
- else if(switch1.tabindex == 2)
- {
- ds_send.setColumn(0, "srchflag", "Q");
- }
- else if(switch1.tabindex == 3)
- {
- ds_send.setColumn(0, "srchflag", "Y")
- }
-
- ds_main_list_item.clearData();
-
- var oParam = {};
- oParam.id = "TRAES05401";
- oParam.service = "examcurestatsapp.NmedStats";
- oParam.method = "reqGetNmedCureRoomUseRateSytsStatsList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list_item=item ds_main_sublist=sublist";
- oParam.async = false;
- //oParam.callback = "cf_TRAES05401";
- tranf_submit(oParam);
- }
- function grp_sea_input4_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- setTitle();
- }
- ]]></Script>
- </Form>
- </FDL>
|