| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLMP00500" position="absolute 0 0 1199 799" titletext="결핵 양성율 통계" oninit="SMLMP00500_oninit" onload="SMLMP00500_onload">
- <Layouts>
- <Layout>
- <Button id="button5" taborder="1" text="초기화" class="btn4" position="absolute 1127 32 1195 54" onclick="button5_onclick" anchor="top right"/>
- <Button id="btn_prntset" taborder="2" text="프린터설정" class="btn6" position="absolute 0 32 89 54" onclick="btn_prntset_onclick"/>
- <Static id="cap_title" text="결핵양성율 통계" class="tit_1" position="absolute 0 0 149 30"/>
- <Div id="group2" taborder="3" position="absolute 0 56 1195 109" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Edit id="input3" taborder="16" class="input_search" visible="false" position="absolute 1152 17 1172 36" anchor="top right"/>
- <Button id="btn_search" taborder="11" text="조회" class="btn1" position="absolute 1135 15 1191 37" onclick="group2_btn_search_onclick" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1129 16 1135 38" anchor="default"/>
- <Static id="caption3" text="~" class="search_no_b" position="absolute 205 20 220 37" anchor="default"/>
- <Radio id="radio1" taborder="14" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 754 25 963 42" onitemchanged="group2_radio1_onitemchanged" anchor="default" visible="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">미검</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">접수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">최종보고</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption4" text="조회구분 :" class="search_name" position="absolute 700 25 789 42" anchor="top right" visible="false"/>
- <Edit id="input2" taborder="15" class="input_search" position="absolute 971 20 1066 39" onkeyup="group2_input2_onkeyup" anchor="top right" visible="false"/>
- <Static id="caption5" text="장" visible="false" position="absolute 1168 20 1193 40" anchor="top right"/>
- <CheckBox id="checkbox1" taborder="17" position="absolute 686 20 741 40" text="6개월" onclick="group2_checkbox1_onclick" value="false" anchor="default" visible="false"/>
- <Combo id="combo1" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 918 25 1018 44" anchor="top right" visible="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">등록번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">바코드번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">환자성명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">작업번호</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="combo2" taborder="19" innerdataset="ds_init_combo2" codecolumn="cd" datacolumn="nm" position="absolute 826 22 961 41" anchor="top" visible="false"/>
- <Radio id="radio2" taborder="20" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 756 15 941 32" anchor="default" visible="false">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_help" taborder="23" onclick="div_search_btn_help_onclick" class="icon_search" position="absolute 1110 21 1131 41" anchor="default"/>
- <Combo id="combo00" taborder="21" innerdataset="ds_init_lb0103" codecolumn="cd" datacolumn="nm" onitemchanged="div_search_cmb_testGrp_onitemchanged" class="combo_search" position="absolute 431 18 561 38" anchor="default"/>
- <Edit id="ipt_tclscdlist" taborder="22" class="input_search" position="absolute 564 18 1108 38" anchor="default"/>
- <Static id="caption2" text="접수일 :" class="search_name" position="absolute 14 20 88 37" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="12" class="input_s_essential" position="absolute 94 19 200 38" anchor="default"/>
- <Calendar id="ipt_todd" taborder="13" class="input_s_essential" position="absolute 220 19 326 38" onkeyup="group2_ipt_todd_onkeyup" anchor="default"/>
- <Static id="caption00" text="검사항목선택" class="search_name" position="absolute 332 18 426 38" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="미생물검사리스트" class="tit_2" position="absolute 1 131 178 148"/>
- <Grid id="grd_testlist" taborder="4" binddataset="ds_grd_testlist" useinputpanel="false" position="absolute 0 149 1194 536" oncelldblclick="grd_testlist_oncelldblclick" anchor="left top" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="68"/>
- <Column size="78"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="65"/>
- <Column size="219"/>
- <Column size="71"/>
- <Column size="125"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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" text="Comment"/>
- <Cell col="17" text="bcno"/>
- <Cell col="18" text="sex"/>
- <Cell col="19" text="patage"/>
- <Cell col="20" text="orddrnm"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="2" displaytype="date" edittype="date" text="bind:spcacptdt" mask="yyyy-MM-dd hh:mm:ss"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:hngnm"/>
- <Cell col="5" text="bind:workno"/>
- <Cell col="6" text="bind:orddeptnm"/>
- <Cell col="7" text="bind:roomcd"/>
- <Cell col="8" text="bind:spcstat"/>
- <Cell col="9" text="bind:tclsnm"/>
- <Cell col="10" text="bind:spcnm"/>
- <Cell col="11" displaytype="text" edittype="text" style="align:center;" text="bind:rsltrgstdt" mask="expr:utlf_isNull(rsltrgstdt) ? "" : "####-##-##""/>
- <Cell col="12" text="bind:reptrslt"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:reqdt" mask="expr:utlf_isNull(rsltrgstdt) ? "" : "####-##-##""/>
- <Cell col="14" text="bind:reqkind"/>
- <Cell col="15" displaytype="text" edittype="text" text="bind:reqlastreptdt" mask="expr:utlf_isNull(rsltrgstdt) ? "" : "####-##-##""/>
- <Cell col="16" text="bind:prcpremfact"/>
- <Cell col="17" text="bind:bcno"/>
- <Cell col="18" text="bind:sex"/>
- <Cell col="19" text="bind:patage"/>
- <Cell col="20" text="bind:orddrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_excel" taborder="5" text="엑셀" class="btn7" position="absolute 1144 126 1195 146" onclick="btn_excel_onclick" anchor="top right"/>
- <Static id="caption8" text="선택된 바코드 :" class="tit_2" position="absolute 270 131 384 149"/>
- <Edit id="input1" taborder="6" position="absolute 384 127 489 146"/>
- <Button id="button3" taborder="7" text="출력" class="btn6" position="absolute 491 126 544 145" onclick="button3_onclick" visible="false"/>
- <Edit id="input4" taborder="8" position="absolute 688 126 768 145"/>
- <Static id="caption10" text="선택된 등록번호 :" class="tit_2" position="absolute 555 131 682 147"/>
- <Grid id="grd_testlist00" taborder="9" binddataset="ds_grd_sum" useinputpanel="false" oncelldblclick="grd_testlist_oncelldblclick" position="absolute -2 573 1192 760" anchor="left top" cellsizebandtype="body" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="59"/>
- <Column size="70"/>
- <Column size="473"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="96"/>
- <Column size="101"/>
- </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="bcno"/>
- <Cell col="5" text="sex"/>
- <Cell col="6" text="patage"/>
- <Cell col="7" text="orddrnm"/>
- <Cell col="8" text="양성건수"/>
- <Cell col="9" text="양성율"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" text="bind:testcd"/>
- <Cell col="2" style="align:left;" text="bind:tclsnm"/>
- <Cell col="3" text="bind:cnt"/>
- <Cell col="4" text="bind:bcno"/>
- <Cell col="5" text="bind:sex"/>
- <Cell col="6" text="bind:patage"/>
- <Cell col="7" text="bind:orddrnm"/>
- <Cell col="8" text="bind:posicnt"/>
- <Cell col="9" text="bind:youl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption00" text="양성율" class="tit_2" position="absolute -3 551 128 568"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdd" type="STRING"/>
- <Column id="spcacptdt" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="rsltrgstdt" type="STRING"/>
- <Column id="reptrslt" type="STRING"/>
- <Column id="reqdt" type="STRING"/>
- <Column id="reqkind" type="STRING"/>
- <Column id="reqlastreptdt" type="STRING"/>
- <Column id="prcpremfact" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="patage" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="spccd" type="STRING" size="256"/>
- <Column id="tclscd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_LB0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="searchtext" type="STRING" size="256"/>
- <Column id="getgbn" type="STRING" size="256"/>
- <Column id="getgroup" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="codeflag" type="STRING" size="256"/>
- <Column id="tclscdlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchflag">2</Col>
- <Col id="getgbn">1</Col>
- <Col id="getgroup">00</Col>
- <Col id="ioflag">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_barcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tsectlblnm" type="STRING" size="256"/>
- <Column id="tsectlblnm2" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="barcdprndt" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="patnm2" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="deptroom" type="STRING" size="256"/>
- <Column id="spclblnm" type="STRING" size="256"/>
- <Column id="tubelblnm" type="STRING" size="256"/>
- <Column id="secttsect" type="STRING" size="256"/>
- <Column id="tclslblnmlist" type="STRING" size="256"/>
- <Column id="tclslblnmlist2" type="STRING" size="256"/>
- <Column id="infcinfolist" type="STRING" size="256"/>
- <Column id="erprcpflag" type="STRING" size="256"/>
- <Column id="bcollbarcdprntcnt" type="STRING" size="256"/>
- <Column id="spcacptbarcdprntcnt" type="STRING" size="256"/>
- <Column id="microbarcdprntcnt" type="STRING" size="256"/>
- <Column id="mdiabarcdprntcnt" type="STRING" size="256"/>
- <Column id="workno" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="dept" type="STRING" size="256"/>
- <Column id="spcacptdd" type="STRING" size="256"/>
- <Column id="dnornm" type="STRING" size="256"/>
- <Column id="divgrupcd" type="STRING" size="256"/>
- <Column id="divgrupnm" type="STRING" size="256"/>
- <Column id="prcphopedd" type="STRING" size="256"/>
- <Column id="bedposcnts" type="STRING" size="256"/>
- <Column id="prntkind" type="STRING" size="256"/>
- <Column id="prntsetupinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkm" type="STRING" size="256"/>
- <Column id="bcnoinfo" type="STRING" size="256"/>
- <Column id="tclscd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="patage" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="spccd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="tclscd" type="STRING" size="256"/>
- <Column id="spcacptdt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_sum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="testcd" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- <Column id="posicnt" type="STRING" size="256"/>
- <Column id="youl" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testgrupdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_ref_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_hidden_ref_tclscdlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="tclscdlist" type="STRING" size="256"/>
- <Column id="tclsnmlist" type="STRING" size="256"/>
- <Column id="tclscdlist2" type="STRING" size="256"/>
- <Column id="testgrup" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="tclscdlist"/>
- <Col id="tclsnmlist"/>
- <Col id="tclscdlist2"/>
- <Col id="testgrup"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_lb0103" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="codeflag" type="STRING" size="256"/>
- <Column id="testmdlcd" type="STRING" size="256"/>
- <Column id="testgrupnm" type="STRING" size="256"/>
- <Column id="grddata" type="STRING" size="256"/>
- <Column id="gruprow" type="STRING" size="256"/>
- <Column id="detlrow" type="STRING" size="256"/>
- <Column id="searchflag" type="STRING" size="256"/>
- <Column id="searchtext" type="STRING" size="256"/>
- <Column id="userdeptflagcd" type="STRING" size="256"/>
- <Column id="nuflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codeflag"/>
- <Col id="testmdlcd"/>
- <Col id="testgrupnm"/>
- <Col id="grddata"/>
- <Col id="gruprow"/>
- <Col id="detlrow"/>
- <Col id="searchflag"/>
- <Col id="searchtext"/>
- <Col id="userdeptflagcd"/>
- <Col id="nuflag"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="input4" propid="value" datasetid="ds_grd_testlist" columnid="pid"/>
- <BindItem id="item1" compid="input1" propid="value" datasetid="ds_grd_testlist" columnid="bcno"/>
- <BindItem id="item2" compid="group2.checkbox1" propid="value" datasetid="ds_temp_chkm" columnid="label"/>
- <BindItem id="item7" compid="group2.combo00" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="testgrup"/>
- <BindItem id="item8" compid="group2.ipt_tclscdlist" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="tclsnmlist"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LPZ001.xjs";
- include "lis_commonxp::LZZ002.xjs";
- include "lis_commonxp::LZZ001.xjs";
- include "lis_commonxp::LLZ001.xjs";
- function SMLMP00500_oninit(obj:Form, e:InitEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- }
- function SMLMP00500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_testlist);
- fsetinit(); //초기화
- }
- //초기화
- function fsetinit()
- {
- group2.ipt_fromdd.value = utlf_addDate(utlf_getCurrentDate(), -7);
- group2.ipt_todd.value = utlf_getCurrentDate();
- group2.radio1.value = '3';
- group2.radio2.value = '1';
- group2.combo1.value = '1';
- var sInDsName = dsf_createDsRow("ds_temp_scrnid"
- , [{col: "scrnid", val: frmf_getScreenID()}]);
-
- var sOutDsName = dsf_createDsRow("ds_barcdprntsetup"
- , [{col: "prntsetupinfo"}
- , {col: "macaddr"}]);
-
- var oParam = {};
- oParam.id = "TRLLC90101";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetSetUpInfo";
- oParam.inds = "scrnid="+sInDsName;
- oParam.outds = sOutDsName+"=getSetUpInfo";
- oParam.async = false;
- oParam.callback = "cbf_TRLLC90101";
- tranf_submit(oParam);
-
- lzzfMakeBrcdPrntObjHanDo("CommAX");
- var sInDsName = dsf_createDsRow("ds_temp_search", [{col: "codeflag", val : "0140|0103|"}]);
-
- var oParam = {};
- oParam.id = "TRLZZ00101";
- oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
- oParam.method = "reqGetInitCodeInfo";
- oParam.inds = "cond=" + sInDsName;
- oParam.outds = "ds_init_combo2=0140 ds_init_lb0103=0103"
- oParam.async = false;
- oParam.callback = "cf_TRLZZ00101";
- tranf_submit(oParam);
- group2.combo2.value = '00';
-
- tranf_submit(oParam);
- }
- //조회
- function fgetList()
- {
- ds_send_req.setColumn(0, "srchflag", group2.radio1.value);
- ds_send_req.setColumn(0, "todd", group2.ipt_todd.value);
- ds_send_req.setColumn(0, "fromdd", group2.ipt_fromdd.value);
- ds_send_req.setColumn(0, "searchtext", group2.input2.value);
- ds_send_req.setColumn(0, "getgroup", group2.combo2.value);
- ds_send_req.setColumn(0, "tclscdlist", ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist"));
-
- var oParam = {};
- oParam.id = "TRLMP00501";
- oParam.service = "refprintmngtapp.MicroRefPrintMngt";
- oParam.method = "reqGetTbTestRsltList";
- oParam.inds = "refparam=ds_send_req";
- oParam.outds = "ds_grd_testlist=tbtestrsltinfo ds_grd_sum=tbtestrsltinfosum";
- oParam.async = false;
- tranf_submit(oParam);
- }
- //프린트설정
- function fSetPrint()
- {
- var count = ds_barcodeinfo.rowcount;
-
- if(count == 0)
- {
- ds_barcodeinfo.addRow();
- }
- var objArg = new Object();
- objArg.arg_ds_barcdprntsetup_info = ds_temp_barcdprntsetup;
- frmf_open("SPLLC90100", "SPLLC90100", objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function fExeBarcdReprnt()
- {
- var bcno = "'" + input1.value + "'" ;
-
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "bcnolist", val: bcnolist.substr(0, bcnolist.length - 1)}
- , {col: "bcollgbn", val: "Y"}
- , {col: "bio", val: ""}
- , {col: "worklist", val: ""}]);
- var oParam = {};
- oParam.id = "TRLZZ00102";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetBarCodeInfo";
- oParam.inds = "bcollbcnolist=" +sInDsName;
- oParam.outds = "ds_=barcodeinfo";
- oParam.async = false;
- tranf_submit(oParam);
- }
- //콜백함수
- function cbf_TRLLC90101(strSvcID, nErrorCode, strErrorMag)
- {
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }
- //콜백함수
- function cf_TRLZZ00101(strSvcID, nErrorCode, strErrorMag)
- {
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }
- //조회
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fgetList();
- }
- function group2_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fgetList();
- }
- }
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- function group2_input2_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fgetList();
- }
- }
- //6개월체크
- function group2_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(group2.checkbox1.value == 1)
- {
- var vdate = utlf_getCurrentDate();
- group2.ipt_fromdd.value = ((vdate.toDate("YYYYMMDD")).getAddDate(-6, "M")).getDateFormat("YYYYMMDD") ;
- group2.ipt_todd.value = utlf_getCurrentDate();
- }
- else
- {
- group2.ipt_fromdd.value = utlf_addDate(utlf_getCurrentDate(), -7);
- group2.ipt_todd.value = utlf_getCurrentDate();
- }
- }
- //구분값변경
- function group2_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_grd_testlist.clearData();
- }
- //엑셀
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_testlist00, lf_lisGetTitle(this), "see");
- }
- //프리트설정
- function btn_prntset_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPrint();
- }
- //바코드출력
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeBarcdReprnt();
- }
- //의뢰항목입력
- function grd_testlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(group2.radio1.value == 1)
- {
- return;
- }
-
- var row = grd_testlist.currentrow;
-
- ds_hidden.setColumn(0, "bcno", ds_grd_testlist.getColumn(row, "bcno"));
- ds_hidden.setColumn(0, "hngnm", ds_grd_testlist.getColumn(row, "hngnm"));
- ds_hidden.setColumn(0, "sex", ds_grd_testlist.getColumn(row, "sex"));
- ds_hidden.setColumn(0, "patage", ds_grd_testlist.getColumn(row, "patage"));
- ds_hidden.setColumn(0, "roomcd", ds_grd_testlist.getColumn(row, "roomcd"));
- ds_hidden.setColumn(0, "orddeptnm", ds_grd_testlist.getColumn(row, "orddeptnm"));
- ds_hidden.setColumn(0, "orddrnm", ds_grd_testlist.getColumn(row, "orddrnm"));
- ds_hidden.setColumn(0, "spccd", ds_grd_testlist.getColumn(row, "spccd"));
- ds_hidden.setColumn(0, "pid", ds_grd_testlist.getColumn(row, "pid"));
- ds_hidden.setColumn(0, "tclscd", ds_grd_testlist.getColumn(row, "tclscd"));
- ds_hidden.setColumn(0, "spcacptdt", ds_grd_testlist.getColumn(row, "spcacptdt"));
-
- var objArg = new Object();
- objArg.arg_ds_temp_tbtestrsltinfo = ds_hidden;
- frmf_modal("SPLMP90100", "SPLMP90100", objArg, "","0", "600", "600", "", "", "", "", "", "M");
- }
- function div_search_cmb_testGrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSelectTestGrup();
- }
- function fSelectTestGrup()
- {
- dsf_makeValue(ds_send, "testgrupnm", "string", group2.combo00.text, 0);
-
- var oParam = {};
- oParam.id = "TRLLF90401";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetTestGrupDetl";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_main_testgrupdetl=getTestGrupDetl";
- oParam.async = false;
- //oParam.callback = "cf_TRLLF90401";
- tranf_submit(oParam);
-
- fSetPopUpTclscdList();
- }
- function fSetPopUpTclscdList()
- {
- var count = ds_main_testgrupdetl.rowcount;
-
- if(count > 0)
- {
- var sendtclsnm = ds_main_testgrupdetl.getColumn(0, "tclsnm");
- var sendtclscd = ds_main_testgrupdetl.getColumn(0, "tclscd");
- var sendtclscd2 = ds_main_testgrupdetl.getColumn(0, "tclscd");
-
- if(utlf_isNull(sendtclsnm))
- {
- ds_hidden_tclscdlist.setColumn(0, "tclscdlist", "");
- ds_hidden_tclscdlist.setColumn(0, "tclsnmlist", "");
- }
- else
- {
- for(var i = 0; i < count; i++)
- {
- sendtclsnm = sendtclsnm + ", " + ds_main_testgrupdetl.getColumn(i, "tclsnm");
- sendtclscd = sendtclscd + "','" + ds_main_testgrupdetl.getColumn(i, "tclscd");
- sendtclscd2 = sendtclscd2 + "▦" + ds_main_testgrupdetl.getColumn(i, "tclscd");
- }
-
- ds_hidden_ref_tclscdlist.setColumn(0, "tclsnmlist", sendtclsnm);
- ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist", "'" + sendtclscd + "'");
- ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist2", sendtclscd2);
- }
- }
- }
- function div_search_btn_help_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.testGrup = ds_hidden_ref_tclscdlist.getColumn(0, "testgrup");
-
- frmf_modal("SMLLF90400","SMLLF90400",objArg, "", "", "", "", "", "", "", "", "", "M");
- }
- function lf_setInit(ref)
- {
- if(ref == 2)
- {
- }
-
- // ds_send.setColumn(0, "codeflag", "0103|");
- //
- // var oParam = {};
- // oParam.id = "TRLZZ00101";
- // oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
- // oParam.method = "reqGetInitCodeInfo";
- // oParam.inds = "cond=ds_send";
- // oParam.outds = "ds_init_lb0103=0103"
- // oParam.async = false;
- // //oParam.callback = "cf_TRLZZ00101";
- //
- // tranf_submit(oParam);
- }]]></Script>
- </Form>
- </FDL>
|