123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNW04702" position="absolute 0 0 875 682" titletext="피부욕창관찰기록 PUSH 차트" oninit="SMMNW04702_oninit" onload="SMMNW04702_onload">
- <Layouts>
- <Layout>
- <Static text="피부욕창관찰기록 PUSH 차트" position="absolute 0 0 210 25" id="caption6" class="tit_1"/>
- <Shape position="absolute 0 67 873 73" linetype="horizontal" id="line2" class="line_1"/>
- <Grid position="absolute 0 73 873 681" id="grd_report" binddataset="ds_main_pushinfo" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="173"/>
- <Column size="120"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="65"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="발생부위" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="기록일시" taborder="undefined"/>
- <Cell col="2" colspan="3" text="크기" taborder="undefined"/>
- <Cell col="5" colspan="2" text="삼출물의 양" taborder="undefined"/>
- <Cell col="7" colspan="2" text="조직의 종류" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="합계" taborder="undefined"/>
- <Cell row="1" col="2" text="가로(cm)"/>
- <Cell row="1" col="3" text="세로(cm)"/>
- <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="점수"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;" text="bind:obspartnm" suppress="2" suppressalign="middle,over"/>
- <Cell col="1" displaytype="text" style="align:center;" text="bind:recdt" mask="expr:utlf_isNull(recdt) == true ? '' : '####-##-## ##:##'"/>
- <Cell col="2" text="bind:sizewidth"/>
- <Cell col="3" text="bind:sizeheight"/>
- <Cell col="4" style="align:right;" text="bind:svalue"/>
- <Cell col="5" text="bind:amount"/>
- <Cell col="6" style="align:right;" text="bind:avalue"/>
- <Cell col="7" style="align:left;" text="bind:tissue"/>
- <Cell col="8" style="align:right;" text="bind:tvalue"/>
- <Cell col="9" style="align:right;" text="bind:total"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 0 25 873 65" align="align:center top;" id="group1" class="div_SA">
- <Layouts>
- <Layout>
- <Button position="absolute 803 10 859 30" id="btn_search" class="btn1" taborder="13" text="조회" anchor="default" onclick="group1_btn_search_onclick"/>
- <Static text="기 간 :" position="absolute 12 10 82 30" id="caption1" class="search_name" anchor="default"/>
- <Static text="~" position="absolute 179 10 194 30" id="caption2" anchor="default"/>
- <Shape position="absolute 786 5 792 35" linetype="vertical" id="line3" class="line_4" anchor="default"/>
- <Edit position="absolute 414 10 508 30" align="align:center middle;" id="ipt_pid" anchor="default" style="align:center middle;"/>
- <Static text="환 자 :" position="absolute 340 10 410 30" id="caption3" class="search_name" anchor="default"/>
- <Edit position="absolute 510 10 620 30" align="align:center middle;" id="input3" anchor="default" style="align:center middle;"/>
- <CheckBox position="absolute 645 10 745 30" id="chk_pushyn" anchor="default" text="push만" truevalue="Y" falsevalue="N" value="N"/>
- <Calendar id="ipt_srchym" taborder="14" onchanged="group5_grp_sea_ipt_genrdd_onchanged" class="input_default" position="absolute 85 10 170 30"/>
- <Calendar id="input1" taborder="15" onchanged="group5_grp_sea_ipt_genrdd_onchanged" class="input_default" position="absolute 196 10 281 30"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line00" class="line_10" position="absolute 0 68 873 74"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_pushinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="obspartnm" type="STRING"/>
- <Column id="recdt" type="STRING"/>
- <Column id="sizewidth" type="STRING"/>
- <Column id="sizeheight" type="STRING"/>
- <Column id="svalue" type="STRING"/>
- <Column id="amount" type="STRING"/>
- <Column id="avalue" type="STRING"/>
- <Column id="tissue" type="STRING"/>
- <Column id="tvalue" type="STRING"/>
- <Column id="total" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sdate" type="STRING" size="256"/>
- <Column id="edate" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pname" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="pushyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sdate"/>
- <Col id="edate"/>
- <Col id="pid"/>
- <Col id="pname"/>
- <Col id="indd"/>
- <Col id="pushyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_pinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="sdate" type="STRING" size="256"/>
- <Column id="edate" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="pushyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="sdate"/>
- <Col id="edate"/>
- <Col id="indd"/>
- <Col id="pushyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item2" compid="group1.ipt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item3" compid="group1.input3" propid="value" datasetid="ds_cond" columnid="pname"/>
- <BindItem id="item4" compid="group1.chk_pushyn" propid="value" datasetid="ds_cond" columnid="pushyn"/>
- <BindItem id="item8" compid="group1.ipt_srchym" propid="value" datasetid="ds_cond" columnid="sdate"/>
- <BindItem id="item5" compid="group1.input1" propid="value" datasetid="ds_cond" columnid="edate"/>
- </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_carecomxp::CareCom.xjs"
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMMNW04702_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNW04702_onload(obj:Form, e:LoadEventInfo)
- {
- var pid = opener.frmf_getParameter("pid");
- var indd = opener.frmf_getParameter("indd");
- var pname = opener.frmf_getParameter("pname");
- var curdate = utlf_getCurrentDate();
-
- ds_cond.clearData();
- var iRow = ds_cond.addRow();
- ds_cond.setColumn(iRow, "pid", pid);
- ds_cond.setColumn(iRow, "pname", pname);
- ds_cond.setColumn(iRow, "sdate", indd);
- ds_cond.setColumn(iRow, "edate", curdate);
- ds_cond.setColumn(iRow, "indd", indd);
- ds_cond.setColumn(iRow, "pushyn", "");
-
- fGetNursHardCdInfo("'U30'", utlf_getCurrentDate()); // '002' 응급의료센터 여부 조회
-
- var useyn = ds_codelist.lookup("cdgrupid", "U30", "cdid");
- if( useyn == "Y" ) {
- group1.chk_pushyn.visible = true;
- ds_cond.setColumn(0, "pushyn", "Y");
- } else {
- group1.chk_pushyn.visible = false;
- ds_cond.setColumn(0, "pushyn", "N");
- }
-
- fSearPushValue();
- }
- /******************************************************************
- * Argument : fSearPushValue()
- * Description : 조회
- ******************************************************************/
- function fSearPushValue() {
- ds_send_pinfo.clearData();
- var addRow = ds_send_pinfo.addRow();
- ds_send_pinfo.setColumn(addRow, "pid", ds_cond.getColumn(0, "pid"));
- ds_send_pinfo.setColumn(addRow, "indd", ds_cond.getColumn(0, "indd"));
- ds_send_pinfo.setColumn(addRow, "sdate", ds_cond.getColumn(0, "sdate"));
- ds_send_pinfo.setColumn(addRow, "edate", ds_cond.getColumn(0, "edate"));
- ds_send_pinfo.setColumn(addRow, "pushyn", ds_cond.getColumn(0, "pushyn"));
-
- var oParam = {};
- oParam.id = "TRMNW04709";
- oParam.service = "wardcareapp.WardCareRec";
- oParam.method = "reqGetPushValueByDay";
- oParam.inds = "req=ds_send_pinfo";
- oParam.outds = "ds_main_pushinfo=pushlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNW04709";
- tranf_submit(oParam);
- }
- /******************************************************************
- * Argument : fSearPushValue()
- * Description : 조회
- ******************************************************************/
- function group1_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearPushValue();
- }
- ]]></Script>
- </Form>
- </FDL>
|