1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMANC00100" position="absolute 0 0 1201 809" titletext="영양검색결과" onload="SMANC00100_onload" onclose="SMANC00100_onclose">
- <Layouts>
- <Layout>
- <Tab id="swt_nutrsrchrslt" taborder="4" tabindex="0" position="absolute 0 27 1200 796" canchange="swt_nutrsrchrslt_canchange" onchanged="swt_nutrsrchrslt_onchanged" anchor="all">
- <Tabpages>
- <Tabpage id="case1" text="영양검색">
- <Layouts>
- <Layout>
- <Div id="grp" taborder="1" position="absolute 0 0 1200 35" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout width="1182" height="35">
- <Button id="btn_search1" taborder="6" text="조회" class="btn1" position="absolute 1132 8 1188 28" anchor="default" onclick="swt_nutrsrchrslt_case1_grp_btn_search1_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1114 7 1120 29" anchor="default"/>
- <Static id="caption2" text="기준일자 :" class="search_name" position="absolute 5 8 91 28" anchor="default"/>
- <Calendar id="ipt_basedd" taborder="0" class="input_essential" position="absolute 81 8 174 28" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
- <Button id="btn_beforedd" taborder="1" position="absolute 176 8 196 28" anchor="default" style="background:@gradation URL('theme://images/icon_arrowLeft_N.png') stretch center middle;" onclick="swt_nutrsrchrslt_case1_grp_btn_beforedd_onclick"/>
- <Button id="btn_nextdd" taborder="2" position="absolute 198 8 218 28" anchor="default" style="background:@gradation URL('theme://images/icon_arrowRight_N.png') stretch center middle;" onclick="swt_nutrsrchrslt_case1_grp_btn_nextdd_onclick"/>
- <Static id="caption9" text="진료과 :" class="search_name" position="absolute 658 8 731 28" anchor="default"/>
- <Combo id="cmb_orddept1" taborder="4" innerdataset="ds_init_orddept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 724 8 835 28" anchor="default"/>
- <Static id="caption14" text="병동 :" class="search_name" position="absolute 875 8 935 28" anchor="default"/>
- <Edit id="opt_ward" taborder="5" readonly="true" position="absolute 925 8 1095 28" anchor="default" oneditclick="swt_nutrsrchrslt_case1_grp_opt_ward_oneditclick"/>
- <Radio id="rdo_patflag1" taborder="7" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 314 8 429 28" anchor="default" index="-1" style="textpadding:0 3 0 3;" onitemchanged="swt_nutrsrchrslt_case1_grp_rdo_patflag1_onitemchanged" tabstop="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">재검색</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">신환</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption4" text="구분 :" class="search_name" position="absolute 262 8 310 28" anchor="default"/>
- <Static id="caption1" text="위험군 :" class="search_name" position="absolute 458 8 531 28" anchor="default"/>
- <Combo id="cmb_dngrflag1" taborder="3" innerdataset="@ds_init_dngrflag" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 522 8 615 28" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excel1" taborder="2" text="엑셀" class="btn7" position="absolute 1149 38 1200 58" onclick="swt_nutrsrchrslt_case1_btn_excel1_onclick" anchor="top right"/>
- <Button id="btn_nutrjudgbase" taborder="3" text="영양판정기준" class="btn2" position="absolute 1059 38 1145 58" onclick="swt_nutrsrchrslt_case1_btn_nutrjudgbase_onclick" anchor="top right"/>
- <Button id="btn_insbase" taborder="4" text="INS기준" class="btn2" position="absolute 987 38 1051 58" onclick="swt_nutrsrchrslt_case1_btn_insbase_onclick" anchor="top right" visible="false"/>
- <Shape id="line38" linetype="horizontal" class="line_10" position="absolute 0 59 1200 65" anchor="left top right"/>
- <Grid id="grd_nutrsrch" taborder="5" binddataset="ds_main_srchrslt" useinputpanel="false" position="absolute 0 64 1200 706" cellsizebandtype="allband" cellsizingtype="both" extendsizetype="both" autosizingtype="row" anchor="all" onheadclick="swt_nutrsrchrslt_case1_grd_nutrsrch_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="70"/>
- <Column size="33"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="190"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="89"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox" expr="0" taborder="undefined"/>
- <Cell col="2" text="h_신환구분"/>
- <Cell col="3" text="h_처방일자"/>
- <Cell col="4" text="h_생성번호"/>
- <Cell col="5" text="h_처방상태"/>
- <Cell col="6" text="h_입원일자"/>
- <Cell col="7" rowspan="2" text="회신여부" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="병동" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="병실" taborder="undefined"/>
- <Cell col="10" text="h_병동/병실"/>
- <Cell col="11" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="환자명" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="성별" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="나이" taborder="undefined"/>
- <Cell col="15" text="h_진단코드"/>
- <Cell col="16" rowspan="2" text="진단명" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="18" text="담당교수ID"/>
- <Cell col="19" rowspan="2" text="담당교수" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="식사명" taborder="undefined"/>
- <Cell col="21" text="h_키"/>
- <Cell col="22" text="h_몸무게"/>
- <Cell col="23" text="PIBW"/>
- <Cell col="24" text="Alb"/>
- <Cell col="25" text="TLC"/>
- <Cell col="26" text="소아 키"/>
- <Cell col="27" text="소아 체중"/>
- <Cell col="28" rowspan="2" text="식욕" taborder="undefined"/>
- <Cell col="29" rowspan="2" text="체중감소" taborder="undefined"/>
- <Cell col="30" rowspan="2" text="연하곤란" taborder="undefined"/>
- <Cell col="31" rowspan="2" text="식이처방" taborder="undefined"/>
- <Cell col="32" rowspan="2" text="검색결과" taborder="undefined"/>
- <Cell col="33" rowspan="2" text="이전결과" taborder="undefined"/>
- <Cell col="34" rowspan="2" text="이전결과판정일" wordwrap="char" taborder="undefined"/>
- <Cell col="35" text="TRF"/>
- <Cell col="36" rowspan="2" text="INS결과" taborder="undefined"/>
- <Cell row="1" col="2" text="h_신환구분"/>
- <Cell row="1" col="3" text="h_처방일자"/>
- <Cell row="1" col="4" text="h_생성번호"/>
- <Cell row="1" col="5" text="h_처방상태"/>
- <Cell row="1" col="6" text="h_입원일자"/>
- <Cell row="1" col="10" text="h_병동/병실"/>
- <Cell row="1" col="15" text="h_진단코드"/>
- <Cell row="1" col="18" text="담당교수ID"/>
- <Cell row="1" col="21" text="h_키"/>
- <Cell row="1" col="22" text="h_몸무게"/>
- <Cell row="1" col="23" text="(%)"/>
- <Cell row="1" col="24" text="(g/dl)"/>
- <Cell row="1" col="25" text="(cell/㎣)"/>
- <Cell row="1" col="26" text="(%)"/>
- <Cell row="1" col="27" text="(%)"/>
- <Cell row="1" col="35" text="(mg/dl)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" style="align:center middle;" text="bind:check" expr="expr:check == 'Y' || check == '1' ? '1' : '0'"/>
- <Cell col="2" text="bind:h_patflag"/>
- <Cell col="3" text="bind:h_prcpdd"/>
- <Cell col="4" text="bind:h_cretno"/>
- <Cell col="5" text="bind:h_prcpgenrflag"/>
- <Cell col="6" text="bind:h_orddd"/>
- <Cell col="7" text="bind:replyn"/>
- <Cell col="8" displaytype="combo" style="padding:1 2 1 2;" text="bind:ward" combodataset="ds_init_ward" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="9" text="bind:room"/>
- <Cell col="10" text="bind:h_wardroom"/>
- <Cell col="11" text="bind:pid"/>
- <Cell col="12" text="bind:hngnm"/>
- <Cell col="13" text="bind:sex"/>
- <Cell col="14" text="bind:age"/>
- <Cell col="15" text="bind:h_diagcd"/>
- <Cell col="16" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="17" displaytype="combo" style="padding:1 2 1 2;" text="bind:orddept" combodataset="ds_init_orddept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="18" text="bind:orddrid"/>
- <Cell col="19" text="bind:atdoct"/>
- <Cell col="20" style="align:left top;padding:5 2 1 2;" text="bind:dietnm" wordwrap="word"/>
- <Cell col="21" text="bind:h_ht"/>
- <Cell col="22" text="bind:h_wt"/>
- <Cell col="23" displaytype="number" text="bind:pibw"/>
- <Cell col="24" displaytype="number" text="bind:alb"/>
- <Cell col="25" displaytype="number" text="bind:tlc" maskchar=" "/>
- <Cell col="26" style="align:right middle;" text="bind:childhtrate"/>
- <Cell col="27" style="align:right middle;" text="bind:childwtrate"/>
- <Cell col="28" displaytype="combo" edittype="combo" style="align:center middle;padding:1 2 1 2;" text="bind:apptchngyn" combodataset="ds_init_apptchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="29" displaytype="combo" edittype="combo" style="align:center middle;padding:1 2 1 2;" text="bind:bdwtchngyn" combodataset="ds_init_bdwtchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="30" displaytype="combo" edittype="combo" style="align:center middle;padding:1 2 1 2;" text="bind:symp" combodataset="ds_init_symp" combocodecol="value" combodatacol="label"/>
- <Cell col="31" style="align:center middle;" text="bind:dietcnt"/>
- <Cell col="32" displaytype="combo" edittype="combo" style="align:center;padding:1 2 1 2;" text="bind:srchrslt" combodataset="ds_init_dngrflag" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="10"/>
- <Cell col="33" displaytype="combo" style="align:center;padding:1 2 1 2;" text="bind:bfrslt" combodataset="ds_init_dngrflag" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="34" displaytype="date" text="bind:bfrsltdd" calendardisplaynulltype="none"/>
- <Cell col="35" text="bind:trf"/>
- <Cell col="36" text="bind:insrslt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line4" linetype="horizontal" class="line_2" position="absolute 0 705 1196 711" anchor="left right bottom"/>
- <Edit id="opt_srchrslt1" taborder="6" readonly="true" position="absolute 423 709 453 732" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;" anchor="left bottom"/>
- <Edit id="opt_srchrslt2" taborder="7" readonly="true" position="absolute 593 709 623 732" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;" anchor="left bottom"/>
- <Edit id="opt_srchrslt3" taborder="8" readonly="true" position="absolute 764 709 794 732" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;" anchor="left bottom"/>
- <Static id="caption7" text="검색결과 (전체/성인/소아)" class="cell_1" position="absolute 168 709 342 732" anchor="left bottom"/>
- <Static id="caption8" text="저위험도" class="cell_1" position="absolute 526 709 591 732" anchor="left bottom"/>
- <Static id="caption10" text="양호" class="cell_1" position="absolute 356 709 421 732" anchor="left bottom"/>
- <Static id="caption11" text="중위험도" class="cell_1" position="absolute 697 709 762 732" anchor="left bottom"/>
- <Static id="caption12" text="고위험도" class="cell_1" position="absolute 867 709 932 732" anchor="left bottom"/>
- <Edit id="opt_srchrslt4" taborder="9" readonly="true" position="absolute 934 709 964 732" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;" anchor="left bottom"/>
- <Edit id="opt_srchrsltsum1" taborder="10" readonly="true" position="absolute 1106 709 1136 732" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;" anchor="left bottom"/>
- <Static id="caption3" text="계" class="cell_1" position="absolute 1039 709 1104 732" anchor="left bottom"/>
- <Shape id="line5" linetype="horizontal" class="line_3" position="absolute 0 731 1200 737" anchor="left right bottom"/>
- <Edit id="opt_srchrslt00" taborder="12" readonly="true" position="absolute 455 709 485 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt06" taborder="13" readonly="true" position="absolute 487 709 517 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt07" taborder="14" readonly="true" position="absolute 625 709 655 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt08" taborder="15" readonly="true" position="absolute 657 709 687 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt09" taborder="16" readonly="true" position="absolute 796 709 826 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt10" taborder="17" readonly="true" position="absolute 828 709 858 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt11" taborder="18" readonly="true" position="absolute 966 709 996 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt12" taborder="19" readonly="true" position="absolute 998 709 1028 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrsltsum00" taborder="24" readonly="true" position="absolute 1138 709 1168 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrsltsum02" taborder="25" readonly="true" position="absolute 1170 709 1200 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="영양검색결과조회">
- <Layouts>
- <Layout width="1196" height="700">
- <Div id="grp" taborder="1" position="absolute 0 0 1200 35" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1182" height="35">
- <Button id="btn_search2" taborder="3" text="조회" class="btn1" position="absolute 1130 8 1186 28" anchor="default" onclick="swt_nutrsrchrslt_case2_grp_btn_search2_onclick"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1115 6 1121 28" anchor="default"/>
- <Static id="caption13" text="검색일자 :" class="search_name" position="absolute 5 8 91 28" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="0" class="input_essential" position="absolute 82 8 175 28" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption16" text="병동 :" class="search_name" position="absolute 881 8 932 28" anchor="default"/>
- <Combo id="cmb_ward2" taborder="2" innerdataset="@ds_init_ward" codecolumn="deptcd" datacolumn="depthngnm" class="combo_essential" position="absolute 935 8 1103 28" anchor="default"/>
- <Radio id="rdo_patflag2" taborder="4" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 356 8 516 28" anchor="default" index="-1" style="textpadding:0 3 0 3;" tabstop="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">H</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">재검색</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">신환</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption17" text="구분 :" class="search_name" position="absolute 303 8 355 28" anchor="default"/>
- <Static id="caption18" text="~" class="search_no_b" position="absolute 179 8 191 28" anchor="default"/>
- <Calendar id="ipt_todd" taborder="1" class="input_essential" position="absolute 193 8 286 28" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd"/>
- <Static id="caption19" text="위험군 :" class="search_name" position="absolute 518 8 579 28" anchor="default"/>
- <cp_checkboxList id="checkbox1" taborder="5" scrollbars="none" position="absolute 587 8 848 28" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default" tabstop="false"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excel2" taborder="2" text="엑셀" class="btn7" position="absolute 1149 38 1200 58" onclick="swt_nutrsrchrslt_case2_btn_excel2_onclick" anchor="top right"/>
- <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 59 1200 65" anchor="left top right"/>
- <Grid id="grd_pastnutrsrch" taborder="3" binddataset="ds_main_pastsrchrslt" useinputpanel="false" position="absolute 0 65 1200 706" oncelldblclick="swt_nutrsrchrslt_case2_grd_pastnutrsrch_oncelldblclick" autoenter="select" cellsizebandtype="allband" cellsizingtype="both" autosizingtype="row" extendsizetype="row" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="55"/>
- <Column size="86"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="83"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="32"/>
- <Column size="50"/>
- <Column size="190"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="170"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="54"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="86"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="회신여부" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="검색일자" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="검색결과" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="이전결과" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="신환구분" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="입원일자" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="병동" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="병실" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="환자명" taborder="undefined"/>
- <Cell col="11" rowspan="2" text="성별" taborder="undefined"/>
- <Cell col="12" rowspan="2" text="나이" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="진단명" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="진료과" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="담당교수" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="담당의" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="식사명" taborder="undefined"/>
- <Cell col="18" text="PIBW"/>
- <Cell col="19" text="Alb"/>
- <Cell col="20" text="TLC"/>
- <Cell col="21" text="소아키"/>
- <Cell col="22" text="소아체중"/>
- <Cell col="23" rowspan="2" text="식욕" taborder="undefined"/>
- <Cell col="24" rowspan="2" text="체중감소" taborder="undefined"/>
- <Cell col="25" rowspan="2" text="연하곤란" taborder="undefined"/>
- <Cell col="26" rowspan="2" text="식이처방" taborder="undefined"/>
- <Cell col="27" rowspan="2" text="이전결과판정일" wordwrap="char" taborder="undefined"/>
- <Cell col="28" text="TRF"/>
- <Cell col="29" rowspan="2" text="INS결과" taborder="undefined"/>
- <Cell col="30" rowspan="2" text="영양사" taborder="undefined"/>
- <Cell col="31" rowspan="2" text="NST" taborder="undefined"/>
- <Cell col="32" rowspan="2" text="비고" taborder="undefined"/>
- <Cell row="1" col="18" text="(%)"/>
- <Cell row="1" col="19" text="(g/dl)"/>
- <Cell row="1" col="20" text="(cell/㎣)"/>
- <Cell row="1" col="21" text="(%)"/>
- <Cell row="1" col="22" text="(%)"/>
- <Cell row="1" col="28" text="(mg/dl)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:replyn" wordwrap="char"/>
- <Cell col="2" displaytype="date" style="align:center middle;" text="bind:srchdd" wordwrap="char" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="3" displaytype="combo" style="align:center;" text="bind:srchrslt" combodataset="ds_init_dngrflag" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" displaytype="combo" style="align:center;" text="bind:bfrslt" combodataset="ds_init_dngrflag" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="5" displaytype="combo" edittype="none" style="align:center middle;" text="bind:patflag" wordwrap="char" combodataset="ds_init_patflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="6" displaytype="date" style="align:center middle;" text="bind:orddd" wordwrap="char" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="7" displaytype="combo" edittype="none" style="align:center middle;" text="bind:ward" wordwrap="char" combodataset="ds_init_ward" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="8" style="align:center middle;" text="bind:room" wordwrap="char"/>
- <Cell col="9" style="align:center middle;" text="bind:pid" wordwrap="char"/>
- <Cell col="10" style="align:center middle;" text="bind:hngnm" wordwrap="char"/>
- <Cell col="11" style="align:center middle;" text="bind:sex" wordwrap="char"/>
- <Cell col="12" style="align:center middle;" text="bind:age" wordwrap="char"/>
- <Cell col="13" style="align:left middle;" text="bind:diagnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="14" displaytype="combo" edittype="none" style="align:center middle;" text="bind:orddept" wordwrap="char" combodataset="ds_init_orddept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="15" style="align:center middle;" text="bind:orddrnm" wordwrap="char"/>
- <Cell col="16" style="align:center middle;" text="bind:atdoct" wordwrap="char"/>
- <Cell col="17" style="align:left middle;" text="bind:dietnm" wordwrap="char"/>
- <Cell col="18" displaytype="number" style="align:center middle;" text="bind:pibw" wordwrap="none"/>
- <Cell col="19" displaytype="number" style="align:center middle;" text="bind:alb" wordwrap="none"/>
- <Cell col="20" displaytype="number" style="align:center middle;" text="bind:tlc" wordwrap="none"/>
- <Cell col="21" displaytype="number" style="align:center middle;" text="bind:childhtrate"/>
- <Cell col="22" displaytype="number" style="align:center middle;" text="bind:childwtrate"/>
- <Cell col="23" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:apptchngyn" wordwrap="char" combodataset="ds_init_apptchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="24" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:bdwtchngyn" wordwrap="char" combodataset="ds_init_bdwtchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="25" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:symp" wordwrap="char" combodataset="ds_init_symp" combocodecol="value" combodatacol="label"/>
- <Cell col="26" style="align:center middle;" text="bind:dietcnt" wordwrap="char"/>
- <Cell col="27" displaytype="date" style="align:center middle;" text="bind:bfrsltdd" wordwrap="char" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="28" style="align:center middle;" text="bind:trf" wordwrap="char"/>
- <Cell col="29" style="align:center middle;" text="bind:insrslt" wordwrap="char"/>
- <Cell col="30" style="align:center middle;" text="bind:srchrgstnm"/>
- <Cell col="31" text="bind:nstyn"/>
- <Cell col="32" displaytype="text" edittype="text" text="bind:rem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line3" linetype="horizontal" class="line_2" position="absolute 0 705 1200 711" anchor="left right bottom"/>
- <Shape id="line6" linetype="horizontal" class="line_3" position="absolute 0 731 1200 737" anchor="left right bottom"/>
- <Static id="caption7" text="검색결과 (전체/성인/소아)" class="cell_1" position="absolute 168 709 342 732" anchor="left bottom"/>
- <Static id="caption10" text="양호" class="cell_1" position="absolute 356 709 421 732" anchor="left bottom"/>
- <Edit id="opt_srchrslt1" taborder="4" readonly="true" position="absolute 423 709 453 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt00" taborder="5" readonly="true" position="absolute 455 709 485 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt06" taborder="6" readonly="true" position="absolute 487 709 517 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Static id="caption8" text="저위험도" class="cell_1" position="absolute 526 709 591 732" anchor="left bottom"/>
- <Edit id="opt_srchrslt2" taborder="7" readonly="true" position="absolute 593 709 623 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt07" taborder="8" readonly="true" position="absolute 625 709 655 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt08" taborder="9" readonly="true" position="absolute 657 709 687 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Static id="caption11" text="중위험도" class="cell_1" position="absolute 697 709 762 732" anchor="left bottom"/>
- <Edit id="opt_srchrslt3" taborder="10" readonly="true" position="absolute 764 709 794 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt09" taborder="11" readonly="true" position="absolute 796 709 826 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt10" taborder="12" readonly="true" position="absolute 828 709 858 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Static id="caption12" text="고위험도" class="cell_1" position="absolute 867 709 932 732" anchor="left bottom"/>
- <Edit id="opt_srchrslt4" taborder="13" readonly="true" position="absolute 934 709 964 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt11" taborder="14" readonly="true" position="absolute 966 709 996 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrslt12" taborder="15" readonly="true" position="absolute 998 709 1028 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Static id="caption3" text="계" class="cell_1" position="absolute 1039 709 1104 732" anchor="left bottom"/>
- <Edit id="opt_srchrsltsum1" taborder="19" readonly="true" position="absolute 1106 709 1136 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrsltsum00" taborder="20" readonly="true" position="absolute 1138 709 1168 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- <Edit id="opt_srchrsltsum02" taborder="21" readonly="true" position="absolute 1170 709 1200 732" anchor="left bottom" style="caretcolor:black;background:URL('theme://images\bg_edit_D.png') stretch 5,5;color:black;align:center middle;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case3" text="영양검색통계">
- <Layouts>
- <Layout>
- <Div id="grp" taborder="1" position="absolute 0 0 1200 36" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1182" height="35">
- <Button id="btn_search3" taborder="5" text="조회" class="btn1" position="absolute 1131 8 1187 28" anchor="default" onclick="swt_nutrsrchrslt_case3_grp_btn_search3_onclick"/>
- <Shape id="line7" linetype="vertical" class="line_4" position="absolute 1115 7 1121 29" anchor="default"/>
- <Static id="caption26" text="검색일자 :" class="search_name" position="absolute 5 8 91 31" anchor="default"/>
- <Calendar id="ipt_fromdd3" taborder="0" class="input_essential" position="absolute 81 8 174 28" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption27" text="진료과 :" class="search_name" position="absolute 716 8 789 28" anchor="default"/>
- <Combo id="cmb_orddept3" taborder="3" innerdataset="@ds_init_orddept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 791 8 886 28" anchor="default"/>
- <Static id="caption28" text="병동 :" class="search_name" position="absolute 910 8 970 28" anchor="default"/>
- <Combo id="cmb_ward3" taborder="4" innerdataset="@ds_init_ward" codecolumn="deptcd" datacolumn="depthngnm" class="combo_essential" position="absolute 970 8 1103 28" anchor="default"/>
- <Radio id="rdo_patflag3" taborder="6" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 364 8 524 28" index="-1" style="textpadding:0 3 0 3;" anchor="default" tabstop="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">H</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">재검색</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">신환</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption29" text="구분 :" class="search_name" position="absolute 311 8 363 28" anchor="default"/>
- <Static id="caption30" text="~" class="search_no_b" position="absolute 177 8 189 28" anchor="default"/>
- <Calendar id="ipt_todd3" taborder="1" class="input_essential" position="absolute 189 8 282 28" anchor="default" dateformat="yyyy-MM-dd"/>
- <Static id="caption31" text="위험군 :" class="search_name" position="absolute 542 8 615 28" anchor="default"/>
- <Combo id="cmb_dngrflag3" taborder="2" innerdataset="@ds_init_dngrflag" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 615 8 690 28" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excel3" taborder="2" text="엑셀" class="btn7" position="absolute 1149 39 1200 59" onclick="swt_nutrsrchrslt_case3_btn_excel3_onclick" anchor="top right"/>
- <Shape id="line8" linetype="horizontal" class="line_10" position="absolute 0 60 1200 66" anchor="left top right"/>
- <Grid id="grd_nutrsrchstats" taborder="3" binddataset="ds_main_srchstats" useinputpanel="false" position="absolute 0 66 1200 732" cellsizebandtype="allband" cellsizingtype="both" anchor="all" autofittype="col" summarytype="top">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="67"/>
- <Column size="72"/>
- <Column size="88"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="76"/>
- <Column size="71"/>
- <Column size="77"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="검색일자" taborder="undefined"/>
- <Cell col="2" colspan="5" text="신환" taborder="undefined"/>
- <Cell col="7" colspan="5" text="재검색" taborder="undefined"/>
- <Cell row="1" col="2" text="양호"/>
- <Cell row="1" col="3" text="저위험도"/>
- <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="저위험도"/>
- <Cell row="1" col="9" text="중위험도"/>
- <Cell row="1" col="10" text="고위험도"/>
- <Cell row="1" col="11" text="합계"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="date" edittype="none" text="bind:srchdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="2" text="bind:good1"/>
- <Cell col="3" text="bind:low1"/>
- <Cell col="4" text="bind:mid1"/>
- <Cell col="5" text="bind:high1"/>
- <Cell col="6" text="bind:total1"/>
- <Cell col="7" text="bind:good2"/>
- <Cell col="8" text="bind:low2"/>
- <Cell col="9" text="bind:mid2"/>
- <Cell col="10" text="bind:high2"/>
- <Cell col="11" text="bind:total2"/>
- </Band>
- <Band id="summary">
- <Cell expr="expr:ds_main_srchstats.rowcount+1"/>
- <Cell col="1" style="font:arial,9,bold;" text="합 계"/>
- <Cell col="2" style="font:arial,9,bold;" expr="expr:getSum('good1')"/>
- <Cell col="3" style="font:arial,9,bold;" expr="expr:getSum('low1')"/>
- <Cell col="4" style="font:arial,9,bold;" expr="expr:getSum('mid1')"/>
- <Cell col="5" style="font:arial,9,bold;" expr="expr:getSum('high1')"/>
- <Cell col="6" style="font:arial,9,bold;" expr="expr:getSum('total1')"/>
- <Cell col="7" style="font:arial,9,bold;" expr="expr:getSum('good2')"/>
- <Cell col="8" style="font:arial,9,bold;" expr="expr:getSum('low2')"/>
- <Cell col="9" style="font:arial,9,bold;" expr="expr:getSum('mid2')"/>
- <Cell col="10" style="font:arial,9,bold;" expr="expr:getSum('high2')"/>
- <Cell col="11" style="font:arial,9,bold;" expr="expr:getSum('total2')"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line6" class="line_3" position="absolute 0 731 1200 737" anchor="left right bottom"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="영양검색결과" class="tit_1" position="absolute 0 0 120 25"/>
- <Button id="btn_prnt" taborder="1" text="출력" class="btn6" visible="false" position="absolute 0 789 56 809" anchor="left bottom"/>
- <Button id="btn_reset" taborder="2" text="초기화" class="btn4" position="absolute 1074 789 1142 809" onclick="btn_reset_onclick" anchor="right bottom"/>
- <Button id="btn_save" taborder="3" text="저장" class="btn4" position="absolute 1144 789 1200 809" onclick="btn_save_onclick" anchor="right bottom"/>
- <cp_checkboxList id="chk_ward" titletext="CheckBox List" taborder="5" text="cp_checkboxList00" scrollbars="none" position="absolute 926 83 1121 618" style="background:white;font:Dotum,8;shadow:outer 3,3 3 gray;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_dngrflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_srchrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_srchrslt_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="h_patflag" type="STRING"/>
- <Column id="h_prcpdd" type="STRING"/>
- <Column id="h_cretno" type="STRING"/>
- <Column id="h_prcpgenrflag" type="STRING"/>
- <Column id="h_orddd" type="STRING"/>
- <Column id="replyn" type="STRING"/>
- <Column id="indd" type="STRING" size="256" sumtext="실제입원일자"/>
- <Column id="ward" type="STRING"/>
- <Column id="room" type="STRING"/>
- <Column id="h_wardroom" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="h_diagcd" type="STRING"/>
- <Column id="diagnm" type="STRING"/>
- <Column id="orddept" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="atdoct" type="STRING"/>
- <Column id="dietnm" type="STRING"/>
- <Column id="h_ht" type="STRING"/>
- <Column id="h_wt" type="STRING"/>
- <Column id="pibw" type="STRING"/>
- <Column id="alb" type="STRING"/>
- <Column id="tlc" type="STRING"/>
- <Column id="childhtrate" type="STRING"/>
- <Column id="childwtrate" type="STRING"/>
- <Column id="apptchngyn" type="STRING"/>
- <Column id="bdwtchngyn" type="STRING"/>
- <Column id="symp" type="STRING"/>
- <Column id="dietcnt" type="STRING"/>
- <Column id="srchrslt" type="STRING"/>
- <Column id="bfrslt" type="STRING"/>
- <Column id="bfrsltdd" type="STRING"/>
- <Column id="trf" type="STRING"/>
- <Column id="insrslt" type="STRING"/>
- <Column id="nutrmngtkind" type="STRING" size="256" sumtext="영양관리유형"/>
- <Column id="execdd" type="STRING" size="256" sumtext="수행일자"/>
- <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_pastsrchrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="I/O구분"/>
- <Column id="orddept" type="STRING" size="256" sumtext="진료과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="주치의ID"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="주치의명"/>
- <Column id="atdoct" type="STRING" size="256" sumtext="담당의"/>
- <Column id="dietnm" type="STRING" size="256" sumtext="식사명"/>
- <Column id="bfrslt" type="STRING" size="256" sumtext="이전결과"/>
- <Column id="bfrsltdd" type="STRING" size="256" sumtext="이전결과판정일"/>
- <Column id="srchdd" type="STRING" size="256" sumtext="검색일자"/>
- <Column id="patflag" type="STRING" size="256" sumtext="환자구분"/>
- <Column id="orddd" type="STRING" size="256" sumtext="실제 입원일자"/>
- <Column id="indd" type="STRING" size="256" sumtext="저장된 입원일자"/>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="room" type="STRING" size="256" sumtext="병실"/>
- <Column id="wardroom" type="STRING" size="256" sumtext="병동/병실"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="diagnm" 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="srchrslt" type="STRING" size="256" sumtext="검색결과"/>
- <Column id="trf" type="BIGDECIMAL" size="256" sumtext="TRF"/>
- <Column id="insrslt" type="STRING" size="256" sumtext="INS결과"/>
- <Column id="rem" type="STRING" size="256" sumtext="비고"/>
- <Column id="srchrgstnm" type="STRING" size="256" sumtext="비고"/>
- <Column id="nstyn" type="STRING" size="256" sumtext="NST여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_srchstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdd" type="STRING" size="256" sumtext="검색일자"/>
- <Column id="good1" type="STRING" size="256" sumtext="신환-양호"/>
- <Column id="low1" type="STRING" size="256" sumtext="신환-저위험도"/>
- <Column id="mid1" type="STRING" size="256" sumtext="신환-중위험도"/>
- <Column id="high1" type="STRING" size="256" sumtext="신환-고위험도"/>
- <Column id="total1" type="STRING" size="256" sumtext="신환-합계"/>
- <Column id="good2" type="STRING" size="256" sumtext="재검색-양호"/>
- <Column id="low2" type="STRING" size="256" sumtext="재검색-저위험도"/>
- <Column id="mid2" type="STRING" size="256" sumtext="재검색-중위험도"/>
- <Column id="high2" type="STRING" size="256" sumtext="재검색-고위험도"/>
- <Column id="total2" type="STRING" size="256" sumtext="재검색-합계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_searchitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basedd" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="dngrflag" type="STRING" size="256"/>
- <Column id="optward" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="basedd"/>
- <Col id="patflag"/>
- <Col id="orddept"/>
- <Col id="ward"/>
- <Col id="dngrflag"/>
- <Col id="optward"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_pastsearchitem" 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="patflag" type="STRING" size="256"/>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="dngrflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="patflag"/>
- <Col id="ward"/>
- <Col id="dngrflag">4 3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_statssearchitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256" sumtext="조회시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="조회종료일자"/>
- <Column id="patflag" type="STRING" size="256" sumtext="환자구분"/>
- <Column id="ward" type="STRING" size="256" sumtext="병동"/>
- <Column id="orddept" type="STRING" size="256" sumtext="진료과"/>
- <Column id="dngrflag" type="STRING" size="256" sumtext="위험군"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_nutrjudgbase" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="valuitemcd" type="STRING" size="256" sumtext="항목코드"/>
- <Column id="dngrstatcd" type="STRING" size="256" sumtext="위험코드"/>
- <Column id="minval" type="BIGDECIMAL" size="256" sumtext="최저값"/>
- <Column id="maxval" type="BIGDECIMAL" size="256" sumtext="최고값"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_ckbox_dngrflag" 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">4</Col>
- </Row>
- <Row>
- <Col id="label">중위험군</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">저위험군</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">양호군</Col>
- <Col id="value">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_patflag" 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">I</Col>
- </Row>
- <Row>
- <Col id="label">신환</Col>
- <Col id="value">F</Col>
- </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_main_pastsrchrslt_count" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="goodcnt" type="STRING" size="256" sumtext="양호"/>
- <Column id="lowcnt" type="STRING" size="256" sumtext="저위험도"/>
- <Column id="midcnt" type="STRING" size="256" sumtext="중위험도"/>
- <Column id="highcnt" type="STRING" size="256" sumtext="고위험도"/>
- <Column id="noncnt" type="STRING" size="256" sumtext="판정불가"/>
- <Column id="totalcnt" type="STRING" size="256" sumtext="계"/>
- <Column id="adultgoodcnt" type="STRING" size="256" sumtext="양호"/>
- <Column id="adultlowcnt" type="STRING" size="256" sumtext="저위험도"/>
- <Column id="adultmidcnt" type="STRING" size="256" sumtext="중위험도"/>
- <Column id="adulthighcnt" type="STRING" size="256" sumtext="고위험도"/>
- <Column id="adultnoncnt" type="STRING" size="256" sumtext="판정불가"/>
- <Column id="adulttotalcnt" type="STRING" size="256" sumtext="계"/>
- <Column id="childgoodcnt" type="STRING" size="256" sumtext="양호"/>
- <Column id="childlowcnt" type="STRING" size="256" sumtext="저위험도"/>
- <Column id="childmidcnt" type="STRING" size="256" sumtext="중위험도"/>
- <Column id="childhighcnt" type="STRING" size="256" sumtext="고위험도"/>
- <Column id="childnoncnt" type="STRING" size="256" sumtext="판정불가"/>
- <Column id="childtotalcnt" type="STRING" size="256" sumtext="계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_srchrslt_count" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="good" type="STRING" size="256" sumtext="양호"/>
- <Column id="low" type="STRING" size="256" sumtext="저위험도"/>
- <Column id="mid" type="STRING" size="256" sumtext="중위험도"/>
- <Column id="high" type="STRING" size="256" sumtext="고위험도"/>
- <Column id="non" type="STRING" size="256" sumtext="판정불가"/>
- <Column id="total" type="STRING" size="256" sumtext="계"/>
- <Column id="adultgood" type="STRING" size="256" sumtext="양호"/>
- <Column id="adultlow" type="STRING" size="256" sumtext="저위험도"/>
- <Column id="adultmid" type="STRING" size="256" sumtext="중위험도"/>
- <Column id="adulthigh" type="STRING" size="256" sumtext="고위험도"/>
- <Column id="adultnon" type="STRING" size="256" sumtext="판정불가"/>
- <Column id="adulttotal" type="STRING" size="256" sumtext="계"/>
- <Column id="childgood" type="STRING" size="256" sumtext="양호"/>
- <Column id="childlow" type="STRING" size="256" sumtext="저위험도"/>
- <Column id="childmid" type="STRING" size="256" sumtext="중위험도"/>
- <Column id="childhigh" type="STRING" size="256" sumtext="고위험도"/>
- <Column id="childnon" type="STRING" size="256" sumtext="판정불가"/>
- <Column id="childtotal" type="STRING" size="256" sumtext="계"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="swt_nutrsrchrslt.case2.grp.ipt_fromdd" propid="value" datasetid="ds_send_pastsearchitem" columnid="fromdd"/>
- <BindItem id="item2" compid="swt_nutrsrchrslt.case2.grp.ipt_todd" propid="value" datasetid="ds_send_pastsearchitem" columnid="todd"/>
- <BindItem id="item3" compid="swt_nutrsrchrslt.case2.grp.rdo_patflag2" propid="value" datasetid="ds_send_pastsearchitem" columnid="patflag"/>
- <BindItem id="item5" compid="swt_nutrsrchrslt.case2.grp.cmb_ward2" propid="value" datasetid="ds_send_pastsearchitem" columnid="ward"/>
- <BindItem id="item11" compid="swt_nutrsrchrslt.case1.grp.ipt_basedd" propid="value" datasetid="ds_send_searchitem" columnid="basedd"/>
- <BindItem id="item12" compid="swt_nutrsrchrslt.case1.grp.rdo_patflag1" propid="value" datasetid="ds_send_searchitem" columnid="patflag"/>
- <BindItem id="item13" compid="swt_nutrsrchrslt.case1.grp.cmb_dngrflag1" propid="value" datasetid="ds_send_searchitem" columnid="dngrflag"/>
- <BindItem id="item14" compid="swt_nutrsrchrslt.case1.grp.cmb_orddept1" propid="value" datasetid="ds_send_searchitem" columnid="orddept"/>
- <BindItem id="item15" compid="swt_nutrsrchrslt.case1.grp.opt_ward" propid="value" datasetid="ds_send_searchitem" columnid="optward"/>
- <BindItem id="item16" compid="swt_nutrsrchrslt.case1.opt_srchrslt1" propid="value" datasetid="ds_main_srchrslt_count" columnid="good"/>
- <BindItem id="item17" compid="swt_nutrsrchrslt.case1.opt_srchrslt2" propid="value" datasetid="ds_main_srchrslt_count" columnid="low"/>
- <BindItem id="item18" compid="swt_nutrsrchrslt.case1.opt_srchrslt3" propid="value" datasetid="ds_main_srchrslt_count" columnid="mid"/>
- <BindItem id="item19" compid="swt_nutrsrchrslt.case1.opt_srchrslt4" propid="value" datasetid="ds_main_srchrslt_count" columnid="high"/>
- <BindItem id="item21" compid="swt_nutrsrchrslt.case1.opt_srchrsltsum1" propid="value" datasetid="ds_main_srchrslt_count" columnid="total"/>
- <BindItem id="item22" compid="swt_nutrsrchrslt.case3.grp.ipt_fromdd3" propid="value" datasetid="ds_send_statssearchitem" columnid="fromdd"/>
- <BindItem id="item23" compid="swt_nutrsrchrslt.case3.grp.ipt_todd3" propid="value" datasetid="ds_send_statssearchitem" columnid="todd"/>
- <BindItem id="item24" compid="swt_nutrsrchrslt.case3.grp.rdo_patflag3" propid="value" datasetid="ds_send_statssearchitem" columnid="patflag"/>
- <BindItem id="item25" compid="swt_nutrsrchrslt.case3.grp.cmb_dngrflag3" propid="value" datasetid="ds_send_statssearchitem" columnid="dngrflag"/>
- <BindItem id="item26" compid="swt_nutrsrchrslt.case3.grp.cmb_orddept3" propid="value" datasetid="ds_send_statssearchitem" columnid="orddept"/>
- <BindItem id="item27" compid="swt_nutrsrchrslt.case3.grp.cmb_ward3" propid="value" datasetid="ds_send_statssearchitem" columnid="ward"/>
- <BindItem id="item0" compid="swt_nutrsrchrslt.case1.opt_srchrslt00" propid="value" datasetid="ds_main_srchrslt_count" columnid="adultgood"/>
- <BindItem id="item28" compid="swt_nutrsrchrslt.case1.opt_srchrslt06" propid="value" datasetid="ds_main_srchrslt_count" columnid="childgood"/>
- <BindItem id="item29" compid="swt_nutrsrchrslt.case1.opt_srchrslt07" propid="value" datasetid="ds_main_srchrslt_count" columnid="adultlow"/>
- <BindItem id="item30" compid="swt_nutrsrchrslt.case1.opt_srchrslt08" propid="value" datasetid="ds_main_srchrslt_count" columnid="childlow"/>
- <BindItem id="item31" compid="swt_nutrsrchrslt.case1.opt_srchrslt09" propid="value" datasetid="ds_main_srchrslt_count" columnid="adultmid"/>
- <BindItem id="item32" compid="swt_nutrsrchrslt.case1.opt_srchrslt10" propid="value" datasetid="ds_main_srchrslt_count" columnid="childmid"/>
- <BindItem id="item33" compid="swt_nutrsrchrslt.case1.opt_srchrslt11" propid="value" datasetid="ds_main_srchrslt_count" columnid="adulthigh"/>
- <BindItem id="item34" compid="swt_nutrsrchrslt.case1.opt_srchrslt12" propid="value" datasetid="ds_main_srchrslt_count" columnid="childhigh"/>
- <BindItem id="item35" compid="swt_nutrsrchrslt.case1.opt_srchrsltsum00" propid="value" datasetid="ds_main_srchrslt_count" columnid="adulttotal"/>
- <BindItem id="item36" compid="swt_nutrsrchrslt.case1.opt_srchrsltsum02" propid="value" datasetid="ds_main_srchrslt_count" columnid="childtotal"/>
- <BindItem id="item4" compid="swt_nutrsrchrslt.case2.opt_srchrslt1" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="goodcnt"/>
- <BindItem id="item6" compid="swt_nutrsrchrslt.case2.opt_srchrslt00" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adultgoodcnt"/>
- <BindItem id="item7" compid="swt_nutrsrchrslt.case2.opt_srchrslt06" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childgoodcnt"/>
- <BindItem id="item8" compid="swt_nutrsrchrslt.case2.opt_srchrslt2" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="lowcnt"/>
- <BindItem id="item9" compid="swt_nutrsrchrslt.case2.opt_srchrslt07" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adultlowcnt"/>
- <BindItem id="item10" compid="swt_nutrsrchrslt.case2.opt_srchrslt08" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childlowcnt"/>
- <BindItem id="item39" compid="swt_nutrsrchrslt.case2.opt_srchrslt3" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="midcnt"/>
- <BindItem id="item40" compid="swt_nutrsrchrslt.case2.opt_srchrslt09" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adultmidcnt"/>
- <BindItem id="item41" compid="swt_nutrsrchrslt.case2.opt_srchrslt10" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childmidcnt"/>
- <BindItem id="item42" compid="swt_nutrsrchrslt.case2.opt_srchrslt4" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="highcnt"/>
- <BindItem id="item43" compid="swt_nutrsrchrslt.case2.opt_srchrslt11" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adulthighcnt"/>
- <BindItem id="item44" compid="swt_nutrsrchrslt.case2.opt_srchrslt12" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childhighcnt"/>
- <BindItem id="item48" compid="swt_nutrsrchrslt.case2.opt_srchrsltsum1" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="totalcnt"/>
- <BindItem id="item49" compid="swt_nutrsrchrslt.case2.opt_srchrsltsum00" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adulttotalcnt"/>
- <BindItem id="item50" compid="swt_nutrsrchrslt.case2.opt_srchrsltsum02" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childtotalcnt"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- include 'com_departmentcodexp::ZSD001.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : finit
- ****************************************************************************************/
- function finit(){
- // 화면open시 공통코드 setting
- appf_getCodeList([
- { dsNm: 'ds_init_dngrflag', cdGrpId: 'A0058' }
- ]);
-
- ds_init_dngrflag.insertRow(0);
- ds_init_dngrflag.setColumn(0, "cdid", "");
- ds_init_dngrflag.setColumn(0, "cdnm", "");
-
- appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'),
- 'orduseyn', 'D', 'depthngnm', '', '', '', '', 'ds_init_orddept', false, '');
-
- ds_init_orddept.insertRow(0);
- ds_init_orddept.setColumn(0, "deptcd", "");
- ds_init_orddept.setColumn(0, "depthngnm", "");
-
- //dsf_addDsItem(ds_init_orddept, 'deptcd', 'depthngnm', ' ', ' ', 'above');
-
- var today = utlf_getCurrentDate();
-
- // zsdfGetWardDeptList(sysf_getUserInfo('dutplceinstcd'), 'ds_init_ward', 'depthngnm', 'asc',
- // today.toDate().getDateFormat('YYYYMMDD'), 'after');
- appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'), 'orduseyn', 'W', 'depthngnm', 'asc',
- today.toDate().getDateFormat('YYYYMMDD'), '', 'asc', 'ds_init_ward', false, null);
-
- frmf_addComboItem('swt_nutrsrchrslt.case2.grp.cmb_ward2', ' ', ' ', 'above');
-
- ds_send_searchitem.setColumn(0, 'basedd', today);
- ds_send_searchitem.setColumn(0, 'patflag', 'F');
-
- ds_send_pastsearchitem.setColumn(0, 'fromdd', today);
- ds_send_pastsearchitem.setColumn(0, 'todd', today);
- ds_send_pastsearchitem.setColumn(0, 'patflag', 'F');
- ds_send_pastsearchitem.setColumn(0, 'dngrflag', '4 3');
-
- swt_nutrsrchrslt.case2.grp.checkbox1.setInitComp(
- "col=4,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'",
- ds_init_ckbox_dngrflag,
- 'value',
- 'label',
- 'fn_checkbox1');
-
- var data = String(ds_send_pastsearchitem.getColumn(0, 'dngrflag')).split(' ');
-
- swt_nutrsrchrslt.case2.grp.checkbox1.setData(data, null, false);
-
- ds_send_statssearchitem.setColumn(0, 'fromdd', today);
- ds_send_statssearchitem.setColumn(0, 'todd', today);
- ds_send_statssearchitem.setColumn(0, 'patflag', 'H');
-
- // 2011.05.02 타파트조회함으로 인해 주석처리
- if(sysf_getUserInfo('dutplcecd') != '3250100000'){
- chk_ward.visible = false;
- btn_save.enable = false;
-
- dsf_createDsRow('ds_req', [
- { col: 'temp', type: 'string', size: 256, val: '' }
- ], false);
-
- ds_init_nutrjudgbase.clearData();
- ds_init_nutrjudgbase.addRow();
-
- var oParam = {};
- oParam.id = "TRANC00102";
- oParam.service = "dietbaseapp.ClinicNutr";
- oParam.method = "reqGetNutrJudgBase";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_nutrjudgbase=ret";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00102";
- tranf_submit(oParam);
- }
- else{
- chk_ward.visible = false;
- swt_nutrsrchrslt.enableevent = false;
- swt_nutrsrchrslt.tabindex = 1;
- swt_nutrsrchrslt.enableevent = true;
-
- dsf_createDsRow('ds_req', [
- { col: 'temp', type: 'string', size: 256, val: '' }
- ], false);
-
- ds_init_nutrjudgbase.clearData();
- ds_init_nutrjudgbase.addRow();
-
- var oParam = {};
- oParam.id = "TRANC00102";
- oParam.service = "dietbaseapp.ClinicNutr";
- oParam.method = "reqGetNutrJudgBase";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_nutrjudgbase=ret";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00102";
- tranf_submit(oParam);
-
- swt_nutrsrchrslt.case1.grp.btn_search1.enable = frmf_checkAuth('R');
- swt_nutrsrchrslt.case2.grp.btn_search2.enable = frmf_checkAuth('R');
- swt_nutrsrchrslt.case3.grp.btn_search3.enable = frmf_checkAuth('R');
-
- btn_save.enable = frmf_checkAuth('X');
-
- swt_nutrsrchrslt.case1.btn_excel1.enable = frmf_checkAuth('P');
- swt_nutrsrchrslt.case2.btn_excel2.enable = frmf_checkAuth('P');
- swt_nutrsrchrslt.case3.btn_excel3.enable = frmf_checkAuth('P');
- }
-
-
-
- }
- function fn_checkbox1(){
- ds_send_pastsearchitem.setColumn(0, 'dngrflag',
- String(swt_nutrsrchrslt.case2.grp.checkbox1.getData())
- .replace(',', ' '));
- }
- function getMask(colnm, value){
- // if(colnm == 'pibw'){
- // var len = value.length;
- //
- // if(len > 0){
- // if(value.substr(len - 2, len - 1) == '.0'){
- // return '###';
- // }
- // else{
- // return '###.9';
- // }
- // }
- // }
- // else if(colnm == 'tlc'){
- // var len = value.length;
- //
- // if(len > 0){
- // if(value.substr(len - 2, len - 1) == '.0'){
- // return '###';
- // }
- // else{
- //
- // }
- // }
- // }
- var len = value.toString().getRound(-2, 'HALF_UP');
-
- if(len < 0){
- return '';
- }
- var result = (value.substr(len - 2, len - 1) == '.0') ? '###' : '###.9';
- return result;
- }
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SMANC00100_onload(obj:Form, e:LoadEventInfo){
- // 폼 초기화
- frmf_initForm(obj);
-
- grdf_setGridSort(swt_nutrsrchrslt.case1.grd_nutrsrch);
- grdf_setGridSort(swt_nutrsrchrslt.case2.grd_pastnutrsrch);
-
- ds_send_statssearchitem.setColumn(0, "dngrflag", "");
- ds_send_statssearchitem.setColumn(0, "orddept", "");
-
- finit();
- //ds_init_ward
- var sProp = "col=1,row="+ ds_init_ward.rowcount +",cellspacing=0,vcellspacing=0,itemWidth=160,itemHeight=0,overflow='visible'";
- chk_ward.setInitComp(sProp, ds_init_ward,"depthngnm","depthngnm", "fn_ward");
- //chk_ward.font = 'arial,9';
- chk_ward.components["chk_0"].visible = false;
-
- swt_nutrsrchrslt.enableevent = false;
- swt_nutrsrchrslt.tabindex = 1;
- swt_nutrsrchrslt.enableevent = true;
- }
- function fn_ward()
- {
- var getData = String(chk_ward.getData()).replace(","," ");
- ds_send_searchitem.setColumn(0, "optward", getData);
- }
- /****************************************************************************************
- * Argument :
- * Description : 탭 선택 시 변경 전 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_canchange(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(sysf_getUserInfo('dutplcecd') != '3250100000'){
- if(e.postindex == 1 || e.postindex == 2){
- return false;
- }
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 의 < 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case1_grp_btn_beforedd_onclick(obj:Button, e:ClickEventInfo){
- var dd = ds_send_searchitem.getColumn(0, 'basedd');
-
- dd = dd.toDate().getAddDate(-1, 'D');
- dd = dd.getDateFormat();
-
- ds_send_searchitem.setColumn(0, 'basedd', dd);
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 의 > 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case1_grp_btn_nextdd_onclick(obj:Button, e:ClickEventInfo){
- var dd = ds_send_searchitem.getColumn(0, 'basedd');
-
- dd = dd.toDate().getAddDate(1, 'D');
- dd = dd.getDateFormat();
-
- ds_send_searchitem.setColumn(0, 'basedd', dd);
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 의 구분 콤보 아이템 변경 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case1_grp_rdo_patflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo){
- ds_send_searchitem.setColumn(0, 'dngrflag', '');
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 의 병동 에디트 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case1_grp_opt_ward_oneditclick(obj:Edit, e:EditClickEventInfo){
- if(!chk_ward.visible){
- chk_ward.visible = true;
- }
- else if(chk_ward.visible){
- chk_ward.visible = false;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : case2 의 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case2_grp_btn_search2_onclick(obj:Button, e:ClickEventInfo){
- var fromdd = ds_send_pastsearchitem.getColumn(0, 'fromdd');
- var todd = ds_send_pastsearchitem.getColumn(0, 'todd');
-
- if(utlf_getDateInterval(fromdd, todd) < 0){
- sysf_messageBox('검색 시작일은 종료일보다 클 수', 'I004');
- return;
- }
- else{
- ds_main_pastsrchrslt.clearData();
- ds_main_pastsrchrslt.addRow();
-
- ds_main_pastsrchrslt_count.clearData();
- ds_main_pastsrchrslt_count.addRow();
-
- var oParam = {};
- oParam.id = "TRANC00106";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetPastNutrSrchRslt";
- oParam.inds = "req=ds_send_pastsearchitem";
- oParam.outds = "ds_main_pastsrchrslt=ret ds_main_pastsrchrslt_count=count";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00106";
- tranf_submit(oParam);
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : case2 의 엑셀 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case2_btn_excel2_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(swt_nutrsrchrslt.case2.grd_pastnutrsrch, 'PastNutrSrchRslt_list',
- 'grd_pastnutrsrch1', true, '', 'open', false);
- }
- /****************************************************************************************
- * Argument :
- * Description : case2 의 그리드 셀 더블 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case2_grd_pastnutrsrch_oncelldblclick(obj:Grid, e:GridClickEventInfo){
- // 'R'은 영양검색결과조회 화면임을 뜻하는 구분자임.
- dsf_createDsRow('ds_send_popup', [
- { col: 'flag', type: 'string', size: 256, val: 'R' },
- { col: 'flag2', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'patflag') },
- { col: 'pid', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'pid') },
- { col: 'hngnm', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'hngnm') },
- { col: 'orddrid', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'orddrid') },
- { col: 'reqpsn', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'atdoct') },
- { col: 'h_cretno', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'cretno') },
- { col: 'h_orddeptcd', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'orddept') },
- { col: 'h_prcpgenrflag', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'prcpgenrflag') },
- { col: 'h_orddd', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'orddd') },
- { col: 'srchdd', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'srchdd') },
- { col: 'apptchngyn', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'apptchngyn') },
- { col: 'bdwtchngyn', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'bdwtchngyn') },
- { col: 'symp', type: 'string', size: 256, val: ds_main_pastsrchrslt.getColumn(e.row, 'symp') }
- ], false);
-
- // 환자 상단정보 START
- var prcpgenrflag = ds_main_pastsrchrslt.getColumn(e.row, 'prcpgenrflag');
- var pid = ds_main_pastsrchrslt.getColumn(e.row, 'pid');
- var orddd = ds_main_pastsrchrslt.getColumn(e.row, 'orddd');
- var cretno = ds_main_pastsrchrslt.getColumn(e.row, 'cretno');
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var srchdd = ds_main_pastsrchrslt.getColumn(e.row, 'prcpdd');
-
- //if(prcpgenrflag != 'E'){
- // prcpgenrflag = 'I';
- //}
-
- var param = prcpgenrflag + '▦' + pid + '▦' + orddd + '▦' + cretno + '▦' + instcd + "▦" + srchdd;
-
- appf_initPatientInfo(param);
- //frmf_setParameter('condparam', param);
- //frmf_modal("SPMMO08900", "SPMMO08900", "", "", "", "", "", "", "", "", "", "", "M");
- // 환자 상단정보 END
-
- var objArg = new Object();
- objArg.arg_ds_main_receivedata = ds_send_popup;
-
- //frmf_modal("SMANC00300", "SMANC00300", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
- frmf_modal("SMANC00300", "SMANC00300", objArg, "", 1, 150, 150, "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 의 btn_search1 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case1_grp_btn_search1_onclick(obj:Button, e:ClickEventInfo){
- if(chk_ward.visible){
- chk_ward.visible = false;
- }
-
- // 영양검색 탭화면 전체선택 체크박스 초기화
-
- ds_main_srchrslt.clearData();
- ds_main_srchrslt.addRow();
-
- ds_main_srchrslt_count.clearData();
- ds_main_srchrslt_count.addRow();
-
- var oParam = {};
- oParam.id = "TRANC00101";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetNutrSrchRslt";
- oParam.inds = "req=ds_send_searchitem";
- oParam.outds = "ds_main_srchrslt=ret ds_main_srchrslt_count=count";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00101";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_srchrslt.getColumnInfo("check")) ){
- ds_main_srchrslt.addColumn("check", "string");
- }
-
- dsf_setDefaultVal(ds_main_srchrslt, "check:N");
-
- ds_main_srchrslt_count.enableevent = false;
- ds_main_srchrslt_count.updatecontrol = false;
-
- for( var i=0 ; i<ds_main_srchrslt_count.getColCount() ; i++ ){
- ds_main_srchrslt_count.updateColID(ds_main_srchrslt_count.getColID(i), ds_main_srchrslt_count.getColID(i).replace("cnt", ""));
- }
-
- ds_main_srchrslt_count.updatecontrol = true;
- ds_main_srchrslt_count.enableevent = true;
-
- // 신환(F) or 재검색(I) 구분값 setting 및 PIBW, TLC 반올림
- var patflag = ds_send_searchitem.getColumn(0, 'patflag');
- var pibw = '';
- var tlc = '';
-
- ds_main_srchrslt.addColumn("h_patflag", "string");
-
- for(var i = 0; i < swt_nutrsrchrslt.case1.grd_nutrsrch.rowcount; i++){
- ds_main_srchrslt.setColumn(i, 'h_patflag', patflag);
- pibw = ds_main_srchrslt.getColumn(i, 'pibw');
- tlc = ds_main_srchrslt.getColumn(i, 'tlc');
-
- if(utlf_transNullToEmpty(pibw) != ''){
- pibw = String(pibw).getRound(-2, 'HALF_UP');
- ds_main_srchrslt.setColumn(i, 'pibw', pibw);
-
- var ilen = pibw.length;
- if(ilen > 0){
- if(pibw.substr(ilen - 2, ilen - 1) == '.0'){
- //swt_nutrsrchrslt.case1.grd_nutrsrch.setCellProperty();
- }
- else{
- //swt_nutrsrchrslt.case1.grd_nutrsrch.setCellProperty();
- }
- }
- }
- if (!utlf_isNull(tlc)) {
- tlc = tlc.toString().getRound(-2, "HALF_UP");
- ds_main_srchrslt.setColumn(i, "tlc", tlc);
- var klen = tlc.length;
- if (klen > 0){
- if (tlc.substr(klen - 2, klen - 1) == ".0"){
- //grd_nutrsrch.cellFormat(irow, grd_nutrsrch.colRef("tlc")) = "####";
- }else{
- //grd_nutrsrch.cellFormat(irow, grd_nutrsrch.colRef("tlc")) = "####.9";
- }
- }
- }
- }
-
- grdf_setGridSort(swt_nutrsrchrslt.case1.grd_nutrsrch);
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 의 영양판정기준 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case1_btn_nutrjudgbase_onclick(obj:Button, e:ClickEventInfo){
- frmf_modal("SMANB00600", "SMANB00600", "", "", "", "", "", "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 의 엑셀 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case1_btn_excel1_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(swt_nutrsrchrslt.case2.grd_pastnutrsrch, 'NutrSrchRslt_list', 'grd_nutrsrch', true, '', 'open', false);
- }
- /****************************************************************************************
- * Argument :
- * Description : 초기화 버튼 클릭 이벤트
- ****************************************************************************************/
- function btn_reset_onclick(obj:Button, e:ClickEventInfo){
- finit();
- }
- /****************************************************************************************
- * Argument :
- * Description : 저장 버튼 클릭 이벤트
- ****************************************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo){
- // 영양검색 탭화면 일때
- if(swt_nutrsrchrslt.tabindex == 0){
- // 저장할 데이터를 한건이라도 check했는지 체크
- ds_main_srchrslt.enableevent = false;
- ds_main_srchrslt.filter('check == "Y"');
- ds_temp.copyData(ds_main_srchrslt, true);
- ds_main_srchrslt.filter(""); // 필터 초기화
- //ds_main_srchrslt.filter('check == "N"');
- ds_main_srchrslt.enableevent = true;
-
- if(ds_temp.rowcount < 1){
- sysf_messageBox('저장할 데이터를', 'C002');
- return;
- }
-
- if(sysf_messageBox('체크한 데이터를', 'Q002') != 6){
- return;
- }
-
- ds_temp.updateColID('check', 'm');
- ds_temp.updateColID('h_orddd', 'indd');
- ds_temp.updateColID('h_patflag', 'fnexamflag');
- ds_temp.updateColID('h_diagcd', 'diagcd');
- ds_temp.updateColID('ward', 'wardcd');
- ds_temp.updateColID('room', 'roomcd');
-
- var oParam = {};
- oParam.id = "TXANC00101";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqExeNutrSrchRslt";
- oParam.inds = "req=ds_temp";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXANC00101") > -1){
- swt_nutrsrchrslt.case1.grp.btn_search1.click();
- }
- }
- else if(swt_nutrsrchrslt.tabindex == 1){
- var updated = grdf_getGridUpdateData(swt_nutrsrchrslt.case2.grd_pastnutrsrch, 'all');
-
- if(utlf_isNull(update)){
- sysf_messageBox('입력 또는 수정한 데이터가', 'I004');
- return;
- }
-
- if(sysf_messageBox('', 'Q002') == 6){
- ds_temp.copyData(updated, true);
-
- ds_temp.updateColID('patflag', 'fnexamflag');
-
- var oParam = {};
- oParam.id = "TXANC00102";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqExePastNutrSrchRslt";
- oParam.inds = "req=ds_temp";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXANC00102") > -1){
- swt_nutrsrchrslt.case2.grp.btn_search2.click();
- }
- }
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : case3 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case3_grp_btn_search3_onclick(obj:Button, e:ClickEventInfo){
- var fromdd = ds_send_statssearchitem.getColumn(0, 'fromdd');
- var todd = ds_send_statssearchitem.getColumn(0, 'todd');
-
- if(utlf_getDateInterval(fromdd, todd) < 0){
- sysf_messageBox('검색 시작일은 종료일보다 클 수', 'I004');
- return
- }
-
- ds_main_srchstats.clearData();
- ds_main_srchstats.addRow();
-
- var oParam = {};
- oParam.id = "TRANC00107";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetNutrSrchRsltStats";
- oParam.inds = "req=ds_send_statssearchitem";
- oParam.outds = "ds_main_srchstats=ret";
- oParam.async = false;
- oParam.callback = "callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRANC00107") > -1){
- // 조회후 그리드 하단에 합계 구하기
- // TODO
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : case3 엑셀 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case3_btn_excel3_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(swt_nutrsrchrslt.case3.grd_nutrsrchstats, 'NutrSrchRsltStats_list',
- 'grd_nutrsrchstats', true, '', 'open', false);
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 INS기준 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_case1_btn_insbase_onclick(obj:Button, e:ClickEventInfo){
- frmf_modal("SPANC00300", "SPANC00300", "", "", "", "", "", "", "", "", "", "", "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 탭 페이지 변경 후 이벤트
- ****************************************************************************************/
- function swt_nutrsrchrslt_onchanged(obj:Tab, e:TabIndexChangeEventInfo){
-
- appf_delPatientInfos(); // 상단정보 clear
-
- if(e.postindex == 0){
- btn_save.enable = true;
- }
- }
- function swt_nutrsrchrslt_case2_caption21_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- function ds_main_srchrslt_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "check" :
- if( e.newvalue == "Y" || e.newvalue == "1" ){
- obj.setColumn(e.row, e.columnid, "Y");
- }else{
- obj.setColumn(e.row, e.columnid, "N");
- }
- break;
-
- default :
- break;
- }
- }
- function swt_nutrsrchrslt_case1_grd_nutrsrch_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.col == 1 ){
- if( obj.getCellProperty("Head", e.cell, "expr") == "0" ){
- obj.setCellProperty("Head", e.cell, "expr", "1");
-
- for( var i=0 ; i<ds_main_srchrslt.rowcount ; i++ ){
- ds_main_srchrslt.setColumn(i, "check", "Y");
- }
- }else{
- obj.setCellProperty("Head", e.cell, "expr", "0");
-
- for( var i=0 ; i<ds_main_srchrslt.rowcount ; i++ ){
- ds_main_srchrslt.setColumn(i, "check", "N");
- }
- }
- }
- }
- function SMANC00100_onclose(obj:Form, e:CloseEventInfo)
- {
- appf_delPatientInfos(); // 상단정보 clear
- }
- ]]></Script>
- </Form>
- </FDL>
|