123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNW13900" position="absolute 0 0 810 725" titletext="간호평가리스트(낙상/욕창/통증)" oninit="SMMNW13900_oninit" onload="SMMNW13900_onload" ontimer="SMMNW13900_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 15 0 795 25" id="group1">
- <Layouts>
- <Layout>
- <Static text="간호평가리스트(낙상/욕창/통증)" position="absolute 0 0 229 25" id="caption6" class="tit_1"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 15 25 795 60" align="align:center top;" id="group2">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 780 35" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
- <Shape position="absolute 697 7 703 29" linetype="vertical" id="line1" class="line_4"/>
- <Button position="absolute 710 7 766 29" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
- <Combo position="absolute 56 7 195 26" id="combo1" class="combo_s_essential" innerdataset="@ds_init_ward" datacolumn="wardnm" codecolumn="wardcd"/>
- <Static text="병동 :" position="absolute 5 9 55 26" id="caption8" class="search_name"/>
- <Combo position="absolute 260 8 350 27" id="combo2" class="combo_s_essential" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">낙상</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">욕창</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 15 66 800 72" linetype="horizontal" id="line2" class="line_10"/>
- <Calendar position="absolute 496 33 584 52" id="inp_medfromdd" class="input_search" autoselect="true"/>
- <Calendar position="absolute 606 33 694 52" id="inp_medtodd" class="input_search" autoselect="true"/>
- <Static text="조회일시 :" position="absolute 415 36 491 53" id="caption5" class="search_name"/>
- <Static text="~" position="absolute 591 35 606 50" id="caption7"/>
- <Grid position="absolute 15 71 800 721" id="grd_plist" scrollbars="fixedvert" binddataset="ds_main_plistinfo_plist" cellsizingtype="both" autosizingtype="row" extendsizetype="row" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="병동"/>
- <Cell col="1" text="병실"/>
- <Cell col="2" text="환자번호"/>
- <Cell col="3" text="이름"/>
- <Cell col="4" text="성별"/>
- <Cell col="5" text="나이"/>
- <Cell col="6" text="입원일"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="구분"/>
- <Cell col="9" text="총점"/>
- <Cell col="10" text="분류"/>
- <Cell col="11" text="기록자"/>
- <Cell col="12" text="기록시간"/>
- <Cell col="13"/>
- <Cell col="14"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;padding:2 2 2 2;" text="bind:wardnm"/>
- <Cell col="1" style="align:left middle;" text="bind:roomnm"/>
- <Cell col="2" style="align:left middle;" text="bind:pid"/>
- <Cell col="3" style="align:left middle;" text="bind:pname"/>
- <Cell col="4" style="align:center middle;" text="bind:psex"/>
- <Cell col="5" style="align:left middle;" text="bind:page"/>
- <Cell col="6" style="align:left middle;" text="bind:indd"/>
- <Cell col="7" style="align:center middle;padding:1 2 1 2;" text="bind:deptnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="8" style="align:left middle;" text="bind:gbn"/>
- <Cell col="9" style="align:center middle;" text="bind:totalcost" mask="expr:utlf_isNull(totalcost) ? "" : totalcost.toString().length == 12 ? "####/##/## ##:##" : """/>
- <Cell col="10" style="align:left middle;" text="bind:grade"/>
- <Cell col="11" style="padding:2 2 2 2;" text="bind:recorder" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="12" style="align:left middle;padding:2 2 2 5;" text="bind:recdate" mask="####/##/## ##:##"/>
- <Cell col="13" style="align:center middle;" text="bind:hitcnt"/>
- <Cell col="14" text="bind:delyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="구분 :" position="absolute 225 36 270 53" id="caption1" class="search_name"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="gbn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="todd"/>
- <Col id="fromdd"/>
- <Col id="wardcd"/>
- <Col id="gbn">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_plistinfo_plist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="roomnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pname" type="STRING" size="256"/>
- <Column id="psex" type="STRING" size="256"/>
- <Column id="page" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="gbn" type="STRING" size="256"/>
- <Column id="totalcost" type="STRING" size="256"/>
- <Column id="grade" type="STRING" size="256"/>
- <Column id="recorder" type="STRING" size="256"/>
- <Column id="recdate" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="wardnm"/>
- <Col id="roomnm"/>
- <Col id="pid"/>
- <Col id="pname"/>
- <Col id="psex"/>
- <Col id="page"/>
- <Col id="indd"/>
- <Col id="deptnm"/>
- <Col id="gbn"/>
- <Col id="totalcost"/>
- <Col id="grade"/>
- <Col id="recorder"/>
- <Col id="recdate"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="roomnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pname" type="STRING" size="256"/>
- <Column id="psex" type="STRING" size="256"/>
- <Column id="page" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="gbn" type="STRING" size="256"/>
- <Column id="totalcost" type="STRING" size="256"/>
- <Column id="grade" type="STRING" size="256"/>
- <Column id="recorder" type="STRING" size="256"/>
- <Column id="recdate" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="wardnm"/>
- <Col id="roomnm"/>
- <Col id="pid"/>
- <Col id="pname"/>
- <Col id="psex"/>
- <Col id="page"/>
- <Col id="indd"/>
- <Col id="deptnm"/>
- <Col id="gbn"/>
- <Col id="totalcost"/>
- <Col id="grade"/>
- <Col id="recorder"/>
- <Col id="recdate"/>
- </Row>
- </Rows>
- </Dataset>
- <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="wardcd" type="STRING" size="256"/>
- <Column id="gbn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="wardcd"/>
- <Col id="gbn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="wardnm"/>
- <Col id="wardcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gbn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="settingrnid" type="STRING" size="256"/>
- <Column id="settingrnnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.combo1" propid="value" datasetid="ds_main_cond" columnid="wardcd"/>
- <BindItem id="item1" compid="group2.combo2" propid="value" datasetid="ds_main_cond" columnid="gbn"/>
- <BindItem id="item2" compid="inp_medfromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item3" compid="inp_medtodd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- </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";
- /*SMMNW13900_oninit*/
- function SMMNW13900_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /*SMMNW13900_onload*/
- function SMMNW13900_onload(obj:Form, e:LoadEventInfo)
- {
- ds_main_cond.setColumn(0, "wardcd", sysf_getUserInfo("dutplcecd"));
-
- ds_send.clearData();
- ds_send.addRow();
- dsf_makeValue(ds_send,"wardcd","string", ds_main_cond.getColumn(0, "wardcd"));
- var oParam = {};
- oParam.id = "TRMNW00101";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetWMInitData";
- oParam.inds = "reqcond=ds_send";
- oParam.outds = "ds_init_ward=ward ds_init_dept=dept ds_=settingrn";
- oParam.async = false;
- tranf_submit(oParam);
-
- fInitialize() ;
- }
- /*group2_btn_search_onclick*/
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fgetPyungPatList();
- }
- /*
-
- 간호평가리스트 (SMMNW13900.xrw - JScript )
- - Version :
- 1) : Ver.1.00.01
- */
- /**
- * @group :
- * @ver : 2011.06.10
- * @by : 김지선
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 평가대상자 리스트 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize() {
-
- //조회날짜 받아옴
- var fromdd = utlf_getCurrentDate();
- var todd = utlf_getCurrentDate();
- var wardcd = '3050160000'; //default 706병동
- var gbn = '1'; //default 706병동
-
-
- //한달을 기준으로 한달안에 내용을 보여줌
- dsf_makeValue(ds_main_cond,"fromdd" , "string", fromdd);
- dsf_makeValue(ds_main_cond,"todd" , "string", todd);
- dsf_makeValue(ds_main_cond,"wardcd" , "string", wardcd);
- dsf_makeValue(ds_main_cond,"gbn" , "string", gbn);
-
- // 게시판 리스트를 조회
- //fgetPyungPatList();
- this.setTimer(0, 100);
- }
- function fgetPyungPatList(){
-
- // 조회 조건을 셋팅 한다.
- dsf_makeValue(ds_send,"fromdd" , "string", ds_main_cond.getColumn(0, "fromdd"));
- dsf_makeValue(ds_send,"todd" , "string", ds_main_cond.getColumn(0, "todd"));
- dsf_makeValue(ds_send,"wardcd" , "string", ds_main_cond.getColumn(0, "wardcd"));
- dsf_makeValue(ds_send,"gbn" , "string", ds_main_cond.getColumn(0, "gbn"));
-
- ds_main_plistinfo_plist.clearData();
- ds_main_iteminfo.clearData();
- ds_main_iteminfo.addRow();
- // 게시판 리스트를 조회
- var oParam = {};
- oParam.id = "TRMNW13902";
- oParam.service = "carerecapp.AsesRec";
- oParam.method = "reqGetPyungList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_plistinfo_plist=plist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function SMMNW13900_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
-
- fgetPyungPatList();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|