12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLPP00500" position="absolute 0 0 1196 790" titletext="결과조회" oninit="SMLPP00500_oninit" onload="SMLPP00500_onload">
- <Layouts>
- <Layout>
- <Grid position="absolute 510 480 860 630" id="datagrid5" visible="false" binddataset="ds_datagrid5">
- <Formats>
- <Format id="default">
- <Columns>
- <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="caption1"/>
- <Cell col="1" text="caption3"/>
- <Cell col="2" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell text="bind:row"/>
- <Cell col="1" text="bind:col"/>
- <Cell col="2" text="bind:value"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="결과조회" class="tit_1" position="absolute 0 0 88 25"/>
- <Button id="button13" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1 27 93 49" onclick="button13_onclick"/>
- <Button id="btn_sytsrsltref" taborder="2" text="통합결과조회" class="btn3" position="absolute 96 27 196 49" onclick="btn_sytsrsltref_onclick"/>
- <Button id="btn_prt" taborder="3" text="출력" class="btn6" position="absolute 203 27 259 49" onclick="btn_prt_onclick"/>
- <Div id="group2" taborder="4" position="absolute 0 53 448 115" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 15 10 105 27"/>
- <Shape id="line1" linetype="vertical" class="line_4" position="absolute 359 33 365 52"/>
- <Static id="caption11" text="~" class="search_n_b" position="absolute 211 35 223 52"/>
- <Edit id="ipt_refval" taborder="8" class="input_search" position="absolute 108 9 208 28" onkeyup="group2_ipt_refval_onkeyup"/>
- <Calendar id="ipt_acptfromdd" taborder="9" class="input_s_essential" position="absolute 108 33 208 52" mask="yyyy-mm-dd"/>
- <Calendar id="ipt_acpttodd" taborder="10" class="input_s_essential" position="absolute 225 33 325 52" mask="yyyy-mm-dd"/>
- <Button id="btn_sea" taborder="11" text="조회" class="btn1" position="absolute 377 33 433 55" onclick="group2_btn_sea_onclick"/>
- <Combo id="cbo_ptnocd" taborder="12" innerdataset="ds_init_cbo_ptnocd" codecolumn="ptnocd" datacolumn="ptnonm" position="absolute 225 9 349 28"/>
- <Edit id="ipt_fromptno" taborder="13" class="text_center" position="absolute 382 9 432 28"/>
- <Edit id="ipt_fromyear" taborder="14" class="text_center" position="absolute 352 9 379 28"/>
- <Combo id="cmb_srchmthd" taborder="15" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 15 33 100 52">
- <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>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption3" text="검사결과" class="tit_2" position="absolute 455 51 534 67"/>
- <Shape id="line2" linetype="horizontal" class="line_1" position="absolute 452 68 1193 74" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_testrsltlist" class="datagrid2" taborder="5" binddataset="ds_grd_testrsltlist" useinputpanel="false" position="absolute 0 377 448 785" oncellclick="grd_testrsltlist_oncellclick" autofittype="none" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="26"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="60"/>
- <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="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="ptno"/>
- <Cell col="2"/>
- <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="pid"/>
- <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="진료의사"/>
- <Cell col="18" text="판독의사"/>
- <Cell col="19" text="육안검사의"/>
- <Cell col="20" text="처방발생구분"/>
- <Cell col="21" text="작업구분코드"/>
- <Cell col="22" text="진 단"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:ptno"/>
- <Cell col="2" celltype="head" text="expr:currow + 1"/>
- <Cell col="3" edittype="text" text="bind:dispptno"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="5" text="bind:acptdd" mask="yyyy-mm-dd"/>
- <Cell col="6" text="bind:testcd"/>
- <Cell col="7" displaytype="normal" edittype="none" style="align:left middle;" text="bind:testnm"/>
- <Cell col="8" displaytype="none" edittype="none" text="bind:tgrupcd"/>
- <Cell col="9" displaytype="normal" edittype="none" text="bind:acptstatcd"/>
- <Cell col="10" text="bind:pid"/>
- <Cell col="11" text="bind:patnm"/>
- <Cell col="12" displaytype="none" edittype="none" text="bind:reqfrmno"/>
- <Cell col="13" text="bind:reqfrmflagcd"/>
- <Cell col="14" text="bind:sexage"/>
- <Cell col="15" text="bind:readdd" mask="yyyy-mm-dd"/>
- <Cell col="16" text="bind:orddeptnm"/>
- <Cell col="17" text="bind:orddrnm"/>
- <Cell col="18" text="bind:readdrnm"/>
- <Cell col="19" text="bind:grosdrnm"/>
- <Cell col="20" text="bind:prcpgenrflag"/>
- <Cell col="21" text="bind:ptnoworkflagcd"/>
- <Cell col="22" style="align:left middle;" text="bind:diagcnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption2" text="검사결과 목록" class="tit_2" position="absolute 1 356 109 373"/>
- <Shape id="line3" linetype="horizontal" class="line_1" position="absolute 0 373 448 379" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_testrsltref" taborder="6" binddataset="ds_grd_testrsltref" useinputpanel="false" position="absolute 452 72 1193 785" autofittype="col" autosizingtype="row" cellsizingtype="row" onrbuttondown="grd_testrsltref_onrbuttondown" autoenter="select" extendsizetype="row" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="719"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="27"/>
- </Rows>
- <Band id="head">
- <Cell text="검 사 결 과 내 용"/>
- <Cell col="1" text="caption2"/>
- <Cell col="2" text="caption3"/>
- <Cell col="3" text="caption4"/>
- <Cell col="4" text="caption5"/>
- <Cell col="5" text="caption6"/>
- <Cell col="6" text="caption7"/>
- <Cell col="7" text="caption8"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;font:dotumche,9;" text="bind:reptrslt" wordwrap="both" autosizerow="limitmin"/>
- <Cell col="1" text="bind:level"/>
- <Cell col="2" text="bind:judgmark"/>
- <Cell col="3" text="bind:tkdt"/>
- <Cell col="4" text="bind:rsltdd"/>
- <Cell col="5" text="bind:suppdept"/>
- <Cell col="6" text="bind:pacsno"/>
- <Cell col="7" text="bind:spcno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Tab id="switch1" taborder="7" tabindex="0" position="absolute 0 240 450 356">
- <Tabpages>
- <Tabpage id="case1" text="T/P/M">
- <Layouts>
- <Layout>
- <Shape id="roundrect2" type="roundrectangle" class="roundrect_search" position="absolute 0 0 448 82"/>
- <Static id="caption12" text="채취방법(P) :" class="search_name" position="absolute 15 33 107 50"/>
- <Static id="caption4" text="채취부위(T) :" class="search_name" position="absolute 15 10 106 27"/>
- <Edit id="input2" taborder="12" class="input_search" position="absolute 130 9 322 28"/>
- <Edit id="input3" taborder="13" class="input_search" position="absolute 130 55 322 74"/>
- <Static id="caption9" text="진 단(M) :" class="search_name" position="absolute 15 56 109 73"/>
- <Edit id="input4" taborder="14" class="input_search" position="absolute 130 32 322 51"/>
- <Shape id="line7" linetype="vertical" class="line_4" position="absolute 334 8 340 75"/>
- <Button id="btn_detlsea" taborder="15" text="상세조회" class="btn1" position="absolute 353 30 433 52" onclick="switch1_case1_btn_detlsea_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="결과조회">
- <Layouts>
- <Layout>
- <Shape id="roundrect3" type="roundrectangle" class="roundrect_search" position="absolute 0 0 448 82"/>
- <Button id="button3" taborder="14" text="상세조회" class="btn1" position="absolute 353 30 433 52" onclick="switch1_case2_button3_onclick"/>
- <Static id="caption5" text="Microscopic :" class="search_name" position="absolute 15 56 116 73"/>
- <Static id="caption8" text="Gross :" class="search_name" position="absolute 15 10 82 27"/>
- <Edit id="input1" taborder="15" class="input_search" position="absolute 130 9 322 28"/>
- <Edit id="input5" taborder="16" class="input_search" position="absolute 130 32 322 51"/>
- <Edit id="input6" taborder="17" class="input_search" position="absolute 130 55 322 74"/>
- <Static id="caption15" text="Diagnosis :" class="search_name" position="absolute 15 33 102 50"/>
- <Shape id="line4" linetype="vertical" class="line_4" position="absolute 334 8 340 75"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="grp_patinfo" taborder="8" position="absolute 0 119 448 244">
- <Layouts>
- <Layout>
- <Static id="caption7" text="인적사항" class="tit_2" position="absolute 3 0 81 17" anchor="default"/>
- <Shape id="line9" linetype="horizontal" class="line_1" position="absolute 0 16 448 22" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Edit id="opt_pid" taborder="1" readonly="true" visible="false" position="absolute 185 45 267 64" anchor="default"/>
- <Edit id="output1" taborder="2" readonly="true" position="absolute 63 45 145 64" anchor="default"/>
- <Edit id="output2" taborder="3" readonly="true" position="absolute 63 69 145 88" anchor="default"/>
- <MaskEdit id="output3" taborder="4" readonly="true" mask="####-##-##" position="absolute 63 93 145 112" anchor="default" type="string"/>
- <MaskEdit id="output4" taborder="5" readonly="true" mask="####-##-##" position="absolute 368 93 446 112" anchor="default" type="string"/>
- <Edit id="output5" taborder="6" readonly="true" position="absolute 220 21 302 40" anchor="default"/>
- <Edit id="output6" taborder="7" readonly="true" position="absolute 368 21 446 40" anchor="default"/>
- <Edit id="output7" taborder="8" readonly="true" position="absolute 220 69 302 88" anchor="default"/>
- <MaskEdit id="output8" taborder="9" readonly="true" mask="####-##-##" position="absolute 220 93 302 112" anchor="default" type="string"/>
- <Edit id="output9" taborder="10" readonly="true" position="absolute 368 69 446 88" anchor="default"/>
- <Static id="caption20" text="성별나이" class="cell_1" position="absolute 305 20 365 43" anchor="default"/>
- <Static id="caption21" text="진료의사" class="cell_1" position="absolute 148 68 217 91" anchor="default"/>
- <Static id="caption22" text="접 수 일" class="cell_1" position="absolute 148 92 217 115" anchor="default"/>
- <Static id="caption23" text="판독의사" class="cell_1" position="absolute 305 68 365 91" anchor="default"/>
- <Static id="caption13" text="등록번호" class="cell_1" position="absolute 0 20 60 43" anchor="default"/>
- <Static id="caption14" text="병리번호" class="cell_1" position="absolute 0 44 60 67" anchor="default"/>
- <Static id="caption16" text="진 료 과" class="cell_1" position="absolute 0 68 60 91" anchor="default"/>
- <Static id="caption17" text="처 방 일" class="cell_1" position="absolute 0 92 60 115" anchor="default"/>
- <Static id="caption18" text="보 고 일" class="cell_1" position="absolute 305 92 365 115" anchor="default"/>
- <Static id="caption19" text="환 자 명" class="cell_1" position="absolute 148 20 217 43" anchor="default"/>
- <Edit id="input7" taborder="11" position="absolute 63 21 145 40" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_rsltexcel" taborder="9" text="EXCEL저장" class="btn7" position="absolute 1101 47 1192 66" onclick="btn_rsltexcel_onclick"/>
- <Button id="btn_imgview" taborder="10" text="이미지보기" class="btn2" position="absolute 1019 47 1094 66" onclick="btn_imgview_onclick"/>
- <Button id="button1" taborder="11" text="임상정보조회" class="btn2" position="absolute 925 47 1011 66" onclick="button1_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_datagrid5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="row" type="STRING"/>
- <Column id="col" type="STRING"/>
- <Column id="value" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptnonm" type="STRING"/>
- <Column id="ptnocd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testrsltlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="dispptno" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testnm" type="STRING"/>
- <Column id="tgrupcd" type="STRING"/>
- <Column id="acptstatcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="reqfrmno" type="STRING"/>
- <Column id="reqfrmflagcd" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="readdd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="readdrnm" type="STRING"/>
- <Column id="grosdrnm" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="ptnoworkflagcd" type="STRING"/>
- <Column id="diagcnts" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testrsltref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reptrslt" type="STRING"/>
- <Column id="level" type="STRING"/>
- <Column id="judgmark" type="STRING"/>
- <Column id="tkdt" type="STRING"/>
- <Column id="rsltdd" type="STRING"/>
- <Column id="suppdept" type="STRING"/>
- <Column id="pacsno" type="STRING"/>
- <Column id="spcno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hosoenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="lendrtnterm" type="STRING" size="256"/>
- <Column id="recvqualmthdcd" type="STRING" size="256"/>
- <Column id="plgydeptcd" type="STRING" size="256"/>
- <Column id="plgyteamcd" type="STRING" size="256"/>
- <Column id="doctjobgradcd" type="STRING" size="256"/>
- <Column id="teamjobgradcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256"/>
- <Column id="systm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refcrite" type="STRING" size="256"/>
- <Column id="refval" type="STRING" size="256"/>
- <Column id="acptfromdd" type="STRING" size="256"/>
- <Column id="acpttodd" type="STRING" size="256"/>
- <Column id="refdr" type="STRING" size="256"/>
- <Column id="ptnocode" type="STRING" size="256"/>
- <Column id="fromyear" type="STRING" size="256"/>
- <Column id="fromptno" type="STRING" size="256"/>
- <Column id="toptno" type="STRING" size="256"/>
- <Column id="sysdt" type="STRING" size="256"/>
- <Column id="hospenv" type="STRING" size="256"/>
- <Column id="ptnocd" type="STRING" size="256"/>
- <Column id="srchmthd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchmthd">1</Col>
- </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="detlrefcrite" type="STRING" size="256"/>
- <Column id="userdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="refcrite" type="STRING" size="256" sumtext="검색조건"/>
- <Column id="refval" type="STRING" size="256" sumtext="검색값"/>
- <Column id="acptfromdd" type="STRING" size="256" sumtext="접수시작일자"/>
- <Column id="acpttodd" type="STRING" size="256" sumtext="접수종료일자"/>
- <Column id="userdeptcd" type="STRING" size="256" sumtext="병리과코드"/>
- <Column id="extrpart" type="STRING" size="256" sumtext="채취내용"/>
- <Column id="diag" type="STRING" size="256" sumtext="진단내용"/>
- <Column id="extrmthd" type="STRING" size="256" sumtext="채취방법"/>
- <Column id="refflagcd" type="STRING" size="256" sumtext="조회구분코드"/>
- <Column id="ptnocode" type="STRING" size="256" sumtext="병리번호코드"/>
- <Column id="fromyear" type="STRING" size="256" sumtext="시작년도"/>
- <Column id="fromptno" type="STRING" size="256" sumtext="시작병리번호"/>
- <Column id="toptno" type="STRING" size="256" sumtext="종료병리번호"/>
- <Column id="srchmthd" type="STRING" size="256" sumtext="조회날자구분"/>
- <Column id="workflaglist" type="STRING" size="256" sumtext="작업구분"/>
- <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
- <Column id="toyear" type="STRING" size="256" sumtext="종료년도"/>
- <Column id="orddeptid" type="STRING" size="256" sumtext="진료과"/>
- <Column id="sreadId" type="STRING" size="256" sumtext="판독의"/>
- <Column id="diagchk" type="STRING" size="256" sumtext="진단내용검색방법"/>
- <Column id="sGrossId" type="STRING" size="256" sumtext="sGrossId"/>
- <Column id="ptno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="workflagcd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="scrno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_detlrefcrite" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="extrpart" type="STRING" size="256"/>
- <Column id="diag" type="STRING" size="256"/>
- <Column id="extrmthd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="dispptno" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="acptdd" type="STRING" size="256"/>
- <Column id="readdd" type="STRING" size="256"/>
- <Column id="readdrnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="acptdd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="reptflagcd" type="STRING" size="256"/>
- <Column id="adddiagprtn" type="STRING" size="256"/>
- <Column id="adddiaglist" type="STRING" size="256"/>
- <Column id="addrsltlist" type="STRING" size="256"/>
- <Column id="prntflagcd" type="STRING" size="256"/>
- <Column id="copyflagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">▶ 병리 이미지 보기</Col>
- <Col id="func">fExeImgView2</Col>
- </Row>
- <Row>
- <Col id="name">▶ 복사하기</Col>
- <Col id="func">astgrid_liscopy</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_popupmenu2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="name">▶ 복사하기</Col>
- <Col id="func">astgrid_liscopy</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.cmb_srchmthd" propid="value" datasetid="ds_init" columnid="srchmthd"/>
- <BindItem id="item1" compid="group2.ipt_refval" propid="value" datasetid="ds_init" columnid="refval"/>
- <BindItem id="item2" compid="group2.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
- <BindItem id="item3" compid="group2.ipt_acpttodd" propid="value" datasetid="ds_init" columnid="acpttodd"/>
- <BindItem id="item4" compid="group2.ipt_acptfromdd" propid="value" datasetid="ds_init" columnid="acptfromdd"/>
- <BindItem id="item5" compid="group2.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
- <BindItem id="item6" compid="group2.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
- <BindItem id="item7" compid="grp_patinfo.input7" propid="value" datasetid="ds_patinfo" columnid="pid"/>
- <BindItem id="item8" compid="grp_patinfo.output5" propid="value" datasetid="ds_patinfo" columnid="patnm"/>
- <BindItem id="item9" compid="grp_patinfo.output6" propid="value" datasetid="ds_patinfo" columnid="sexage"/>
- <BindItem id="item10" compid="grp_patinfo.opt_pid" propid="value" datasetid="ds_patinfo" columnid="pid"/>
- <BindItem id="item11" compid="grp_patinfo.output1" propid="value" datasetid="ds_patinfo" columnid="dispptno"/>
- <BindItem id="item12" compid="grp_patinfo.output2" propid="value" datasetid="ds_patinfo" columnid="orddeptnm"/>
- <BindItem id="item13" compid="grp_patinfo.output3" propid="value" datasetid="ds_patinfo" columnid="prcpdd"/>
- <BindItem id="item14" compid="grp_patinfo.output8" propid="value" datasetid="ds_patinfo" columnid="acptdd"/>
- <BindItem id="item15" compid="grp_patinfo.output7" propid="value" datasetid="ds_patinfo" columnid="orddrnm"/>
- <BindItem id="item16" compid="grp_patinfo.output9" propid="value" datasetid="ds_patinfo" columnid="readdrnm"/>
- <BindItem id="item17" compid="grp_patinfo.output4" propid="value" datasetid="ds_patinfo" columnid="readdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LZZ001.xjs";
- include "lis_commonxp::LPZ001.xjs";
- function SMLPP00500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLPP00500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_testrsltlist);
- grdf_initGrid(grd_testrsltref);
- frmf_createPopupMenu("pmn_popupMenu", "pmn_popupMenu_onmenuclick");
- fExeInitialize();
- }
- function fExeInitialize()
- {
- //----------------
- // 시스템일시 조회
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- var oParam = {};
- oParam.id = "TRLPZ00101";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetHospitalEnvironmentSetInfo";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_hosoenvinfo=hospenvinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00101";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
-
- ds_send.setColumn(0, "refflagcd", "0");
-
- var oParam = {};
- oParam.id = "TRLPZ00109";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetPtNoCdList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_init_cbo_ptnocd=rsltlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00109";
- tranf_submit(oParam);
-
- //---------------------------------------------------------
- // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
- lpzfUserDeptCd(ds_hosoenvinfo, ds_hidden);
- //--------------------------------------------
- ds_init.setColumn(0, "refcrite", "-");
- ds_init.setColumn(0, "acptfromdd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
- ds_init.setColumn(0, "acpttodd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
- ds_init.setColumn(0, "refdr", "-");
- ds_init.setColumn(0, "refcrite", "2");
- ds_init.setColumn(0, "refval", "");
-
- //-----------------------------------------------------------------
- var sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
-
- ds_init.setColumn(0, "ptnocode", "");
- ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
- ds_init.setColumn(0, "fromptno", "");
- ds_init.setColumn(0, "toptno", "");
-
- //---------------------------
- if( utlf_isNull(this.parent))
- {
- // Continue
- }
- else
- {
- if( !utlf_isNull(opener.frmf_getParameter("SMLPP00500_scrno")))
- {
- ds_init.setColumn(0, "ptnocode", opener.frmf_getParameter("SMLPP00500_ptnocd"));
- ds_init.setColumn(0, "fromyear", opener.frmf_getParameter("SMLPP00500_year"));
- ds_init.setColumn(0, "fromptno", opener.frmf_getParameter("SMLPP00500_no"));
- ds_init.setColumn(0, "acptfromdd", opener.frmf_getParameter("SMLPP00500_acptdd"));
- ds_init.setColumn(0, "acpttodd", opener.frmf_getParameter("SMLPP00500_acptdd"));
- ds_init.setColumn(0, "refcrite", "0");
- ds_init.setColumn(0, "refval", opener.frmf_getParameter("SMLPP00500_pid"));
- // //--------------------
- fGetTestRsltList("1");
- }
- if( !utlf_isNull(opener.frmf_getParameter("SMLPP00500_pid")))
- {
- ds_init.setColumn(0, "refval", opener.frmf_getParameter("SMLPP00500_pid"));
-
- if( !utlf_isNull(opener.frmf_getParameter("SMLPP00500_ptnocd")))
- {
- ds_init.setColumn(0, "ptnocode", opener.frmf_getParameter("SMLPP00500_ptnocd"));
- ds_init.setColumn(0, "fromyear", opener.frmf_getParameter("SMLPP00500_year"));
- ds_init.setColumn(0, "fromptno", opener.frmf_getParameter("SMLPP00500_no"));
- }
- //--------------------
- fGetTestRsltList("1");
- }
- }
- group2.ipt_refval.setFocus();
- }
- //검사결과 목록 조회 함수
- function fGetTestRsltList(pFlagCd)
- {
- var sTemp = "";
- var sFromDD = ds_init.getColumn(0, "acptfromdd");
- var sRefVal = ds_init.getColumn(0, "refval");
-
- //--------------------------------------------------------
- // 등록번호 조회 시 최소 4자리 이상 입력하도록 메세지 표시
- if(ds_init.getColumn(0, "refcrite") == "2")
- {
- if(!utlf_isNull(sRefVal))
- {
- if (sRefVal.length < 3)
- {
- sysf_messageBox("등록번호를 4자리 이상 ", "C001");
- return false;
- }
- }
- }
-
- //------------------------------------------------
- if( !utlf_isNull(ds_init.getColumn(0, "ptnocode")))
- {
- //------------------------------------------------
- if( utlf_isNull(ds_init.getColumn(0, "fromyear")))
- {
- ds_init.setColumn(0, "fromyear", sFromDD.substr(2,2));
- }
- else
- {
- sTemp = ds_init.getColumn(0, "fromyear");
- ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
- }
- //------------------------------------------------
- if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
- {
- ds_init.setColumn(0, "toptno", "zzzzzz");
- }
- else
- {
- sTemp = ds_init.getColumn(0, "fromptno");
- ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
- ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- //--------------------------------------------
- sTemp = ds_init.getColumn(0, "ptnocode");
-
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "refcrite", ds_init.getColumn(0, "refcrite"));
- ds_send.setColumn(0, "refval", ds_init.getColumn(0, "refval"));
- ds_send.setColumn(0, "acptfromdd", ds_init.getColumn(0, "acptfromdd"));
- ds_send.setColumn(0, "acpttodd", ds_init.getColumn(0, "acpttodd"));
- ds_send.setColumn(0, "userdeptcd", ds_hidden.getColumn(0, "userdeptcd"));
- ds_send.setColumn(0, "refflagcd", pFlagCd);
- ds_send.setColumn(0, "ptnocode", sTemp.replace("-", ""));
- ds_send.setColumn(0, "fromyear", ds_init.getColumn(0, "fromyear"));
- ds_send.setColumn(0, "fromptno", ds_init.getColumn(0, "fromptno"));
- ds_send.setColumn(0, "toptno", ds_init.getColumn(0, "toptno"));
- ds_send.setColumn(0, "srchmthd", ds_init.getColumn(0, "srchmthd"));
-
-
- //-----------------------------------------------
- // 일반조회(1), 상세(TPM)조회(2), 결과상세조회(3)
- if (pFlagCd == "1")
- {
- ds_send.setColumn(0, "extrpart", "");
- ds_send.setColumn(0, "diag", "");
- ds_send.setColumn(0, "extrmthd", "");
- }
- else
- {
- ds_send.setColumn(0, "extrpart", ds_hidden_detlrefcrite.getColumn(0, "extrpart"));
- ds_send.setColumn(0, "diag", ds_hidden_detlrefcrite.getColumn(0, "diag"));
- ds_send.setColumn(0, "extrmthd", ds_hidden_detlrefcrite.getColumn(0, "extrmthd"));
- }
- //-------------------
- var oParam = {};
- oParam.id = "TRLPP00501";
- oParam.service = "plgyrefmngtapp.TestRsltRef";
- oParam.method = "reqGetTestRsltList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_testrsltlist=refrslt";
- oParam.async = false;
- //oParam.callback = "cf_TRLPP00501";
- tranf_submit(oParam);
-
- //-------------------------------------------------------------
- if(ds_grd_testrsltlist.rowcount == 1)
- {
- fGetTestRslt();
- }
- }
- //검사결과 조회 함수
- function fGetTestRslt()
- {
- var iRowNo = -1;
- var sScrNode = ds_grd_testrsltlist;
- var sDescNode = ds_patinfo;
-
- //------------------------------------------
- if(ds_grd_testrsltlist.rowposition < 0)
- {
- return false;
- }
- //----------------------------
- iRowNo = ds_grd_testrsltlist.rowposition;
- ds_patinfo.setColumn(0, "pid", ds_grd_testrsltlist.getColumn(iRowNo, "pid"));
- ds_patinfo.setColumn(0, "patnm", ds_grd_testrsltlist.getColumn(iRowNo, "patnm"));
- ds_patinfo.setColumn(0, "dispptno", ds_grd_testrsltlist.getColumn(iRowNo, "dispptno"));
- ds_patinfo.setColumn(0, "sexage", ds_grd_testrsltlist.getColumn(iRowNo, "sexage"));
- ds_patinfo.setColumn(0, "orddeptnm", ds_grd_testrsltlist.getColumn(iRowNo, "orddeptnm"));
- ds_patinfo.setColumn(0, "orddrnm", ds_grd_testrsltlist.getColumn(iRowNo, "orddrnm"));
- ds_patinfo.setColumn(0, "prcpdd", ds_grd_testrsltlist.getColumn(iRowNo, "prcpdd"));
- ds_patinfo.setColumn(0, "acptdd", ds_grd_testrsltlist.getColumn(iRowNo, "acptdd"));
- ds_patinfo.setColumn(0, "readdd", ds_grd_testrsltlist.getColumn(iRowNo, "readdd"));
- ds_patinfo.setColumn(0, "readdrnm", ds_grd_testrsltlist.getColumn(iRowNo, "readdrnm"));
-
- //----------------------------------
- lpzfTopInfo(); // 상단정보 호출
- //---------------------------------------------------------------------------------------------
- if(appf_getPatientInfoDetail("pid") != ds_grd_testrsltlist.getColumn(iRowNo, "pid"))
- {
-
- //--------------
- // 상단정보 표시
- lpzfExeTopInfoDisp(ds_grd_testrsltlist.getColumn(iRowNo, "prcpdd"),
- ds_grd_testrsltlist.getColumn(iRowNo, "execprcpuniqno"),
- ds_grd_testrsltlist.getColumn(iRowNo, "instcd"));
- }
-
- //---------------
- // 검사결과 조회
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "ptno", ds_grd_testrsltlist.getColumn(iRowNo, "ptno"));
- ds_send.setColumn(0, "pid", ds_grd_testrsltlist.getColumn(iRowNo, "pid"));
- ds_send.setColumn(0, "workflagcd", ds_grd_testrsltlist.getColumn(iRowNo, "ptnoworkflagcd"));
- ds_send.setColumn(0, "prcpgenrflag", ds_grd_testrsltlist.getColumn(iRowNo, "prcpgenrflag"));
- ds_send.setColumn(0, "scrno", "10");
- var oParam = {};
- oParam.id = "TRLPZ00107";
- oParam.service = "plgyrefmngtapp.TestRsltRef";
- oParam.method = "reqGetTestRsltInfo";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_testrsltref=refrslt";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00107";
- tranf_submit(oParam);
- }
- //통합결과조회 화면호출
- function fExePopupCallSytsRslt()
- {
- if( utlf_isNull(ds_patinfo.getColumn))
- {
- frmf_modal("SMAER00800", "SMAER00800", "", null, null, null, null, null, null, null, null, null, "M");
- }
- else
- {
- var objArg = new Object();
- objArg.arg_ds_send_singdata = ds_patinfo;
- frmf_modal("SMAER00800", "SMAER00800", "", null, null, null, null, null, null, null, null, null, "M");
- }
- }
- //임상정보조회ss
- function fGetIMSInfo()
- {
- var iRowNo = -1;
- var sScrNode = ds_data_sysdtinfo;
-
- if(ds_grd_testrsltlist.rowposition < 0)
- {
- return false;
- }
- iRowNo = ds_grd_testrsltlist.rowposition;
-
- var instcd = sysf_getUserInfo("dutplceinstcd")
- var ptno = ds_grd_testrsltlist.getColumn(iRowNo, "ptno");
- var pid = ds_grd_testrsltlist.getColumn(iRowNo, "pid");
- var workflagcd = ds_grd_testrsltlist.getColumn(iRowNo, "ptnoworkflagcd");
- var prcpgenrflag = ds_grd_testrsltlist.getColumn(iRowNo, "prcpgenrflag");
- var scrno = "SPLPP02500";
- var sflag = instcd + "▦" + ptno + "▦" + pid + "▦" + workflagcd + "▦" + prcpgenrflag + "▦" + scrno;
-
- frmf_setParameter("opener_parameter_id", sflag);
- frmf_modal("SPLPP02500", "SPLPP02500", "", null, null, null, null, null, null, null, null, null, "M");
- }
- //이미지 표시 처리
- function fExeImgView()
- {
- var sPtNo = "";
- var aPtNo = "";
- var sNode = ds_grd_testrsltlist;
- var iRowNo = ds_grd_testrsltlist.rowposition;
- //----------------
- if (iRowNo >= 0)
- {
- sPtNo = ds_grd_testrsltlist.getColumn(iRowNo, "dispptno");
- aPtNo = sPtNo.split("-");
-
- //----------------------------------------------
- frmf_setParameter("SMLPP02000_scrno", "SMLPP00500");
- frmf_setParameter("SMLPP02000_pid", ds_grd_testrsltlist.getColumn(iRowNo, "pid"));
- frmf_setParameter("SMLPP02000_rgstdd", utlf_getCurrentDate());
-
- frmf_setParameter("SMLPP02000_no", "");
- frmf_setParameter("SMLPP02000_ptnocd", "");
- frmf_setParameter("SMLPP02000_year", "");
-
- //------------------
- frmf_modal("SMLPP02000", "SMLPP02000", "", null, null, null, null, null, null, null, null, null, "M");
- }
- }
- function fExeReptPrnt()
- {
- //-------------------------------
- if(ds_grd_testrsltlist.rowposition < 0)
- {
- sysf_messageBox("처방을 선택하여 주십시오!", "I007");
- return false;
- }
-
- ds_prntinfo.setColumn(0, "ptno", ds_patinfo.getColumn(0, "dispptno"));
- ds_prntinfo.setColumn(0, "pid", ds_patinfo.getColumn(0, "pid"));
- ds_prntinfo.setColumn(0, "acptdd", ds_patinfo.getColumn(0, "acptdd"));
-
- ds_prntinfo.setColumn(0, "reptflagcd", "1");
- ds_prntinfo.setColumn(0, "prntflagcd", "0");
- ds_prntinfo.setColumn(0, "copyflagcd", "1");
- ds_prntinfo.setColumn(0, "prcpgenrflag", ds_grd_testrsltlist.getColumn(ds_grd_testrsltlist.rowposition, "prcpgenrflag"));
- ds_prntinfo.setColumn(0, "acptdd", ds_grd_testrsltlist.getColumn(ds_grd_testrsltlist.rowposition, "acptdd"));
- ds_prntinfo.setColumn(0, "ptno", ds_grd_testrsltlist.getColumn(ds_grd_testrsltlist.rowposition, "ptno"));
- ds_prntinfo.setColumn(0, "pid", ds_grd_testrsltlist.getColumn(ds_grd_testrsltlist.rowposition, "pid"));
-
- lpzfExeFrmPrnt1(ds_prntinfo, ds_prntinfo.rowposition);
- }
-
- function fExePtNoClick()
- {
- if(ds_grd_testrsltlist.rowposition > -1 && grd_testrsltlist.setCellProperty)
- {
- fGetTestRslt();
- }
- }
- //조회
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetTestRsltList("1");
- }
- function switch1_case1_btn_detlsea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetTestRsltList("2");
- }
- function switch1_case2_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetTestRsltList("3");
- }
- //임상정보조회
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetIMSInfo();
- }
- //이미지보기
- function btn_imgview_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeImgView();
- }
- //통합결과조회
- function btn_sytsrsltref_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePopupCallSytsRslt();
- }
- function grd_testrsltlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fExePtNoClick();
- }
- function button13_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_testrsltlist, "결과조회");
- }
- function btn_rsltexcel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_testrsltref, "검사결과내용");
- }
- function btn_prt_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeReptPrnt();
- }
- function group2_ipt_refval_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_init.setColumn(0, "refval", group2.ipt_refval.text);
- fGetTestRsltList("1");
- }
- }
- function lpzfExeFrmPrnt1(pDs, iRowNo)
- {
-
- var sProp = "top:0px;left:0px;width:0;height:0;";
-
- //var sProp = "left:0; top:0; width:100; height:100; sysmenu:hidden; min:visible; max:hidden; :hidden; resize:true; caption:visible;";
- var pDsRow = pDs.rowcount;
-
- trace("pDsRow="+pDsRow);
- //오브잭트 선언 후 부모창에서 데이터셋에 담아 보내준 값 담기
- var objRetVal= new Object();
- objRetVal.instcd = sysf_getUserInfo("dutplceinstcd"); //기관코드
- objRetVal.ptno = pDs.getColumn(iRowNo,"ptno"); //병리번호
- objRetVal.pid = pDs.getColumn(iRowNo,"pid");
- objRetVal.acptdd = pDs.getColumn(iRowNo,"acptdd");
- objRetVal.prcpgenrflag = pDs.getColumn(iRowNo,"prcpgenrflag");
- objRetVal.reptflagcd = pDs.getColumn(iRowNo,"reptflagcd"); //출력구분코드 (0:의뢰지, 1:보고서) --
- objRetVal.adddiagprtn = pDs.getColumn(iRowNo,"adddiagprtn");
- objRetVal.adddiaglist = pDs.getColumn(iRowNo,"adddiaglist");
- objRetVal.addrsltlist = pDs.getColumn(iRowNo,"addrsltlist");
- objRetVal.prntflagcd = pDs.getColumn(iRowNo,"prntflagcd"); // 출력(0), 미리보기(1)
- objRetVal.copyflagcd = pDs.getColumn(iRowNo,"copyflagcd"); // 의뢰지/보고서(0), 복사본(1)
- trace("====================================================");
- //출력 및 미리보기 여부 수정해야함
- if(pDs.getColumn(iRowNo,"prntflagcd")=="0")
- {
- frmf_modal("SPLPP01600","SPLPP01600",objRetVal, null, null, null, null, null, null, null,null, null, "P");
- }
- else
- {
- frmf_modal("SPLPP01600","SPLPP01600",objRetVal, null, null, null, null, null, null, null,null, null, "P");
- }
- }
- function grd_testrsltref_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(ds_grd_testrsltref.getColumn(ds_grd_testrsltref.rowposition, "judgmark") == "IMP")
- {
- frmf_setPopupMenuDs( "pmn_popupMenu", [{id: "fExeImgView2", level: "0", title: "▶ 병리 이미지 보기"},
- {id: "astgrid_liscopy", level: "0", title: "▶ 복사하기"}]);
- pmn_popupMenu.trackPopup(e.screenX,e.screenY);
- }
- else
- {
- frmf_setPopupMenuDs( "pmn_popupMenu", [{id: "astgrid_liscopy", level: "0", title: "▶ 복사하기"}]);
-
- pmn_popupMenu.trackPopup(e.screenX,e.screenY);
- }
- }
- function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- if(e.id == "fExeImgView2")
- {
- fExeImgView2();
- }
- else if(e.id == "astgrid_liscopy")
- {
- astgrid_liscopy();
- }
- }
- function fExeImgView2()
- {
- var sPtNo = "";
- var aPtNo = "";
- //var sNode = "/root/main/testrslt/testrsltinfo";
- var sNode = ds_grd_testrsltref;
-
- if(ds_grd_testrsltref.rowcount <= 0) return;
-
- //sPtNo = model.getValue(sNode+ "["+ grd_testrsltref.row +"]/spcno");
- sPtNo = ds_grd_testrsltref.getColumn(ds_grd_testrsltref.rowposition, "spcno");
-
- sPtNo = sPtNo.substr(0, sPtNo.length -6) + "-" + sPtNo.substr(sPtNo.length -6, 6);
-
- aPtNo = sPtNo.split("-");
-
- //----------------------------------------------
- frmf_setParameter("SMLPP02000_scrno", "SMLPR00100");
- //setParameter("SMLPP02000_pid", model.getValue(sNode+"/pid"));
- frmf_setParameter("SMLPP02000_pid", "");
- frmf_setParameter("SMLPP02000_rgstdd", utlf_getCurrentDate());
- frmf_setParameter("SMLPP02000_no", aPtNo[1]);
- frmf_setParameter("SMLPP02000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
- frmf_setParameter("SMLPP02000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
-
- //------------------
- //modal("SMLPP02000");
- frmf_modal("SMLPP02000", "SMLPP02000", "", "", "", "", "", "", "", "", "", "", "M")
- }
- function astgrid_liscopy()
- {
- var grd_testrsltref:Grid = this.grd_testrsltref;
- var cellValue;
- var rClipBoardValue = "";
-
- var row = -1;
- var col = 0;
- var selrow = 0;
- var cnt =0;
- var colcnt = grd_testrsltref.getCellCount("Head");
- trace("colcnt =" + colcnt);
- ds_datagrid5.clearData();
-
- trace("start row = " + grd_testrsltref.selectstartrow);
- trace("end row = " + grd_testrsltref.selectendrow);
- for(var i = grd_testrsltref.selectstartrow; i <= grd_testrsltref.selectendrow; i++)
- {
- if(this.ds_grd_testrsltref.getSelect(i) == true)
- {
- trace("true???");
- trace("start col = " + grd_testrsltref.selectstartcol);
- trace("end col = " + grd_testrsltref.selectendcol);
-
- for(var j = grd_testrsltref.selectstartcol; j <= grd_testrsltref.selectendcol; j++)
- {
- trace("i = " + i);
- trace("j = " + j);
-
- //if(grd_testrsltref.isSelectedCell(i * colcnt + j) == true)
- //{
- trace("??????????????????????????");
- dsf_makeValue(ds_datagrid5,"row","string", i, cnt);
- dsf_makeValue(ds_datagrid5,"col","string", i, cnt);
- dsf_makeValue(ds_datagrid5,"value","string",grd_testrsltref.getCellValue(i, i * colcnt + j), cnt);//(i,i * colcnt + j), cnt);
- cnt++;
- //}
- }
- }
- }
-
- this.datagrid5.redraw();
- ds_datagrid5.keystring = "S:row+col";
- row = -1;
- //rClipBoardValue = this.ds_init_baseinfo.getColumn(0,"tclsnm");
-
- for (var i=0; i < ds_datagrid5.rowcount;i++)
- {
- selrow = ds_datagrid5.getColumn(i, "row");
- cellValue = ds_datagrid5.getColumn(i, "value");
- trace("cellValue = " + cellValue);
- if (row != selrow)
- {
- rClipBoardValue += "\r\n";
- rClipBoardValue += cellValue;
- row = selrow;
- }
- else
- {
- rClipBoardValue += "\t";
- rClipBoardValue += cellValue;
- }
- }
- trace("rClipBoardValue = " + rClipBoardValue);
- if(!utlf_isNull(rClipBoardValue))
- {
- //this.clipBoardData = rClipBoardValue;
- system.setClipboard("CF_TEXT", rClipBoardValue);
-
-
- }
- ds_datagrid5.clear();
- } ]]></Script>
- </Form>
- </FDL>
|