123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMASI00620" position="absolute 0 0 1189 745" titletext="미생물배양양성자조회" oninit="SMASI00620_oninit" onload="SMASI00620_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="균별 항생제관리" class="tit_1" position="absolute 0 0 135 25" anchor="left top"/>
- <Div id="grp_sea" taborder="1" position="absolute 0 25 1185 84" anchor="left top right" class="div_SA">
- <Layouts>
- <Layout>
- <Button id="btn_search" taborder="5" text="조회" class="btn1" position="absolute 443 20 499 42" onclick="grp_sea_btn_search_onclick" anchor="left top"/>
- <Static id="caption4" text="기간 :" class="search_name" position="absolute 22 21 78 38" anchor="left top"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 313 21 330 38" anchor="left top"/>
- <Combo id="cmb_termflag" taborder="6" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 96 21 194 40" innerdataset="@ds_cmb_termflag" anchor="left top">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">처방일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">접수일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">결과보고일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="ipt_termfromdd" taborder="7" class="input_default" position="absolute 205 21 311 40" anchor="left top"/>
- <Calendar id="ipt_termtodd" taborder="8" class="input_default" position="absolute 324 21 422 40" anchor="left top" onkeyup="grp_sea_ipt_termtodd_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excel" taborder="10" text="엑셀" class="btn7" position="absolute 1123 99 1179 121" onclick="btn_excel_onclick" anchor="top right"/>
- <Static id="caption25" text="균별 항생제 리스트" class="tit_2" position="absolute 2 104 137 121" anchor="left top"/>
- <Grid id="grd_baseinfo" taborder="23" binddataset="ds_baseinfo" useinputpanel="false" position="absolute 1 127 346 742" oncellclick="grd_baseinfo_oncellclick" anchor="left top bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="100"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="56"/>
- <Column size="75"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="number"/>
- <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="결과입력일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="text" edittype="text" style="align:center middle;" text="bind:bcno"/>
- <Cell col="2" text="bind:testcd"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:spcnm"/>
- <Cell col="6" text="bind:orddept"/>
- <Cell col="7" text="bind:atdrnm"/>
- <Cell col="8" text="bind:wardcd"/>
- <Cell col="9" text="bind:acptdt"/>
- <Cell col="10" text="bind:lastreptdt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_horizontally" taborder="28" binddataset="ds_grd_horizontally" useinputpanel="false" position="absolute 356 127 1188 743" anchor="all" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="28"/>
- <Column size="250"/>
- <Column size="180"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </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="bcno"/>
- <Cell col="11" text="검체"/>
- <Cell col="12"/>
- <Cell col="13" text="균"/>
- <Cell col="14" text="항균제"/>
- <Cell col="15" text="결과"/>
- <Cell col="16" text="결과2"/>
- <Cell col="17" text="증식"/>
- <Cell col="18" text="접수일"/>
- <Cell col="19" text="결과보고일"/>
- </Band>
- <Band id="body">
- <Cell text="bind:ioflag"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:age"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" text="bind:orddept"/>
- <Cell col="6" text="bind:atdrnm"/>
- <Cell col="7" text="bind:indd" mask="yyyy-mm-dd"/>
- <Cell col="8" text="bind:wardcd"/>
- <Cell col="9" text="bind:workno"/>
- <Cell col="10" displaytype="text" edittype="text" text="bind:bcno"/>
- <Cell col="11" text="bind:spcnm"/>
- <Cell col="12" celltype="head" text="expr:currow + 1"/>
- <Cell col="13" style="align:left middle;" text="bind:bacnm"/>
- <Cell col="14" style="align:left middle;" text="bind:antibionm"/>
- <Cell col="15" text="bind:antibioref"/>
- <Cell col="16" text="bind:antibiorslt"/>
- <Cell col="17" text="bind:growkind"/>
- <Cell col="18" text="bind:spcacptdt"/>
- <Cell col="19" displaytype="date" text="bind:lastreptdt" mask="yyyy-MM-dd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button00" taborder="29" text="초기화" onclick="button00_onclick" class="btn4" position="absolute 1102 43 1170 65" anchor="top right"/>
- <Shape id="line37" class="line_1" position="absolute 1 123 346 129" style="strokepen:3 solid #33bbbbff;"/>
- <Shape id="line00" class="line_1" position="absolute 356 123 1187 129" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_horizontally" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="orddept" type="STRING"/>
- <Column id="atdrnm" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="bacnm" type="STRING"/>
- <Column id="antibionm" type="STRING"/>
- <Column id="antibioref" type="STRING"/>
- <Column id="antibiorslt" type="STRING"/>
- <Column id="growkind" type="STRING"/>
- <Column id="spcacptdt" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="orddept" type="STRING"/>
- <Column id="atdrnm" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="acptdt" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_bacinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="growkind" type="STRING"/>
- <Column id="baccd" type="STRING"/>
- <Column id="bacnm" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_antiinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="sqno" type="STRING"/>
- <Column id="antibiocd" type="STRING"/>
- <Column id="antibionm" type="STRING"/>
- <Column id="method" type="STRING"/>
- <Column id="antibiorslt" type="STRING"/>
- <Column id="antibioref" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_diaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="sqno" type="STRING"/>
- <Column id="icd10_cd" type="STRING"/>
- <Column id="icd10_nm" type="STRING"/>
- <Column id="snomed_ct" type="STRING"/>
- <Column id="snomed_ctnm" type="STRING"/>
- <Column id="rgdt" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_vertically" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="antibionm" type="STRING"/>
- <Column id="antibioref" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="baccd" type="STRING"/>
- <Column id="nsgbrcd" type="STRING"/>
- <Column id="nsgbrnm" type="STRING"/>
- <Column id="tclscd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="spcacptdt" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- <Column id="prcpwardcd" type="STRING"/>
- <Column id="prcproomcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="bacnm" type="STRING"/>
- <Column id="antibioref" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="atdrnm" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="acptdt" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="inhospdayno" type="STRING"/>
- <Column id="jangbinm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_termflag" 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">0</Col>
- </Row>
- <Row>
- <Col id="label">접수일</Col>
- <Col id="value">A</Col>
- </Row>
- <Row>
- <Col id="label">결과보고일</Col>
- <Col id="value">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="termflag" type="STRING" size="256"/>
- <Column id="termfromdd" type="STRING" size="256"/>
- <Column id="termtodd" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchorddeptcd" type="STRING" size="256"/>
- <Column id="srchwardcd" type="STRING" size="256"/>
- <Column id="srchspccd" type="STRING" size="256"/>
- <Column id="srchspcnm" type="STRING" size="256"/>
- <Column id="srchbaccd" type="STRING" size="256"/>
- <Column id="srchbacnm" type="STRING" size="256"/>
- <Column id="groupflag" type="STRING" size="256"/>
- <Column id="viewflag" type="STRING" size="256"/>
- <Column id="srchiofalg" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="termflag">R</Col>
- <Col id="srchiofalg">-</Col>
- <Col id="viewflag">V</Col>
- <Col id="groupflag">A</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_header" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="colref" type="STRING" size="256"/>
- <Column id="caption" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <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";
- include "lis_commonxp::LLZ001.xjs";
- function SMASI00620_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- }
- function SMASI00620_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_baseinfo);
- grdf_initGrid(grd_horizontally);
-
- grp_sea.cmb_termflag.value = 'R';
- grp_sea.ipt_termfromdd.value = utlf_getCurrentDate();
- grp_sea.ipt_termtodd.value = utlf_getCurrentDate();
- }
- //조회
- function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_condition.setColumn(0, "termflag", grp_sea.cmb_termflag.value);
- ds_condition.setColumn(0, "termfromdd", grp_sea.ipt_termfromdd.value);
- ds_condition.setColumn(0, "termtodd", grp_sea.ipt_termtodd.value);
-
- var oParam = {};
- oParam.id = "TRASI00603";
- oParam.service = "infcmngtapp.HospInfcMngt";
- oParam.method = "reqGetBaseInfoListA";
- oParam.inds = "req=ds_condition";
- oParam.outds = "ds_baseinfo=baseinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRASI00603";
- tranf_submit(oParam);
-
- }
- //상세내역 조회
- function grd_baseinfo_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- //model.makeNode("/root/send/reqdata");
- //model.copyNode("/root/send/reqdata", "/root/main/condition");
- //model.setValue("/root/send/reqdata/srchpid", model.getValue("/root/main/microtestprotonlist/base/baseinfo["+ baseinfo.row +"]/bcno"));
- ds_condition.setColumn(0, "termflag", grp_sea.cmb_termflag.value);
- ds_condition.setColumn(0, "termfromdd", grp_sea.ipt_termfromdd.value);
- ds_condition.setColumn(0, "termtodd", grp_sea.ipt_termtodd.value);
-
- var bcno = ds_baseinfo.getColumn(ds_baseinfo.rowposition, "bcno");
- ds_condition.setColumn(0, "srchpid", bcno);
- //submit("TRASI00704");
- var oParam = {};
- oParam.id = "TRASI00704";
- oParam.service = "infcmngtapp.HospInfcMngt";
- oParam.method = "reqGetMicroPidList";
- oParam.inds = "req=ds_condition";
- oParam.outds = "ds_header=header ds_grd_horizontally=info";
- oParam.async = false;
- //oParam.callback = "cf_TRASI00704";
- tranf_submit(oParam);
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_horizontally, lf_lisGetTitle(this), "see");
- }
- function button00_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function grp_sea_ipt_termtodd_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- grp_sea_btn_search_onclick();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|