123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADC03500_NST환자조회" classname="SMADC03500_NST환자조회" inheritanceid="" position="absolute 0 0 1024 768" titletext="NST환자목록" onload="SMADC03500_onload" oninit="SMADC03500_oninit">
- <Layouts>
- <Layout>
- <Static id="caption12" text="NST환자리스트색" class="tit_1" position="absolute 0 0 226 25"/>
- <Div id="grp_sea" anchor="left top right" taborder="3" style="align:center top;" class="div_SA" position="absolute 0 25 1024 69">
- <Layouts>
- <Layout>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 877 10 883 29" anchor="top right"/>
- <Button id="btn_sea" taborder="32" text="조회" onclick="grp_sea_btn_sea_onclick" class="btn1" position="absolute 944 9 1000 31" anchor="top right"/>
- <Calendar id="ipt_srchdd2" taborder="35" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 181 13 268 34" anchor="default"/>
- <Static id="caption8" text="~" position="absolute 171 15 182 35" anchor="default"/>
- <Calendar id="ipt_srchdd1" taborder="36" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 82 13 169 34" anchor="default"/>
- <Static id="caption3" text="회신일자 :" class="search_name" position="absolute 9 15 100 32" anchor="default"/>
- <Static id="caption00" text="기준일:" class="search_name" position="absolute 621 15 712 32"/>
- <Calendar id="ipt_srchdd00" taborder="37" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 677 11 764 32"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_nstlist" taborder="4" useinputpanel="false" position="absolute 1 104 1021 750" binddataset="ds_nstinfo_patlist" autosizingtype="row" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="90"/>
- <Column size="52"/>
- <Column size="63"/>
- <Column size="72"/>
- <Column size="73"/>
- <Column size="122"/>
- <Column size="123"/>
- <Column size="130"/>
- <Column size="82"/>
- <Column size="346"/>
- <Column size="64"/>
- <Column size="69"/>
- <Column size="75"/>
- <Column size="58"/>
- <Column size="50"/>
- <Column size="101"/>
- <Column size="107"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" taborder="undefined"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="병실"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="S/A"/>
- <Cell col="5" text="등록번호"/>
- <Cell col="6" text="진료과"/>
- <Cell col="7" text="상병"/>
- <Cell col="8" text="과거력"/>
- <Cell col="9" text="영양상태"/>
- <Cell col="10" text="1.의뢰사유 & 영양지원 및 2. 공급 계획"/>
- <Cell col="11" text="최종회신수"/>
- <Cell col="12" text="의뢰일"/>
- <Cell col="13" text="입원일"/>
- <Cell col="14" text="담당교수"/>
- <Cell col="15" text="의뢰의"/>
- <Cell col="16" text="종결사유"/>
- <Cell col="17" text="해당요일-해당교수"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:(chk=="Y"||chk==1)?1:0"/>
- <Cell col="1" text="bind:gubn"/>
- <Cell col="2" text="bind:roomcd"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sa"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" style="align:left;padding:0 0 0 5;" text="bind:orddeptnm" wordwrap="char"/>
- <Cell col="7" style="align:left;padding:0 5 5 5;" text="bind:diagnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8"/>
- <Cell col="9" style="align:center;padding:0 0 0 5;" text="bind:nutrjudg" wordwrap="english" autosizerow="limitmin"/>
- <Cell col="10" style="align:left top;padding:5 5 5 5;" text="bind:cnstinfo" wordwrap="char" tooltiptype="mouse" autosizerow="limitmin"/>
- <Cell col="11" text="bind:replcnt"/>
- <Cell col="12" displaytype="date" text="bind:reqdd"/>
- <Cell col="13" displaytype="date" text="bind:orddd"/>
- <Cell col="14" text="bind:orddrnm"/>
- <Cell col="15" text="bind:cnstdrnm"/>
- <Cell col="16" text="bind:finishresn"/>
- <Cell col="17"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption13" text="NST관리대상자" onclick="caption13_onclick" class="tit_2" position="absolute 3 83 192 103"/>
- <Shape id="line02" class="line_10" position="absolute 1 99 1021 105" anchor="left top right" style="border:0 none black ;font:arial,9,bold;"/>
- <Button id="button51" taborder="5" text="엑셀저장" onclick="button51_onclick" class="btn7" position="absolute 938 77 1015 99" anchor="top right"/>
- <Grid id="grd_excellist" taborder="6" binddataset="ds_nstinfo_excellist" useinputpanel="false" extendsizetype="row" autosizingtype="row" position="absolute 326 154 1019 656" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="90"/>
- <Column size="52"/>
- <Column size="63"/>
- <Column size="72"/>
- <Column size="73"/>
- <Column size="122"/>
- <Column size="123"/>
- <Column size="130"/>
- <Column size="82"/>
- <Column size="265"/>
- <Column size="64"/>
- <Column size="69"/>
- <Column size="75"/>
- <Column size="58"/>
- <Column size="50"/>
- <Column size="101"/>
- <Column size="111"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox" taborder="undefined">
- <Cell/>
- </Cell>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="병실"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="S/A"/>
- <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" text="종결사유"/>
- <Cell col="17" text="해당요일-해당교수"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:(chk=="Y"||chk==1)?1:0"/>
- <Cell col="1" text="bind:gubn"/>
- <Cell col="2" text="bind:roomcd"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sa"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" style="align:left;padding:0 0 0 5;" text="bind:orddeptnm" wordwrap="char"/>
- <Cell col="7" style="align:left;padding:0 5 5 5;" text="bind:diagnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8"/>
- <Cell col="9" style="align:center;padding:0 0 0 5;" text="bind:nutrjudg" wordwrap="english" autosizerow="limitmin"/>
- <Cell col="10" style="align:left top;padding:5 5 5 5;" text="bind:cnstinfo" wordwrap="char" tooltiptype="mouse" tooltiptext="bind:cnstinfo" autosizerow="limitmin"/>
- <Cell col="11" text="bind:replcnt"/>
- <Cell col="12" displaytype="date" text="bind:reqdd"/>
- <Cell col="13" displaytype="date" text="bind:orddd"/>
- <Cell col="14" text="bind:orddrnm"/>
- <Cell col="15" text="bind:cnstdrnm"/>
- <Cell col="16" text="bind:finishresn"/>
- <Cell col="17"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_req" 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="curdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_nstinfo_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="sa" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="cnstcnts4" type="STRING" size="256"/>
- <Column id="drugplan" type="STRING" size="256"/>
- <Column id="suplplanetc" type="STRING" size="256"/>
- <Column id="gubn" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="nutrjudg" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cnstinfo" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="replcnt" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="cnstdrnm" type="STRING" size="256"/>
- <Column id="finishresn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_nstinfo_excellist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea" propid="text" datasetid="ds_send_req" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_srchdd1" propid="value" datasetid="ds_send_req" columnid="fromdd"/>
- <BindItem id="item2" compid="grp_sea.ipt_srchdd2" propid="value" datasetid="ds_send_req" columnid="todd"/>
- <BindItem id="item3" compid="grp_sea.ipt_srchdd00" propid="value" datasetid="ds_send_req" columnid="curdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "ast_commonxp::AST.xjs";
- function SMADC03500_onload(obj:Form, e:LoadEventInfo)
- {
- var curdd=utlf_getCurrentDate();
-
- var a = utlf_getCurrentDate().toDate().getDay();
-
- var lastdd = utlf_getCurrentDate().toDate().getAddDate(6-a, "D").getDateFormat("YYYYMMDD");
-
-
- ds_send_req.setColumn(0, "fromdd", curdd);
- ds_send_req.setColumn(0, "todd", curdd);
-
- ds_send_req.setColumn(0, "curdd", lastdd);
-
- }
- /** 초기화
- */
- function SMADC03500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(grd_nstlist);
- }
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
-
- }
- function fSearch() {
- var oParam = {};
- oParam.id = "TRADC03501";
- oParam.service = "pharmacyconsultapp.TDMMngt";
- oParam.method = "reqGetNstPatList";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_nstinfo_patlist=info";
- oParam.async = false;
- //oParam.callback = "cf_TRADC02603";
- tranf_submit(oParam);
- }
- function button51_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_nstinfo_patlist.filter("chk == '1'");
- ds_nstinfo_excellist.copyData(ds_nstinfo_patlist, true);
- ds_nstinfo_patlist.filter("");
- grdf_exportExcel(grd_excellist, "NST관리대상자리스트", "NST관리대상자리스트", false, "", "user", false);
- }
- ]]></Script>
- </Form>
- </FDL>
|