123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPID24500" position="absolute 0 0 896 868" titletext="질병군별 진료과분류 현황" oninit="SMPID24500_oninit" onload="SMPID24500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 16 895 864" id="group1" scrollbars="autoboth" text="<?xml version="1.0" encoding="utf-8"?><UxFormClipBoard version="1.4"> <Tab id="switch1" taborder="4" tabindex="0" position="absolute 1 71 896 842" anchor="all"> <Tabpages> <Tabpage id="case1" text="진료과"> <Layouts> <Layout> <Grid id="grd_kdrglist" class="datagrid3" taborder="0" binddataset="ds_main_kdrglist" useinputpanel="false" autofittype="col" position="absolute 1 25 894 720" anchor="all"> <Formats> <Format id="default"> <Columns> <Column size="26"/> <Column size="57"/> <Column size="100"/> <Column size="42"/> <Column size="54"/> <Column size="426"/> <Column size="45"/> <Column size="66"/> </Columns> <Rows> <Row size="24" band="head"/> <Row size="24"/> </Rows> <Band id="head"> <Cell/> <Cell col="1" text="대분류"/> <Cell col="2" text="진료과"/> <Cell col="3" text="MDC"/> <Cell col="4" text="DRG번호"/> <Cell col="5" text="DRG명"/> <Cell col="6" text="환자수"/> <Cell col="7" text="총입원일수"/> </Band> <Band id="body"> <Cell celltype="head" expr="currow+1"/> <Cell col="1" text="bind:drgtype"/> <Cell col="2" displaytype="combo" edittype="combo" style="align:center;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd2" combocodecol="cd" combodatacol="nm"/> <Cell col="3" text="bind:mdc"/> <Cell col="4" text="bind:drgno"/> <Cell col="5" text="bind:drgname"/> <Cell col="6" text="bind:pidcnt"/> <Cell col="7" text="bind:chosindaynocnt"/> </Band> </Format> </Formats> </Grid> <Shape id="line1" class="line_1" position="absolute 1 15 894 33" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/> <Button id="btn_excelsave" taborder="1" text="엑셀저장" onclick="btn_excelsave_onclick" class="btn7" position="absolute 814 0 894 19" anchor="top right"/> </Layout> </Layouts> </Tabpage> <Tabpage id="case2" text="진료과별의사별"> <Layouts> <Layout> <Grid id="grd_kdrglist" class="datagrid3" taborder="1" binddataset="ds_main_kdrglist1" useinputpanel="false" autofittype="col" position="absolute 1 25 894 720" anchor="all"> <Formats> <Format id="default"> <Columns> <Column size="32"/> <Column size="57"/> <Column size="100"/> <Column size="53"/> <Column size="42"/> <Column size="54"/> <Column size="440"/> <Column size="45"/> <Column size="66"/> </Columns> <Rows> <Row size="24" band="head"/> <Row size="24"/> </Rows> <Band id="head"> <Cell/> <Cell col="1" text="대분류"/> <Cell col="2" text="진료과"/> <Cell col="3" text="진료의"/> <Cell col="4" text="MDC"/> <Cell col="5" text="DRG번호"/> <Cell col="6" text="DRG명"/> <Cell col="7" text="환자수"/> <Cell col="8" text="총입원일수"/> </Band> <Band id="body"> <Cell celltype="head" expr="currow+1"/> <Cell col="1" text="bind:drgtype"/> <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd2" combocodecol="cd" combodatacol="nm"/> <Cell col="3" displaytype="text" style="align:center middle;" text="bind:orddrnm"/> <Cell col="4" text="bind:mdc"/> <Cell col="5" text="bind:drgno"/> <Cell col="6" text="bind:drgname"/> <Cell col="7" text="bind:pidcnt"/> <Cell col="8" text="bind:chosindaynocnt"/> </Band> </Format> </Formats> </Grid> <Shape id="line1" class="line_1" position="absolute 1 15 894 33" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/> <Button id="button1" taborder="2" text="엑셀저장" class="btn7" position="absolute 814 0 894 19" anchor="top right" onclick="switch1_case2_button1_onclick"/> </Layout> </Layouts> </Tabpage> </Tabpages> </Tab></UxFormClipBoard>" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 9 895 49" align="align:center top;" id="group2" class="div_SA" anchor="left top right" taborder="0">
- <Layouts>
- <Layout>
- <Static text="청구년월 :" position="absolute 10 11 97 28" id="caption30" class="search_name" anchor="default"/>
- <Static text="~" position="absolute 167 10 182 30" id="caption2" anchor="default"/>
- <Button position="absolute 825 9 881 31" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="group1_group2_btn_select_onclick"/>
- <Shape position="absolute 806 8 812 33" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
- <CheckBox position="absolute 267 10 351 30" id="bool1" anchor="default" text="낮병동포함" truevalue="Y" falsevalue="N"/>
- <CheckBox id="bool00" taborder="33" text="응급실퇴원포함" position="absolute 374 10 490 30" anchor="default" truevalue="Y" falsevalue="N"/>
- <cp_monthCal id="ipt_clamfromym" titletext="monthCalendar" taborder="34" text="cp_monthCal00" scrollbars="none" position="absolute 87 10 162 30" anchor="default"/>
- <cp_monthCal id="ipt_clamtoym" titletext="monthCalendar" taborder="35" text="cp_monthCal00" scrollbars="none" position="absolute 184 10 259 30" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 838 820 894 842" id="button3" class="btn4" text="종료" anchor="right bottom" taborder="0"/>
- <Tab id="switch1" anchor="all" taborder="1" tabindex="0" position="absolute 0 57 894 828" tabposition="top">
- <Tabpages>
- <Tabpage id="case1" text="진료과">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_1" position="absolute 0 16 894 34" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Button id="btn_excelsave" taborder="4" text="엑셀저장" class="btn7" position="absolute 814 0 894 22" anchor="top right" onclick="group1_switch1_case1_btn_excelsave_onclick"/>
- <Grid id="grd_kdrglist" class="datagrid3" taborder="5" binddataset="ds_main_kdrglist" useinputpanel="false" autofittype="col" position="absolute 0 27 894 730" anchor="all" cellsizingtype="col" oncelldblclick="group1_switch1_case1_grd_kdrglist_oncelldblclick" summarytype="top">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="32"/>
- <Column size="124"/>
- <Column size="87"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="73"/>
- <Column size="45"/>
- <Column size="57"/>
- <Column size="59"/>
- <Column size="50"/>
- <Column size="56"/>
- <Column size="61"/>
- <Column size="57"/>
- <Column size="50"/>
- <Column size="64"/>
- </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" text="과별합계 건수"/>
- <Cell col="4" colspan="2" text="미분류" taborder="undefined"/>
- <Cell col="6" colspan="3" text="단순" taborder="undefined"/>
- <Cell col="9" colspan="3" text="일반" taborder="undefined"/>
- <Cell col="12" colspan="3" 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="비율"/>
- <Cell row="1" col="11" text="전체비율"/>
- <Cell row="1" col="12" text="건수"/>
- <Cell row="1" col="13" text="비율"/>
- <Cell row="1" col="14" text="전체비율"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="combo" style="padding:0 0 0 10;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:orddeptcd" combodataset="ds_init_orddeptcd2" combocodecol="cd" combodatacol="nm"/>
- <Cell col="2" displaytype="normal" edittype="none" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:pidtotcnt"/>
- <Cell col="3" style="background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:daywardcnt"/>
- <Cell col="4" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:typeectcnt"/>
- <Cell col="5" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:typeectratio"/>
- <Cell col="6" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type3cnt"/>
- <Cell col="7" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');color:EXPR(type3ratio > 8.4 ? 'red' : '');color2:EXPR(type3ratio > 8.4 ? 'red' : '');font:EXPR(type3ratio > 8.4 ? 'Dotum,9,bold' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type3ratio"/>
- <Cell col="8" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type3allratio"/>
- <Cell col="9" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type2cnt"/>
- <Cell col="10" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type2ratio"/>
- <Cell col="11" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type2allratio"/>
- <Cell col="12" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type1cnt"/>
- <Cell col="13" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');color:EXPR(type1ratio < 44 ? 'red' : '');color2:EXPR(type1ratio < 44 ? 'red' : '');font:EXPR(type1ratio < 44 ? 'Dotum,9,bold' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type1ratio"/>
- <Cell col="14" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#D4F4FA' : '');" text="bind:type1allratio"/>
- </Band>
- <Band id="summary">
- <Cell celltype="head"/>
- <Cell col="1" style="font:Dotum,9,bold;" text="병원 합계" taborder="undefined"/>
- <Cell col="2" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt')" taborder="undefined"/>
- <Cell col="3" style="font:Dotum,9,bold;"/>
- <Cell col="4" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('typeectcnt')"/>
- <Cell col="5" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('typeectcnt')/getSum('pidtotcnt')) * 10000) / 100"/>
- <Cell col="6" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('type3cnt')"/>
- <Cell col="7" displaytype="number" style="color:EXPR(getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type3cnt')/getSum('pidtotcnt')) * 10000) / 100 > 8.4 ? 'red' : '');color2:EXPR(getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type3cnt')/getSum('pidtotcnt')) * 10000) / 100 > 8.4 ? 'red' : '');font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type3cnt')/getSum('pidtotcnt')) * 10000) / 100"/>
- <Cell col="8" displaytype="number" style="font:Dotum,9,bold;" expr="expr:Math.round(getSum('type3allratio'))"/>
- <Cell col="9" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('type2cnt')"/>
- <Cell col="10" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type2cnt')/getSum('pidtotcnt')) * 10000) / 100"/>
- <Cell col="11" displaytype="number" style="font:Dotum,9,bold;" expr="expr:Math.round(getSum('type2allratio'))"/>
- <Cell col="12" displaytype="number" style="font:Dotum,9,bold;" expr="expr:getSum('type1cnt')"/>
- <Cell col="13" displaytype="number" style="color:EXPR(getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type1cnt')/getSum('pidtotcnt')) * 10000) / 100 < 44 ? 'red' : '');color2:EXPR(getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type1cnt')/getSum('pidtotcnt')) * 10000) / 100 < 44 ? 'red' : '');font:Dotum,9,bold;" expr="expr:getSum('pidtotcnt') == 0 ? 0 : Math.round((getSum('type1cnt')/getSum('pidtotcnt')) * 10000) / 100"/>
- <Cell col="14" displaytype="number" style="font:Dotum,9,bold;" expr="expr:Math.round(getSum('type1allratio'))"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="진료과별의사별">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_1" position="absolute 1 16 894 34" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Button id="button1" taborder="5" text="엑셀저장" class="btn7" position="absolute 814 0 894 22" anchor="top right" onclick="group1_switch1_case2_button1_onclick"/>
- <Grid id="grd_kdrglist00" class="datagrid3" taborder="7" binddataset="ds_main_kdrglist2" useinputpanel="false" autofittype="col" position="absolute 1 27 894 730" anchor="all" cellsizingtype="col" oncelldblclick="group1_switch1_case2_grd_kdrglist00_oncelldblclick" summarytype="top">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="32"/>
- <Column size="112"/>
- <Column size="93"/>
- <Column size="113"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="73"/>
- <Column size="45"/>
- <Column size="57"/>
- <Column size="59"/>
- <Column size="50"/>
- <Column size="56"/>
- <Column size="61"/>
- <Column size="57"/>
- <Column size="50"/>
- <Column size="64"/>
- </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" rowspan="2" text="과별합계 건수" taborder="undefined"/>
- <Cell col="4" text="과별소계 건수"/>
- <Cell col="5" colspan="2" text="미분류" taborder="undefined"/>
- <Cell col="7" colspan="3" text="단순" taborder="undefined"/>
- <Cell col="10" colspan="3" text="일반" taborder="undefined"/>
- <Cell col="13" colspan="3" text="전문" taborder="undefined"/>
- <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="건수"/>
- <Cell row="1" col="11" text="비율"/>
- <Cell row="1" col="12" text="전체비율"/>
- <Cell row="1" col="13" text="건수"/>
- <Cell row="1" col="14" text="비율"/>
- <Cell row="1" col="15" text="전체비율"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="combo" style="padding:0 0 0 10;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : '');" text="bind:orddeptcd" suppress="1" suppressalign="middle,over" combodataset="ds_init_orddeptcd2" combocodecol="cd" combodatacol="nm"/>
- <Cell col="2" style="align:center middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:orddrnm"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:pidtotcnt"/>
- <Cell col="4" style="background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:daywardcnt"/>
- <Cell col="5" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:typeectcnt"/>
- <Cell col="6" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:typeectratio"/>
- <Cell col="7" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type3cnt"/>
- <Cell col="8" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');color:EXPR(type3ratio > 8.4 ? 'red' : '');color2:EXPR(type3ratio > 8.4 ? 'red' : '');font:EXPR(type3ratio > 8.4 ? 'Dotum,9,bold' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type3ratio"/>
- <Cell col="9" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type3allratio"/>
- <Cell col="10" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type2cnt"/>
- <Cell col="11" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type2ratio"/>
- <Cell col="12" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type2allratio"/>
- <Cell col="13" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type1cnt"/>
- <Cell col="14" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');color:EXPR(type1ratio < 44 ? 'red' : '');color2:EXPR(type1ratio < 44 ? 'red' : '');font:EXPR(type1ratio < 44 ? 'Dotum,9,bold' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type1ratio"/>
- <Cell col="15" style="align:right middle;background:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');background2:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');selectbackground:EXPR(orddeptcd == 'All dept' ? '#6EE3F7' : orddrnm == '소계' ? '#D4F4FA' : '');" text="bind:type1allratio"/>
- </Band>
- <Band id="summary">
- <Cell celltype="head"/>
- <Cell col="1" colspan="2" style="font:Dotum,9,bold;" text="병원 합계" taborder="undefined"/>
- <Cell col="3" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,2)"/>
- <Cell col="4" displaytype="number" style="font:Dotum,9,bold;"/>
- <Cell col="5" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,4)"/>
- <Cell col="6" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,5)"/>
- <Cell col="7" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,6)"/>
- <Cell col="8" displaytype="number" style="color:EXPR(group1.switch1.case1.grd_kdrglist.getCellValue(-2,7) > 8.4 ? 'red' : '');color2:EXPR(group1.switch1.case1.grd_kdrglist.getCellValue(-2,7) > 8.4 ? 'red' : '');font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,7)"/>
- <Cell col="9" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,8)"/>
- <Cell col="10" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,9)"/>
- <Cell col="11" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,10)"/>
- <Cell col="12" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,11)"/>
- <Cell col="13" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,12)"/>
- <Cell col="14" displaytype="number" style="color:EXPR(group1.switch1.case1.grd_kdrglist.getCellValue(-2,13) < 44 ? 'red' : '');color2:EXPR(group1.switch1.case1.grd_kdrglist.getCellValue(-2,13) < 44 ? 'red' : '');font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,13)"/>
- <Cell col="15" displaytype="number" style="font:Dotum,9,bold;" expr="expr:group1.switch1.case1.grd_kdrglist.getCellValue(-2,14)"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tabpage3" text=" 외래경증환자 진료과별 ">
- <Layouts>
- <Layout>
- <Grid id="grd_outligthlist" taborder="0" useinputpanel="false" position="absolute 0 45 894 729" binddataset="ds_main_outligthlist" summarytype="top">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" band="left"/>
- <Column size="200"/>
- <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" 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="경증 건수" taborder="undefined"/>
- <Cell col="5" colspan="2" text="응급실 경증 건수" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="비율(%)" taborder="undefined"/>
- <Cell row="1" col="3" text="V252"/>
- <Cell row="1" col="4" text="V352"/>
- <Cell row="1" col="5" text="V252"/>
- <Cell row="1" col="6" text="V352"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="text" text="bind:orddeptnm"/>
- <Cell col="2" displaytype="number" text="bind:totcnt"/>
- <Cell col="3" displaytype="number" text="bind:cnt252a"/>
- <Cell col="4" displaytype="number" text="bind:cnt352a"/>
- <Cell col="5" displaytype="number" text="bind:cnt252er"/>
- <Cell col="6" displaytype="number" text="bind:cnt352er"/>
- <Cell col="7" displaytype="number" expr="expr:fCalcRate(currow)"/>
- </Band>
- <Band id="summary">
- <Cell celltype="head"/>
- <Cell col="1" style="font:Dotum,9,bold;" text="병원 합계"/>
- <Cell col="2" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum("totcnt")"/>
- <Cell col="3" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum("cnt252a")"/>
- <Cell col="4" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum("cnt352a")"/>
- <Cell col="5" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum("cnt252er")"/>
- <Cell col="6" displaytype="number" style="font:Dotum,9,bold;" text="expr:getSum("cnt352er")"/>
- <Cell col="7" displaytype="number" style="font:Dotum,9,bold;" text="expr:fCalcRateAll()"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_srch" anchor="left top right" taborder="1" class="div_SA2" position="absolute 0 0 894 40">
- <Layouts>
- <Layout>
- <Static id="caption30" text="청구년월 :" class="search_name" position="absolute 10 11 97 28" anchor="default"/>
- <Button id="btn_select" taborder="36" text="조회" class="btn1" position="absolute 825 9 881 31" anchor="top right" onclick="group1_switch1_tabpage3_grp_srch_btn_select_onclick"/>
- <Shape id="line3" linetype="vertical" class="line_4" position="absolute 806 8 812 33" anchor="top right"/>
- <CheckBox id="bool_352" taborder="37" text="V352 포함" value="N" truevalue="Y" falsevalue="N" position="absolute 187 10 271 30" anchor="default"/>
- <cp_monthCal id="ipt_clamfromym" titletext="monthCalendar" taborder="39" text="cp_monthCal00" scrollbars="none" position="absolute 87 10 162 30" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_10" position="absolute 0 38 894 48" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="Static00" text="※ 퇴원환자(장기입원 분할청구 포함) 대상 질병군 통계자료 입니다." position="absolute 3 823 540 843" style="color:red;font:Dotum,12,bold;"/>
- <Static id="Static01" text="※ 해당 항목 더블클릭 시, 심평원 청구건에 한해서만 상세 조회 가능합니다." position="absolute 320 60 891 80" style="color:red;font:Dotum,11,bold;"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_title" text="질병군별 진료과분류 현황" class="tit_1" position="absolute 0 0 216 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_kdrglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pidtotcnt" type="STRING" size="256" sumtext="청구년월"/>
- <Column id="daywardcnt" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="ioflagcnt" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="typeectcnt" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="typeectratio" type="STRING" size="256" sumtext="진단"/>
- <Column id="type1cnt" type="STRING" size="256" sumtext="시술"/>
- <Column id="type1ratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type1allratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type2cnt" type="STRING" size="256" sumtext="시술"/>
- <Column id="type2ratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type2allratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type3cnt" type="STRING" size="256" sumtext="시술"/>
- <Column id="type3ratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type3allratio" type="STRING" size="256" sumtext="시술"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_kdrglist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pidtotcnt" type="STRING" size="256" sumtext="청구년월"/>
- <Column id="daywardcnt" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="ioflagcnt" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="typeectcnt" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="typeectratio" type="STRING" size="256" sumtext="진단"/>
- <Column id="type1cnt" type="STRING" size="256" sumtext="시술"/>
- <Column id="type1ratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type1allratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type2cnt" type="STRING" size="256" sumtext="시술"/>
- <Column id="type2ratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type2allratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type3cnt" type="STRING" size="256" sumtext="시술"/>
- <Column id="type3ratio" type="STRING" size="256" sumtext="시술"/>
- <Column id="type3allratio" type="STRING" size="256" sumtext="시술"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamfromym" type="STRING" size="256"/>
- <Column id="clamtoym" type="STRING" size="256"/>
- <Column id="daywardyn" type="STRING" size="256"/>
- <Column id="offset" type="STRING" size="256"/>
- <Column id="ioflagyn" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="v352" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clamfromym"/>
- <Col id="clamtoym"/>
- <Col id="daywardyn">Y</Col>
- <Col id="offset"/>
- <Col id="ioflagyn"/>
- <Col id="orddeptcd"/>
- <Col id="clamym"/>
- <Col id="v352">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_tmp_orddeptcd2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="진료과명칭"/>
- <Column id="deptengabbr" type="STRING" size="256" sumtext="영문약어"/>
- <Column id="reqfild" type="STRING" size="256" sumtext="청구진료분야"/>
- <Column id="reqdeptno" type="STRING" size="256" sumtext="청구과코드"/>
- <Column id="orddeptflag" type="STRING" size="256" sumtext="진료과구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_tmp_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" sumtext="진료과코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="진료과명칭"/>
- <Column id="deptengabbr" type="STRING" size="256" sumtext="영문약어"/>
- <Column id="reqfild" type="STRING" size="256" sumtext="청구진료분야"/>
- <Column id="reqdeptno" type="STRING" size="256" sumtext="청구과코드"/>
- <Column id="orddeptflag" type="STRING" size="256" sumtext="진료과구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_tmp_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="진료의사코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="진료의사명칭"/>
- <Column id="dp" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="sp" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="reqdp" type="STRING" size="256" sumtext="청구과코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_tmp_orddrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="진료의사코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="진료의사명칭"/>
- <Column id="dp" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="sp" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="reqdp" type="STRING" size="256" sumtext="청구과코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_orddeptcd2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="진료과명칭"/>
- <Column id="deptengabbr" type="STRING" size="256" sumtext="영문약어"/>
- <Column id="reqfild" type="STRING" size="256" sumtext="청구진료분야"/>
- <Column id="reqdeptno" type="STRING" size="256" sumtext="청구과코드"/>
- <Column id="orddeptflag" type="STRING" size="256" sumtext="진료과구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_headdrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_outligthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="totcnt" type="STRING" size="256"/>
- <Column id="cnt252a" type="STRING" size="256"/>
- <Column id="cnt352a" type="STRING" size="256"/>
- <Column id="cnt252er" type="STRING" size="256"/>
- <Column id="cnt352er" type="STRING" size="256"/>
- <Column id="rate" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item2" compid="group1.group2.bool1" propid="value" datasetid="ds_send" columnid="daywardyn"/>
- <BindItem id="item3" compid="group1.group2.bool00" propid="value" datasetid="ds_send" columnid="ioflagyn"/>
- <BindItem id="item0" compid="group1.switch1.tabpage3.grp_srch.bool_352" propid="value" datasetid="ds_send" columnid="v352"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- var vOrddept = "";
- function SMPID24500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPID24500_onload(obj:Form, e:LoadEventInfo)
- {
- dsf_createDsRow("ds_tmp", [{col:"ioflag", type:"STRING", size:256, val: ""}]);
-
- var oParam = {};
- oParam.id = "TRPID20309";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetDeptCDDrID";
- oParam.inds = "req=ds_tmp";
- oParam.outds = "ds_hidden_tmp_orddeptcd=orddeptcd ds_hidden_tmp_orddeptcd2=orddeptcd2 ds_hidden_tmp_orddrid=orddrid ds_hidden_tmp_orddrid2=orddrid2";
- oParam.async = false;
- //oParam.callback = "cf_TRPID20309";
- tranf_submit(oParam);
-
- ds_init_orddeptcd2.copyData(ds_hidden_tmp_orddeptcd2);
-
- dsf_addDsItem(ds_init_orddeptcd2, "cd", "nm", "병원 합계", "All dept", "");
-
- var orddeptcd = sysf_getUserInfo("dutplcecd");
-
- // if(orddeptcd != '1000000000' && orddeptcd != "4072000000" && orddeptcd != "4070700000") {
- // var oParam = {};
- // oParam.id = "TRPID20311";
- // oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- // oParam.method = "reqGetDeptHeadDrid";
- // oParam.outds = "ds_hidden_headdrid=item";
- // oParam.async = false;
- // //oParam.callback = "cf_TRPID20311";
- //
- // tranf_submit(oParam);
- // }
- //진료과에서 오픈 구별하여 해당과만 조회 나머지(행정,심사팀등) 전체 조회
- var emrDeptYn = "";
- try{
- emrDeptYn = emryn;
- }catch(e){}
- if(emrDeptYn == "Y") vOrddept = orddeptcd;
- else vOrddept = "";
-
- fInitialize();
- }
- function fInitialize()
- {
- var gToday = new Date();
- var gBaseyear = gToday.getDateFormat("YYYY");
- var gBasemonth = gToday.getDateFormat("MM");
- var gBaseday = gToday.getDateFormat("DD");
- var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
- var gCurrentym = gBaseyear + gBasemonth;
- var gUserid = sysf_getUserId();
- ds_send.setColumn(0, "clamfromym", gCurrentym);
- ds_send.setColumn(0, "clamtoym", gCurrentym);
-
- group1.group2.ipt_clamfromym.setData(gCurrentym);
- group1.group2.ipt_clamtoym.setData(gCurrentym);
-
- group1.switch1.tabindex = 0;
- }
- //조회
- function group1_group2_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetDocuList();
- }
- function fGetDocuList()
- {
- // model.removeNodeset("/root/main/kdrgdrlist")
- // var offcnt = model.getXPathValue("count(/root/main/kdrglist/kdrg)");
- ds_send.setColumn(0, "offset", "0");
-
- ds_send.setColumn(0, "clamfromym", group1.group2.ipt_clamfromym.getData());
- ds_send.setColumn(0, "clamtoym", group1.group2.ipt_clamtoym.getData());
- ds_send.setColumn(0, "orddeptcd", vOrddept);
-
- var oParam = {};
- oParam.id = "TRPID24500";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetKdrgDeptTotList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_kdrglist=kdrglist ds_main_kdrglist2=kdrgdrlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPID24500";
- tranf_submit(oParam);
-
- ds_main_kdrglist.filter("orddeptcd != 'All dept'");
- ds_main_kdrglist2.filter("orddeptcd != 'All dept'");
- }
- function fGetOutLightList()
- {
- ds_send.setColumn(0, "clamym", group1.switch1.tabpage3.grp_srch.ipt_clamfromym.getData());
- ds_send.setColumn(0, "orddeptcd", vOrddept);
-
- var oParam = {};
- oParam.id = "getOutLightList";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetOutLightList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_outligthlist=outligthlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPID24500";
- tranf_submit(oParam);
- }
- function group1_switch1_case1_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_main_kdrglist.rowcount > 0)
- {
- grdf_exportExcel(group1.switch1.case1.grd_kdrglist, "exportExcel", "see");
- }
- else
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- }
- function group1_switch1_case2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ds_main_kdrglist2.rowcount > 0)
- {
- grdf_exportExcel(group1.switch1.case2.grd_kdrglist00, "exportExcel", "see");
- }
- else
- {
- sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- }
- function group1_switch1_case1_grd_kdrglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 4) return;
-
- var orddeptcd = ds_main_kdrglist.getColumn(e.row, "orddeptcd");
-
- if(orddeptcd == "All dept") return;
-
- var drgtype = "";
- var clamfromym = ds_send.getColumn(0, "clamfromym");
- var clamtoym = ds_send.getColumn(0, "clamtoym");
- var ioflagyn = ds_send.getColumn(0, "ioflagyn");
- var daywardyn = ds_send.getColumn(0, "daywardyn");
-
- if(e.col == obj.getBindCellIndex("body", "type1cnt") || e.col == obj.getBindCellIndex("body", "type1ratio")
- || e.col == obj.getBindCellIndex("body", "type1allratio")) {
- drgtype = "1";
- }
- if(e.col == obj.getBindCellIndex("body", "type2cnt") || e.col == obj.getBindCellIndex("body", "type2ratio")
- || e.col == obj.getBindCellIndex("body", "type2allratio")) {
- drgtype = "2";
- }
- if(e.col == obj.getBindCellIndex("body", "type3cnt") || e.col == obj.getBindCellIndex("body", "type3ratio")
- || e.col == obj.getBindCellIndex("body", "type3allratio")) {
- drgtype = "3";
- }
-
- dsf_createDsRow("ds_tmp", [{col:"orddeptcd", type:"STRING", size:256, val: orddeptcd}
- , {col:"drgtype", type:"STRING", size:256, val: drgtype}
- , {col:"ioflagyn", type:"STRING", size:256, val: ioflagyn}
- , {col:"daywardyn", type:"STRING", size:256, val: daywardyn}
- , {col:"clamfromym", type:"STRING", size:256, val: clamfromym}
- , {col:"clamtoym", type:"STRING", size:256, val: clamtoym}]);
-
- var objArg = new Object();
- objArg.arg_ds_tmp_srch = ds_tmp;
- frmf_modal("SPPID24500", "SPPID24500", objArg, "", "", "", "", "", "", "", "", "", "P");
- }
- function group1_switch1_case2_grd_kdrglist00_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 5) return;
-
- var orddeptcd = ds_main_kdrglist2.getColumn(e.row, "orddeptcd");
- var orddrnm = ds_main_kdrglist2.getColumn(e.row, "orddrnm");
-
- if(orddrnm == "소계") return;
-
- var drgtype = "";
- var clamfromym = ds_send.getColumn(0, "clamfromym");
- var clamtoym = ds_send.getColumn(0, "clamtoym");
- var ioflagyn = ds_send.getColumn(0, "ioflagyn");
- var daywardyn = ds_send.getColumn(0, "daywardyn");
-
- if(e.col == obj.getBindCellIndex("body", "type1cnt") || e.col == obj.getBindCellIndex("body", "type1ratio")
- || e.col == obj.getBindCellIndex("body", "type1allratio")) {
- drgtype = "1";
- }
- if(e.col == obj.getBindCellIndex("body", "type2cnt") || e.col == obj.getBindCellIndex("body", "type2ratio")
- || e.col == obj.getBindCellIndex("body", "type2allratio")) {
- drgtype = "2";
- }
- if(e.col == obj.getBindCellIndex("body", "type3cnt") || e.col == obj.getBindCellIndex("body", "type3ratio")
- || e.col == obj.getBindCellIndex("body", "type3allratio")) {
- drgtype = "3";
- }
-
- dsf_createDsRow("ds_tmp", [{col:"orddeptcd", type:"STRING", size:256, val: orddeptcd}
- , {col:"drgtype", type:"STRING", size:256, val: drgtype}
- , {col:"ioflagyn", type:"STRING", size:256, val: ioflagyn}
- , {col:"daywardyn", type:"STRING", size:256, val: daywardyn}
- , {col:"clamfromym", type:"STRING", size:256, val: clamfromym}
- , {col:"clamtoym", type:"STRING", size:256, val: clamtoym}
- , {col:"orddrnm", type:"STRING", size:256, val: orddrnm}]);
-
- var objArg = new Object();
- objArg.arg_ds_tmp_srch = ds_tmp;
- frmf_modal("SPPID24500", "SPPID24500", objArg, "", "", "", "", "", "", "", "", "", "P");
- }
- function fCalcRate(currow) {
- var totcnt = ds_main_outligthlist.getColumn(currow, "totcnt");
- var cnt252a = ds_main_outligthlist.getColumn(currow, "cnt252a");
- var cnt352a = ds_main_outligthlist.getColumn(currow, "cnt352a");
- var cnt252er = ds_main_outligthlist.getColumn(currow, "cnt252er");
- var cnt352er = ds_main_outligthlist.getColumn(currow, "cnt352er");
-
- var rate = ((cnt252a + cnt352a) - (cnt252er + cnt352er)) / (totcnt - (cnt252er + cnt352er)) * 10000;
- return Math.round(rate)/100;
- }
- function fCalcRateAll() {
- var totcnt = ds_main_outligthlist.getSum("totcnt");
- var cnt252a = ds_main_outligthlist.getSum("cnt252a");
- var cnt352a = ds_main_outligthlist.getSum("cnt352a");
- var cnt252er = ds_main_outligthlist.getSum("cnt252er");
- var cnt352er = ds_main_outligthlist.getSum("cnt352er");
-
- var rate = ((cnt252a + cnt352a) - (cnt252er + cnt352er)) / (totcnt - (cnt252er + cnt352er)) * 10000;
-
- if(isNaN(rate)) return 0;
- else return Math.round(rate)/100;
- }
- function group1_switch1_tabpage3_grp_srch_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetOutLightList();
- }
- ]]></Script>
- </Form>
- </FDL>
|