123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPADC62700" position="absolute 0 0 1194 725" titletext="NST - EN 세부엑셀저장" oninit="SPADC62700_oninit" onload="SPADC62700_onload">
- <Layouts>
- <Layout>
- <Static id="caption12" text="NST - EN 세부엑셀저장" class="tit_1" position="absolute 0 0 178 25"/>
- <Div id="grp_sea" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 25 1193 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1110 7 1116 35" anchor="top right"/>
- <Combo id="combo10" taborder="1" innerdataset="@ds_init_ward" codecolumn="deptcd" datacolumn="deptnm" class="combo_search" position="absolute 604 10 750 31" columncount="2" anchor="default"/>
- <Static id="caption5" text="병 동 :" class="search_name" position="absolute 546 13 601 30" anchor="default"/>
- <Combo id="combo1" taborder="2" innerdataset="@ds_init_deptlist" codecolumn="deptcd" datacolumn="deptnm" class="combo_search" position="absolute 390 10 534 31" anchor="default"/>
- <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 1125 9 1181 31" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Static id="caption9" text="등록번호 :" class="search_name" position="absolute 762 14 833 31" anchor="default"/>
- <Edit id="input1" taborder="4" class="input_search" position="absolute 835 11 924 32" anchor="default" onkeydown="grp_sea_input1_onkeydown" autoselect="true"/>
- <Static id="caption10" text="의 뢰 과 :" class="search_name" position="absolute 319 13 387 30" anchor="default"/>
- <Static id="caption2" class="search_name" position="absolute 15 13 21 30" anchor="default"/>
- <Calendar id="ipt_srchdd1" taborder="5" class="input_search" position="absolute 124 11 211 32" anchor="default" autoselect="true"/>
- <Calendar id="ipt_srchdd2" taborder="6" class="input_search" position="absolute 223 11 310 32" anchor="default" autoselect="true"/>
- <Static id="caption13" text="~" position="absolute 211 14 226 34" anchor="default"/>
- <Static id="caption4" text="의뢰약품:" class="search_name" visible="false" position="absolute 932 14 998 31" anchor="default"/>
- <Edit id="input5" taborder="7" class="input_search" visible="false" position="absolute 1001 11 1098 32" anchor="default" onkeydown="grp_sea_input5_onkeydown" autoselect="true"/>
- <Combo id="combo2" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 26 11 106 32" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">의뢰일자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Q</Col>
- <Col id="datacolumn">회신일자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption1" text=":" position="absolute 114 12 129 32" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_nstmngt" taborder="2" binddataset="ds_grd_nstmngt" useinputpanel="false" position="absolute 0 98 1193 723" anchor="all" extendsizetype="row" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="83"/>
- <Column size="109"/>
- <Column size="64"/>
- <Column size="100"/>
- <Column size="87"/>
- <Column size="73"/>
- <Column size="33"/>
- <Column size="34"/>
- <Column size="84"/>
- <Column size="86"/>
- <Column size="81"/>
- <Column size="91"/>
- <Column size="85"/>
- <Column size="90"/>
- <Column size="46"/>
- <Column size="62"/>
- <Column size="135"/>
- <Column size="140"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="116"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="66"/>
- <Column size="69"/>
- <Column size="72"/>
- <Column size="83"/>
- <Column size="100"/>
- <Column size="33"/>
- <Column size="37"/>
- <Column size="47"/>
- <Column size="43"/>
- <Column size="43"/>
- <Column size="48"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="48"/>
- <Column size="44"/>
- <Column size="52"/>
- <Column size="49"/>
- <Column size="46"/>
- <Column size="46"/>
- <Column size="35"/>
- <Column size="38"/>
- <Column size="35"/>
- <Column size="47"/>
- <Column size="46"/>
- <Column size="55"/>
- <Column size="38"/>
- <Column size="42"/>
- <Column size="36"/>
- <Column size="38"/>
- <Column size="81"/>
- <Column size="148"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="198"/>
- <Column size="173"/>
- <Column size="0"/>
- <Column size="123"/>
- </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="진료과"/>
- <Cell col="5" text="등록번호"/>
- <Cell col="6" text="환자명"/>
- <Cell col="7" text="Sex"/>
- <Cell col="8" text="Age"/>
- <Cell col="9" text="주치의"/>
- <Cell col="10" text="의뢰일"/>
- <Cell col="11" text="회신일"/>
- <Cell col="12" text="진료/입원일"/>
- <Cell col="13" text="퇴원일"/>
- <Cell col="14" text="퇴원예고/퇴원"/>
- <Cell col="15" text="HD"/>
- <Cell col="16" text="POD"/>
- <Cell col="17" text="진단명"/>
- <Cell col="18" text="수술명"/>
- <Cell col="19" text="식사처방정보"/>
- <Cell col="20" text="약제정보"/>
- <Cell col="21" text="영양관련문제점"/>
- <Cell col="22" text="기타-영양관련문제점"/>
- <Cell col="23" text="활동정보"/>
- <Cell col="24" text="기타-활동정보"/>
- <Cell col="25" text="투여경로"/>
- <Cell col="26" text="경구영양"/>
- <Cell col="27" text="경관영양"/>
- <Cell col="28" text="정맥영양"/>
- <Cell col="29" text="총섭취열량"/>
- <Cell col="30" text="총섭취단백질량"/>
- <Cell col="31" text="Ht"/>
- <Cell col="32" text="Wt"/>
- <Cell col="33" text="UBW"/>
- <Cell col="34" text="IBW"/>
- <Cell col="35" text="PIBW"/>
- <Cell col="36" text="ABW"/>
- <Cell col="37" text="Wt change(kg)"/>
- <Cell col="38" text="wt change(%)"/>
- <Cell col="39" text="wt change(개월)"/>
- <Cell col="40" text="alb"/>
- <Cell col="41" text="TLC"/>
- <Cell col="42" text="Hb"/>
- <Cell col="43" text="Hct"/>
- <Cell col="44" text="TRF"/>
- <Cell col="45" text="RBP"/>
- <Cell col="46" text="Na"/>
- <Cell col="47" text="K"/>
- <Cell col="48" text="CI"/>
- <Cell col="49" text="BUN"/>
- <Cell col="50" text="Cr"/>
- <Cell col="51" text="Chol"/>
- <Cell col="52" text="TG"/>
- <Cell col="53" text="Ca"/>
- <Cell col="54" text="P"/>
- <Cell col="55" text="Mg"/>
- <Cell col="56" text="N-Balance"/>
- <Cell col="57" text="영양상태판정"/>
- <Cell col="58" text="기초대사량"/>
- <Cell col="59" text="필요열량"/>
- <Cell col="60" text="단백질요구량"/>
- <Cell col="61" text="주입속도(초기)"/>
- <Cell col="62" text="주입속도(목표)"/>
- <Cell col="63" text="주입방법"/>
- <Cell col="64" text="관의위치"/>
- <Cell col="65" text="공급영양액"/>
- <Cell col="66" text="영양교육내용"/>
- <Cell col="67" text="영양사의견"/>
- <Cell col="68" text="basewt"/>
- <Cell col="69" text="의뢰번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:cnststat"/>
- <Cell col="2" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:epgubun"/>
- <Cell col="3" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:roomcd"/>
- <Cell col="4" style="align:left;padding:0 0 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:orddeptnm"/>
- <Cell col="5" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:pid"/>
- <Cell col="6" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:hngnm"/>
- <Cell col="7" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:sex"/>
- <Cell col="8" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:age"/>
- <Cell col="9" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:orddrnm"/>
- <Cell col="10" displaytype="expr:utlf_isNull(reqdd) ? 'normal' :'date'" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:reqdd"/>
- <Cell col="11" displaytype="expr:utlf_isNull(repldd) ? 'normal' :'date'" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:repldd"/>
- <Cell col="12" displaytype="expr:utlf_isNull(orddd) ? 'normal' :'date'" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:orddd"/>
- <Cell col="13" displaytype="expr:utlf_isNull(dschdd) ? 'normal' :'date'" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:dschdd"/>
- <Cell col="14" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:dschyn"/>
- <Cell col="15" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:hd"/>
- <Cell col="16" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:pod"/>
- <Cell col="17" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:diagnm" wordwrap="char"/>
- <Cell col="18" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:opdnm" wordwrap="char"/>
- <Cell col="19" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:dietnm" wordwrap="char"/>
- <Cell col="20" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:drugnm" wordwrap="char"/>
- <Cell col="21" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:nutrprob" wordwrap="char"/>
- <Cell col="22" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:nutrprobetc" wordwrap="char"/>
- <Cell col="23" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:actgrde" wordwrap="char"/>
- <Cell col="24" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:actgrdeetc" wordwrap="char"/>
- <Cell col="25" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:drugpath" wordwrap="char"/>
- <Cell col="26" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:etrlfd"/>
- <Cell col="27" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:tubfd"/>
- <Cell col="28" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:itvnfd"/>
- <Cell col="29" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:totintkcalr"/>
- <Cell col="30" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:totintkprot"/>
- <Cell col="31" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:ht"/>
- <Cell col="32" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:wt"/>
- <Cell col="33" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:ubw"/>
- <Cell col="34" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:ibw"/>
- <Cell col="35" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:pibw"/>
- <Cell col="36" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:abw"/>
- <Cell col="37" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:wtchngkg"/>
- <Cell col="38" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:wtchngperc"/>
- <Cell col="39" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:wtchngmm"/>
- <Cell col="40" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:alb"/>
- <Cell col="41" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:tlc"/>
- <Cell col="42" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:hb"/>
- <Cell col="43" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:hct"/>
- <Cell col="44" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:trf"/>
- <Cell col="45" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:rbp"/>
- <Cell col="46" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:na"/>
- <Cell col="47" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:k"/>
- <Cell col="48" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:cl"/>
- <Cell col="49" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:bun"/>
- <Cell col="50" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:cr"/>
- <Cell col="51" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:tg"/>
- <Cell col="52" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:chol"/>
- <Cell col="53" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:ca"/>
- <Cell col="54" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:p"/>
- <Cell col="55" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:mg"/>
- <Cell col="56" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:nbcalval"/>
- <Cell col="57" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:nutrjudg"/>
- <Cell col="58" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:basembolcalc"/>
- <Cell col="59" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:corrcalr" mask="#,###.#"/>
- <Cell col="60" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:protcalc" mask="#,###.##"/>
- <Cell col="61" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:infsinitspd" mask="#,###.##"/>
- <Cell col="62" style="align:right;padding:0 2 0 0;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:infsaftspd"/>
- <Cell col="63" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:infsmthd" wordwrap="char"/>
- <Cell col="64" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:tubepos" wordwrap="char"/>
- <Cell col="65" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:suplnutr" wordwrap="char"/>
- <Cell col="66" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:dietedurslt" wordwrap="char"/>
- <Cell col="67" style="align:left top;padding:4 2 0 2;background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:dieteroffr" wordwrap="char"/>
- <Cell col="68" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:basewt"/>
- <Cell col="69" displaytype="text" style="background:EXPR(dschyn=='Y'?'#ffe79d':'');background2:EXPR(dschyn=='Y'?'#ffe79d':'');" text="bind:formrecseq"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line2" class="line_1" position="absolute 0 94 1193 100" anchor="left top right"/>
- <Button id="button51" taborder="3" text="엑셀저장" onclick="group3_button51_onclick" class="btn7" position="absolute 1117 71 1193 93" anchor="top right"/>
- <Shape id="line00" class="line_1" position="absolute 0 93 1193 99" anchor="left top right"/>
- <Shape id="line01" class="line_1" position="absolute 0 92 1193 98" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_nstmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnststat" type="STRING"/>
- <Column id="epgubun" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="reqdd" type="STRING"/>
- <Column id="repldd" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="dschyn" type="STRING"/>
- <Column id="hd" type="STRING"/>
- <Column id="pod" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="opdnm" type="STRING"/>
- <Column id="dietnm" type="STRING"/>
- <Column id="drugnm" type="STRING"/>
- <Column id="nutrprob" type="STRING"/>
- <Column id="nutrprobetc" type="STRING"/>
- <Column id="actgrde" type="STRING"/>
- <Column id="actgrdeetc" type="STRING"/>
- <Column id="drugpath" type="STRING"/>
- <Column id="etrlfd" type="STRING"/>
- <Column id="tubfd" type="STRING"/>
- <Column id="itvnfd" type="STRING"/>
- <Column id="totintkcalr" type="STRING"/>
- <Column id="totintkprot" type="STRING"/>
- <Column id="ht" type="STRING"/>
- <Column id="wt" type="STRING"/>
- <Column id="ubw" type="STRING"/>
- <Column id="ibw" type="STRING"/>
- <Column id="pibw" type="STRING"/>
- <Column id="abw" type="STRING"/>
- <Column id="wtchngkg" type="STRING"/>
- <Column id="wtchngperc" type="STRING"/>
- <Column id="wtchngmm" type="STRING"/>
- <Column id="alb" type="STRING"/>
- <Column id="tlc" type="STRING"/>
- <Column id="hb" type="STRING"/>
- <Column id="hct" type="STRING"/>
- <Column id="trf" type="STRING"/>
- <Column id="rbp" type="STRING"/>
- <Column id="na" type="STRING"/>
- <Column id="k" type="STRING"/>
- <Column id="cl" type="STRING"/>
- <Column id="bun" type="STRING"/>
- <Column id="cr" type="STRING"/>
- <Column id="tg" type="STRING"/>
- <Column id="chol" type="STRING"/>
- <Column id="ca" type="STRING"/>
- <Column id="p" type="STRING"/>
- <Column id="mg" type="STRING"/>
- <Column id="nbcalval" type="STRING"/>
- <Column id="nutrjudg" type="STRING"/>
- <Column id="basembolcalc" type="STRING"/>
- <Column id="corrcalr" type="STRING"/>
- <Column id="protcalc" type="STRING"/>
- <Column id="infsinitspd" type="STRING"/>
- <Column id="infsaftspd" type="STRING"/>
- <Column id="infsmthd" type="STRING"/>
- <Column id="tubepos" type="STRING"/>
- <Column id="suplnutr" type="STRING"/>
- <Column id="dietedurslt" type="STRING"/>
- <Column id="dieteroffr" type="STRING"/>
- <Column id="basewt" type="STRING"/>
- <Column id="formrecseq" type="STRING"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING"/>
- <Column id="deptnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </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="srchdd1" type="STRING" size="256"/>
- <Column id="srchdd2" type="STRING" size="256"/>
- <Column id="reqdrugcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="deptflag" type="STRING" size="256"/>
- <Column id="dateflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchdd1"/>
- <Col id="srchdd2"/>
- <Col id="reqdrugcd"/>
- <Col id="pid"/>
- <Col id="orddeptcd"/>
- <Col id="wardcd"/>
- <Col id="deptflag"/>
- <Col id="dateflag">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_deptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.combo2" propid="value" datasetid="ds_send" columnid="dateflag"/>
- <BindItem id="item1" compid="grp_sea.ipt_srchdd1" propid="value" datasetid="ds_send" columnid="srchdd1"/>
- <BindItem id="item2" compid="grp_sea.ipt_srchdd2" propid="value" datasetid="ds_send" columnid="srchdd2"/>
- <BindItem id="item3" compid="grp_sea.combo1" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
- <BindItem id="item4" compid="grp_sea.combo10" propid="value" datasetid="ds_send" columnid="wardcd"/>
- <BindItem id="item5" compid="grp_sea.input1" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item6" compid="grp_sea.input5" propid="value" datasetid="ds_send" columnid="reqdrugcd"/>
- </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";
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SPADC62700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPADC62700_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send.setColumn(0, "srchdd1", utlf_getCurrentDate());
- ds_send.setColumn(0, "srchdd2", utlf_getCurrentDate());
-
- var oParam = {};
- oParam.id = "TRADC00101";
- oParam.service = "pharmacyconsultapp.ReqMngt";
- oParam.method = "reqGetDeptList";
- oParam.inds = "req=ds_deptinfo";
- oParam.outds = "ds_init_deptlist=dept ds_init_ward=ward";
- oParam.async = false;
- //oParam.callback = "cf_TRADC00101";
- tranf_submit(oParam);
-
- dsf_addDsItem(ds_init_deptlist, "deptcd", "deptnm", "", "", "above");
- dsf_addDsItem(ds_init_ward, "deptcd", "deptnm", "", "", "above");
-
- var getDeptcd = ds_init_deptlist.getColumn(0, "deptcd");
- var getWardcd = ds_init_deptlist.getColumn(0, "deptcd");
- if( getDeptcd == "-" ) ds_init_deptlist.setColumn(0, "deptcd", "");
- if( getWardcd == "-" ) ds_init_ward.setColumn(0, "deptcd", "");
- }
- /******************************************************************
- * Argument :
- * Description : 조회 Button Event
- ******************************************************************/
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- var getReqdrugcd = "";
- getReqdrugcd = ds_send.getColumn(0, "reqdrugcd");
- ds_send.setColumn(0, "reqdrugcd", getReqdrugcd); //2008-11-01 의뢰약품 대문자 처리
-
- dsf_setDefaultVal(ds_send, "dateflag:R");
- var oParam = {};
- oParam.id = "TRADC62701";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqGetNSTEnExcelDownList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_nstmngt=mainlist";
- oParam.async = false;
- //oParam.callback = "cf_TRADC62701";
- tranf_submit(oParam);
-
- fCnstResn();
-
- //그리드 특정 컬럼값을 비교하여 로우 백컬러 변경
- // grdf_setRowStyle(grd_nstmngt, "1", "Y", "dschyn", "equal");
- }
- //등록번호 조회 Enter
- function grp_sea_input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- grp_sea_btn_sea_onclick();
- }
- }
- //의뢰약품조회 Enter
- function grp_sea_input5_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- grp_sea_btn_sea_onclick();
- }
- }
- /******************************************************************
- * Argument :
- * Description : 조회 Button Event
- ******************************************************************/
- function group3_button51_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_grd_nstmngt.rowcount > 0 ){
- grdf_exportExcel(grd_nstmngt, "NST - EN 세부내용", "NST - EN 세부내용", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- //코드명으로 나열하기
- function fCnstResn() {
- var rowcount = ds_grd_nstmngt.rowcount;
- for ( var k = 0 ; k < rowcount; k++) {
- //영양관련문제점
- var nutrprob = utlf_transNullToEmpty(ds_grd_nstmngt.getColumn(k,"nutrprob"));
- var nutrprobetc = ds_grd_nstmngt.getColumn(k,"nutrprobetc");
- var nutrprob_temp = "";
- var nutrprobData = nutrprob.split(" ");
-
- if ( !utlf_isNull(nutrprob) ) {
- for(var i = 0; i < nutrprobData.length; i++) {
- if (nutrprobData[i] == "1") nutrprob_temp += "메스꺼움";
- else if (nutrprobData[i] == "2") nutrprob_temp += "식욕부진";
- else if (nutrprobData[i] == "3") nutrprob_temp += "구토";
- else if (nutrprobData[i] == "4") nutrprob_temp += "설사";
- else if (nutrprobData[i] == "5") nutrprob_temp += "변비";
- else if (nutrprobData[i] == "6") nutrprob_temp += "소화불량";
- else if (nutrprobData[i] == "7") nutrprob_temp += "고열";
- else if (nutrprobData[i] == "8") nutrprob_temp += "욕창";
- else if (nutrprobData[i] == "9") nutrprob_temp += "인공호흡기";
- else if (nutrprobData[i] == "10") nutrprob_temp += nutrprobetc ;
-
- if ( (i+1) < nutrprobData.length ) nutrprob_temp += ", ";
- }
-
- ds_grd_nstmngt.setColumn(k,"nutrprob", nutrprob_temp);
- }
- //활동정도
- var actgrde = utlf_transNullToEmpty(ds_grd_nstmngt.getColumn(k,"actgrde"));
- /// 쿼리가 잘못된듯 하다.. nutrprob는 중복으로 가져와 actgrde 와 같은값이 들어와 버리고 정작 actgrdeetc라는 컬럼은 있지도 않다.
- //var actgrdeetc = ds_grd_nstmngt.getColumn(k,"actgrdeetc");
- var actgrdeetc = ds_grd_nstmngt.getColumn(k,"nutrprobetc");
- var actgrde_temp = "";
- var actgrdeData = actgrde.split("|");
-
- if ( !utlf_isNull(actgrde) ) {
- for(var i = 0; i < actgrdeData.length; i++) {
- if (actgrdeData[i] == "1") actgrde_temp += "bed ridden";
- else if (actgrdeData[i] == "2") actgrde_temp += "wheel chair";
- else if (actgrdeData[i] == "3") actgrde_temp += "bed side PT";
- else if (actgrdeData[i] == "4") actgrde_temp += "PT";
- else if (actgrdeData[i] == "5") actgrde_temp += "light ambulation";
- else if (actgrdeData[i] == "6") actgrde_temp += actgrdeetc;
-
- if ( (i+1) < actgrdeData.length ) actgrde_temp += ", ";
- }
-
- ds_grd_nstmngt.setColumn(k,"actgrde", actgrde_temp );
- }
- //투여경로
- var drugpath = utlf_transNullToEmpty(ds_grd_nstmngt.getColumn(k,"drugpath"));
- var drugpath_temp = "";
- var drugpathData = drugpath.split(" ");
-
- if ( !utlf_isNull(drugpath) ) {
- for(var i = 0; i < drugpathData.length; i++) {
- if (drugpathData[i] == "1") drugpath_temp += "EN(Tube Feeding)";
- else if (drugpathData[i] == "2") drugpath_temp += "TPN(Central)";
- else if (drugpathData[i] == "3") drugpath_temp += "PPN(Peripheral)";
- else if (drugpathData[i] == "4") drugpath_temp += "EN + TPN";
- else if (drugpathData[i] == "5") drugpath_temp += "EN + PPN";
-
- if ( (i+1) < drugpathData.length ) drugpath_temp += ", ";
- }
-
- ds_grd_nstmngt.setColumn(k,"drugpath", drugpath_temp );
- }
- //영양상태판정
- var nutrjudg = utlf_transNullToEmpty(ds_grd_nstmngt.getColumn(k,"nutrjudg"));
- var nutrjudg_temp = "";
- var nutrjudgData = nutrjudg.split("|");
-
- if ( !utlf_isNull(nutrjudg) ) {
- for(var i = 0; i < nutrjudgData.length; i++) {
- if (nutrjudgData[i] == "1") nutrjudg_temp += "No malnutrition present ";
- else if (nutrjudgData[i] == "2") nutrjudg_temp += "Mild malnutrition";
- else if (nutrjudgData[i] == "3") nutrjudg_temp += "Moderate malnutrition";
- else if (nutrjudgData[i] == "4") nutrjudg_temp += "Severe Protein Energy malnutrition";
- else if (nutrjudgData[i] == "5") nutrjudg_temp += "Energy malnutrition";
- else if (nutrjudgData[i] == "6") nutrjudg_temp += "Protein malnutrition";
-
- if ( (i+1) < nutrjudgData.length ) nutrjudg_temp += ", ";
- }
-
- ds_grd_nstmngt.setColumn(k,"nutrjudg", nutrjudg_temp );
- }
- //기초대사량
- var basembolcalc;
- var wt = ds_grd_nstmngt.getColumn(k,"basewt");
- var ht = ds_grd_nstmngt.getColumn(k,"ht");
- var sex = ds_grd_nstmngt.getColumn(k,"sex");
- var age = ds_grd_nstmngt.getColumn(k,"age");
-
- if (sex == "M" ) {
- basembolcalc = ( 66.5 + (13.7 * wt) + (5 * ht) - (6.8 * age) ).toString().getRound( -2,"HALF_UP");
- }else{
- basembolcalc = ( 655 + (9.6 * wt) + (1.9 * ht) - (4.7 * age) ).toString().getRound( -2,"HALF_UP");
- }
-
- ds_grd_nstmngt.setColumn(k,"basembolcalc", basembolcalc );
- }
- }]]></Script>
- </Form>
- </FDL>
|