123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBD00700" position="absolute 0 0 1201 809" titletext="Apheresis 업무" onload="SMLBD00700_onload" oninit="SMLBD00700_oninit">
- <Layouts>
- <Layout>
- <Tab id="swt_apheresis" taborder="4" tabindex="0" position="absolute 0 27 1200 796" canchange="swt_apheresis_canchange" onchanged="swt_apheresis_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_apheresis_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 14 8 85 28"/>
- <Calendar id="input4" taborder="7" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 101 8 186 28"/>
- <Static id="caption3" text="~" position="absolute 189 8 204 28"/>
- <Calendar id="input3" taborder="8" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 202 8 287 28"/>
- <Static id="caption6" text="시술종류:" class="search_name" position="absolute 342 8 421 28"/>
- <Combo id="com_testkind" taborder="9" position="absolute 431 8 592 28"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excel1" taborder="2" text="엑셀" class="btn7" position="absolute 1149 38 1200 58" onclick="swt_apheresis_case1_btn_excel1_onclick" anchor="top right"/>
- <Shape id="line38" linetype="horizontal" class="line_10" position="absolute 0 59 1200 65" anchor="left top right"/>
- <Grid id="datagrid1" taborder="26" binddataset="ds_main_prcplist" useinputpanel="false" treeusecheckbox="false" position="absolute 0 65 1110 656" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="84"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="191"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="60"/>
- <Column size="45"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="110"/>
- <Column size="70"/>
- <Column size="35"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="입/외"/>
- <Cell col="1" text="처방적용일"/>
- <Cell col="2" text="처방번호"/>
- <Cell col="3" text="액팅처방번호"/>
- <Cell col="4" text="액팅처방레벨"/>
- <Cell col="5" text="믹스번호"/>
- <Cell col="6" text="히스토리번호"/>
- <Cell col="7" text="진료과코드"/>
- <Cell col="8" text="진료과"/>
- <Cell col="9" text="진료의아이디"/>
- <Cell col="10" text="진료의"/>
- <Cell col="11" text="급비"/>
- <Cell col="12" text="종류"/>
- <Cell col="13" text="분류"/>
- <Cell col="14" text="처방코드"/>
- <Cell col="15" text="처방명"/>
- <Cell col="16" colspan="2" text="1회용량" taborder="undefined"/>
- <Cell col="18" colspan="2" text="1회수량" taborder="undefined"/>
- <Cell col="20" text="횟수"/>
- <Cell col="21" text="일수"/>
- <Cell col="22" text="진행상태"/>
- <Cell col="23" colspan="2" text="검사결과" taborder="undefined"/>
- <Cell col="25" text="희망일"/>
- <Cell col="26" text="예약일시"/>
- <Cell col="27" text="시행일"/>
- <Cell col="28" text="선택"/>
- <Cell col="29" text="선택진료의"/>
- <Cell col="30" text="처방입력자"/>
- <Cell col="31" text="처방입력시간"/>
- <Cell col="32"/>
- </Band>
- <Band id="body">
- <Cell text="bind:ordgubun"/>
- <Cell col="1" text="bind:prcpdd" mask="expr:utlf_isNull(prcpdd) ? "" : "####-##-##""/>
- <Cell col="2" text="bind:prcpno"/>
- <Cell col="3" text="bind:execprcpno"/>
- <Cell col="4" text="bind:execprcplevel"/>
- <Cell col="5" text="bind:prcpmixno"/>
- <Cell col="6" text="bind:prcphistno"/>
- <Cell col="7" text="bind:orddeptcd"/>
- <Cell col="8" displaytype="text" text="bind:orddeptnm"/>
- <Cell col="9" text="bind:orddrid"/>
- <Cell col="10" text="bind:orddrnm"/>
- <Cell col="11" text="bind:payflagcd"/>
- <Cell col="12" text="bind:prcpkindcd"/>
- <Cell col="13" text="bind:prcpclscd"/>
- <Cell col="14" displaytype="text" text="bind:prcpcd"/>
- <Cell col="15" displaytype="tree" edittype="tree" text="bind:prcpnm" treestartlevel="1" treelevel="bind:execprcplevel"/>
- <Cell col="16" text="bind:drprcpetc7"/>
- <Cell col="17" text="bind:prcpvolunitnm"/>
- <Cell col="18" text="bind:drprcpetc8"/>
- <Cell col="19" text="bind:prcpqtyunitnm"/>
- <Cell col="20" text="bind:prcptims"/>
- <Cell col="21" text="bind:prcpdayno"/>
- <Cell col="22" text="bind:execprcpstatcd"/>
- <Cell col="23" text="bind:testrsltcnts"/>
- <Cell col="24" text="bind:testrsltunit"/>
- <Cell col="25" text="bind:prcphopedd" mask="expr:utlf_isNull(prcphopedd) ? "" : "####-##-##""/>
- <Cell col="26" text="bind:rsrvdt" mask="expr:utlf_isNull(rsrvdt) ? "" : "####-##-## ##:##""/>
- <Cell col="27" text="bind:execdd" mask="expr:utlf_isNull(execdd) ? "" : "####-##-##""/>
- <Cell col="28" text="bind:choiordflag"/>
- <Cell col="29" text="bind:specdrnm"/>
- <Cell col="30" text="bind:rgstrnm"/>
- <Cell col="31" text="bind:rgsttime" mask="expr:utlf_isNull(rgsttime) ? "" : "####-##-## ##:##:##""/>
- <Cell col="32"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </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_apheresis_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_apheresis_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_apheresis_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="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="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>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="Apheresis 업무" class="tit_1" position="absolute 0 0 136 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="testkind" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="swt_apheresis.case2.grp.ipt_fromdd" propid="value" datasetid="ds_send_pastsearchitem" columnid="fromdd"/>
- <BindItem id="item2" compid="swt_apheresis.case2.grp.ipt_todd" propid="value" datasetid="ds_send_pastsearchitem" columnid="todd"/>
- <BindItem id="item3" compid="swt_apheresis.case2.grp.rdo_patflag2" propid="value" datasetid="ds_send_pastsearchitem" columnid="patflag"/>
- <BindItem id="item5" compid="swt_apheresis.case2.grp.cmb_ward2" propid="value" datasetid="ds_send_pastsearchitem" columnid="ward"/>
- <BindItem id="item22" compid="swt_apheresis.case3.grp.ipt_fromdd3" propid="value" datasetid="ds_send_statssearchitem" columnid="fromdd"/>
- <BindItem id="item23" compid="swt_apheresis.case3.grp.ipt_todd3" propid="value" datasetid="ds_send_statssearchitem" columnid="todd"/>
- <BindItem id="item24" compid="swt_apheresis.case3.grp.rdo_patflag3" propid="value" datasetid="ds_send_statssearchitem" columnid="patflag"/>
- <BindItem id="item25" compid="swt_apheresis.case3.grp.cmb_dngrflag3" propid="value" datasetid="ds_send_statssearchitem" columnid="dngrflag"/>
- <BindItem id="item26" compid="swt_apheresis.case3.grp.cmb_orddept3" propid="value" datasetid="ds_send_statssearchitem" columnid="orddept"/>
- <BindItem id="item27" compid="swt_apheresis.case3.grp.cmb_ward3" propid="value" datasetid="ds_send_statssearchitem" columnid="ward"/>
- <BindItem id="item4" compid="swt_apheresis.case2.opt_srchrslt1" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="goodcnt"/>
- <BindItem id="item6" compid="swt_apheresis.case2.opt_srchrslt00" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adultgoodcnt"/>
- <BindItem id="item7" compid="swt_apheresis.case2.opt_srchrslt06" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childgoodcnt"/>
- <BindItem id="item8" compid="swt_apheresis.case2.opt_srchrslt2" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="lowcnt"/>
- <BindItem id="item9" compid="swt_apheresis.case2.opt_srchrslt07" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adultlowcnt"/>
- <BindItem id="item10" compid="swt_apheresis.case2.opt_srchrslt08" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childlowcnt"/>
- <BindItem id="item39" compid="swt_apheresis.case2.opt_srchrslt3" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="midcnt"/>
- <BindItem id="item40" compid="swt_apheresis.case2.opt_srchrslt09" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adultmidcnt"/>
- <BindItem id="item41" compid="swt_apheresis.case2.opt_srchrslt10" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childmidcnt"/>
- <BindItem id="item42" compid="swt_apheresis.case2.opt_srchrslt4" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="highcnt"/>
- <BindItem id="item43" compid="swt_apheresis.case2.opt_srchrslt11" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adulthighcnt"/>
- <BindItem id="item44" compid="swt_apheresis.case2.opt_srchrslt12" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childhighcnt"/>
- <BindItem id="item48" compid="swt_apheresis.case2.opt_srchrsltsum1" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="totalcnt"/>
- <BindItem id="item49" compid="swt_apheresis.case2.opt_srchrsltsum00" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="adulttotalcnt"/>
- <BindItem id="item50" compid="swt_apheresis.case2.opt_srchrsltsum02" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="childtotalcnt"/>
- <BindItem id="item11" compid="swt_apheresis.case1.grp.input4" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item12" compid="swt_apheresis.case1.grp.input3" propid="value" datasetid="ds_cond" columnid="todd"/>
- <BindItem id="item0" compid="swt_apheresis.case1.grp.com_testkind" propid="value" datasetid="ds_cond" columnid="testkind"/>
- </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();
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- function SMLBD00700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLBD00700_onload(obj:Form, e:LoadEventInfo)
- {
- //grdf_initGrid(datagrid1);
- //grdf_setToolTipBind(datagrid1);
- //grdf_setGridSort(datagrid1);
-
- //grdf_setGridSort(swt_apheresis.case1.grd_nutrsrch);
- //grdf_setGridSort(swt_apheresis.case2.grd_pastnutrsrch);
-
- ds_send_statssearchitem.setColumn(0, "dngrflag", "");
- ds_send_statssearchitem.setColumn(0, "orddept", "");
-
- ds_cond.setColumn(0, "fromdd" , ((utlf_getCurrentDate().toDate()).getAddDate(-1,"M")).getDateFormat()); // 최근 7일
- ds_cond.setColumn(0, "todd" , utlf_getCurrentDate()); //종료일자는 현재일자
-
-
- appf_getCodeList([{dsNm: "ds_M0003", cdGrpId: "M0003"}
- ,{dsNm: "ds_M0005", cdGrpId: "M0005"}
- ,{dsNm: "ds_M0011", cdGrpId: "M0011"}
- ,{dsNm: "ds_A0006", cdGrpId: "A0006"}], true);
-
- frmf_addComboItem("Div00.cmb_orddept"); //진료과 전체항목 추가
- Div00.cmb_orddept.index = 0;
-
-
- finit();
-
- swt_apheresis.enableevent = false;
- swt_apheresis.tabindex = 1;
- swt_apheresis.enableevent = true;
-
- Div00.btn_req.onclick.fireEvent(Div00.btn_req, new ClickEventInfo());
- }
- function fn_ward()
- {
- var getData = String(chk_ward.getData()).replace(","," ");
- ds_send_searchitem.setColumn(0, "optward", getData);
- }
- /****************************************************************************************
- * Argument :
- * Description : 탭 선택 시 변경 전 이벤트
- ****************************************************************************************/
- function swt_apheresis_canchange(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(sysf_getUserInfo('dutplcecd') != '3250100000'){
- if(e.postindex == 1 || e.postindex == 2){
- return false;
- }
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : case2 의 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_apheresis_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_apheresis_case2_btn_excel2_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(swt_apheresis.case2.grd_pastnutrsrch, 'PastNutrSrchRslt_list',
- 'grd_pastnutrsrch1', true, '', 'open', false);
- }
- /****************************************************************************************
- * Argument :
- * Description : case2 의 그리드 셀 더블 클릭 이벤트
- ****************************************************************************************/
- function swt_apheresis_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");
-
- if(prcpgenrflag != 'E'){
- prcpgenrflag = 'I';
- }
-
- var param = prcpgenrflag + '▦' + pid + '▦' + orddd + '▦' + cretno + '▦' + instcd ;
-
- 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_apheresis_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_apheresis.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_apheresis.case1.grd_nutrsrch.setCellProperty();
- }
- else{
- //swt_apheresis.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_apheresis.case1.grd_nutrsrch);
- }
- /****************************************************************************************
- * Argument :
- * Description : case1 의 엑셀 버튼 클릭 이벤트
- ****************************************************************************************/
- function swt_apheresis_case1_btn_excel1_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(swt_apheresis.case2.grd_pastnutrsrch, 'NutrSrchRslt_list', 'grd_nutrsrch', true, '', 'open', false);
- }
- /****************************************************************************************
- * Argument :
- * Description : 탭 페이지 변경 후 이벤트
- ****************************************************************************************/
- function swt_apheresis_onchanged(obj:Tab, e:TabIndexChangeEventInfo){
- if(e.postindex == 0){
- btn_save.enable = true;
- }
- }
- function swt_apheresis_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_apheresis_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");
- }
- }
- }
- }
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- ]]></Script>
- </Form>
- </FDL>
|