123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMANC00160" position="absolute 0 0 1197 798" titletext="영양검색수정" oninit="SMANC00160_oninit" onload="SMANC00160_onload">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 30 1194 770" id="swt_nutrsrchrslt" class="tab_Normal" onchanged="swt_nutrsrchrslt_onchanged">
- <Tabpages>
- <Tabpage text="영양검색" id="case1">
- <Layouts>
- <Layout>
- <Div id="Div00" taborder="1" text="Div00" position="absolute 4 6 1188 47" class="div_SA"/>
- <Div position="absolute 5 10 1187 45" align="align:center top;" id="grp_sea">
- <Layouts>
- <Layout>
- <Button position="absolute 1106 7 1162 29" id="btn_search1" class="btn1" text="조회" onclick="swt_nutrsrchrslt_case1_grp_sea_btn_search1_onclick"/>
- <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line13" class="line_4"/>
- <Static text="기준일자 :" position="absolute 25 9 111 26" id="caption2" class="search_name"/>
- <Calendar position="absolute 112 8 201 27" id="ipt_basedd" class="input_essential" autoselect="true"/>
- <Button position="absolute 202 10 215 25" id="btn_beforedd" class="icon_pre" text="" onclick="swt_nutrsrchrslt_case1_grp_sea_btn_beforedd_onclick"/>
- <Button position="absolute 217 10 230 25" id="btn_nextdd" class="icon_next" text="" onclick="swt_nutrsrchrslt_case1_grp_sea_btn_nextdd_onclick"/>
- <Static text="진료과 :" position="absolute 665 9 738 26" id="caption9" class="search_name"/>
- <Combo position="absolute 740 8 840 27" id="cmb_orddept1" class="combo_search" innerdataset="@ds_init_basecode_orddept_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
- <Static text="병동 :" position="absolute 875 9 935 26" id="caption14" class="search_name"/>
- <Edit readonly="true" position="absolute 935 8 1075 27" id="opt_ward" oneditclick="swt_nutrsrchrslt_case1_grp_sea_opt_ward_oneditclick"/>
- <Radio position="absolute 325 7 440 27" id="rdo_patflag1" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="swt_nutrsrchrslt_case1_grp_sea_rdo_patflag1_onitemchanged">
- <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 text="구분 :" position="absolute 265 9 338 26" id="caption4" class="search_name"/>
- <Static text="위험군 :" position="absolute 470 9 543 26" id="caption1" class="search_name"/>
- <Combo position="absolute 543 8 625 27" id="cmb_dngrflag1" class="combo_search" innerdataset="@ds_init_basecode_dngr_A0058" datacolumn="cdnm" codecolumn="cdid"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1137 56 1186 75" id="btn_excel1" class="btn7" text="엑셀" onclick="swt_nutrsrchrslt_case1_btn_excel1_onclick"/>
- <Button position="absolute 981 56 1067 75" id="btn_nutrjudgbase" class="btn2" text="영양판정기준" onclick="swt_nutrsrchrslt_case1_btn_nutrjudgbase_onclick"/>
- <Button position="absolute 1070 56 1134 75" id="btn_insbase" class="btn2" text="INS기준" onclick="swt_nutrsrchrslt_case1_btn_insbase_onclick"/>
- <Shape position="absolute 5 75 1188 81" linetype="horizontal" id="line38" class="line_10"/>
- <Grid position="absolute 5 80 1187 680" id="grd_nutrsrch" binddataset="ds_main_srchrslt_data">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="20"/>
- <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="33"/>
- <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="39"/>
- <Column size="61"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="70"/>
- <Column size="53"/>
- <Column size="57"/>
- </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" 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" rowspan="2" text="식욕" taborder="undefined"/>
- <Cell col="27" rowspan="2" text="체중감소" taborder="undefined"/>
- <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="이전결과판정일" wordwrap="word" taborder="undefined"/>
- <Cell col="33" text="TRF"/>
- <Cell col="34" 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="33" text="(mg/dl)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <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_basecode_ward_dept" 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"/>
- <Cell col="17" displaytype="combo" style="padding:1 2 1 2;" text="bind:orddept" combodataset="ds_init_basecode_orddept_dept" 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" text="bind:alb"/>
- <Cell col="25" displaytype="number" text="bind:tlc"/>
- <Cell col="26" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:apptchngyn" combodataset="ds_cbo_apptchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="27" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:bdwtchngyn" combodataset="ds_cbo_bdwtchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="28" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:symp" combodataset="ds_cbo_symp" combocodecol="value" combodatacol="label"/>
- <Cell col="29" text="bind:dietcnt"/>
- <Cell col="30" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:srchrslt" combodataset="ds_init_basecode_dngr_A0058" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="31" displaytype="combo" style="padding:1 2 1 2;" text="bind:bfrslt" combodataset="ds_init_basecode_dngr_A0058" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="32" displaytype="date" text="bind:bfrsltdd" calendardisplaynulltype="none"/>
- <Cell col="33" text="bind:trf"/>
- <Cell col="34" text="bind:insrslt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 5 682 1187 688" linetype="horizontal" id="line4" class="line_2"/>
- <Edit readonly="true" position="absolute 119 689 245 708" align="align:center middle;" id="opt_srchrslt1" class="output" style="align:center middle;"/>
- <Edit readonly="true" position="absolute 310 689 435 708" align="align:center middle;" id="opt_srchrslt2" class="output" style="align:center middle;"/>
- <Edit readonly="true" position="absolute 502 689 627 708" align="align:center middle;" id="opt_srchrslt3" class="output" style="align:center middle;"/>
- <Static text="검색결과" position="absolute 5 687 66 710" align="align:center middle;" id="caption7" class="cell_1"/>
- <Static text="저위험도" position="absolute 247 687 307 710" align="align:center middle;" id="caption8" class="cell_1"/>
- <Static text="양호" position="absolute 68 687 116 710" align="align:center middle;" id="caption10" class="cell_1"/>
- <Static text="중위험도" position="absolute 438 687 499 710" align="align:center middle;" id="caption11" class="cell_1"/>
- <Static text="고위험도" position="absolute 630 687 691 710" align="align:center middle;" id="caption12" class="cell_1"/>
- <Edit readonly="true" position="absolute 693 689 813 708" align="align:center middle;" id="opt_srchrslt4" class="output" style="align:center middle;"/>
- <Edit readonly="true" position="absolute 1062 689 1187 708" align="align:center middle;" id="opt_srchrsltsum1" class="output" style="align:center middle;"/>
- <Static text="계" position="absolute 1000 687 1061 710" align="align:center middle;" id="caption3" class="cell_1"/>
- <Shape position="absolute 5 707 1187 713" linetype="horizontal" id="line5" class="line_3"/>
- <Static text="판정불가" position="absolute 815 687 876 710" align="align:center middle;" id="caption5" class="cell_1"/>
- <Edit readonly="true" position="absolute 878 689 998 708" align="align:center middle;" id="opt_srchrslt5" class="output" style="align:center middle;"/>
- <cp_checkboxList id="chk_ward" titletext="CheckBox List" taborder="2" text="cp_checkboxList00" scrollbars="none" position="absolute 940 38 1096 686" style="background:white;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="영양검색결과조회" id="case2">
- <Layouts>
- <Layout>
- <Div position="absolute 5 10 1187 45" align="align:center top;" id="group1" class="div_SA">
- <Layouts>
- <Layout>
- <Button position="absolute 1106 7 1162 29" id="btn_search2" class="btn1" text="조회" onclick="swt_nutrsrchrslt_case2_group1_btn_search2_onclick"/>
- <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line1" class="line_4"/>
- <Static text="검색일자 :" position="absolute 4 9 90 26" id="caption13" class="search_name"/>
- <Calendar position="absolute 91 8 180 27" id="ipt_fromdd" class="input_essential" autoselect="true"/>
- <Static text="병동 :" position="absolute 860 9 920 26" id="caption16" class="search_name"/>
- <Combo position="absolute 920 8 1070 27" id="cmb_ward2" class="combo_essential" innerdataset="@ds_init_basecode_ward_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
- <Radio position="absolute 359 8 505 28" id="rdo_patflag2" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
- <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 text="구분 :" position="absolute 299 9 353 26" id="caption17" class="search_name"/>
- <Static text="~" position="absolute 183 10 195 27" id="caption18" class="search_no_b"/>
- <Calendar position="absolute 198 8 287 27" id="ipt_todd" class="input_essential" autoselect="true"/>
- <Static text="위험군 :" position="absolute 509 9 567 26" id="caption19" class="search_name"/>
- <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="1" text="cp_checkboxList00" scrollbars="none" position="absolute 574 6 855 26" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1137 55 1187 74" id="btn_excel2" class="btn7" text="엑셀" onclick="swt_nutrsrchrslt_case2_btn_excel2_onclick"/>
- <Shape position="absolute 5 75 1188 81" linetype="horizontal" id="line2" class="line_10"/>
- <Grid position="absolute 5 80 1187 680" id="grd_pastnutrsrch" binddataset="ds_main_pastsrchrslt_data">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24" band="left"/>
- <Column size="55"/>
- <Column size="70"/>
- <Column size="55"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="75"/>
- <Column size="70"/>
- <Column size="32"/>
- <Column size="32"/>
- <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="68"/>
- <Column size="55"/>
- <Column size="60"/>
- <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" text="PIBW"/>
- <Cell col="17" text="Alb"/>
- <Cell col="18" text="TLC"/>
- <Cell col="19" rowspan="2" text="식욕" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="체중감소" taborder="undefined"/>
- <Cell col="21" rowspan="2" text="연하곤란" taborder="undefined"/>
- <Cell col="22" rowspan="2" text="식이처방" taborder="undefined"/>
- <Cell col="23" rowspan="2" text="검색결과" taborder="undefined"/>
- <Cell col="24" rowspan="2" text="이전결과" taborder="undefined"/>
- <Cell col="25" rowspan="2" text="이전결과판정일" wordwrap="word" taborder="undefined"/>
- <Cell col="26" text="TRF"/>
- <Cell col="27" rowspan="2" text="INS결과" taborder="undefined"/>
- <Cell col="28" rowspan="2" text="비고" taborder="undefined"/>
- <Cell row="1" col="16" text="(%)"/>
- <Cell row="1" col="17" text="(g/dl)"/>
- <Cell row="1" col="18" text="(cell/㎣)"/>
- <Cell row="1" col="26" text="(mg/dl)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:replyn"/>
- <Cell col="2" displaytype="date" text="bind:srchdd" calendardisplaynulltype="none"/>
- <Cell col="3" displaytype="combo" style="padding:1 2 1 2;" text="bind:patflag" combodataset="ds_cbo_patflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="4" displaytype="date" text="bind:orddd" calendardisplaynulltype="none"/>
- <Cell col="5" displaytype="combo" style="padding:1 2 1 2;" text="bind:ward" combodataset="ds_init_basecode_ward_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="6" text="bind:room"/>
- <Cell col="7" text="bind:pid"/>
- <Cell col="8" text="bind:hngnm"/>
- <Cell col="9" text="bind:sex"/>
- <Cell col="10" text="bind:age"/>
- <Cell col="11" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
- <Cell col="12" displaytype="combo" style="padding:1 2 1 2;" text="bind:orddept" combodataset="ds_init_basecode_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="13" text="bind:orddrnm"/>
- <Cell col="14" text="bind:atdoct"/>
- <Cell col="15" style="align:left top;padding:5 2 1 2;" text="bind:dietnm" wordwrap="word"/>
- <Cell col="16" displaytype="number" edittype="masknumber" style="align:center;" text="bind:pibw" mask="###"/>
- <Cell col="17" displaytype="number" edittype="masknumber" style="align:center;" text="bind:alb" mask="###.#"/>
- <Cell col="18" displaytype="number" edittype="masknumber" style="align:center;" text="bind:tlc" mask="###"/>
- <Cell col="19" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:apptchngyn" combodataset="ds_cbo_apptchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="20" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:bdwtchngyn" combodataset="ds_cbo_bdwtchngyn" combocodecol="value" combodatacol="label"/>
- <Cell col="21" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:symp" combodataset="ds_cbo_symp" combocodecol="value" combodatacol="label"/>
- <Cell col="22" text="bind:dietcnt"/>
- <Cell col="23" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:srchrslt" combodataset="ds_init_basecode_dngr_A0058" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="24" displaytype="combo" style="padding:1 2 1 2;" text="bind:bfrslt" combodataset="ds_init_basecode_dngr_A0058" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="25" displaytype="date" text="bind:bfrsltdd" calendardisplaynulltype="none"/>
- <Cell col="26" text="bind:trf"/>
- <Cell col="27" text="bind:insrslt"/>
- <Cell col="28" displaytype="text" edittype="text" text="bind:rem"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 5 682 1187 688" linetype="horizontal" id="line3" class="line_2"/>
- <Edit readonly="true" position="absolute 118 689 243 708" align="align:center middle;" id="opt_srchrslt6" class="output" style="align:center middle;"/>
- <Edit readonly="true" position="absolute 308 689 433 708" align="align:center middle;" id="opt_srchrslt7" class="output" style="align:center middle;"/>
- <Edit readonly="true" position="absolute 499 689 624 708" align="align:center middle;" id="opt_srchrslt8" class="output" style="align:center middle;"/>
- <Static text="검색결과" position="absolute 5 687 66 710" align="align:center middle;" id="caption20" class="cell_1"/>
- <Static text="저위험도" position="absolute 246 687 306 710" align="align:center middle;" id="caption21" class="cell_1"/>
- <Static text="양호" position="absolute 68 687 116 710" align="align:center middle;" id="caption22" class="cell_1"/>
- <Static text="중위험도" position="absolute 436 687 497 710" align="align:center middle;" id="caption23" class="cell_1"/>
- <Static text="고위험도" position="absolute 627 687 688 710" align="align:center middle;" id="caption24" class="cell_1"/>
- <Edit readonly="true" position="absolute 690 689 815 708" align="align:center middle;" id="opt_srchrslt9" class="output" style="align:center middle;"/>
- <Edit readonly="true" position="absolute 1070 689 1187 708" align="align:center middle;" id="opt_srchrsltsum2" class="output" style="align:center middle;"/>
- <Static text="계" position="absolute 1008 687 1069 710" align="align:center middle;" id="caption25" class="cell_1"/>
- <Shape position="absolute 5 707 1187 713" linetype="horizontal" id="line6" class="line_3"/>
- <Edit readonly="true" position="absolute 880 689 1005 708" align="align:center middle;" id="opt_srchrslt10" class="output" style="align:center middle;"/>
- <Static text="판정불가" position="absolute 817 687 878 710" align="align:center middle;" id="caption15" class="cell_1"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="영양검색통계" id="case3">
- <Layouts>
- <Layout>
- <Div position="absolute 5 10 1187 45" align="align:center top;" id="group2" class="div_SA">
- <Layouts>
- <Layout>
- <Button position="absolute 1106 7 1162 29" id="btn_search3" class="btn1" text="조회"/>
- <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line7" class="line_4"/>
- <Static text="검색일자 :" position="absolute 10 9 96 26" id="caption26" class="search_name"/>
- <Calendar position="absolute 97 8 190 27" id="ipt_fromdd3" class="input_s_essential"/>
- <Static text="진료과 :" position="absolute 720 9 793 26" id="caption27" class="search_name"/>
- <Combo position="absolute 795 8 890 27" id="cmb_orddept3" class="combo_search" innerdataset="ds_init_cmb_orddept3" datacolumn="depthngnm" codecolumn="deptcd"/>
- <Static text="병동 :" position="absolute 910 9 970 26" id="caption28" class="search_name"/>
- <Combo position="absolute 970 8 1075 27" id="cmb_ward3" class="combo_s_essential" innerdataset="ds_init_cmb_ward3" datacolumn="depthngnm" codecolumn="deptcd"/>
- <Radio position="absolute 380 9 540 29" id="rdo_patflag3" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
- <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 text="구분 :" position="absolute 320 9 393 26" id="caption29" class="search_name"/>
- <Static text="~" position="absolute 195 10 207 27" id="caption30" class="search_no_b"/>
- <Calendar position="absolute 210 8 303 27" id="ipt_todd3" class="input_s_essential"/>
- <Static text="위험군 :" position="absolute 550 9 623 26" id="caption31" class="search_name"/>
- <Combo position="absolute 623 8 698 27" id="cmb_dngrflag3" class="combo_search" innerdataset="ds_init_cmb_dngrflag3" datacolumn="cdnm" codecolumn="cdid"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1146 50 1188 69" id="btn_excel3" class="btn2_letter2" text="엑셀"/>
- <Shape position="absolute 5 71 1188 77" linetype="vertical" id="line8" class="line_1"/>
- <Grid position="absolute 5 80 1187 709" align="align:center middle;" id="grd_nutrsrchstats" binddataset="ds_grd_nutrsrchstats">
- <Formats>
- <Format id="default">
- <Columns>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell text="검색일자"/>
- <Cell col="1" text="신환"/>
- <Cell col="2" text="신환"/>
- <Cell col="3" text="신환"/>
- <Cell col="4" text="신환"/>
- <Cell col="5" text="신환"/>
- <Cell col="6" text="재검색"/>
- <Cell col="7" text="재검색"/>
- <Cell col="8" text="재검색"/>
- <Cell col="9" text="재검색"/>
- <Cell col="10" text="재검색"/>
- <Cell row="1" text="검색일자"/>
- <Cell row="1" col="1" text="양호"/>
- <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="합계"/>
- </Band>
- <Band id="body">
- <Cell text="bind:srchdd" mask="yyyy-mm-dd"/>
- <Cell col="1" text="bind:good1"/>
- <Cell col="2" text="bind:low1"/>
- <Cell col="3" text="bind:mid1"/>
- <Cell col="4" text="bind:high1"/>
- <Cell col="5" text="bind:total1"/>
- <Cell col="6" text="bind:good2"/>
- <Cell col="7" text="bind:low2"/>
- <Cell col="8" text="bind:mid2"/>
- <Cell col="9" text="bind:high2"/>
- <Cell col="10" text="bind:total2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div position="absolute 0 761 1195 788" id="grp_btn">
- <Layouts>
- <Layout>
- <Button position="absolute 0 5 56 27" id="btn_prnt" class="btn6" visible="false" text="출력" anchor="default"/>
- <Button position="absolute 1067 5 1135 27" id="btn_reset" class="btn4" text="초기화" anchor="default" onclick="grp_btn_btn_reset_onclick"/>
- <Button position="absolute 1136 5 1192 27" id="btn_save" class="btn3" text="저장" anchor="default" onclick="grp_btn_btn_save_onclick"/>
- <Shape position="absolute 0 1 1194 7" linetype="horizontal" id="line32" class="line_6" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="영양검색수정" class="tit_1" position="absolute 0 0 216 25"/>
- <Button id="btn_nutrsrch" taborder="1" text="영양검색" position="absolute 4 26 67 48" onclick="btn_nutrsrch_onclick"/>
- <Shape id="line38" class="line_10" position="absolute 5 45 1188 51"/>
- <Button id="btn_pastnutrsrch" taborder="2" text="영양검색결과조회" position="absolute 68 26 176 48" onclick="btn_pastnutrsrch_onclick"/>
- <Button id="btn_nutrsrchstats" taborder="3" text="영양검색통계" position="absolute 177 26 268 48" onclick="btn_nutrsrchstats_onclick" visible="false"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_srchrslt_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256"/>
- <Column id="h_patflag" type="STRING" size="256"/>
- <Column id="h_prcpdd" type="STRING" size="256"/>
- <Column id="h_cretno" type="STRING" size="256"/>
- <Column id="h_prcpgenrflag" type="STRING" size="256"/>
- <Column id="h_orddd" type="STRING" size="256"/>
- <Column id="replyn" type="STRING" size="256"/>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="room" type="STRING" size="256"/>
- <Column id="h_wardroom" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="h_diagcd" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="atdoct" type="STRING" size="256"/>
- <Column id="dietnm" type="STRING" size="256"/>
- <Column id="h_ht" type="STRING" size="256"/>
- <Column id="h_wt" type="STRING" size="256"/>
- <Column id="pibw" type="STRING" size="256"/>
- <Column id="alb" type="STRING" size="256"/>
- <Column id="tlc" type="STRING" size="256"/>
- <Column id="apptchngyn" type="STRING" size="256"/>
- <Column id="bdwtchngyn" type="STRING" size="256"/>
- <Column id="symp" type="STRING" size="256"/>
- <Column id="dietcnt" type="STRING" size="256"/>
- <Column id="srchrslt" type="STRING" size="256"/>
- <Column id="bfrslt" type="STRING" size="256"/>
- <Column id="bfrsltdd" type="STRING" size="256"/>
- <Column id="trf" type="STRING" size="256"/>
- <Column id="insrslt" type="STRING" size="256"/>
- <Column id="nutrmngtkind" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="check"/>
- <Col id="h_patflag"/>
- <Col id="h_prcpdd"/>
- <Col id="h_cretno"/>
- <Col id="h_prcpgenrflag"/>
- <Col id="h_orddd"/>
- <Col id="replyn"/>
- <Col id="ward"/>
- <Col id="room"/>
- <Col id="h_wardroom"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="h_diagcd"/>
- <Col id="diagnm"/>
- <Col id="orddept"/>
- <Col id="orddrid"/>
- <Col id="atdoct"/>
- <Col id="dietnm"/>
- <Col id="h_ht"/>
- <Col id="h_wt"/>
- <Col id="pibw"/>
- <Col id="alb"/>
- <Col id="tlc"/>
- <Col id="apptchngyn"/>
- <Col id="bdwtchngyn"/>
- <Col id="symp"/>
- <Col id="dietcnt"/>
- <Col id="srchrslt"/>
- <Col id="bfrslt"/>
- <Col id="bfrsltdd"/>
- <Col id="trf"/>
- <Col id="insrslt"/>
- <Col id="nutrmngtkind"/>
- <Col id="execdd"/>
- <Col id="indd"/>
- </Row>
- </Rows>
- </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"/>
- <Column id="low" type="STRING" size="256"/>
- <Column id="mid" type="STRING" size="256"/>
- <Column id="high" type="STRING" size="256"/>
- <Column id="non" type="STRING" size="256"/>
- <Column id="total" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="good"/>
- <Col id="low"/>
- <Col id="mid"/>
- <Col id="high"/>
- <Col id="non"/>
- <Col id="total"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_pastsrchrslt_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="replyn" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="atdoct" type="STRING" size="256"/>
- <Column id="dietnm" type="STRING" size="256"/>
- <Column id="bfrslt" type="STRING" size="256"/>
- <Column id="bfrsltdd" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="room" type="STRING" size="256"/>
- <Column id="h_wardroom" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="pibw" type="STRING" size="256"/>
- <Column id="alb" type="STRING" size="256"/>
- <Column id="tlc" type="STRING" size="256"/>
- <Column id="apptchngyn" type="STRING" size="256"/>
- <Column id="bdwtchngyn" type="STRING" size="256"/>
- <Column id="symp" type="STRING" size="256"/>
- <Column id="dietcnt" type="STRING" size="256"/>
- <Column id="srchrslt" type="STRING" size="256"/>
- <Column id="trf" type="STRING" size="256"/>
- <Column id="insrslt" type="STRING" size="256"/>
- <Column id="rem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="replyn"/>
- <Col id="prcpdd"/>
- <Col id="cretno"/>
- <Col id="prcpgenrflag"/>
- <Col id="orddept"/>
- <Col id="orddrid"/>
- <Col id="atdoct"/>
- <Col id="dietnm"/>
- <Col id="bfrslt"/>
- <Col id="bfrsltdd"/>
- <Col id="srchdd"/>
- <Col id="patflag"/>
- <Col id="orddd"/>
- <Col id="indd"/>
- <Col id="ward"/>
- <Col id="room"/>
- <Col id="h_wardroom"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="diagnm"/>
- <Col id="pibw"/>
- <Col id="alb"/>
- <Col id="tlc"/>
- <Col id="apptchngyn"/>
- <Col id="bdwtchngyn"/>
- <Col id="symp"/>
- <Col id="dietcnt"/>
- <Col id="srchrslt"/>
- <Col id="trf"/>
- <Col id="insrslt"/>
- <Col id="rem"/>
- </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="good" type="STRING" size="256"/>
- <Column id="low" type="STRING" size="256"/>
- <Column id="mid" type="STRING" size="256"/>
- <Column id="high" type="STRING" size="256"/>
- <Column id="non" type="STRING" size="256"/>
- <Column id="total" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="good"/>
- <Col id="low"/>
- <Col id="mid"/>
- <Col id="high"/>
- <Col id="non"/>
- <Col id="total"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_srchstats_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchdd" type="STRING" size="256"/>
- <Column id="good1" type="STRING" size="256"/>
- <Column id="low1" type="STRING" size="256"/>
- <Column id="mid1" type="STRING" size="256"/>
- <Column id="high1" type="STRING" size="256"/>
- <Column id="total1" type="STRING" size="256"/>
- <Column id="good2" type="STRING" size="256"/>
- <Column id="low2" type="STRING" size="256"/>
- <Column id="mid2" type="STRING" size="256"/>
- <Column id="high2" type="STRING" size="256"/>
- <Column id="total2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchdd"/>
- <Col id="good1"/>
- <Col id="low1"/>
- <Col id="mid1"/>
- <Col id="high1"/>
- <Col id="total1"/>
- <Col id="good2"/>
- <Col id="low2"/>
- <Col id="mid2"/>
- <Col id="high2"/>
- <Col id="total2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_nutrjudgbase_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="dngrcd" type="STRING" size="256"/>
- <Column id="min" type="STRING" size="256"/>
- <Column id="max" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd"/>
- <Col id="dngrcd"/>
- <Col id="min"/>
- <Col id="max"/>
- </Row>
- </Rows>
- </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"/>
- <Column id="todd" 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"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="patflag"/>
- <Col id="orddept"/>
- <Col id="ward"/>
- <Col id="dngrflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="list" type="STRING" size="256"/>
- <Column id="pastlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="list"/>
- <Col id="pastlist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="flag2" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="reqpsn" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="educreqcnts" type="STRING" size="256"/>
- <Column id="h_cretno" type="STRING" size="256"/>
- <Column id="h_orddeptcd" type="STRING" size="256"/>
- <Column id="h_prcpgenrflag" type="STRING" size="256"/>
- <Column id="h_orddd" type="STRING" size="256"/>
- <Column id="h_formrecseq" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="nutrmngtkind" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="srchdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="flag"/>
- <Col id="flag2"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="reqdd"/>
- <Col id="reqpsn"/>
- <Col id="orddrid"/>
- <Col id="educreqcnts"/>
- <Col id="h_cretno"/>
- <Col id="h_orddeptcd"/>
- <Col id="h_prcpgenrflag"/>
- <Col id="h_orddd"/>
- <Col id="h_formrecseq"/>
- <Col id="execprcpuniqno"/>
- <Col id="nutrmngtkind"/>
- <Col id="execdd"/>
- <Col id="srchdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_count" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_basecode_dngr_A0058" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_basecode_orddept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="depthngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_basecode_ward_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="depthngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbo_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_cbo_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_cbo_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_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cbo_choices" 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_cbo_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>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="swt_nutrsrchrslt.case1.grp_sea.ipt_basedd" propid="value" datasetid="ds_send_searchitem" columnid="basedd"/>
- <BindItem id="item1" compid="swt_nutrsrchrslt.case1.grp_sea.rdo_patflag1" propid="value" datasetid="ds_send_searchitem" columnid="patflag"/>
- <BindItem id="item2" compid="swt_nutrsrchrslt.case1.grp_sea.cmb_dngrflag1" propid="value" datasetid="ds_send_searchitem" columnid="dngrflag"/>
- <BindItem id="item3" compid="swt_nutrsrchrslt.case1.grp_sea.cmb_orddept1" propid="value" datasetid="ds_send_searchitem" columnid="orddept"/>
- <BindItem id="item4" compid="swt_nutrsrchrslt.case1.grp_sea.opt_ward" propid="value" datasetid="ds_send_searchitem" columnid="optward"/>
- <BindItem id="item5" compid="swt_nutrsrchrslt.case1.opt_srchrslt1" propid="value" datasetid="ds_main_srchrslt_count" columnid="good"/>
- <BindItem id="item6" compid="swt_nutrsrchrslt.case1.opt_srchrslt2" propid="value" datasetid="ds_main_srchrslt_count" columnid="low"/>
- <BindItem id="item7" compid="swt_nutrsrchrslt.case1.opt_srchrslt3" propid="value" datasetid="ds_main_srchrslt_count" columnid="mid"/>
- <BindItem id="item8" compid="swt_nutrsrchrslt.case1.opt_srchrslt4" propid="value" datasetid="ds_main_srchrslt_count" columnid="high"/>
- <BindItem id="item9" compid="swt_nutrsrchrslt.case1.opt_srchrslt5" propid="value" datasetid="ds_main_srchrslt_count" columnid="non"/>
- <BindItem id="item10" compid="swt_nutrsrchrslt.case1.opt_srchrsltsum1" propid="value" datasetid="ds_main_srchrslt_count" columnid="total"/>
- <BindItem id="item11" compid="swt_nutrsrchrslt.case2.group1.ipt_fromdd" propid="value" datasetid="ds_send_pastsearchitem" columnid="fromdd"/>
- <BindItem id="item12" compid="swt_nutrsrchrslt.case2.group1.ipt_todd" propid="value" datasetid="ds_send_pastsearchitem" columnid="todd"/>
- <BindItem id="item13" compid="swt_nutrsrchrslt.case2.group1.rdo_patflag2" propid="value" datasetid="ds_send_pastsearchitem" columnid="patflag"/>
- <BindItem id="item14" compid="swt_nutrsrchrslt.case2.group1.cmb_ward2" propid="value" datasetid="ds_send_pastsearchitem" columnid="ward"/>
- <BindItem id="item15" compid="swt_nutrsrchrslt.case2.opt_srchrslt6" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="good"/>
- <BindItem id="item16" compid="swt_nutrsrchrslt.case2.opt_srchrslt7" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="low"/>
- <BindItem id="item17" compid="swt_nutrsrchrslt.case2.opt_srchrslt8" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="mid"/>
- <BindItem id="item18" compid="swt_nutrsrchrslt.case2.opt_srchrslt9" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="high"/>
- <BindItem id="item19" compid="swt_nutrsrchrslt.case2.opt_srchrslt10" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="non"/>
- <BindItem id="item20" compid="swt_nutrsrchrslt.case2.opt_srchrsltsum2" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="total"/>
- </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";
- var arErrorCode = new HashArray();
- function SMANC00160_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- grdf_initGrid(swt_nutrsrchrslt.case1.grd_nutrsrch);
- grdf_setRowTypeIcon(swt_nutrsrchrslt.case1.grd_nutrsrch, 0);
-
- grdf_initGrid(swt_nutrsrchrslt.case2.grd_pastnutrsrch);
- grdf_setRowTypeIcon(swt_nutrsrchrslt.case2.grd_pastnutrsrch, 0);
- }
- function SMANC00160_onload(obj:Form, e:LoadEventInfo)
- {
- //chk_ward
- finit();
- }
- function fn_ward(){
- var getData = String(swt_nutrsrchrslt.case1.chk_ward.getLableData()).replace(","," ");
- ds_send_searchitem.setColumn(0, "optward", getData);
- }
- function fn_checkbox1(){
- var getData = String(swt_nutrsrchrslt.case2.group1.checkbox1.getData()).replace(","," ");
- ds_send_pastsearchitem.setColumn(0, "dngrflag", getData);
- }
- function finit() {
- // 화면open시 공통코드 setting
- //zbcfGetCodeList( new Array( "A0058", "P0149", "P0160" ), new Array( "/root/init/basecode/dngr", "/root/init/basecode/orddept", "/root/init/basecode/ward" ) );
- var arrParam = [{dsNm: "ds_init_basecode_dngr_A0058", cdGrpId: "A0058"}]
- appf_getCodeList(arrParam);
- ds_init_basecode_dngr_A0058.insertRow(0);
- swt_nutrsrchrslt.case1.grp_sea.cmb_dngrflag1.index = 0;
-
- appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'), 'orduseyn', 'D', 'depthngnm', '', '', '', '', 'ds_init_basecode_orddept_dept', false, '');
- ds_init_basecode_orddept_dept.insertRow(0);
- swt_nutrsrchrslt.case1.grp_sea.cmb_orddept1.index = 0;
-
- //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), 'orduseyn', 'W', '/root/init/basecode/ward', 'depthngnm', 'asc', new Date().getDateFormat("YYYYMMDD"), "", 'after');
- var today = utlf_getCurrentDate();
- appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'), 'orduseyn', 'W', 'depthngnm', 'asc', today.toDate().getDateFormat('YYYYMMDD'), '', 'asc', 'ds_init_basecode_ward_dept', false, null);
- ds_init_basecode_ward_dept.insertRow(0);
- swt_nutrsrchrslt.case2.group1.cmb_ward2.index = 0;
-
- var chkrow = ds_init_basecode_ward_dept.rowcount;
- var sProp = "col=1,row="+chkrow+",cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=18,overflow='visible'";
- swt_nutrsrchrslt.case1.chk_ward.setInitComp(sProp, ds_init_basecode_ward_dept,"deptcd","depthngnm", "fn_ward");
-
- var sProp = "col=4,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- swt_nutrsrchrslt.case2.group1.checkbox1.setInitComp(sProp, ds_cbo_choices,"value","label", "fn_checkbox1");
- swt_nutrsrchrslt.case2.group1.checkbox1.setData(utlf_transNullToEmpty(ds_send_pastsearchitem.getColumn(0, "dngrflag")).split(" "), null, false);
-
- ds_main_pastsrchrslt_data.clearData();
-
- ds_send_searchitem.setColumn(0, "basedd", utlf_getCurrentDate());
- ds_send_pastsearchitem.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send_pastsearchitem.setColumn(0, "todd", utlf_getCurrentDate());
- ds_send_statssearchitem.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send_statssearchitem.setColumn(0, "todd", utlf_getCurrentDate());
- ds_send_searchitem.setColumn(0, "patflag", "F");
- ds_send_pastsearchitem.setColumn(0, "patflag", "F");
- ds_send_pastsearchitem.setColumn(0, "dngrflag", "4 3");
- ds_send_statssearchitem.setColumn(0, "patflag", "H");
-
- //2011.05.02 타파트조회함으로 인해 주석처리
- if(sysf_getUserInfo("dutplcecd") != "3250100000"){
- swt_nutrsrchrslt.case1.chk_ward.visible = false;
- btn_pastnutrsrch.enable = false;
- btn_nutrsrchstats.enable = false;
- grp_btn.btn_save.enable = false;
-
- dsf_createDsRow('ds_req', [
- { col: 'temp', type: 'string', size: 256, val: '' }
- ], false);
- //영양판정기준표 조회;
- var oParam = {};
- oParam.id = "TRANC00102";
- oParam.service = "dietbaseapp.ClinicNutr";
- oParam.method = "reqGetNutrJudgBase";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_nutrjudgbase_data=ret";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00102";
- tranf_submit(oParam);
- }else{
- swt_nutrsrchrslt.case1.chk_ward.visible = false;
- btn_pastnutrsrch_onclick();//영양검색결과조회 탭화면 선택
-
- dsf_createDsRow('ds_req', [
- { col: 'temp', type: 'string', size: 256, val: '' }
- ], false);
- //영양판정기준표 조회;
- var oParam = {};
- oParam.id = "TRANC00102";
- oParam.service = "dietbaseapp.ClinicNutr";
- oParam.method = "reqGetNutrJudgBase";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_nutrjudgbase_data=ret";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00102";
- tranf_submit(oParam);
-
- swt_nutrsrchrslt.case1.grp_sea.btn_search1.enable = frmf_checkAuth("R");
- swt_nutrsrchrslt.case3.group2.btn_search3.enable = frmf_checkAuth("R");
- grp_btn.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 btn_nutrsrch_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_btn.btn_save.enable = true;
- swt_nutrsrchrslt.tabindex = 0;
- }
- function btn_pastnutrsrch_onclick(obj:Button, e:ClickEventInfo)
- {
- if (swt_nutrsrchrslt.case1.chk_ward.visible == true) {
- swt_nutrsrchrslt.case1.chk_ward.visible = false;
- }
- swt_nutrsrchrslt.tabindex = 1;
- grp_btn.btn_save.enable = true;
- }
- function btn_nutrsrchstats_onclick(obj:Button, e:ClickEventInfo)
- {
- if (swt_nutrsrchrslt.case1.chk_ward.visible == true) {
- swt_nutrsrchrslt.case1.chk_ward.visible = false;
- }
- swt_nutrsrchrslt.tabindex = 2;
- grp_btn.btn_save.enable = false;
- }
- function swt_nutrsrchrslt_case1_grp_sea_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);
- }
- function swt_nutrsrchrslt_case1_grp_sea_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);
- }
- function swt_nutrsrchrslt_case1_grp_sea_rdo_patflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_send_searchitem.setColumn(0, "dngrflag", "");
- }
- function swt_nutrsrchrslt_case1_grp_sea_opt_ward_oneditclick(obj:Edit, e:EditClickEventInfo)
- {
- if (swt_nutrsrchrslt.case1.chk_ward.visible == false) {
- swt_nutrsrchrslt.case1.chk_ward.visible = true;
- } else if (swt_nutrsrchrslt.case1.chk_ward.visible == true) {
- swt_nutrsrchrslt.case1.chk_ward.visible = false;
- }
- }
- function swt_nutrsrchrslt_case1_btn_nutrjudgbase_onclick(obj:Button, e:ClickEventInfo)
- {
- if(!utlf_isNull(ds_main_nutrjudgbase_data.getColumnInfo('valuitemcd'))){
- ds_main_nutrjudgbase_data.updateColID('valuitemcd', 'cd');
- ds_main_nutrjudgbase_data.updateColID('dngrstatcd', 'dngrcd');
- ds_main_nutrjudgbase_data.updateColID('minval', 'min');
- ds_main_nutrjudgbase_data.updateColID('maxval', 'max');
- }
- frmf_modal("SPANC00200", "SPANC00200", { arg_ds_main_receivedata: ds_main_nutrjudgbase_data }, "", "", "", "", "", "", "", "", "", "M");
- }
- function swt_nutrsrchrslt_case1_btn_insbase_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPANC00300", "SPANC00300", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function swt_nutrsrchrslt_case1_btn_excel1_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(swt_nutrsrchrslt.case1.grd_nutrsrch, "NutrSrchRslt_list" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function grp_btn_btn_reset_onclick(obj:Button, e:ClickEventInfo)
- {
- finit();
- }
- function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- //영양검색 탭화면 일때
- if ( swt_nutrsrchrslt.tabindex == 0) {
- sysf_messageBox("영양검색내용은 저장할 수", "I004");
- }
- //과거영양검색조회 탭화면 일때
- else if ( swt_nutrsrchrslt.tabindex == 1 ) {
- var updateData = grdf_getGridUpdateData(swt_nutrsrchrslt.case2.grd_pastnutrsrch);
-
- if ( updateData.rowcount == 0) {
- sysf_messageBox("입력 또는 수정한 데이터가", "I004");
- } else {
- ds_temp.copyData(updateData, 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 = "cf_TXANC00102";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXANC00102") > -1){
- swt_nutrsrchrslt.case2.group1.btn_search2.click();
- }
- }
- }
- }
- function cf_TXANC00102(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function swt_nutrsrchrslt_case1_grp_sea_btn_search1_onclick(obj:Button, e:ClickEventInfo)
- {
- if (swt_nutrsrchrslt.case1.chk_ward.visible == true) {
- swt_nutrsrchrslt.case1.chk_ward.visible = false;
- }
- //grd_nutrsrch.fixedcellischeck(0,1) = false; //영양검색 탭화면 전체선택 체크박스 초기화
- ds_main_srchrslt_data.clearData();
- ds_main_srchrslt_data.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_data=ret ds_main_srchrslt_count=count";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00101";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("patflag")) ){
- ds_main_srchrslt_data.addColumn("h_patflag", "string");
- }else{
- ds_main_srchrslt_data.updateColID("patflag", "h_patflag");
- }
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("prcpdd")) ){
- ds_main_srchrslt_data.addColumn("h_prcpdd", "string");
- }else{
- ds_main_srchrslt_data.updateColID("prcpdd", "h_prcpdd");
- }
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("cretno")) ){
- ds_main_srchrslt_data.addColumn("h_cretno", "string");
- }else{
- ds_main_srchrslt_data.updateColID("cretno", "h_cretno");
- }
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("prcpgenrflag")) ){
- ds_main_srchrslt_data.addColumn("h_prcpgenrflag", "string");
- }else{
- ds_main_srchrslt_data.updateColID("prcpgenrflag", "h_prcpgenrflag");
- }
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("orddd")) ){
- ds_main_srchrslt_data.addColumn("h_orddd", "string");
- }else{
- ds_main_srchrslt_data.updateColID("orddd", "h_orddd");
- }
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("wardroom")) ){
- ds_main_srchrslt_data.addColumn("h_wardroom", "string");
- }else{
- ds_main_srchrslt_data.updateColID("wardroom", "h_wardroom");
- }
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("diagcd")) ){
- ds_main_srchrslt_data.addColumn("h_diagcd", "string");
- }else{
- ds_main_srchrslt_data.updateColID("diagcd", "h_diagcd");
- }
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("ht")) ){
- ds_main_srchrslt_data.addColumn("h_ht", "string");
- }else{
- ds_main_srchrslt_data.updateColID("ht", "h_ht");
- }
- if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("wt")) ){
- ds_main_srchrslt_data.addColumn("h_wt", "string");
- }else{
- ds_main_srchrslt_data.updateColID("wt", "h_wt");
- }
-
- for( var i=0 ; i<ds_main_srchrslt_count.getColCount() ; i++ ){
- ds_main_srchrslt_count.updateColID(ds_main_srchrslt_count.getColID(i), utlf_transNullToEmpty(ds_main_srchrslt_count.getColID(i)).replace("cnt", ""));
- }
-
- // 신환(F) or 재검색(I) 구분값 setting 및 PIBW, TLC 반올림
- var patflag = ds_send_searchitem.getColumn(0, 'patflag');
- var pibw = '';
- var tlc = '';
-
- ds_main_srchrslt_data.addColumn("h_patflag", "string");
- ds_main_srchrslt_data.addColumn("mask25", "string");
-
- ds_main_srchrslt_data.enableevent = false;
- ds_main_srchrslt_data.updatecontrol = false;
- for(var i = 0; i < ds_main_srchrslt_data.rowcount; i++){
- ds_main_srchrslt_data.setColumn(i, 'h_patflag', patflag);
- pibw = ds_main_srchrslt_data.getColumn(i, 'pibw');
- tlc = ds_main_srchrslt_data.getColumn(i, 'tlc');
- if(utlf_transNullToEmpty(pibw) != ''){
- pibw = String(pibw).getRound(-2, 'HALF_UP');
- ds_main_srchrslt_data.setColumn(i, 'pibw', pibw);
-
- var ilen = pibw.length;
- if(ilen > 0){
- if(pibw.substr(ilen - 2, ilen - 1) == '.0'){
- //ds_main_srchrslt_data.setColumn(i, 'mask25', "####");
- }
- else{
- //ds_main_srchrslt_data.setColumn(i, 'mask25', "####.9");
- }
- }
- }
-
- if (!utlf_isNull(tlc)) {
- tlc = tlc.toString().getRound(-2, "HALF_UP");
- ds_main_srchrslt_data.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";
- }
- }
- }
- }
-
- ds_main_srchrslt_data.updatecontrol = true;
- ds_main_srchrslt_data.enableevent = true;
-
- grdf_setGridSort(swt_nutrsrchrslt.case1.grd_nutrsrch);
- }
- function swt_nutrsrchrslt_case2_group1_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_data.clearData();
- ds_main_pastsrchrslt_data.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_data=ret ds_main_pastsrchrslt_count=count";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00106";
- tranf_submit(oParam);
-
- if( utlf_isNull(ds_main_pastsrchrslt_data.getColumnInfo("wardroom")) ){
- ds_main_pastsrchrslt_data.addColumn("h_wardroom", "string");
- }else{
- ds_main_pastsrchrslt_data.updateColID("wardroom", "h_wardroom");
- }
-
- for( var i=0 ; i<ds_main_pastsrchrslt_count.getColCount() ; i++ ){
- ds_main_pastsrchrslt_count.updateColID(ds_main_pastsrchrslt_count.getColID(i), utlf_transNullToEmpty(ds_main_pastsrchrslt_count.getColID(i)).replace("cnt", ""));
- }
- }
- }
- function getMask(colnm, value){
- var len = value.toString().getRound(-2, 'HALF_UP');
-
- if(len < 0){
- return '';
- }
- var result = (value.substr(len - 2, len - 1) == '.0') ? '###' : '###.9';
- return result;
- }
- function swt_nutrsrchrslt_case2_btn_excel2_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(swt_nutrsrchrslt.case2.grd_pastnutrsrch, "PastNutrSrchRslt_list" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function swt_nutrsrchrslt_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(swt_nutrsrchrslt.tabindex == 0){
- btn_nutrsrch.setSelectStatus(true);
- btn_pastnutrsrch.setSelectStatus(false);
- btn_nutrsrchstats.setSelectStatus(false);
- }else if(swt_nutrsrchrslt.tabindex == 1){
- btn_nutrsrch.setSelectStatus(false);
- btn_pastnutrsrch.setSelectStatus(true);
- btn_nutrsrchstats.setSelectStatus(false);
- }else if(swt_nutrsrchrslt.tabindex == 2){
- btn_nutrsrch.setSelectStatus(false);
- btn_pastnutrsrch.setSelectStatus(false);
- btn_nutrsrchstats.setSelectStatus(true);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|