123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNF00800" position="absolute 0 0 750 620" titletext="가정간호 통계" onload="SMMNF00800_onload" scrollbars="none" oninit="SMMNF00800_oninit">
- <Layouts>
- <Layout>
- <Div id="grp_sea" taborder="2" position="absolute 0 24 740 64" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption5" text="집계기간 :" class="search_name" position="absolute 5 12 95 29"/>
- <Static id="caption6" text="담당간호사 :" class="search_name" position="absolute 311 12 408 29"/>
- <Shape id="line3" linetype="vertical" position="absolute 661 5 664 34" class="line_4"/>
- <Button id="btn_req" taborder="1" text="조회" onclick="btn_req_onclick" class="btn1" position="absolute 674 9 730 31"/>
- <Calendar id="input1" taborder="2" autoselect="true" onkillfocus="input1_onkillfocus" position="absolute 81 11 182 30" style="align:center ;" autoskip="true"/>
- <Calendar id="input2" taborder="3" autoselect="true" onkillfocus="input2_onkillfocus" position="absolute 197 11 298 30" style="align:center ;"/>
- <Static id="caption2" text="~" position="absolute 184 12 204 32"/>
- <Button id="button3" taborder="4" text="엑셀저장" onclick="button3_onclick" class="btn7" position="absolute 564 10 644 30"/>
- <Button id="button4" taborder="5" text="출력" onclick="button4_onclick" class="btn6" visible="false" position="absolute 513 10 563 30"/>
- <Combo id="combo1" taborder="6" innerdataset="ds_item_chargenurse_nurselist" codecolumn="userid" datacolumn="usernm" onitemchanged="combo1_onitemchanged" enable="false" position="absolute 403 10 498 29" columncount="-1" rowcount="-1"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cpt_title" class="tit_1" position="absolute 0 0 150 24" style="" text="가정간호 통계"/>
- <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 70 740 664" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage id="case1" text="일자별 현황">
- <Layouts>
- <Layout width="727" height="463">
- <Shape id="line4" class="line_10" position="absolute 0 3 740 14"/>
- <Grid id="grd_daily" taborder="1" binddataset="ds_main_daily_dailyinfo" useinputpanel="false" position="absolute 0 10 740 511" style="font:,,normal;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="조회 일자 "/>
- <Cell col="1" text="user1"/>
- <Cell col="2" text="user2"/>
- <Cell col="3" text="user3"/>
- <Cell col="4" text="user4"/>
- <Cell col="5" text="user5"/>
- <Cell col="6" text="user6"/>
- <Cell col="7" text="user7"/>
- <Cell col="8" text="user8"/>
- <Cell col="9" text="user9"/>
- <Cell col="10" text="계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:visitdd"/>
- <Cell col="1" style="align:right middle;" text="bind:user1"/>
- <Cell col="2" style="align:right middle;" text="bind:user2"/>
- <Cell col="3" style="align:right middle;" text="bind:user3"/>
- <Cell col="4" style="align:right middle;" text="bind:user4"/>
- <Cell col="5" style="align:right middle;" text="bind:user5"/>
- <Cell col="6" style="align:right middle;" text="bind:user6"/>
- <Cell col="7" style="align:right middle;" text="bind:user7"/>
- <Cell col="8" style="align:right middle;" text="bind:user8"/>
- <Cell col="9" style="align:right middle;" text="bind:user9"/>
- <Cell col="10" style="align:right middle;font:Dotum,9,bold;" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="과별 현황">
- <Layouts>
- <Layout>
- <Grid id="grd_dept" taborder="1" binddataset="ds_main_caredept_caredeptinfo" useinputpanel="false" position="absolute 0 10 740 511" style="font:,,normal;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="조회 일자 "/>
- <Cell col="1" text="user1"/>
- <Cell col="2" text="user2"/>
- <Cell col="3" text="user3"/>
- <Cell col="4" text="user4"/>
- <Cell col="5" text="user5"/>
- <Cell col="6" text="user6"/>
- <Cell col="7" text="user7"/>
- <Cell col="8" text="user8"/>
- <Cell col="9" text="user9"/>
- <Cell col="10" text="계"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;padding:0 0 0 3;" text="bind:visitdd"/>
- <Cell col="1" displaytype="number" text="bind:user1"/>
- <Cell col="2" displaytype="number" text="bind:user2"/>
- <Cell col="3" displaytype="number" text="bind:user3"/>
- <Cell col="4" displaytype="number" text="bind:user4"/>
- <Cell col="5" displaytype="number" text="bind:user5"/>
- <Cell col="6" displaytype="number" text="bind:user6"/>
- <Cell col="7" displaytype="number" text="bind:user7"/>
- <Cell col="8" displaytype="number" text="bind:user8"/>
- <Cell col="9" displaytype="number" text="bind:user9"/>
- <Cell col="10" style="font:arial,9,bold;" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line5" class="line_10" position="absolute 0 3 740 14"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="교통 및 간호시간">
- <Layouts>
- <Layout>
- <Grid id="grd_caretm" taborder="5" binddataset="ds_main_caretm_caretmnrs" useinputpanel="false" position="absolute 0 41 740 217" style="font:,,normal;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="간호사 명"/>
- <Cell col="1" text="총 간호 시간"/>
- <Cell col="2" text="일수"/>
- <Cell col="3" text="일일 평균 간호시간(%)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:hngnm"/>
- <Cell col="1" displaytype="text" style="align:right middle;" text="bind:totsum"/>
- <Cell col="2" style="align:right middle;" text="bind:totcnt"/>
- <Cell col="3" style="align:right middle;font:arial,9,bold;" text="bind:nurseavg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption22" text="< 간호시간 >" class="tit_2" position="absolute 0 20 120 41"/>
- <Shape id="line1" class="line_10" position="absolute 0 34 740 45"/>
- <Shape id="line2" class="line_10" position="absolute 0 298 740 309"/>
- <Static id="caption3" text="< 교통시간 >" class="tit_2" position="absolute 0 284 120 305"/>
- <Grid id="grd_caremove" taborder="6" binddataset="ds_main_caretm_caretmmove" useinputpanel="false" position="absolute 0 305 740 481" style="font:,,normal;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="간호사 명"/>
- <Cell col="1" text="총 교통소요 시간"/>
- <Cell col="2" text="일수"/>
- <Cell col="3" text="일일 평균 교통소요 시간(%)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:hngnm"/>
- <Cell col="1" displaytype="text" style="align:right middle;padding:1 2 1 2;" text="bind:totmove"/>
- <Cell col="2" style="align:right middle;padding:1 2 1 2;" text="bind:totcnt"/>
- <Cell col="3" style="align:right middle;padding:1 2 1 2;font:arial,9,bold;" text="bind:moveavg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button2" taborder="7" text="엑셀저장" onclick="switch1_case3_button2_onclick" class="btn7" position="absolute 135 17 215 36"/>
- <Button id="button5" taborder="8" text="엑셀저장" onclick="switch1_case3_button5_onclick" class="btn7" position="absolute 135 281 215 300"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case4" text="간호 활동">
- <Layouts>
- <Layout>
- <Grid id="grd_nursecare" taborder="1" binddataset="ds_main_nursecare" useinputpanel="false" position="absolute 0 10 740 511" style="font:,,normal;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="107"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="간호사 명"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="기본적 간호"/>
- <Cell col="3" text="처치적 간호"/>
- <Cell col="4" text="교육 및 상담"/>
- <Cell col="5" text="검체"/>
- <Cell col="6" text="연계 및 의뢰"/>
- <Cell col="7" text="계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:hngnm" suppress="1" suppressalign="middle,over"/>
- <Cell col="1" style="align:right middle;" text="bind:gubun"/>
- <Cell col="2" style="align:right middle;" text="bind:basiccare"/>
- <Cell col="3" style="align:right middle;" text="bind:actcare"/>
- <Cell col="4" style="align:right middle;" text="bind:educoncare"/>
- <Cell col="5" style="align:right middle;" text="bind:cdiscare"/>
- <Cell col="6" style="align:right middle;" text="bind:cnsltcare"/>
- <Cell col="7" style="font:arial,9,bold;" text="bind:total" suppress="2" suppressalign="middle,over"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line6" class="line_10" position="absolute 0 3 740 14"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case5" text="관리환자 현황" selected="true">
- <Layouts>
- <Layout width="727" height="463">
- <Grid id="grd_pat" taborder="1" binddataset="ds_main_patlist" useinputpanel="false" position="absolute 0 10 740 511" style="font:,,normal;" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="150"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="일자 "/>
- <Cell col="1" text="신규 등록자"/>
- <Cell col="2" text="종결자"/>
- <Cell col="3" text="관리환자"/>
- </Band>
- <Band id="body">
- <Cell style="font:arial,9,bold;" text="bind:visitdd"/>
- <Cell col="1" style="align:right middle;font:arial,9,bold;" text="bind:firtvisit"/>
- <Cell col="2" style="align:right middle;font:arial,9,bold;" text="bind:endvisit"/>
- <Cell col="3" style="align:right middle;font:arial,9,bold;" text="bind:ongvisit"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line7" class="line_10" position="absolute 0 3 740 14"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="button1" class="btn2" position="absolute 653 73 739 92" style="" text="진료내역조회" onclick="button1_onclick"/>
- </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="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="careflag" type="STRING" size="256"/>
- <Column id="churchcd" type="STRING" size="256"/>
- <Column id="chrgnursid" type="STRING" size="256"/>
- <Column id="kindflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="inptdt" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="kind" type="STRING" size="256"/>
- <Column id="savedata" type="STRING" size="256"/>
- <Column id="patcareflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="careflag">H</Col>
- <Col id="churchcd">-</Col>
- <Col id="chrgnursid">%</Col>
- <Col id="kindflag"/>
- <Col id="pid"/>
- <Col id="inptdt"/>
- <Col id="instcd"/>
- <Col id="patflag">1</Col>
- <Col id="kind"/>
- <Col id="savedata"/>
- <Col id="patcareflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_daily_dailyinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="visitdd" type="STRING" size="256" sumtext="조회 일자"/>
- <Column id="user1" type="STRING" size="256" sumtext="사용자1"/>
- <Column id="user2" type="STRING" size="256" sumtext="사용자2"/>
- <Column id="user3" type="STRING" size="256" sumtext="사용자3"/>
- <Column id="user4" type="STRING" size="256" sumtext="사용자4"/>
- <Column id="user5" type="STRING" size="256" sumtext="사용자5"/>
- <Column id="user6" type="STRING" size="256" sumtext="사용자6"/>
- <Column id="user7" type="STRING" size="256" sumtext="사용자7"/>
- <Column id="user8" type="STRING" size="256" sumtext="사용자8"/>
- <Column id="user9" type="STRING" size="256" sumtext="사용자9"/>
- <Column id="total" type="STRING" size="256" sumtext="총 합계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caredept_caredeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="visitdd" type="STRING" size="256" sumtext="조회 일자"/>
- <Column id="user1" type="STRING" size="256" sumtext="사용자1"/>
- <Column id="user2" type="STRING" size="256" sumtext="사용자2"/>
- <Column id="user3" type="STRING" size="256" sumtext="사용자3"/>
- <Column id="user4" type="STRING" size="256" sumtext="사용자4"/>
- <Column id="user5" type="STRING" size="256" sumtext="사용자5"/>
- <Column id="user6" type="STRING" size="256" sumtext="사용자6"/>
- <Column id="user7" type="STRING" size="256" sumtext="사용자7"/>
- <Column id="user8" type="STRING" size="256" sumtext="사용자8"/>
- <Column id="user9" type="STRING" size="256" sumtext="사용자9"/>
- <Column id="total" type="STRING" size="256" sumtext="총 합계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caretm_caretmnrs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256" sumtext="간호사명"/>
- <Column id="totsum" type="STRING" size="256" sumtext="총간호시간"/>
- <Column id="totcnt" type="STRING" size="256" sumtext="일수"/>
- <Column id="nurseavg" type="STRING" size="256" sumtext="평균 간호시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caretm_caretmmove" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256" sumtext="간호사명"/>
- <Column id="totcnt" type="STRING" size="256" sumtext="일수"/>
- <Column id="totmove" type="STRING" size="256" sumtext="총교통시간"/>
- <Column id="moveavg" type="STRING" size="256" sumtext="평균 교통시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_nursecare" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256" sumtext="간호사명"/>
- <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
- <Column id="basiccare" type="STRING" size="256" sumtext="기본적 간호"/>
- <Column id="actcare" type="STRING" size="256" sumtext="처치적 간호"/>
- <Column id="educoncare" type="STRING" size="256" sumtext="교육 및 상담"/>
- <Column id="cdiscare" type="STRING" size="256" sumtext="검체"/>
- <Column id="cnsltcare" type="STRING" size="256" sumtext="연계 및 의뢰"/>
- <Column id="total" type="STRING" size="256" sumtext="계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="visitdd" type="STRING" size="256" sumtext="일자"/>
- <Column id="firtvisit" type="STRING" size="256" sumtext="신규 등록자"/>
- <Column id="endvisit" type="STRING" size="256" sumtext="종결자"/>
- <Column id="ongvisit" type="STRING" size="256" sumtext="관리환자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_item_chargenurse_nurselist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="year" type="STRING" size="256"/>
- <Column id="month" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="prid" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddridnm" type="STRING" size="256"/>
- <Column id="prestimportid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="year"/>
- <Col id="month"/>
- <Col id="orddeptcd"/>
- <Col id="orddrid"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="prid"/>
- <Col id="orddeptnm"/>
- <Col id="orddridnm"/>
- <Col id="prestimportid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_daily_titleinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="visitdd" type="STRING" size="256" sumtext="조회 일자"/>
- <Column id="user1" type="STRING" size="256" sumtext="사용자1"/>
- <Column id="user2" type="STRING" size="256" sumtext="사용자2"/>
- <Column id="user3" type="STRING" size="256" sumtext="사용자3"/>
- <Column id="user4" type="STRING" size="256" sumtext="사용자4"/>
- <Column id="user5" type="STRING" size="256" sumtext="사용자5"/>
- <Column id="user6" type="STRING" size="256" sumtext="사용자6"/>
- <Column id="user7" type="STRING" size="256" sumtext="사용자7"/>
- <Column id="user8" type="STRING" size="256" sumtext="사용자8"/>
- <Column id="user9" type="STRING" size="256" sumtext="사용자9"/>
- <Column id="total" type="STRING" size="256" sumtext="총 합계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caredept_titleinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="visitdd" type="STRING" size="256" sumtext="조회 일자"/>
- <Column id="user1" type="STRING" size="256" sumtext="사용자1"/>
- <Column id="user2" type="STRING" size="256" sumtext="사용자2"/>
- <Column id="user3" type="STRING" size="256" sumtext="사용자3"/>
- <Column id="user4" type="STRING" size="256" sumtext="사용자4"/>
- <Column id="user5" type="STRING" size="256" sumtext="사용자5"/>
- <Column id="user6" type="STRING" size="256" sumtext="사용자6"/>
- <Column id="user7" type="STRING" size="256" sumtext="사용자7"/>
- <Column id="user8" type="STRING" size="256" sumtext="사용자8"/>
- <Column id="user9" type="STRING" size="256" sumtext="사용자9"/>
- <Column id="total" type="STRING" size="256" sumtext="총 합계"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.input1" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.input2" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="grp_sea.combo1" propid="value" datasetid="ds_send" columnid="chrgnursid"/>
- </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 "emr_homecarexp::SMMNF00100.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "com_userdeptinfoxp::ZSU001.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "emr_carecomxp::ENRSignEngine.xjs";
- function SMMNF00800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNF00800_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case1.grd_daily);
- grdf_initGrid(switch1.case2.grd_dept);
- grdf_initGrid(switch1.case3.grd_caremove);
- grdf_initGrid(switch1.case3.grd_caretm);
- grdf_initGrid(switch1.case4.grd_nursecare);
- grdf_initGrid(switch1.case5.grd_pat);
-
- ds_send.setColumn( 0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn( 0, "todd" , utlf_getCurrentDate());
- switch1.tabindex = 0;
- frmf_inputEnterKey("switch1", "onchanged", new TabIndexChangeEventInfo );
- // -- 가정간호 간호사 조회 -----------------
- ds_send.setColumn( 0, "kind", "1"); // 병원 세팅
- ds_send.setColumn( 0, "patflag", "1" );
- ds_send.setColumn( 0, "churchcd", '-');
- var oParam = {};
- oParam.id = "TRMNF00106";
- oParam.service = "homecareapp.HomeCare";
- oParam.method = "reqGetChargeNurseList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_item_chargenurse_nurselist=nurselist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNF00106";
- tranf_submit(oParam);
- //김홍점 20080124 세션에서 정보를 읽어온다.
- var userid = sysf_getUserId();
- if ( ds_item_chargenurse_nurselist.findRow("userid", userid) < 0)
- {
- ds_send.setColumn( 0, "chrgnursid", '%');
- ds_send.setColumn( 0, "churchcd",'-');
- }
- else
- {
- ds_send.setColumn( 0, "chrgnursid", userid );
- ds_send.setColumn( 0, "churchcd", sysf_getUserInfo("dutplcecd"));
- }
- }
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- //엑셀저장
- var title;
-
- switch(ds_main_cond.getColumn(0, "prestimportid"))
- {
- case "daily":
- title = "일자별 현황";
- grdf_exportExcel(switch1.case1.grd_daily, title, "SheetName", "true", "", "");
- case "dept":
- title = "과별 현황";
- grdf_exportExcel(switch1.case2.grd_dept, title, "SheetName", "true", "", "");
- case "care":
- title = "간호활동";
- grdf_exportExcel(switch1.case4.grd_nursecare, title, "SheetName", "true", "", "");
- break;
- case "pat":
- title = "관리환자 현황";
- grdf_exportExcel(switch1.case5.grd_pat, title, "SheetName", "true", "", "");
- break;
- }
- }
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- fNurseSch("all");
- ds_main_cond.setColumn(0, "prestimportid", "daily");
- }
- else if(obj.tabindex == 1)
- {
- fNurseSch("all");
- ds_main_cond.setColumn(0, "prestimportid", "dept");
- }
- else if(obj.tabindex == 2)
- {
- fNurseSch("ind");
- ds_main_cond.setColumn(0, "prestimportid", "caretm");
- }
- else if(obj.tabindex == 3)
- {
- fNurseSch("ind");
- ds_main_cond.setColumn(0, "prestimportid", "care");
- }
- else if(obj.tabindex == 4)
- {
- fNurseSch("all");
- ds_main_cond.setColumn(0, "prestimportid", "pat");
- }
- }
- function fNurseSch(chk)
- {
- if (chk == "all")
- {
- grp_sea.combo1.value = "%" ;
- grp_sea.combo1.enable = false;
- }
- else
- {
- grp_sea.combo1.enable = true;
- }
- }
- function btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- switch(ds_main_cond.getColumn(0, "prestimportid"))
- {
- case "daily":
- var oParam = {};
- oParam.id = "TRMNF00810";
- oParam.service = "homecareapp.HomeCare";
- oParam.method = "reqGetDailyStats";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_daily_titleinfo=titleinfo ds_main_daily_dailyinfo=dailyinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMNF00810";
- tranf_submit(oParam);
- var path = "ds_main_daily_titleinfo";
- var data;
-
- for(var i = 1; i < 10; i++)
- {
- var user = "user" + i
- switch1.case1.grd_daily.setCellProperty("Head", i, "text", eval(path).getColumn(0, user));
-
- data = eval(path).getColumn(0, user);
-
- if(data == 0 || utlf_isNull(data))
- {
- switch1.case1.grd_daily.setFormatColProperty(i, "size", 0);
- }
- else
- {
- switch1.case1.grd_daily.setFormatColProperty(i, "size", 80);
- }
- }
- break;
- case "dept":
- var oParam = {};
- oParam.id = "TRMNF00820";
- oParam.service = "homecareapp.HomeCare";
- oParam.method = "reqGetDeptStats";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_caredept_titleinfo=titleinfo ds_main_caredept_caredeptinfo=caredeptinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMNF00820";
- tranf_submit(oParam);
- var path = "ds_main_caredept_titleinfo";
- var data;
- for(var i = 1; i < 10; i++)
- {
- var user = "user" + i ;
- switch1.case2.grd_dept.setCellProperty("Head", i, "text", eval(path).getColumn(0, user));
- data = eval(path).getColumn(0, user)
-
- if(data == 0 || utlf_isNull(data))
- {
- switch1.case2.grd_dept.setFormatColProperty(i, "size", 0);
- }
- else
- {
- switch1.case2.grd_dept.setFormatColProperty(i, "size", 80);
- }
- }
- break;
- case "caretm":
- var oParam = {};
- oParam.id = "TRMNF00830";
- oParam.service = "homecareapp.HomeCare";
- oParam.method = "reqGetCareTmStats";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_caretm_caretmnrs=caretm ds_main_caretm_caretmmove=caretm";
- oParam.async = false;
- //oParam.callback = "cf_TRMNF00830";
- tranf_submit(oParam);
- ds_main_caretm_caretmmove.copyData(ds_main_caretm_caretmnrs);
- break;
- case "care":
- var oParam = {};
- oParam.id = "TRMNF00840";
- oParam.service = "homecareapp.HomeCare";
- oParam.method = "reqGetNurseCareStats";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_nursecare=nursecare";
- oParam.async = false;
- //oParam.callback = "cf_TRMNF00840";
- tranf_submit(oParam);
- break;
- case "pat":
- var oParam = {};
- oParam.id = "TRMNF00850";
- oParam.service = "homecareapp.HomeCare";
- oParam.method = "reqGetPatStats";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_patlist=patlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNF00850";
- tranf_submit(oParam);
- break;
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMNF00801", "SMMNF00801", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function switch1_case3_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- //엑셀저장
- var fileName = "간호시간";
- grdf_exportExcel(switch1.case3.grd_caretm, fileName, "SheetName", "true", "", "");
- }
- function switch1_case3_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- //엑셀저장
- var fileName = "교통시간";
- grdf_exportExcel(switch1.case3.grd_caremove, fileName, "SheetName", "true", "", "");
- }
- ]]></Script>
- </Form>
- </FDL>
|