123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPANC00600" position="absolute 0 0 900 517" titletext="환자별 영양평가" tooltiptype="default" oninit="SPANC00600_oninit" onload="SPANC00600_onload">
- <Layouts>
- <Layout>
- <Static text="환자별 영양평가" position="absolute 0 0 194 20" id="caption1" class="tit_1"/>
- <Div position="absolute 0 20 270 376" id="grp_left" anchor="left top">
- <Layouts>
- <Layout>
- <Static text="영양검색 이력" position="absolute 0 7 220 23" align="align:left middle;" id="caption6" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 23 265 29" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
- <Div position="absolute 0 28 265 60" id="roundrect2" type="roundrectangle" anchor="default" class="div_SA2">
- <Layouts>
- <Layout>
- <Calendar id="ipt_fromdd" taborder="3" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 2 4 87 24" anchor="default"/>
- <Static id="caption3" text="~" position="absolute 90 4 105 24" anchor="default"/>
- <Calendar id="ipt_todd" taborder="4" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 103 4 188 24" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 189 32 200 53" linetype="vertical" id="line1" anchor="default"/>
- <Button position="absolute 199 32 260 52" id="btn_search" class="btn1" anchor="default" onclick="grp_left_btn_search_onclick" text="조회"/>
- <Grid id="grd_histtree" taborder="2" binddataset="ds_srch_hist" useinputpanel="false" selecttype="treecell" autofittype="col" treeusecheckbox="false" position="absolute 0 66 265 348" anchor="left top" oncellclick="grp_left_grd_histtree_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="489"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="영양검색 이력"/>
- </Band>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:displaynm" treestartlevel="1" treelevel="bind:levl" autosizecol="limitmax"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_bottom" taborder="1" position="absolute 2 373 888 512">
- <Layouts>
- <Layout>
- <Static id="caption3" text="영양불량위험군 기록지" class="tit_2" position="absolute 0 0 220 16" anchor="default"/>
- <Shape id="line5" class="line_10" position="absolute 0 16 886 22" anchor="left top right"/>
- <Grid id="grd_srchreclist" taborder="1" binddataset="ds_srchrec_list" useinputpanel="false" autofittype="col" oncelldblclick="grd_nutrsrchrslthist_oncelldblclick" position="absolute 0 23 886 139" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="0"/>
- <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="indd"/>
- <Cell col="10" text="formrecseq"/>
- <Cell col="11" text="영양사"/>
- <Cell col="12" text="기록일시"/>
- <Cell col="13" text="dddd"/>
- <Cell col="14" text="caption1"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" displaytype="normal" edittype="none" style="align:center middle;" text="bind:pid" enable="false"/>
- <Cell col="2" style="align:center middle;" text="bind:hngnm"/>
- <Cell col="3" style="align:center middle;" text="bind:srchdd"/>
- <Cell col="4" style="align:center middle;" text="bind:fnexamflagnm"/>
- <Cell col="5" style="align:center middle;" text="bind:srchrsltnm"/>
- <Cell col="6" displaytype="normal" style="align:left middle;" text="bind:wardnm" calendardisplaynulltype="none"/>
- <Cell col="7" style="align:center middle;" text="bind:nutrmngtkind"/>
- <Cell col="8" style="align:left middle;" text="bind:roomcd"/>
- <Cell col="9" style="align:center middle;" text="bind:indd"/>
- <Cell col="10" style="align:center middle;" text="bind:formrecseq"/>
- <Cell col="11" style="align:center middle;" text="bind:replusernm"/>
- <Cell col="12" style="align:center middle;" text="bind:repldt"/>
- <Cell col="13" text="bind:chrgdieternm"/>
- <Cell col="14" text="bind:intndieternm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="Static04" text="아래 항목을 더블클릭하면 상세 기록내용을 확인 할 수 있습니다. " visible="true" position="absolute 176 -9 598 16" style="linespace:10;color:blue;margin:10 0 0 0;align:left top;font:돋움,10;" onclick="grp_bottom_Static04_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_right" anchor="left top right" taborder="2" position="absolute 269 20 896 376">
- <Layouts>
- <Layout>
- <Static id="cap_state00" class="cell_3" position="absolute 0 112 619 348" style="color:blue;padding:0 0 0 0;align:center middle;font:arial,14,bold;"/>
- <Static id="caption3" text="영양검색 결과" class="tit_2" position="absolute 0 7 220 23"/>
- <Shape id="line5" class="line_10" position="absolute 0 23 620 29" anchor="left top right"/>
- <Static id="cap_state" class="cell_1" position="absolute 0 28 147 108" style="color:blue;padding:0 0 0 0;align:center middle;font:arial,14,bold;"/>
- <Static id="Static00" text="초기평가" visible="false" position="absolute 0 37 147 57" style="align:center middle;font:돋움,12;"/>
- <Static id="Static01" text="양호군" visible="false" position="absolute 0 60 147 107" style="align:center middle;font:돋움,22,bold;"/>
- <Static id="Static02" text="영양검색 결과 에 해당하는 환자입니다. 추후 재검색 예정입니다. 재검색 예정일은 입니다. " visible="false" position="absolute 152 23 619 86" style="linespace:10;margin:20 0 0 0;align:left top;font:돋움,10;"/>
- <Grid id="grd_srchinfo" taborder="26" binddataset="ds_srch_info" autoenter="select" useinputpanel="false" autofittype="col" oncelldblclick="swt_nutrsrchrslt_case2_grd_pastnutrsrch_oncelldblclick" position="absolute 3 244 611 342">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell colspan="5" text="객관적 지표" taborder="undefined"/>
- <Cell col="5" colspan="4" text="주관적 지표" taborder="undefined"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell row="1" text="PIBW"/>
- <Cell row="1" col="1" text="Alb"/>
- <Cell row="1" col="2" text="TLC"/>
- <Cell row="1" col="3" text="연령에 따른 키"/>
- <Cell row="1" col="4" text="키에 따른 체중"/>
- <Cell row="1" col="5" rowspan="2" text="식욕" taborder="undefined"/>
- <Cell row="1" col="6" rowspan="2" text="체중감소" taborder="undefined"/>
- <Cell row="1" col="7" rowspan="2" text="연하곤란" taborder="undefined"/>
- <Cell row="1" col="8" rowspan="2" style="linespace:3;" text="식이처방 (금식,미음의 처방건수)" taborder="undefined"/>
- <Cell row="1" col="9" text="TRF"/>
- <Cell row="1" col="10" rowspan="2" text="INS결과" taborder="undefined"/>
- <Cell row="2" text="(%)"/>
- <Cell row="2" col="1" text="(g/dl)"/>
- <Cell row="2" col="2" text="(cell/㎣)"/>
- <Cell row="2" col="3" text="(%)"/>
- <Cell row="2" col="4" text="(%)"/>
- <Cell row="2" col="9" text="(mg/dl)"/>
- </Band>
- <Band id="body">
- <Cell displaytype="number" style="align:center middle;" text="bind:pibw" wordwrap="none"/>
- <Cell col="1" displaytype="number" style="align:center middle;" text="bind:alb" wordwrap="none"/>
- <Cell col="2" displaytype="number" style="align:center middle;" text="bind:tlc" wordwrap="none"/>
- <Cell col="3" displaytype="number" style="align:center middle;" text="bind:childhtrate"/>
- <Cell col="4" displaytype="number" style="align:center middle;" text="bind:childwtrate"/>
- <Cell col="5" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:apptchngyn" wordwrap="char" combodataset="ds_init_apptchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:bdwtchngyn" wordwrap="char" combodataset="ds_init_bdwtchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:symp" wordwrap="char" combodataset="ds_init_symp" combocodecol="value" combodatacol="label"/>
- <Cell col="8" style="align:center middle;" text="bind:dietcnt" wordwrap="char"/>
- <Cell col="9" style="align:center middle;" text="bind:trf" wordwrap="char"/>
- <Cell col="10" style="align:center middle;" text="bind:insrslt" wordwrap="char"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="Static03" text="◆ 영양검색지표" position="absolute 3 226 169 246" style="font:바탕,10;"/>
- <Static id="Static06" text="양호군" visible="false" position="absolute 227 43 294 57" style="align:right middle;font:돋움,10,bold;"/>
- <Static id="Static07" text="0000-00-00" visible="false" position="absolute 247 66 322 80" style="align:right middle;font:돋움,10,bold;"/>
- <Static id="caption4" text="등록번호" class="cell_1" position="absolute 3 116 83 139" style="padding:0 0 0 5;"/>
- <Edit id="ipt_pid" taborder="27" readonly="true" autoselect="true" class="input_default" position="absolute 86 118 201 138" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="caption00" text="환자명" class="cell_1" position="absolute 208 116 288 139" style="padding:0 0 0 5;"/>
- <Edit id="ipt_hngnm" taborder="28" readonly="true" autoselect="true" class="input_default" position="absolute 291 118 611 138" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="caption02" text="평가구분" class="cell_1" position="absolute 3 166 83 189" style="padding:0 0 0 5;"/>
- <Edit id="ipt_fnexamflagnm" taborder="30" readonly="true" autoselect="true" class="input_default" position="absolute 86 168 201 188" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="caption05" text="평가일시" class="cell_1" position="absolute 3 142 83 165" style="padding:0 0 0 5;"/>
- <Edit id="ipt_srchdt" taborder="31" readonly="true" autoselect="true" class="input_default" position="absolute 86 144 201 164" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="caption06" text="병동" class="cell_1" position="absolute 208 142 288 165" style="padding:0 0 0 5;"/>
- <Edit id="ipt_wardnm" taborder="32" readonly="true" autoselect="true" class="input_default" position="absolute 291 144 611 164" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="caption07" text="평가결과" class="cell_1" position="absolute 3 191 83 214" style="padding:0 0 0 5;"/>
- <Edit id="ipt_srchrsltnm" taborder="33" readonly="true" autoselect="true" class="input_default" position="absolute 86 193 201 213" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="caption08" text="평가횟수" class="cell_1" position="absolute 208 191 288 214" style="padding:0 0 0 5;"/>
- <Edit id="ipt_srchcnt" taborder="34" readonly="true" autoselect="true" class="input_default" position="absolute 291 193 406 213" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="caption09" text="병실" class="cell_1" position="absolute 208 167 288 190" style="padding:0 0 0 5;"/>
- <Edit id="ipt_roomcd" taborder="35" readonly="true" autoselect="true" class="input_default" position="absolute 291 169 611 189" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="caption10" text="영양사" class="cell_1" position="absolute 413 192 493 215" style="padding:0 0 0 5;"/>
- <Edit id="ipt_srchrgstnm" taborder="36" readonly="true" autoselect="true" class="input_default" position="absolute 496 194 611 214" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
- <Static id="Static04" text="영양불량위험환자 관리군으로, 기록지를 확인바랍니다. " visible="false" position="absolute 152 79 619 104" style="linespace:10;margin:10 0 0 0;align:left top;font:돋움,10;"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond" 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="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_arg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_srch_hist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="levl" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="fnexamflag" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="displaynm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_srch_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="srchdd" type="STRING" size="256" sumtext="검색일자"/>
- <Column id="srchdt" type="STRING" size="256" sumtext="검색일자"/>
- <Column id="nextsrchdd" type="STRING" size="256" sumtext="검색일자"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="fnexamflag" type="STRING" size="256" sumtext="평가구분"/>
- <Column id="fnexamflagnm" type="STRING" size="256" sumtext="평가구분명"/>
- <Column id="srchrslt" type="STRING" size="256" sumtext="검색결과"/>
- <Column id="srchrsltnm" type="STRING" size="256" sumtext="검색결과명"/>
- <Column id="dspsrchrsltnm" type="STRING" size="256" sumtext="검색결과명"/>
- <Column id="srchcnt" type="STRING" size="256" sumtext="검색결과"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
- <Column id="pibw" type="INT" size="256" sumtext="PIBW"/>
- <Column id="alb" type="BIGDECIMAL" size="256" sumtext="ALB"/>
- <Column id="tlc" type="INT" size="256" sumtext="TLC"/>
- <Column id="childyn" type="INT" size="256" sumtext="소아여부"/>
- <Column id="childhtrate" type="INT" size="256" sumtext="소아키비율"/>
- <Column id="childwtrate" type="INT" size="256" sumtext="소아체중비율"/>
- <Column id="apptchngyn" type="STRING" size="256" sumtext="식욕상태"/>
- <Column id="bdwtchngyn" type="STRING" size="256" sumtext="체중변화"/>
- <Column id="symp" type="STRING" size="256" sumtext="소화기계연하곤란유무"/>
- <Column id="dietcnt" type="STRING" size="256" sumtext="식이처방건수"/>
- <Column id="srchrgstnm" type="STRING" size="256" sumtext="영양사"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_apptchngyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">좋음</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">보통</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">나쁨</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">매우나쁨</Col>
- <Col id="value">4</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_bdwtchngyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">무</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">유</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_symp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">없음</Col>
- <Col id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">있음</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_srchrec_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="fnexamflag" type="STRING" size="256"/>
- <Column id="fnexamflagnm" type="STRING" size="256"/>
- <Column id="srchrslt" type="STRING" size="256"/>
- <Column id="srchrsltnm" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="repluserid" type="STRING" size="256"/>
- <Column id="replusernm" type="STRING" size="256"/>
- <Column id="repldt" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="signno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_right.ipt_pid" propid="value" datasetid="ds_srch_info" columnid="pid"/>
- <BindItem id="item1" compid="grp_right.ipt_hngnm" propid="value" datasetid="ds_srch_info" columnid="hngnm"/>
- <BindItem id="item3" compid="grp_right.ipt_fnexamflagnm" propid="value" datasetid="ds_srch_info" columnid="fnexamflagnm"/>
- <BindItem id="item4" compid="grp_right.ipt_srchdt" propid="value" datasetid="ds_srch_info" columnid="srchdt"/>
- <BindItem id="item5" compid="grp_right.ipt_wardnm" propid="value" datasetid="ds_srch_info" columnid="wardnm"/>
- <BindItem id="item8" compid="grp_right.ipt_srchrsltnm" propid="value" datasetid="ds_srch_info" columnid="srchrsltnm"/>
- <BindItem id="item9" compid="grp_right.ipt_srchcnt" propid="value" datasetid="ds_srch_info" columnid="srchcnt"/>
- <BindItem id="item10" compid="grp_right.ipt_roomcd" propid="value" datasetid="ds_srch_info" columnid="roomcd"/>
- <BindItem id="item11" compid="grp_right.ipt_srchrgstnm" propid="value" datasetid="ds_srch_info" columnid="srchrgstnm"/>
- <BindItem id="item6" compid="grp_left.roundrect2.ipt_fromdd" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item7" compid="grp_left.roundrect2.ipt_todd" propid="value" datasetid="ds_cond" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2019-03-28
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2019-03-28 엄영만 Create
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- function SPANC00600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPANC00600_onload(obj:Form, e:LoadEventInfo)
- {
- ds_arg.copyData(arg_ds_send);
-
- var sPid = ds_arg.getColumn(0, "pid");
-
- grdf_setToolTipBind(grp_left.grd_histtree);
-
- ds_cond.setColumn(0, "pid" , sPid);
- ds_cond.setColumn(0, "fromdd" , ((utlf_getCurrentDate().toDate()).getAddDate(-6,"M")).getDateFormat()); // 최근 6개월
- ds_cond.setColumn(0, "todd" , utlf_getCurrentDate()); //종료일자는 현재일자
-
-
- if(!utlf_isNull(ds_cond.getColumn(0, "pid"))) {
- fGetSrchHist(); // 검색 이력 조회
- }
-
- //if(!utlf_isNull(sRefKey)) {
- // fGetCvrInfo("", "", sCvrType, sRefKey); // CVR 정보 조회
- // ds_cond.setColumn(0, "pid", ds_cvr_info.getColumn(0, "pid"));
- //}
- }
- function grp_left_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fGetSrchHist();
- }
- /**
- * @desc : 영양검색 이력조회
- * @
- * @param :
- * @return :
- * @author : 엄영만
- * @---------------------------------------------------
- */
- function fGetSrchHist(){
- var sPid = ds_cond.getColumn(0, "pid");
- if(utlf_isNull(sPid) || sPid == "-") {
- sysf_messageBox("환자 정보가 없습니다.", "E");
- return;
- }
-
- ds_srch_hist.clearData();
-
- var oParam = {};
-
- oParam.id = "TRANC00601";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetSrchHist";
- oParam.inds = "req=ds_cond";
- oParam.outds = "ds_srch_hist=srchhist ds_srchrec_list=srchreclist";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- grdf_expandDepth(grp_left.grd_histtree, 2);
-
- if(ds_srch_hist.rowcount > 1) {
- fGetSrchInfo(1);
- }
- }
- function grp_left_grd_histtree_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var nRow = ds_srch_hist.rowposition;
- fGetSrchInfo(nRow);
- }
- /**
- * @desc : 영양검색 정보 조회
- * @
- * @param :
- * @return :
- * @author : 엄영만
- * @---------------------------------------------------
- */
- function fGetSrchInfo(nRow){
- if(utlf_isNull(ds_srch_hist.getColumn(nRow, "pid"))) {
- return;
- }
-
- dsf_makeValue(ds_send, "instcd", "string", ds_srch_hist.getColumn(nRow, "instcd"));
- dsf_makeValue(ds_send, "pid", "string", ds_srch_hist.getColumn(nRow, "pid"));
- dsf_makeValue(ds_send, "srchdd", "string", ds_srch_hist.getColumn(nRow, "srchdd"));
- dsf_makeValue(ds_send, "fnexamflag", "string", ds_srch_hist.getColumn(nRow, "fnexamflag"));
- dsf_makeValue(ds_send, "indd", "string", ds_srch_hist.getColumn(nRow, "indd"));
-
- var oParam = {};
- oParam.id = "TRANC00602";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetSrchInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_srch_info=srchinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- grp_right.Static00.visible = true;
- grp_right.Static01.visible = true;
- grp_right.Static02.visible = true;
- grp_right.Static06.visible = true;
- grp_right.Static07.visible = true;
-
- grp_right.Static00.text = ds_srch_info.getColumn(0, "fnexamflagnm");
- grp_right.Static01.text = ds_srch_info.getColumn(0, "dspsrchrsltnm");
- grp_right.Static06.text = ds_srch_info.getColumn(0, "dspsrchrsltnm");
- grp_right.Static07.text = ds_srch_info.getColumn(0, "nextsrchdd");
-
- var sSrchRslt = ds_srch_info.getColumn(0, "srchrslt"); // 검색결과
- if(sSrchRslt == "3" || sSrchRslt == "4") { // 중위험군, 고위험군
- grp_right.Static04.visible = true;
- } else {
- grp_right.Static04.visible = false;
- }
-
- var sChildYn = ds_srch_info.getColumn(0, "childyn");
-
- var nPibw = grp_right.grd_srchinfo.getBindCellIndex("body", "pibw");
- var nAlb = grp_right.grd_srchinfo.getBindCellIndex("body", "alb");
- var nTlc = grp_right.grd_srchinfo.getBindCellIndex("body", "tlc");
- var nChildHtRate = grp_right.grd_srchinfo.getBindCellIndex("body", "childhtrate");
- var nChildWtRate = grp_right.grd_srchinfo.getBindCellIndex("body", "childwtrate");
-
- if (sChildYn == "Y") { // 소아
- grp_right.Static03.text = "◆ 영양검색지표(소아)";
- grp_right.grd_srchinfo.setFormatColProperty(nPibw, "size", 0);
- grp_right.grd_srchinfo.setFormatColProperty(nAlb, "size", 0);
- grp_right.grd_srchinfo.setFormatColProperty(nTlc, "size", 0);
- grp_right.grd_srchinfo.setFormatColProperty(nChildHtRate, "size", 100);
- grp_right.grd_srchinfo.setFormatColProperty(nChildWtRate, "size", 100);
- } else {
- grp_right.Static03.text = "◆ 영양검색지표(성인)";
- grp_right.grd_srchinfo.setFormatColProperty(nPibw, "size", 100);
- grp_right.grd_srchinfo.setFormatColProperty(nAlb, "size", 100);
- grp_right.grd_srchinfo.setFormatColProperty(nTlc, "size", 100);
- grp_right.grd_srchinfo.setFormatColProperty(nChildHtRate, "size", 0);
- grp_right.grd_srchinfo.setFormatColProperty(nChildWtRate, "size", 0);
- }
- }
- function grd_nutrsrchrslthist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var oldflag = "E";
- var formcd = ds_srchrec_list.getColumn(e.row, "formcd"); // 영양검색 서식번호(0800000722)
- var signno = ds_srchrec_list.getColumn(e.row, "signno");
-
- if(!utlf_isNull(signno)) {
- frmf_setParameter("SPMRI02400_prtrecinfo", oldflag + "▦" + signno + "▦" + formcd + "▩");
- frmf_setParameter("SPMRI02400_prtyn", "N");
- frmf_setParameter("SPMRI02400_defaultvw", "ChartView");
- frmf_modal("SPMRI02400", "SPMRI02400", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|