1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLOR00100" position="absolute 0 0 1256 805" titletext="New Form" onload="SMLOR00100_onload">
- <Layouts>
- <Layout>
- <Div id="div" position="absolute 0 40 1256 805" anchor="all" positiontype="position">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_1" position="absolute 0 116 1195 116" anchor="default" linetype="horizontal" positiontype="position"/>
- <Static id="caption1" class="tit_2" position="absolute 5 72 136 92" anchor="default" text="검체코드상세내역" positiontype="position"/>
- <Button id="btn_excel" class="btn2" position="absolute 1188 70 1256 90" anchor="top right" text="엑셀저장" onclick="div_btn_excel_onclick" positiontype="position"/>
- <Static id="caption3" class="tit_2" position="absolute 710 629 841 649" anchor="left bottom" text="소견입력" positiontype="position"/>
- <Shape id="line2" class="line_1" position="absolute 705 629 1195 629" anchor="left bottom" linetype="horizontal" positiontype="position"/>
- <Static id="caption5" class="tit_2" position="absolute 0 629 131 649" anchor="left bottom" text="서술형참고치" positiontype="position"/>
- <Shape id="line3" class="line_1" position="absolute 0 629 700 629" anchor="left bottom" linetype="horizontal" positiontype="position"/>
- <Shape id="line4" class="line_2" position="absolute 705 656 1195 656" anchor="left bottom" linetype="horizontal" positiontype="position"/>
- <Shape id="line5" class="line_3" position="absolute 705 749 1195 749" anchor="left bottom" linetype="horizontal" positiontype="position"/>
- <Grid id="grd_outer" class="datagrid" position="absolute 0 92 1256 600" anchor="default" binddataset="ds_grid_grd_outerlist" visible="false" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="72"/>
- <Column size="72"/>
- <Column size="70"/>
- <Column size="82"/>
- <Column size="64"/>
- <Column size="66"/>
- <Column size="140"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="62"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="130"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="No."/>
- <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="rkey"/>
- <Cell col="13" text="imgfull"/>
- <Cell col="14" text="imgwidt"/>
- <Cell col="15" text="imght"/>
- <Cell col="16" text="imgrslt"/>
- <Cell col="17" text="검사명"/>
- <Cell col="18" text="img결과"/>
- <Cell col="19" text="서술결과"/>
- <Cell col="20" text="tclscd"/>
- <Cell col="21" text="spccd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" mask="####-##-##"/>
- <Cell col="2" combodataset="ds_init_lb0110" combocodecol="cd" combodatacol="nm"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8" combodataset="ds_grid_cmb_rsltstat" combocodecol="cd" combodatacol="nm"/>
- <Cell col="9" combodataset="ds_grid_cmb_srvstat" combocodecol="cd" combodatacol="nm"/>
- <Cell col="10" combodataset="ds_grid_cmb_imgyn" combocodecol="cd" combodatacol="nm"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo id="cmb_cmtcd" class="combo_default" position="absolute 710 649 1256 669" anchor="left right bottom" innerdataset="@ds_init_lb0210" codecolumn="cd" datacolumn="nm" onitemchanged="div_cmb_cmtcd_onitemchanged" index="-1" positiontype="position"/>
- <TextArea id="tar_cmt" position="absolute 710 674 1256 765" anchor="left right bottom" wordwrap="word" ontextchanged="div_tar_cmt_ontextchanged" positiontype="position"/>
- <Button id="button7" visible="false" position="absolute 185 392 300 412" anchor="default" text="이미지업로드 임시용" onlbuttonup="button7_onlbuttonup" positiontype="position"/>
- <Grid id="grd_attach" visible="false" position="absolute 0 427 1080 577" anchor="default" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="415"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <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="bcno"/>
- <Cell col="2" text="testcd"/>
- <Cell col="3" text="rsltstat"/>
- <Cell col="4" text="imght"/>
- <Cell col="5" text="imgwidt"/>
- <Cell col="6" text="imgrslt"/>
- </Band>
- <Band id="body">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_upload" class="btn5" visible="false" position="absolute 600 402 664 422" anchor="default" text="upload" onlbuttonup="btn_upload_onlbuttonup" positiontype="position"/>
- <Button id="btn_addfile" class="btn2" visible="false" position="absolute 530 402 594 422" anchor="default" text="addfile" onlbuttonup="btn_addfile_onlbuttonup" positiontype="position"/>
- <ImageViewer id="img2" visible="true" position="absolute 795 222 935 342" anchor="default" positiontype="position"/>
- <ImageViewer id="img1" visible="false" position="absolute 620 222 775 352" anchor="default" positiontype="position"/>
- <Grid id="grd_detllist" class="datagrid" position="absolute 0 92 1256 624" anchor="all" binddataset="ds_grid_grd_outerlist" cellsizingtype="col" visible="true" autosizingtype="none" oncellclick="div_grd_detllist_oncellclick" positiontype="position" onmousemove="div_grd_detllist_onmousemove" autoenter="select" onenterdown="div_grd_detllist_onenterdown" cellmovingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="24"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="82"/>
- <Column size="80"/>
- <Column size="160"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="15"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="120"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="50"/>
- <Column size="21"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="35" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="No"/>
- <Cell col="1" text="상태"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox"/>
- <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"/>
- <Cell col="13" text="상태구분"/>
- <Cell col="14" text="서버상태"/>
- <Cell col="15" text="이미지 결과"/>
- <Cell col="16" text="이미지명"/>
- <Cell col="17" text="rkey"/>
- <Cell col="18" text="imgfull"/>
- <Cell col="19" text="imgwidt"/>
- <Cell col="20" text="imght"/>
- <Cell col="21" text="imgrslt"/>
- <Cell col="22" text="검사코드"/>
- <Cell col="23" colspan="2" style="align:center middle;" text="img결과">
- <Cell text="img결과"/>
- <Cell col="1"/>
- </Cell>
- <Cell col="25" text="서술결과"/>
- <Cell col="26" text="tclscd"/>
- <Cell col="27" text="spccd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="image" expr="expr:expr: getRowType(currow) == 2 ?'theme://images/ico_i.png' : (getRowType(currow) == 4 ? 'theme://images/ico_u.png' : (getRowType(currow) == 8 ? 'theme://images/ico_d.png' : 'theme://images/ico_e.png'))"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="3" displaytype="date" style="align:left middle;" text="bind:workdd" mask="yyyy-MM-dd HH:mm:ss" suppress="1" calendardisplaynulltype="nulltext"/>
- <Cell col="4" displaytype="combo" edittype="none" style="align:center middle;" text="bind:extrtestinstcd" suppress="0" combodataset="ds_init_lb0110" combocodecol="cd" combodatacol="nm"/>
- <Cell col="5" displaytype="text" edittype="text" style="align:center middle;" text="bind:pid" suppress="1"/>
- <Cell col="6" displaytype="text" edittype="text" style="align:center middle;" text="bind:bcno" suppress="1"/>
- <Cell col="7" style="align:center middle;" text="bind:patnm" suppress="1"/>
- <Cell col="8" style="align:left middle;" text="bind:testnm"/>
- <Cell col="9" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 2;line:1 solid #ccccccff,1 solid #ccccccff;background:#eeffffff;background2:#eeffffff;" text="bind:inptrslt" editautoselect="true"/>
- <Cell col="10" style="align:left middle;" text="bind:refval" tooltiptext="bind:refval"/>
- <Cell col="11" style="align:center middle;" text="bind:rsltunit"/>
- <Cell col="12" style="align:center middle;background:EXPR(erprcpflag == '1' ? '#cccc00': (erprcpflag == '2' ? '#ffff00': ''));background2:EXPR(erprcpflag == '1' ? '#cccc00': (erprcpflag == '2' ? '#ffff00': ''));backgroundimage:EXPR(rsltstat == '-' ? 'IMG::lis/icnRSTFLAG_N.png' : (rsltstat == '1' ? 'IMG::lis/icnRSTFLAG_1.png' : (rsltstat == '2' ? 'IMG::lis/icnRSTFLAG_2.png' : (rsltstat == '4' ? 'IMG::lis/icnRSTFLAG_3.png' : (rsltstat == '3' ?'IMG::lis/icnRSTFLAG_F.png':'')))));"/>
- <Cell col="13" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:rsltstat" combodataset="ds_grid_cmb_rsltstat" combocodecol="cd" combodatacol="nm"/>
- <Cell col="14" displaytype="combo" edittype="combo" style="align:left middle;" text="bind:srvstat" combodataset="ds_grid_cmb_rsltstat" combocodecol="cd" combodatacol="nm"/>
- <Cell col="15" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:imgyn" combodataset="ds_grid_cmb_imgyn" combocodecol="cd" combodatacol="nm"/>
- <Cell col="16" style="align:left middle;" text="bind:imgnm" tooltiptext="bind:imgnm"/>
- <Cell col="17" style="align:left middle;" text="bind:imgfull"/>
- <Cell col="18" style="align:left middle;" text="bind:imgwidt"/>
- <Cell col="19" style="align:left middle;" text="bind:imght"/>
- <Cell col="20" style="align:left middle;" text="bind:imgrslt"/>
- <Cell col="21" style="align:left middle;" text="bind:testnm"/>
- <Cell col="22" style="align:center middle;" text="bind:testcdSrceen"/>
- <Cell col="23" style="align:left middle;" text="bind:imgtrue"/>
- <Cell col="24" displaytype="image" style="cursor:hand;backgroundimage:URL('theme://images/btn_grid_expend.png');" class="icon_search"/>
- <Cell col="25" style="align:left middle;" text="bind:descrslt"/>
- <Cell col="26" text="bind:spccd"/>
- <Cell col="27"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption24" visible="false" position="absolute 881 70 1107 90" anchor="default" text="엑셀load하는 grd_outer 그리드 숨어있음" positiontype="position"/>
- <Div id="div_search" taborder="1" position="absolute 0 0 1256 64" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="파일경로" class="search_name" position="absolute 8 10 82 30" anchor="default"/>
- <Shape id="line11" linetype="vertical" class="line_4" position="absolute 1108 35 1108 55" anchor="default"/>
- <Static id="caption4" text="이미지경로" class="search_name" position="absolute 574 10 661 30" anchor="default" visible="false"/>
- <Edit id="opt_file" taborder="25" class="output_search" position="absolute 85 10 527 30" anchor="default" readonly="true"/>
- <Edit id="opt_img" taborder="26" readonly="true" class="output_search" position="absolute 661 10 1096 30" anchor="default" visible="false"/>
- <Button id="btn_imgHelp" taborder="27" class="icon_search" position="absolute 1099 10 1119 30" anchor="default" onclick="div_div_search_btn_imgHelp_onclick" visible="false"/>
- <Static id="caption7" text="접수일자" class="search_name" position="absolute 8 36 82 56" anchor="default"/>
- <Calendar id="cal_fromdd" taborder="28" class="input_search" position="absolute 85 36 175 56" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="cal_todd" taborder="29" class="input_search" position="absolute 191 36 281 56" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption8" text="~" position="absolute 175 36 191 56" anchor="default" style="align:center middle;"/>
- <Static id="caption10" text="결과구분" class="search_name" position="absolute 310 36 384 56" anchor="default"/>
- <Combo id="cmb_default" taborder="32" class="combo_default" position="absolute 384 36 479 56" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="0" text="전체">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <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>
- </Combo>
- <Button id="btn_search" taborder="33" text="조회" class="btn1" position="absolute 1117 37 1173 57" anchor="top right" onclick="div_div_search_btn_search_onclick"/>
- <Static id="caption11" text="위탁기관" class="search_name" position="absolute 503 36 577 56" anchor="default"/>
- <Combo id="combo1" taborder="34" class="combo_default" visible="false" position="absolute 577 37 697 57" anchor="default"/>
- <Button id="btn_fileHelp" taborder="35" class="icon_search" position="absolute 530 10 550 30" anchor="default" onclick="div_div_search_btn_fileHelp_onclick"/>
- <Combo id="cmb_extracd" taborder="36" position="absolute 577 37 697 57" anchor="default" innerdataset="@ds_init_lb0110" codecolumn="cd" datacolumn="nm" index="-1"/>
- <Button id="btn_reset" taborder="37" text="초기화" class="btn4" position="absolute 1176 37 1245 57" anchor="top right" onclick="div_div_search_btn_reset_onclick"/>
- <Edit id="ipt_bcno" taborder="38" useime="none" imemode="alpha" inputmode="upper" autoselect="true" class="input_button" position="absolute 920 37 1040 57" anchor="default" onkeydown="div_div_search_ipt_bcno_onkeydown"/>
- <Combo id="cmb_outerflag" taborder="39" value="1" text="바코드번호" codecolumn="codecolumn" datacolumn="datacolumn" index="0" position="absolute 797 37 917 57" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </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>
- <Static id="caption19" text="전문의" class="search_name" position="absolute 785 10 846 30" visible="false"/>
- <Edit id="ipt_testpsn" taborder="40" imemode="hangul" class="input_essential" position="absolute 844 10 920 30" onkeydown="div_div_search_ipt_testpsn_onkeydown" visible="false"/>
- <Edit id="opt_testpsn" taborder="41" readonly="true" position="absolute 922 10 991 30" visible="false"/>
- <Static id="caption00" text="검색구분" class="search_name" position="absolute 726 36 800 56"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_tmp" taborder="2" binddataset="ds_grid_grd_temp" useinputpanel="false" visible="false" position="absolute 9 358 721 616" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="workdd"/>
- <Cell col="1" text="pid"/>
- <Cell col="2" text="bcno"/>
- <Cell col="3" text="patnm"/>
- <Cell col="4" text="tclscd"/>
- <Cell col="5" text="inptrslt"/>
- <Cell col="6" text="descrslt"/>
- </Band>
- <Band id="body">
- <Cell text="bind:workdd"/>
- <Cell col="1" displaytype="text" text="bind:pid"/>
- <Cell col="2" text="bind:bcno"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:tclscd"/>
- <Cell col="5" text="bind:inptrslt"/>
- <Cell col="6" text="bind:descrslt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" class="tit_1" position="absolute 0 3 189 23" anchor="default" positiontype="position" text="위탁검사결과보고"/>
- <Div id="group4" position="absolute -1 20 1255 40" anchor="left top right" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="caption25" position="absolute 12 0 371 20" anchor="left top" text="※ 판넬검사는 세부검사만 결과저장하면 최종보고 됩니다." positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_check" taborder="2" text="전송확인" class="btn4" position="absolute 782 0 864 20" anchor="top right" onclick="btn_check_onclick" visible="false"/>
- <Button id="btn_save" taborder="3" text="저장" class="btn4" position="absolute 1027 0 1085 20" anchor="top right" onclick="btn_save_onclick" visible="true"/>
- <Button id="btn_save2" taborder="4" text="중간보고" class="btn4" position="absolute 1088 0 1170 20" anchor="top right" onclick="btn_save2_onclick"/>
- <Button id="btn_save3" taborder="5" text="최종보고" class="btn4" position="absolute 1173 0 1255 20" anchor="top right" onclick="btn_save3_onclick"/>
- <Button id="btn_lstrept" taborder="6" text="전문의확인" class="btn4" position="absolute 640 0 735 20" anchor="top right" onclick="btn_lstrept_onclick" visible="false"/>
- <TextArea id="tar_refval" taborder="7" wordwrap="word" ontextchanged="div_tar_cmt_ontextchanged" position="absolute 14 689 696 805" anchor="left right bottom" oneditclick="tar_refval_oneditclick"/>
- <Button id="btn_CVR" taborder="8" text="CVR" onclick="btn_CVR_onclick" class="btn4" position="absolute 893 0 947 20" anchor="top right"/>
- <Button id="btn_CDSS" taborder="9" text="CDSS" class="btn4" position="absolute 951 0 1012 20" anchor="top right" onclick="btn_CVR_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_lb0210" 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_init_lb0111" 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_init_lb0106" 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_temp_lb0106" 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_init_lb0110" 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_init_lb0000" 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_init_lb0134" 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_grid_cmb_rsltstat" 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>
- <Rows>
- <Row>
- <Col id="cd">-</Col>
- <Col id="nm">-</Col>
- </Row>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">저장</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">중간보고</Col>
- </Row>
- <Row>
- <Col id="cd">3</Col>
- <Col id="nm">최종보고중</Col>
- </Row>
- <Row>
- <Col id="cd">4</Col>
- <Col id="nm">최종보고</Col>
- </Row>
- <Row>
- <Col id="cd">5</Col>
- <Col id="nm">수정보고</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_cmb_srvstat" 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>
- <Rows>
- <Row>
- <Col id="cd">-</Col>
- <Col id="nm">-</Col>
- </Row>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">저장</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">중간보고</Col>
- </Row>
- <Row>
- <Col id="cd">3</Col>
- <Col id="nm">최종보고중</Col>
- </Row>
- <Row>
- <Col id="cd">4</Col>
- <Col id="nm">최종보고</Col>
- </Row>
- <Row>
- <Col id="cd">5</Col>
- <Col id="nm">수정보고</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_cmb_imgyn" 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>
- <Rows>
- <Row>
- <Col id="cd">Y</Col>
- <Col id="nm">Y</Col>
- </Row>
- <Row>
- <Col id="cd">N</Col>
- <Col id="nm">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_grid_grd_outerlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="workdd" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testcd2" type="STRING"/>
- <Column id="inptrslt" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- <Column id="srvstat" type="STRING"/>
- <Column id="imgyn" type="STRING"/>
- <Column id="imgnm" type="STRING"/>
- <Column id="rkey" type="STRING"/>
- <Column id="imgfull" type="STRING"/>
- <Column id="imgwidt" type="STRING"/>
- <Column id="imght" type="STRING"/>
- <Column id="imgrslt" type="BLOB"/>
- <Column id="testnm" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- <Column id="imgtrue" type="STRING"/>
- <Column id="tclscd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="descrslt" type="STRING"/>
- <Column id="extrtestinstcd" type="STRING"/>
- <Column id="tclskind" type="STRING"/>
- <Column id="rsltunit" type="STRING"/>
- <Column id="refval" type="STRING"/>
- <Column id="testcdSrceen" type="STRING"/>
- <Column id="execdeptcd" type="STRING" size="256"/>
- <Column id="acptcnt" type="STRING" size="256"/>
- <Column id="acpt01" type="STRING" size="256"/>
- <Column id="acpt02" type="STRING" size="256"/>
- <Column id="acpt03" type="STRING" size="256"/>
- <Column id="acpt04" type="STRING" size="256"/>
- <Column id="acpt05" type="STRING" size="256"/>
- <Column id="acpt06" type="STRING" size="256"/>
- <Column id="acpt07" type="STRING" size="256"/>
- <Column id="acpt08" type="STRING" size="256"/>
- <Column id="acpt09" type="STRING" size="256"/>
- <Column id="acpt10" type="STRING" size="256"/>
- <Column id="acptspc01" type="STRING" size="256"/>
- <Column id="acptspc02" type="STRING" size="256"/>
- <Column id="acptspc03" type="STRING" size="256"/>
- <Column id="acptspc04" type="STRING" size="256"/>
- <Column id="acptspc05" type="STRING" size="256"/>
- <Column id="acptspc06" type="STRING" size="256"/>
- <Column id="acptspc07" type="STRING" size="256"/>
- <Column id="acptspc08" type="STRING" size="256"/>
- <Column id="acptspc09" type="STRING" size="256"/>
- <Column id="acptspc10" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="apptclscd" type="STRING" size="256"/>
- <Column id="apptestcnt" type="STRING" size="256"/>
- <Column id="calformkind" type="STRING" size="256"/>
- <Column id="calformcnts" type="STRING" size="256"/>
- <Column id="spcacptdt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_temp" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="workdd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="inptrslt" type="STRING"/>
- <Column id="descrslt" type="STRING"/>
- <Column id="tclscd" type="STRING"/>
- <Column id="spccd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_attach_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filenm" type="STRING"/>
- <Column id="imgrslt" type="STRING"/>
- <Column id="filesize" type="STRING"/>
- <Column id="filetype" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- <Column id="imght" type="STRING"/>
- <Column id="imgwidt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_outerlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="workdd" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="inptrslt" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- <Column id="srvstat" type="STRING"/>
- <Column id="imgyn" type="STRING"/>
- <Column id="imgnm" type="STRING"/>
- <Column id="rkey" type="STRING"/>
- <Column id="imgfull" type="STRING"/>
- <Column id="imgwidt" type="STRING"/>
- <Column id="imght" type="STRING"/>
- <Column id="imgrslt" type="BLOB"/>
- <Column id="testnm" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- <Column id="imgtrue" type="STRING"/>
- <Column id="tclscd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="descrslt" type="STRING"/>
- <Column id="extrtestinstcd" type="STRING"/>
- <Column id="tclskind" type="STRING"/>
- <Column id="isedit" type="STRING"/>
- <Column id="execdeptcd" type="STRING"/>
- <Column id="acptcnt" type="STRING" size="256"/>
- <Column id="acpt01" type="STRING" size="256"/>
- <Column id="acpt02" type="STRING" size="256"/>
- <Column id="acpt03" type="STRING" size="256"/>
- <Column id="acpt04" type="STRING" size="256"/>
- <Column id="acpt05" type="STRING" size="256"/>
- <Column id="acpt06" type="STRING" size="256"/>
- <Column id="acpt07" type="STRING" size="256"/>
- <Column id="acpt08" type="STRING" size="256"/>
- <Column id="acpt09" type="STRING" size="256"/>
- <Column id="acpt10" type="STRING" size="256"/>
- <Column id="acptspc01" type="STRING" size="256"/>
- <Column id="acptspc02" type="STRING" size="256"/>
- <Column id="acptspc03" type="STRING" size="256"/>
- <Column id="acptspc04" type="STRING" size="256"/>
- <Column id="acptspc05" type="STRING" size="256"/>
- <Column id="acptspc06" type="STRING" size="256"/>
- <Column id="acptspc07" type="STRING" size="256"/>
- <Column id="acptspc08" type="STRING" size="256"/>
- <Column id="acptspc09" type="STRING" size="256"/>
- <Column id="acptspc10" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="apptclscd" type="STRING" size="256"/>
- <Column id="apptestcnt" type="STRING" size="256"/>
- <Column id="calformkind" type="STRING" size="256"/>
- <Column id="calformcnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_saveFlag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="savegbn" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_outerlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tclscd" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="tclsabbrnm" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testcd2" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="tclskind" type="STRING"/>
- <Column id="tsectcd" type="STRING"/>
- <Column id="imagrsltyn" type="STRING"/>
- <Column id="rsltunit" type="STRING"/>
- <Column id="refval" type="STRING"/>
- <Column id="inptrslt" type="STRING"/>
- <Column id="testcdSrceen" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_spcCmtInfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="testcont" type="STRING"/>
- <Column id="testcontcd" type="STRING"/>
- <Column id="execdeptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rkey" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_spcltestinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="tclscd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- <Column id="btnvisible" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_imgsInfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filenm" type="STRING"/>
- <Column id="imgrslt" type="BLOB"/>
- <Column id="filesize" type="STRING"/>
- <Column id="filetype" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- <Column id="imght" type="STRING"/>
- <Column id="imgwidt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_signinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="workdd" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="inptrslt" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- <Column id="srvstat" type="STRING"/>
- <Column id="imgyn" type="STRING"/>
- <Column id="imgnm" type="STRING"/>
- <Column id="rkey" type="STRING"/>
- <Column id="imgfull" type="STRING"/>
- <Column id="imgwidt" type="STRING"/>
- <Column id="imght" type="STRING"/>
- <Column id="imgrslt" type="BLOB"/>
- <Column id="testnm" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- <Column id="imgtrue" type="STRING"/>
- <Column id="tclscd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="descrslt" type="STRING"/>
- <Column id="extrtestinstcd" type="STRING"/>
- <Column id="tclskind" type="STRING"/>
- <Column id="rsltunit" type="STRING"/>
- <Column id="refval" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond_getUsernm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="userflag" type="STRING" size="256"/>
- <Column id="specdrid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_chkstr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkstring" type="STRING" size="255"/>
- <Column id="tclscdseqno" type="STRING" size="255"/>
- <Column id="judgrsltkind" type="STRING" size="255"/>
- <Column id="basevalsinq" type="STRING" size="255"/>
- <Column id="baseval" type="STRING" size="255"/>
- <Column id="judgcond" type="STRING" size="255"/>
- <Column id="calform" type="STRING" size="255"/>
- <Column id="tclscd" type="STRING" size="255"/>
- <Column id="cmtcnts" type="STRING" size="255"/>
- <Column id="cmtdetlcnts" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_bftest" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patBaseCalcInfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_grid_grd_TestInfoCnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rkey" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="chkstring" type="STRING"/>
- <Column id="chktestcd" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="bufinptrslt" type="STRING"/>
- <Column id="reptrslt" type="STRING"/>
- <Column id="rsltunit" type="STRING"/>
- <Column id="judgmark" type="STRING"/>
- <Column id="panicmark" type="STRING"/>
- <Column id="deltamark" type="STRING"/>
- <Column id="criticalmark" type="STRING"/>
- <Column id="alertmark" type="STRING"/>
- <Column id="rsltmark" type="STRING"/>
- <Column id="rsltstat" type="STRING"/>
- <Column id="bfbcno" type="STRING"/>
- <Column id="bflastreptdt" type="STRING"/>
- <Column id="testeqmtcd" type="STRING"/>
- <Column id="comment" type="STRING"/>
- <Column id="tclskind" type="STRING"/>
- <Column id="spcacptid" type="STRING"/>
- <Column id="spcacptdt" type="STRING"/>
- <Column id="spcacptnm" type="STRING"/>
- <Column id="rsltrgsgid" type="STRING"/>
- <Column id="rsltrgstdt" type="STRING"/>
- <Column id="rsltrgstnm" type="STRING"/>
- <Column id="mdlreptid" type="STRING"/>
- <Column id="mdlreptdt" type="STRING"/>
- <Column id="mdlreptnm" type="STRING"/>
- <Column id="lastreptid" type="STRING"/>
- <Column id="lastreptdt" type="STRING"/>
- <Column id="lastreptnm" type="STRING"/>
- <Column id="tclscd" type="STRING"/>
- <Column id="bfinptrslt" type="STRING"/>
- <Column id="bfreptrslt" type="STRING"/>
- <Column id="rsltseq" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="rsltkind" type="STRING"/>
- <Column id="rsltintsize" type="STRING"/>
- <Column id="rsltdcmlsize" type="STRING"/>
- <Column id="rundkind" type="STRING"/>
- <Column id="rvalflag" type="STRING"/>
- <Column id="descrval" type="STRING"/>
- <Column id="judgkind" type="STRING"/>
- <Column id="userjudgchar1" type="STRING"/>
- <Column id="userjudgchar2" type="STRING"/>
- <Column id="userjudgchar3" type="STRING"/>
- <Column id="panicflag" type="STRING"/>
- <Column id="panicminval" type="STRING"/>
- <Column id="panicmaxval" type="STRING"/>
- <Column id="deltaflag" type="STRING"/>
- <Column id="deltaminval" type="STRING"/>
- <Column id="deltamaxval" type="STRING"/>
- <Column id="deltaterm" type="STRING"/>
- <Column id="criticflag" type="STRING"/>
- <Column id="criticminval" type="STRING"/>
- <Column id="criticmaxval" type="STRING"/>
- <Column id="alertflag" type="STRING"/>
- <Column id="alertminval" type="STRING"/>
- <Column id="allertmaxval" type="STRING"/>
- <Column id="alimitls" type="STRING"/>
- <Column id="alimitflag" type="STRING"/>
- <Column id="alimitminval" type="STRING"/>
- <Column id="alimith" type="STRING"/>
- <Column id="alimiths" type="STRING"/>
- <Column id="alimitls" type="STRING"/>
- <Column id="refl" type="STRING"/>
- <Column id="refls" type="STRING"/>
- <Column id="refh" type="STRING"/>
- <Column id="refhs" type="STRING"/>
- <Column id="reflt" type="STRING"/>
- <Column id="rstinterval" type="STRING"/>
- <Column id="iud" type="STRING"/>
- <Column id="spcscrnnm" type="STRING"/>
- <Column id="inptrslt" type="STRING"/>
- <Column id="testcmt" type="STRING"/>
- <Column id="orginptrslt" type="STRING" size="256"/>
- <Column id="orgreptrslt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="apptclscd" type="STRING" size="256"/>
- <Column id="calformcnts" type="STRING" size="256"/>
- <Column id="acptcnt" type="STRING" size="256"/>
- <Column id="acpt01" type="STRING" size="256"/>
- <Column id="acpt02" type="STRING" size="256"/>
- <Column id="acpt03" type="STRING" size="256"/>
- <Column id="acpt04" type="STRING" size="256"/>
- <Column id="acpt05" type="STRING" size="256"/>
- <Column id="acpt06" type="STRING" size="256"/>
- <Column id="acpt07" type="STRING" size="256"/>
- <Column id="acpt08" type="STRING" size="256"/>
- <Column id="acpt09" type="STRING" size="256"/>
- <Column id="acpt10" type="STRING" size="256"/>
- <Column id="acptspc01" type="STRING" size="256"/>
- <Column id="acptspc02" type="STRING" size="256"/>
- <Column id="acptspc03" type="STRING" size="256"/>
- <Column id="acptspc04" type="STRING" size="256"/>
- <Column id="acptspc05" type="STRING" size="256"/>
- <Column id="acptspc06" type="STRING" size="256"/>
- <Column id="acptspc07" type="STRING" size="256"/>
- <Column id="acptspc08" type="STRING" size="256"/>
- <Column id="acptspc09" type="STRING" size="256"/>
- <Column id="acptspc10" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_testcmts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING" size="255"/>
- <Column id="tclscd" type="STRING" size="255"/>
- <Column id="spccd" type="STRING" size="255"/>
- <Column id="testcd" type="STRING" size="255"/>
- <Column id="rsltseq" type="BIGDECIMAL" size="255"/>
- <Column id="testcontcd" type="STRING" size="255"/>
- <Column id="testcont" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testcont" 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="testcontcd" type="STRING" size="256"/>
- <Column id="testcont" type="STRING" size="256"/>
- <Column id="testcontkind" type="STRING" size="256"/>
- <Column id="execdeptcd" type="STRING" size="256"/>
- <Column id="iud" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_calf" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onvaluechanged="ds_grid_grd_calf_onvaluechanged">
- <ColumnInfo>
- <Column id="tclscd" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="acptcnt" type="STRING"/>
- <Column id="calformkind" type="STRING" size="0"/>
- <Column id="calformcnts" type="STRING" size="0"/>
- <Column id="acpt01" type="STRING"/>
- <Column id="acpttclsnm01" type="STRING"/>
- <Column id="acptspc01" type="STRING"/>
- <Column id="acptspcnm01" type="STRING"/>
- <Column id="acpt02" type="STRING"/>
- <Column id="acpttclsnm02" type="STRING"/>
- <Column id="acptspc02" type="STRING"/>
- <Column id="acptspcnm02" type="STRING"/>
- <Column id="acpt03" type="STRING"/>
- <Column id="acpttclsnm03" type="STRING"/>
- <Column id="acptspc03" type="STRING"/>
- <Column id="acptspcnm03" type="STRING"/>
- <Column id="acpt04" type="STRING"/>
- <Column id="acpttclsnm04" type="STRING"/>
- <Column id="acptspc04" type="STRING"/>
- <Column id="acptspcnm04" type="STRING" size="256"/>
- <Column id="acpt05" type="STRING" size="256"/>
- <Column id="acpttclsnm05" type="STRING" size="256"/>
- <Column id="acptspc05" type="STRING" size="256"/>
- <Column id="acptspcnm05" type="STRING" size="256"/>
- <Column id="acpt06" type="STRING" size="256"/>
- <Column id="acpttclsnm06" type="STRING" size="256"/>
- <Column id="acptspc06" type="STRING" size="256"/>
- <Column id="acptspcnm06" type="STRING" size="256"/>
- <Column id="acpt07" type="STRING" size="256"/>
- <Column id="acpttclsnm07" type="STRING" size="256"/>
- <Column id="acptspc07" type="STRING" size="256"/>
- <Column id="acptspcnm07" type="STRING" size="256"/>
- <Column id="acpt08" type="STRING" size="256"/>
- <Column id="acpttclsnm08" type="STRING" size="256"/>
- <Column id="acptspc08" type="STRING" size="256"/>
- <Column id="acptspcnm08" type="STRING" size="256"/>
- <Column id="acpt09" type="STRING" size="256"/>
- <Column id="acpttclsnm09" type="STRING" size="256"/>
- <Column id="acptspc09" type="STRING" size="256"/>
- <Column id="acptspcnm09" type="STRING" size="256"/>
- <Column id="acpt10" type="STRING" size="256"/>
- <Column id="acpttclsnm10" type="STRING" size="256"/>
- <Column id="acptspc10" type="STRING" size="256"/>
- <Column id="acptspcnm10" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="apptclscd" type="STRING" size="256"/>
- <Column id="apptclsnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_Calcu_TestInfoCnts" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_TestInfoCnts_onrowposchanged">
- <ColumnInfo>
- <column id="acptcnt" type="STRING" size="0"/>
- <column id="acpt01" type="STRING" size="0"/>
- <column id="acpt02" type="STRING" size="0"/>
- <column id="acpt03" type="STRING" size="0"/>
- <column id="acpt04" type="STRING" size="0"/>
- <column id="acpt05" type="STRING" size="0"/>
- <Column id="acpt06" type="STRING" size="0"/>
- <Column id="acpt07" type="STRING" size="0"/>
- <Column id="acpt08" type="STRING" size="0"/>
- <Column id="acpt09" type="STRING" size="0"/>
- <Column id="acpt10" type="STRING" size="0"/>
- <Column id="apptclscd" type="STRING" size="0"/>
- <Column id="calformcnts" type="STRING" size="0"/>
- <Column id="acptspc01" type="STRING" size="256"/>
- <Column id="acptspc02" type="STRING" size="256"/>
- <Column id="acptspc03" type="STRING" size="256"/>
- <Column id="acptspc04" type="STRING" size="256"/>
- <Column id="acptspc05" type="STRING" size="256"/>
- <Column id="acptspc06" type="STRING" size="256"/>
- <Column id="acptspc07" type="STRING" size="256"/>
- <Column id="acptspc08" type="STRING" size="256"/>
- <Column id="acptspc09" type="STRING" size="256"/>
- <Column id="acptspc10" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="spccd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="testcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_abnormallist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="exp_value" type="STRING" size="0"/>
- <Column id="selchk" type="STRING" size="0"/>
- <Column id="sel_value" type="STRING" size="0"/>
- <Column id="parentidx" type="STRING" size="0"/>
- <Column id="bcno" type="STRING" size="0"/>
- <Column id="pid" type="STRING" size="0"/>
- <Column id="patnm" type="STRING" size="0"/>
- <Column id="patsex" type="STRING" size="0"/>
- <Column id="patage" type="STRING" size="0"/>
- <Column id="regno" type="STRING" size="0"/>
- <Column id="orddeptnm" type="STRING" size="0"/>
- <Column id="orddeptcd" type="STRING" size="0"/>
- <Column id="execprcpuniqno" type="STRING" size="0"/>
- <Column id="prcpdd" type="STRING" size="0"/>
- <Column id="reqdoctrem" type="STRING" size="0"/>
- <Column id="reqdoctid" type="STRING" size="0"/>
- <Column id="prcprgstdd" type="STRING" size="0"/>
- <Column id="testcd" type="STRING" size="0"/>
- <Column id="spccd" type="STRING" size="0"/>
- <Column id="readonly" type="STRING" size="0"/>
- <Column id="inptrslt" type="STRING" size="0"/>
- <Column id="bufinptrslt" type="STRING" size="0"/>
- <Column id="reptrslt" type="STRING" size="0"/>
- <Column id="judgmark" type="STRING" size="0"/>
- <Column id="deltamark" type="STRING" size="0"/>
- <Column id="panicmark" type="STRING" size="0"/>
- <Column id="criticalmark" type="STRING" size="0"/>
- <Column id="alertmark" type="STRING" size="0"/>
- <Column id="relatingmark" type="STRING" size="0"/>
- <Column id="amrmark" type="STRING" size="0"/>
- <Column id="rsltstat" type="STRING" size="0"/>
- <Column id="bfbcno" type="STRING" size="0"/>
- <Column id="bflastreptdt" type="STRING" size="0"/>
- <Column id="bfinptrslt" type="STRING" size="0"/>
- <Column id="bfreptrslt" type="STRING" size="0"/>
- <Column id="prereptrslt" type="STRING" size="0"/>
- <Column id="testeqmtcd" type="STRING" size="0"/>
- <Column id="testcmt" type="STRING" size="0"/>
- <Column id="retestyn" type="STRING" size="0"/>
- <Column id="imagrsltyn" type="STRING" size="0"/>
- <Column id="workseq" type="STRING" size="0"/>
- <Column id="tclscd" type="STRING" size="0"/>
- <Column id="rsltseq" type="STRING" size="0"/>
- <Column id="workno" type="STRING" size="0"/>
- <Column id="spcacptid" type="STRING" size="0"/>
- <Column id="spcacptdt" type="STRING" size="0"/>
- <Column id="rsltrgsgid" type="STRING" size="0"/>
- <Column id="rsltrgstdt" type="STRING" size="0"/>
- <Column id="mdlreptid" type="STRING" size="0"/>
- <Column id="mdlreptnm" type="STRING" size="0"/>
- <Column id="mdlreptdt" type="STRING" size="0"/>
- <Column id="lastreptid" type="STRING" size="0"/>
- <Column id="lastreptnm" type="STRING" size="0"/>
- <Column id="lastreptdt" type="STRING" size="0"/>
- <Column id="tclsscrnm" type="STRING" size="0"/>
- <Column id="tclsscrnnm" type="STRING" size="0"/>
- <Column id="rsltdispseq" type="STRING" size="0"/>
- <Column id="tclskind" type="STRING" size="0"/>
- <Column id="testrsltkind" type="STRING" size="0"/>
- <Column id="spclrsltkind" type="STRING" size="0"/>
- <Column id="parentrsltinptyn" type="STRING" size="0"/>
- <Column id="childessnrsltyn" type="STRING" size="0"/>
- <Column id="diffcntyn" type="STRING" size="0"/>
- <Column id="rsltkind" type="STRING" size="0"/>
- <Column id="rsltintsize" type="STRING" size="0"/>
- <Column id="rsltdcmlsize" type="STRING" size="0"/>
- <Column id="rundkind" type="STRING" size="0"/>
- <Column id="rsltunit" type="STRING" size="0"/>
- <Column id="medispclyn" type="STRING" size="0"/>
- <Column id="fiximedispclid" type="STRING" size="0"/>
- <Column id="tclscdfromdd" type="STRING" size="0"/>
- <Column id="spcscrnnm" type="STRING" size="0"/>
- <Column id="rvalflag" type="STRING" size="0"/>
- <Column id="descrval" type="STRING" size="0"/>
- <Column id="judgkind" type="STRING" size="0"/>
- <Column id="userjudgchar1" type="STRING" size="0"/>
- <Column id="userjudgchar2" type="STRING" size="0"/>
- <Column id="userjudgchar3" type="STRING" size="0"/>
- <Column id="panicflag" type="STRING" size="0"/>
- <Column id="panicminval" type="STRING" size="0"/>
- <Column id="panicmaxval" type="STRING" size="0"/>
- <Column id="panicminvalsinq" type="STRING" size="0"/>
- <Column id="panicmaxvalsinq" type="STRING" size="0"/>
- <Column id="deltaflag" type="STRING" size="0"/>
- <Column id="deltaminval" type="STRING" size="0"/>
- <Column id="deltamaxval" type="STRING" size="0"/>
- <Column id="deltaterm" type="STRING" size="0"/>
- <Column id="deltaminvalsinq" type="STRING" size="0"/>
- <Column id="deltamaxvalsinq" type="STRING" size="0"/>
- <Column id="criticalflag" type="STRING" size="0"/>
- <Column id="criticalminval" type="STRING" size="0"/>
- <Column id="criticalmaxval" type="STRING" size="0"/>
- <Column id="criticalminvalsinq" type="STRING" size="0"/>
- <Column id="criticalmaxvalsinq" type="STRING" size="0"/>
- <Column id="alertflag" type="STRING" size="0"/>
- <Column id="alertminval" type="STRING" size="0"/>
- <Column id="alertmaxval" type="STRING" size="0"/>
- <Column id="alertminvalsinq" type="STRING" size="0"/>
- <Column id="alertmaxvalsinq" type="STRING" size="0"/>
- <Column id="alimitls" type="STRING" size="0"/>
- <Column id="alimitflag" type="STRING" size="0"/>
- <Column id="alimitminval" type="STRING" size="0"/>
- <Column id="alimitmaxval" type="STRING" size="0"/>
- <Column id="alimitmaxvalsinq" type="STRING" size="0"/>
- <Column id="alimitminvalsinq" type="STRING" size="0"/>
- <Column id="alimitmaxdispkind" type="STRING" size="0"/>
- <Column id="alimitmindispkind" type="STRING" size="0"/>
- <Column id="amrflag" type="STRING" size="0"/>
- <Column id="amrminval" type="STRING" size="0"/>
- <Column id="amrmaxval" type="STRING" size="0"/>
- <Column id="amrminvalsinq" type="STRING" size="0"/>
- <Column id="amrmaxvalsinq" type="STRING" size="0"/>
- <Column id="rsltdt" type="STRING" size="0"/>
- <Column id="erprcpflag" type="STRING" size="0"/>
- <Column id="refval" type="STRING" size="0"/>
- <Column id="rsltmark" type="STRING" size="0"/>
- <Column id="refl" type="STRING" size="0"/>
- <Column id="refls" type="STRING" size="0"/>
- <Column id="refh" type="STRING" size="0"/>
- <Column id="refhs" type="STRING" size="0"/>
- <Column id="reflt" type="STRING" size="0"/>
- <Column id="rstinterval" type="STRING" size="0"/>
- <Column id="testlrgkind" type="STRING" size="0"/>
- <Column id="relation" type="STRING" size="0"/>
- <Column id="rstcdexists" type="STRING" size="0"/>
- <Column id="instcd" type="STRING" size="0"/>
- <Column id="testcd2" type="STRING" size="0"/>
- <Column id="rstdt" type="STRING" size="0"/>
- <Column id="rstnm" type="STRING" size="0"/>
- <Column id="eqmtnm" type="STRING" size="0"/>
- <Column id="bfrstnm" type="STRING" size="0"/>
- <Column id="medispclnm" type="STRING" size="0"/>
- <Column id="medispcldt" type="STRING" size="0"/>
- <Column id="medispclid" type="STRING" size="0"/>
- <Column id="nvalrsltlimyn" type="STRING" size="0"/>
- <Column id="acptcnt" type="STRING" size="0"/>
- <Column id="acpt01" type="STRING" size="0"/>
- <Column id="acpt02" type="STRING" size="0"/>
- <Column id="acpt03" type="STRING" size="0"/>
- <Column id="acpt04" type="STRING" size="0"/>
- <Column id="acpt05" type="STRING" size="0"/>
- <Column id="acpt06" type="STRING" size="0"/>
- <Column id="acpt07" type="STRING" size="0"/>
- <Column id="acpt08" type="STRING" size="0"/>
- <Column id="acpt09" type="STRING" size="0"/>
- <Column id="acpt10" type="STRING" size="0"/>
- <Column id="apptclscd" type="STRING" size="0"/>
- <Column id="apptestcnt" type="STRING" size="0"/>
- <Column id="calformkind" type="STRING" size="0"/>
- <Column id="calformcnts" type="STRING" size="0"/>
- <Column id="testunit" type="STRING" size="0"/>
- <Column id="conttestyn" type="STRING" size="0"/>
- <Column id="conttest" type="STRING" size="0"/>
- <Column id="refvals" type="STRING" size="0"/>
- <Column id="rackposition" type="STRING" size="0"/>
- <Column id="chkstring" type="STRING" size="0"/>
- <Column id="testcnt" type="STRING" size="0"/>
- <Column id="urinspcyn" type="STRING" size="0"/>
- <Column id="erkind" type="STRING" size="0"/>
- <Column id="tooltip" type="STRING" size="256"/>
- <Column id="acptspc01" type="STRING" size="256"/>
- <Column id="acptspc02" type="STRING" size="256"/>
- <Column id="acptspc03" type="STRING" size="256"/>
- <Column id="acptspc04" type="STRING" size="256"/>
- <Column id="acptspc05" type="STRING" size="256"/>
- <Column id="acptspc06" type="STRING" size="256"/>
- <Column id="acptspc07" type="STRING" size="256"/>
- <Column id="acptspc08" type="STRING" size="256"/>
- <Column id="acptspc09" type="STRING" size="256"/>
- <Column id="acptspc10" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="visible" type="STRING" size="256"/>
- <Column id="orgreptrslt" type="STRING" size="256"/>
- <Column id="calrsltrgstdt" type="STRING" size="256"/>
- <Column id="calmdlreptdt" type="STRING" size="256"/>
- <Column id="callastreptdt" type="STRING" size="256"/>
- <Column id="blank1" type="STRING" size="256"/>
- <Column id="blank2" type="STRING" size="256"/>
- <Column id="testeqmtgbn" type="STRING" size="256"/>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="bfspcacptdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_Calcu" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_TestInfoCnts_onrowposchanged">
- <ColumnInfo>
- <Column id="tclscd" type="STRING" size="256"/>
- <Column id="tclsscrnnm" type="STRING" size="256"/>
- <Column id="reptrslt" type="STRING" size="256"/>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="calformcnts" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0109" 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_grid_grd_MessageM" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="chk2" type="STRING" size="256"/>
- <Column id="cmtcnts" type="STRING" size="256"/>
- <Column id="cvryn" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="msgkey2" type="STRING" size="256"/>
- <Column id="msgkey" type="STRING" size="256"/>
- <Column id="phone2" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="recipient" type="STRING" size="256"/>
- <Column id="phone" type="STRING" size="256"/>
- <Column id="recipientnm" type="STRING" size="256"/>
- <Column id="recipientnm2" type="STRING" size="256"/>
- <Column id="rgstdt" type="STRING" size="256"/>
- <Column id="recipient2" type="STRING" size="256"/>
- <Column id="sendseq" type="STRING" size="256"/>
- <Column id="spccd" type="STRING" size="256"/>
- <Column id="tclscd" type="STRING" size="256"/>
- <Column id="rgstdt2" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="msgkind" type="STRING" size="256"/>
- <Column id="orddridflag" type="STRING" size="256"/>
- <Column id="testcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_drinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sectinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tclscd" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="sectnm" type="STRING" size="256"/>
- <Column id="sectcdtelno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_cvrinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_TestInfoCnts_onrowposchanged">
- <ColumnInfo>
- <column id="exp_value" type="STRING"/>
- <column id="selchk" type="STRING"/>
- <column id="sel_value" type="STRING"/>
- <column id="parentidx" type="STRING"/>
- <column id="bcno" type="STRING"/>
- <column id="pid" type="STRING"/>
- <column id="pname" type="STRING"/>
- <column id="patsex" type="STRING"/>
- <column id="patage" type="STRING"/>
- <column id="regno" type="STRING"/>
- <column id="orddeptnm" type="STRING"/>
- <column id="orddeptcd" type="STRING"/>
- <column id="execprcpuniqno" type="STRING"/>
- <column id="prcpdd" type="STRING"/>
- <column id="reqdoctrem" type="STRING"/>
- <column id="reqdoctid" type="STRING"/>
- <column id="prcprgstdd" type="STRING"/>
- <column id="testcd" type="STRING"/>
- <column id="spccd" type="STRING"/>
- <column id="readonly" type="STRING"/>
- <column id="inptrslt" type="STRING"/>
- <column id="bufinptrslt" type="STRING"/>
- <column id="pre_inptrslt" type="STRING"/>
- <column id="judgmark" type="STRING"/>
- <column id="deltamark" type="STRING"/>
- <column id="panicmark" type="STRING"/>
- <column id="criticalmark" type="STRING"/>
- <column id="alertmark" type="STRING"/>
- <column id="relatingmark" type="STRING"/>
- <column id="amrmark" type="STRING"/>
- <column id="rsltstat" type="STRING"/>
- <column id="bfbcno" type="STRING"/>
- <column id="bflastreptdt" type="STRING"/>
- <column id="bfinptrslt" type="STRING"/>
- <column id="bfreptrslt" type="STRING"/>
- <column id="prereptrslt" type="STRING"/>
- <column id="testeqmtcd" type="STRING"/>
- <column id="testcmt" type="STRING"/>
- <column id="retestyn" type="STRING"/>
- <column id="imagrsltyn" type="STRING"/>
- <column id="workseq" type="STRING"/>
- <column id="tclscd" type="STRING"/>
- <column id="rsltseq" type="STRING"/>
- <column id="workno" type="STRING"/>
- <column id="spcacptid" type="STRING"/>
- <column id="spcacptdt" type="STRING"/>
- <column id="rsltrgsgid" type="STRING"/>
- <column id="rsltrgstdt" type="STRING"/>
- <column id="mdlreptid" type="STRING"/>
- <column id="mdlreptnm" type="STRING"/>
- <column id="mdlreptdt" type="STRING"/>
- <column id="lastreptid" type="STRING"/>
- <column id="lastreptnm" type="STRING"/>
- <column id="lastreptdt" type="STRING"/>
- <column id="tclsscrnm" type="STRING"/>
- <column id="tclsabbrnm" type="STRING"/>
- <column id="rsltdispseq" type="STRING"/>
- <column id="tclskind" type="STRING"/>
- <column id="testrsltkind" type="STRING"/>
- <column id="spclrsltkind" type="STRING"/>
- <column id="parentrsltinptyn" type="STRING"/>
- <column id="childessnrsltyn" type="STRING"/>
- <column id="diffcntyn" type="STRING"/>
- <column id="rsltkind" type="STRING"/>
- <column id="rsltintsize" type="STRING"/>
- <column id="rsltdcmlsize" type="STRING"/>
- <column id="rundkind" type="STRING"/>
- <column id="rsltunit" type="STRING"/>
- <column id="medispclyn" type="STRING"/>
- <column id="fiximedispclid" type="STRING"/>
- <column id="tclscdfromdd" type="STRING"/>
- <column id="spcscrnnm" type="STRING"/>
- <column id="rvalflag" type="STRING"/>
- <column id="descrval" type="STRING"/>
- <column id="judgkind" type="STRING"/>
- <column id="userjudgchar1" type="STRING"/>
- <column id="userjudgchar2" type="STRING"/>
- <column id="userjudgchar3" type="STRING"/>
- <column id="panicflag" type="STRING"/>
- <column id="panicminval" type="STRING"/>
- <column id="panicmaxval" type="STRING"/>
- <column id="panicminvalsinq" type="STRING"/>
- <column id="panicmaxvalsinq" type="STRING"/>
- <column id="deltaflag" type="STRING"/>
- <column id="deltaminval" type="STRING"/>
- <column id="deltamaxval" type="STRING"/>
- <column id="deltaterm" type="STRING"/>
- <column id="deltaminvalsinq" type="STRING"/>
- <column id="deltamaxvalsinq" type="STRING"/>
- <column id="criticalflag" type="STRING"/>
- <column id="criticalminval" type="STRING"/>
- <column id="criticalmaxval" type="STRING"/>
- <column id="criticalminvalsinq" type="STRING"/>
- <column id="criticalmaxvalsinq" type="STRING"/>
- <column id="alertflag" type="STRING"/>
- <column id="alertminval" type="STRING"/>
- <column id="alertmaxval" type="STRING"/>
- <column id="alertminvalsinq" type="STRING"/>
- <column id="alertmaxvalsinq" type="STRING"/>
- <column id="alimitls" type="STRING"/>
- <column id="alimitflag" type="STRING"/>
- <column id="alimitminval" type="STRING"/>
- <column id="alimitmaxval" type="STRING"/>
- <column id="alimitmaxvalsinq" type="STRING"/>
- <column id="alimitminvalsinq" type="STRING"/>
- <column id="alimitmaxdispkind" type="STRING"/>
- <column id="alimitmindispkind" type="STRING"/>
- <column id="amrflag" type="STRING"/>
- <column id="amrminval" type="STRING"/>
- <column id="amrmaxval" type="STRING"/>
- <column id="amrminvalsinq" type="STRING"/>
- <column id="amrmaxvalsinq" type="STRING"/>
- <column id="rsltdt" type="STRING"/>
- <column id="erprcpflag" type="STRING"/>
- <column id="refval" type="STRING"/>
- <column id="rsltmark" type="STRING"/>
- <column id="refl" type="STRING"/>
- <column id="refls" type="STRING"/>
- <column id="refh" type="STRING"/>
- <column id="refhs" type="STRING"/>
- <column id="reflt" type="STRING"/>
- <column id="rstinterval" type="STRING"/>
- <column id="testlrgkind" type="STRING"/>
- <column id="relation" type="STRING"/>
- <column id="rstcdexists" type="STRING"/>
- <column id="instcd" type="STRING"/>
- <column id="testcd2" type="STRING"/>
- <column id="rstdt" type="STRING"/>
- <column id="rstnm" type="STRING"/>
- <column id="eqmtnm" type="STRING"/>
- <column id="bfrstnm" type="STRING"/>
- <column id="medispclnm" type="STRING"/>
- <column id="medispcldt" type="STRING"/>
- <column id="medispclid" type="STRING"/>
- <column id="nvalrsltlimyn" type="STRING"/>
- <column id="acptcnt" type="STRING"/>
- <column id="acpt01" type="STRING"/>
- <column id="acpt02" type="STRING"/>
- <column id="acpt03" type="STRING"/>
- <column id="acpt04" type="STRING"/>
- <column id="acpt05" type="STRING"/>
- <column id="acpt06" type="STRING"/>
- <column id="acpt07" type="STRING"/>
- <column id="acpt08" type="STRING"/>
- <column id="acpt09" type="STRING"/>
- <column id="acpt10" type="STRING"/>
- <column id="apptclscd" type="STRING"/>
- <column id="apptestcnt" type="STRING"/>
- <column id="calformkind" type="STRING"/>
- <column id="calformcnts" type="STRING"/>
- <column id="testunit" type="STRING"/>
- <column id="conttestyn" type="STRING"/>
- <column id="conttest" type="STRING"/>
- <column id="refvals" type="STRING"/>
- <column id="rackposition" type="STRING"/>
- <column id="chkstring" type="STRING"/>
- <column id="testcnt" type="STRING"/>
- <column id="urinspcyn" type="STRING"/>
- <column id="erkind" type="STRING"/>
- <Column id="tooltip" type="STRING" size="256"/>
- <Column id="acptspc01" type="STRING" size="256"/>
- <Column id="acptspc02" type="STRING" size="256"/>
- <Column id="acptspc03" type="STRING" size="256"/>
- <Column id="acptspc04" type="STRING" size="256"/>
- <Column id="acptspc05" type="STRING" size="256"/>
- <Column id="acptspc06" type="STRING" size="256"/>
- <Column id="acptspc07" type="STRING" size="256"/>
- <Column id="acptspc08" type="STRING" size="256"/>
- <Column id="acptspc09" type="STRING" size="256"/>
- <Column id="acptspc10" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="visible" type="STRING" size="256"/>
- <Column id="orgreptrslt" type="STRING" size="256"/>
- <Column id="calrsltrgstdt" type="STRING" size="256"/>
- <Column id="calmdlreptdt" type="STRING" size="256"/>
- <Column id="callastreptdt" type="STRING" size="256"/>
- <Column id="blank1" type="STRING" size="256"/>
- <Column id="blank2" type="STRING" size="256"/>
- <Column id="testeqmtgbn" type="STRING" size="256"/>
- <Column id="orginptrslt" type="STRING" size="256"/>
- <Column id="bfspcacptdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="div.div_search.opt_testpsn" propid="value" datasetid="ds_cond_getUsernm" columnid="usernm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : HIT
- * Job Name :
- * File Name : SMLOR00100_위탁검사결과보고.xfdl
- * Creator :
- * Make Date : 2014-03-10
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-03-10 HIT Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LAZ001.xjs";
- include "com_commodulexp::SSZFM00401.xjs";
- include "lis_commonxp::LPZ001.xjs";
- include "lis_commonxp::LLZ001.xjs";
- include "emr_carecomxp::ENRSignEngine.xjs"; //전문의확인
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- //콜백함수
- function cbf_SMLOR00100(strSvcID, nErrorCode, strErrorMag){
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- }
- function lf_setInit_search(){
-
- // 초기정보 조회
- //0210 소견코드 0111 시행부서 0106 상세시행부서 0110 위탁기관 0134 외부기관 핵의학구분
- lf_getDbDeptcd("0000|0011|0210|0111|0106|0110|0134|","cbf_SMLOR00100");
-
- ds_temp_lb0106.copyData(ds_init_lb0106);
- ds_init_lb0210.filter("etc01 == 'X' || etc01 == '-'");
- }
- function lf_setInit(){
- //작업 일자 초기화
- div.div_search.cal_fromdd.value = utlf_getCurrentDate();
- div.div_search.cal_todd.value = utlf_getCurrentDate();
-
- //콤보 박스 초기화
- div.div_search.cmb_default.index = 0;
- div.div_search.cmb_extracd.index = "00";
- div.cmb_cmtcd.value = "00";
-
- //사유 초기화
- div.tar_cmt.value = ""
-
- //그리드 초기화
- ds_grid_grd_outerlist.clearData();
-
- //경로 초기화
- div.div_search.opt_file.value = "";
- div.div_search.opt_img.value = "";
-
- }
- function lf_getWiTakRslt(){
- // 초기정보 조회
- // 0134 외부기관 방사면구분
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "startdd", val: div.div_search.cal_fromdd.value}
- , {col: "enddd", val: div.div_search.cal_todd.value}
- , {col: "rstflag", val: div.div_search.cmb_default.value}
- , {col: "extrcd", val: div.div_search.cmb_extracd.value}
- , {col: "deptflag", val: lgv_sUserdeptflagcd}
- , {col: "sflag", val: div.div_search.cmb_outerflag.value}
- , {col: "bcno", val: div.div_search.ipt_bcno.value}
- ]);
-
-
- // 서브밋호출
- tranf_submit({ id: "TRLOR00101"
- , service: "rsltmngtapp.RsltMngt"
- , method: "reqGetOutRsltList"
- , inds : "cond="+sInDsName
- , outds: "ds_grid_grd_outerlist=getOutRsltList ds_grid_grd_TestInfoCnts=testlist ds_bftest=bfTest ds_patBaseCalcInfo=patBaseCalcInfo"//, outds: "ds_grid_grd_outerlist=getOutRsltList ds_grid_grd_TestInfoCnts=testlist ds_main_testcont=testcont ds_bak_testitem=BAK_TESTITEM ds_testcmts=testcmts ds_bftest=bfTest ds_patBaseCalcInfo=patBaseCalcInfo ds_chkstr=chkstr"
- , callback: "cbf_SMLOR00100"
- , async: false
- });
-
- if(ds_grid_grd_outerlist.rowcount >= 0) ds_grid_grd_outerlist.addColumn("chk","string");
-
- var arrPostion = new Array();
- for(i = 0; i < ds_grid_grd_outerlist.rowcount; i++){
- arrPostion[0] = i;
- ds_grid_grd_outerlist.setColumn(i, "chk", "0");
- grdf_setStatus(div.grd_detllist, "", arrPostion);
- }
-
- var iRow = ds_temp_saveFlag.addRow();
- ds_temp_saveFlag.setColumn(iRow,"savegbn","R"); //조회했을때
- }
- function lf_setRsltStat(sendreq){
- var statValue ="";
- switch(sendreq){
- case "save1":
- statValue = "1"; //저장
- break;
- case "save2":
- statValue = "2"; //중간보고
- break;
- case "save3":
- statValue = "4"; //최종보고(but 이 화면에서 수정보고는 못함)
- break;
- default:
- break;
- }
-
- var msgCnt = 0;
- if(ds_grid_grd_outerlist.rowcount > 0){
- for(i = 0; i < ds_grid_grd_outerlist.rowcount; i++){
- if(ds_grid_grd_outerlist.getColumn(i,"chk")=="1"){ //선택된것들 중
- if(ds_grid_grd_outerlist.getColumn(i, "rsltstat") == "4" || ds_grid_grd_outerlist.getColumn(i, "rsltstat") == "5"){//상태가 최종보고나 수정보고일때
- //ds_grid_grd_outerlist.setColumn(i, "rsltstat", "-");
- ds_grid_grd_outerlist.setColumn(i,"chk","0"); //이 화면에서 수정보고 안됨. 따라서 이미 상태가 최종보고인것은 chk 0으로 세팅해서 못넘기게.
- msgCnt++;
- //trace("최종보고 수정보고는 저장로직 넘기지 않는다");
-
- }else{
- if(ds_grid_grd_outerlist.getColumn(i, "tclskind") == "1"){// 판넬일때는
- ds_grid_grd_outerlist.setColumn(i, "rsltstat", "-");// 저장안해도됨
- ds_grid_grd_outerlist.setColumn(i,"chk","0");// 저장안해도됨
- //trace("판넬일땐 저장에서 뺀다");
- }else { //statValue 셋팅 해줄때
- ds_grid_grd_outerlist.setColumn(i, "rsltstat", statValue);
- //trace("rsltstat를 셋팅해준다");
- }
- }
- }
- }
- if(msgCnt>0){ //선택된것 중 최종보고나 수정된것이 하나라도 있을시 메시지띄워줌.
- sysf_messageBox("이미 최종보고 된 것은 결과전송에서 제외됩니다");
- }
- }else{
- sysf_messageBox("변경할 내용이 ", "I004", "");
- return;
- }
- }
- //엑셀 결과파일 불러오기 - 옥희
- function lf_getFileName(){
- var fd = new FileDialog();
- var file = fd.open("open", FileDialog.LOAD,"%MYDOCUMENT%");
- file.open(VirtualFile.openRead | VirtualFile.openBinary);
- file.close();
- var objExtCommon = new ExtCommon();
- ds_grid_grd_outerlist.clearData();
- objExtCommon.excelImportByIndex(file.fullpath, 0,"ds_grid_grd_temp");
- div.grd_tmp.createFormat();
-
- // 파일경로 셋팅
- div.div_search.opt_file.value = file.fullpath;
-
- if(ds_grid_grd_temp.rowcount==0){
- sysf_messageBox("입력할 데이터가 없습니다. 엑셀파일을 확인하세요", "E");
- return;
- }
-
- //-------------------------------------------------------------
- var bcnolist = "";
- var tclscdlist = "";
-
- for(var j=1; j<ds_grid_grd_temp.rowcount; j++){
- bcnolist += "'" + ds_grid_grd_temp.getColumn(j,"Col03")+"'"+",";
- tclscdlist +=ds_grid_grd_temp.getColumn(j,"Col05")+"|";
- }
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "bcnolist", val: bcnolist.substring(0,(bcnolist.length-1))}
- , {col: "testcdlist", val: tclscdlist.substring(0,(tclscdlist.length-1))}
- ]);
-
- //넘기는값
- //trace("bcnolist >>>>> "+ds_temp_search.getColumn(0,"bcnolist"));
- //trace("testcdlist >>>>> "+ds_temp_search.getColumn(0,"testcdlist"));
- tranf_submit({ id: "TRLOR00202"
- , service: "rsltmngtapp.RsltMngt"
- , method: "reqGetOuterRsltTclsnm"
- , inds : "cond="+sInDsName
- , outds: "ds_grid_grd_outerlist2=getOuterRsltTclsnm"
- // , callback: "cbf_SMLOP00300"
- , async: false
- });
-
- //------------------------rkey 칼럼 만들어주기(매칭해서 세팅하기위해 rkey생성)-------------------------------//
- ds_grid_grd_temp.addColumn("rkey","string");
- for(var i=1; i<ds_grid_grd_temp.rowcount; i++){
- ds_grid_grd_temp.setColumn(i,"rkey",ds_grid_grd_temp.getColumn(i,"Col03")+ds_grid_grd_temp.getColumn(i,"Col05"));
- }
- ds_grid_grd_outerlist2.addColumn("rkey","string");
- for(var i=0; i<ds_grid_grd_outerlist2.rowcount; i++){
- ds_grid_grd_outerlist2.setColumn(i,"rkey",ds_grid_grd_outerlist2.getColumn(i,"bcno")+ds_grid_grd_outerlist2.getColumn(i,"testcd"));
- }
-
- ds_grid_grd_outerlist.addColumn("rkey","string");
- for(var i=0; i<ds_grid_grd_outerlist.rowcount; i++){
- ds_grid_grd_outerlist.setColumn(i,"rkey",ds_grid_grd_outerlist.getColumn(i,"bcno")+ds_grid_grd_outerlist.getColumn(i,"testcd"));
- }
- //----------------------------------------------------------------------------------------------------------------//
-
- //그리드에(ds_grid_grd_outerlist) 엑셀에서 불러온값 셋팅
- for(var j = 1; j<ds_grid_grd_temp.rowcount; j++){
- var aRow=ds_grid_grd_outerlist.addRow();
- ds_grid_grd_outerlist.setColumn(aRow,"workdd",ds_grid_grd_temp.getColumn(j,"Col01")); //의뢰일자
- ds_grid_grd_outerlist.setColumn(aRow,"pid",frmf_setInputNodeCurPid_Change(ds_grid_grd_temp.getColumn(j,"Col02"))); //등록번호 9자리로 만들어넣기
- ds_grid_grd_outerlist.setColumn(aRow,"bcno",ds_grid_grd_temp.getColumn(j,"Col03")); //검체번호
- ds_grid_grd_outerlist.setColumn(aRow,"patnm",ds_grid_grd_temp.getColumn(j,"Col04")); //성명
- ds_grid_grd_outerlist.setColumn(aRow,"testcd",ds_grid_grd_temp.getColumn(j,"Col05")); //testcd(Item Code)
- ds_grid_grd_outerlist.setColumn(aRow,"inptrslt",ds_grid_grd_temp.getColumn(j,"Col06")); //Result
- ds_grid_grd_outerlist.setColumn(aRow,"descrslt",ds_grid_grd_temp.getColumn(j,"Col07")); //소견(담당검사자)
- //하나의 검사코드에 이미지 결과가 여러장일 경우 -옥자
- if(aRow == "0"){ //첫번째 로우일 경우
- //trace("이미지 칼럼 주소값 : "+utlf_transNullToEmpty(ds_grid_grd_temp.getColumn(j,"Col08")));
- ds_grid_grd_outerlist.setColumn(aRow,"imgnm",utlf_transNullToEmpty(ds_grid_grd_temp.getColumn(j,"Col08"))); //이미지경로(파일명까지) 셋팅
- }else{ //두번째 로우부터
- if(ds_grid_grd_temp.getColumn(j,"rkey") != ds_grid_grd_temp.getColumn(j-1,"rkey")){ //이전 로우와 비교하여 rkey가 다르면
- ds_grid_grd_outerlist.setColumn(aRow,"imgnm",utlf_transNullToEmpty(ds_grid_grd_temp.getColumn(j,"Col08")));
- }else{ //이전 로우와 비교하여 rkey가 같으면
- ds_grid_grd_outerlist.setColumn(aRow,"imgnm",utlf_transNullToEmpty(ds_grid_grd_temp.getColumn(j-1,"Col08"))+","+utlf_transNullToEmpty(ds_grid_grd_temp.getColumn(j,"Col08")));
- ds_grid_grd_outerlist.deleteRow(aRow-1); //파일명만 추가해주고 지운다
- }
- }
- ds_grid_grd_outerlist.setColumn(aRow,"chk","1");
- }
-
- for(var j=0; j<ds_grid_grd_outerlist2.rowcount; j++){
-
- var tcd = ds_grid_grd_outerlist2.getColumn(j,"testcd");
- var sbcno = ds_grid_grd_outerlist2.getColumn(j,"bcno");
- // XML기호 오류로 변환하여 삽입
- if(ds_grid_grd_outerlist.getColumn(j,"descrslt")=="<" || ds_grid_grd_outerlist.getColumn(j,"descrslt")==">"||ds_grid_grd_outerlist.getColumn(j,"descrslt")=="&"){
- var vDesc = ds_grid_grd_outerlist.getColumn(j,"descrslt");
-
- vDesc = vDesc.replace("<", "〈");
- vDesc = vDesc.replace(">", "〉");
- vDesc = vDesc.replace("&", "&");
- }
-
- fdsf_createDsFilter("ds_temp_tclslist", "ds_grid_grd_outerlist", "testcd =='" + tcd + "'"); //필터링1
- fdsf_createDsFilter("ds_temp_tclslist2", "ds_grid_grd_outerlist", "bcno=='"+ sbcno+ "' && testcd =='" + tcd + "'"); //필터링2
-
- // ds_grid_grd_outerlist.setColumn(j,"descrslt",vDesc);
- // ds_grid_grd_outerlist.setColumn(j,"testnm",ds_temp_tclslist.getColumn(0,"tclsnm")); //필터링1
- // ds_grid_grd_outerlist.setColumn(j,"tclscd",ds_temp_tclslist.getColumn(0,"tclscd")); //필터링1
- // ds_grid_grd_outerlist.setColumn(j,"spccd",ds_temp_tclslist.getColumn(0,"spccd")); //필터링1
- // ds_grid_grd_outerlist.setColumn(j,"srvstat",ds_temp_tclslist.getColumn(0,"tclsnm")); //필터링2
-
- var bcbc = ds_grid_grd_outerlist.getColumn(j,"bcno");
- var tctc = ds_grid_grd_outerlist.getColumn(j,"testcd");
-
- ds_grid_grd_outerlist.setColumn(j,"rkey",bcbc+tctc);
- ds_grid_grd_outerlist.setColumn(j,"tclskind",ds_temp_tclslist.getColumn(0,"tclskind"));
-
- if((ds_grid_grd_outerlist2.getColumn(j,"tclskind")=="4") || (ds_grid_grd_outerlist.getColumn(j,"rsltstat")=="5")){
- ds_grid_grd_outerlist.setColumn(j,"chk","0");
- } else {
- if(ds_grid_grd_outerlist2.getColumn(j,"tclskind")=="1"){
- ds_grid_grd_outerlist.setColumn(j,"chk","0");
- } else {
- ds_grid_grd_outerlist.setColumn(j,"chk","1");
- }
- }
- }
-
- var iRow = ds_temp_saveFlag.addRow();
- ds_temp_saveFlag.setColumn(iRow,"savegbn","F");
-
- //그리드에(ds_grid_grd_outerlist) 남은값 셋팅
- for(var i=0; i<ds_grid_grd_outerlist.rowcount; i++){
- var fRow = ds_grid_grd_outerlist2.findRow("rkey",ds_grid_grd_outerlist.getColumn(i,"rkey"));
- ds_grid_grd_outerlist.setColumn(i,"extrtestinstcd", sysf_getUserInfo("posinstcd"));
- ds_grid_grd_outerlist.setColumn(i,"tclscd", ds_grid_grd_outerlist2.getColumn(fRow,"tclscd"));
- ds_grid_grd_outerlist.setColumn(i,"testnm", ds_grid_grd_outerlist2.getColumn(fRow,"tclsnm")); //검사명
- ds_grid_grd_outerlist.setColumn(i,"spccd", ds_grid_grd_outerlist2.getColumn(fRow,"spccd"));
- ds_grid_grd_outerlist.setColumn(i,"rsltstat", ds_grid_grd_outerlist2.getColumn(fRow,"rsltstat"));
- ds_grid_grd_outerlist.setColumn(i,"tclskind", ds_grid_grd_outerlist2.getColumn(fRow,"tclskind"));
- ds_grid_grd_outerlist.setColumn(i,"rsltunit", ds_grid_grd_outerlist2.getColumn(fRow,"rsltunit"));
- ds_grid_grd_outerlist.setColumn(i,"refval", ds_grid_grd_outerlist2.getColumn(fRow,"refval"));
- ds_grid_grd_outerlist.setColumn(i,"testcd2", ds_grid_grd_outerlist2.getColumn(fRow,"testcd2"));
- ds_grid_grd_outerlist.setColumn(i,"testcdSrceen", ds_grid_grd_outerlist2.getColumn(fRow,"testcdSrceen"));
- ds_grid_grd_outerlist.setColumn(i,"execdeptcd", ds_grid_grd_outerlist2.getColumn(fRow,"tsectcd"));
- //ds_grid_grd_outerlist.setColumn(i,"imgyn",ds_grid_grd_outerlist2.getColumn(fRow,"imagrsltyn")); //이미지결과 여부
- // 아래와 같이 수정
- //이미지명이 존재하면 이미지결과에 Y값을 넣어줌. imgyn Y값이 있어야 저장을 타기때문.
- if(utlf_transNullToEmpty(ds_grid_grd_outerlist.getColumn(i,"imgnm"))!=""){
- ds_grid_grd_outerlist.setColumn(i,"imgyn","Y");
- }
-
- // if(utlf_transNullToEmpty(ds_grid_grd_outerlist2.getColumn(fRow,"inptrslt"))!=""){ //기존 DB에 저장된 결과값이 있으면
- // ds_grid_grd_outerlist.setColumn(i,"inptrslt",ds_grid_grd_outerlist2.getColumn(fRow,"inptrslt")); //엑셀 불러오더라도 DB에 저장된 결과값으로 덮어 씌움
- // cnt++;
- // }
- }
-
- lf_calcMulty(); //계산식적용
-
- var cnt = 0;
-
- //그리드에(ds_grid_grd_outerlist) 남은값 셋팅
- for(var i=0; i<ds_grid_grd_outerlist.rowcount; i++){
- var fRow = ds_grid_grd_outerlist2.findRow("rkey",ds_grid_grd_outerlist.getColumn(i,"rkey"));
- if(utlf_transNullToEmpty(ds_grid_grd_outerlist2.getColumn(fRow,"inptrslt"))!=""){ //기존 DB에 저장된 결과값이 있으면
- ds_grid_grd_outerlist.setColumn(i,"inptrslt",ds_grid_grd_outerlist2.getColumn(fRow,"inptrslt")); //엑셀 불러오더라도 DB에 저장된 결과값으로 덮어 씌움
- cnt++;
- }
- }
-
- if(cnt>0){
- sysf_messageBox("기존에 저장된 결과값이 존재하는 검사가 있습니다","E");
- }
-
- lf_imgFileSearch();
-
- //상태값이 '-'인것은 저장상태로 바로 결과전송.
- for(var i=0; i<ds_grid_grd_outerlist.rowcount; i++){
- if(ds_grid_grd_outerlist.getColumn(i,"rsltstat")=="-" || ds_grid_grd_outerlist.getColumn(i,"rsltstat")=="1"){
- ds_grid_grd_outerlist.setColumn(i, "rsltstat", "1"); //저장으로 상태 셋팅
- ds_grid_grd_outerlist.setColumn(i,"chk","1");
- }else if((ds_grid_grd_outerlist.getColumn(i,"rsltstat")!="-")){
- ds_grid_grd_outerlist.setColumn(i,"chk","0");
- }
-
- if(ds_grid_grd_outerlist.getColumn(i, "tclskind") == "1"){// 판넬일때는
- ds_grid_grd_outerlist.setColumn(i, "rsltstat", "-");// 저장안해도됨
- ds_grid_grd_outerlist.setColumn(i,"chk","0");// 저장안해도됨
- }
- }
- lf_exeOuterRslt(); //결과전송
- }
- function lf_calcMulty() {
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "deptflag" , val: ""}
- ]);
- tranf_submit({
- id: ""
- , service: "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt"
- , method: "reqGetcalfList"
- , inds : "cond="+sInDsName
- , outds: "ds_grid_grd_calf=getcalfcd"
- //, callback: "cbf_SMLLF10600"
- , async: false
- });
-
-
- ds_grid_grd_Calcu_TestInfoCnts.clearData();
- ds_grid_grd_TestInfoCnts.clearData();
- var nCode1="", nRow=-1, nAddRow=-1;
- for(var i=0; i<ds_grid_grd_outerlist.rowcount; i++) {
- nAddRow = ds_grid_grd_TestInfoCnts.addRow();
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "pid", ds_grid_grd_outerlist.getColumn(i, "pid"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "bcno", ds_grid_grd_outerlist.getColumn(i, "bcno"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "tclscd", ds_grid_grd_outerlist.getColumn(i, "testcd"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "spccd", ds_grid_grd_outerlist.getColumn(i, "spccd"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "testcd", ds_grid_grd_outerlist.getColumn(i, "testcd"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "inptrslt", ds_grid_grd_outerlist.getColumn(i, "inptrslt"));
-
- nCode1 = ds_grid_grd_outerlist.getColumn(i, "testcd");
- nRow = ds_grid_grd_calf.findRow("tclscd", nCode1);
- if(nRow > -1) {
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "apptclscd", ds_grid_grd_calf.getColumn(nRow, "apptclscd"));
- //ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "spccd", ds_grid_grd_calf.getColumn(nAddRow, "spccd"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "calformcnts", ds_grid_grd_calf.getColumn(nRow, "calformcnts"));
-
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptcnt", ds_grid_grd_calf.getColumn(nRow, "acptcnt"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt01", ds_grid_grd_calf.getColumn(nRow, "acpt01"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt02", ds_grid_grd_calf.getColumn(nRow, "acpt02"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt03", ds_grid_grd_calf.getColumn(nRow, "acpt03"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt04", ds_grid_grd_calf.getColumn(nRow, "acpt04"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt05", ds_grid_grd_calf.getColumn(nRow, "acpt05"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt06", ds_grid_grd_calf.getColumn(nRow, "acpt06"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt07", ds_grid_grd_calf.getColumn(nRow, "acpt07"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt08", ds_grid_grd_calf.getColumn(nRow, "acpt08"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt09", ds_grid_grd_calf.getColumn(nRow, "acpt09"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acpt10", ds_grid_grd_calf.getColumn(nRow, "acpt10"));
-
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "fromdd", ds_grid_grd_calf.getColumn(nRow, "fromdd"));
-
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc01", ds_grid_grd_calf.getColumn(nRow, "acptspc01"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc02", ds_grid_grd_calf.getColumn(nRow, "acptspc02"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc03", ds_grid_grd_calf.getColumn(nRow, "acptspc03"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc04", ds_grid_grd_calf.getColumn(nRow, "acptspc04"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc05", ds_grid_grd_calf.getColumn(nRow, "acptspc05"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc06", ds_grid_grd_calf.getColumn(nRow, "acptspc06"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc07", ds_grid_grd_calf.getColumn(nRow, "acptspc07"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc08", ds_grid_grd_calf.getColumn(nRow, "acptspc08"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc09", ds_grid_grd_calf.getColumn(nRow, "acptspc09"));
- ds_grid_grd_TestInfoCnts.setColumn(nAddRow, "acptspc10", ds_grid_grd_calf.getColumn(nRow, "acptspc10"));
- }
- }
-
- var nFindRow=-1;
- var apptclscd="", spccd="";
- for(i=0; i<ds_grid_grd_TestInfoCnts.rowcount; i++) {
- apptclscd = ds_grid_grd_TestInfoCnts.getColumn(i, "apptclscd");
- spccd = ds_grid_grd_TestInfoCnts.getColumn(i, "spccd");
- nFindRow = ds_grid_grd_Calcu_TestInfoCnts.findRowExpr("apptclscd=='"+apptclscd+"' && spccd=='"+spccd+"'");
- if (nFindRow == -1) {
- var nCalcuRow = ds_grid_grd_Calcu_TestInfoCnts.addRow();
- ds_grid_grd_Calcu_TestInfoCnts.copyRow(nCalcuRow, ds_grid_grd_TestInfoCnts, i);
- }
- }
-
- gf_calcMulty ("SMLOR00100", false, false);//계산식
- }
- function lf_cvtResultCode(row){
- // var vTestcd = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(row,"testcd"));
- // var vInptRslt = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(row,"bufinptrslt"));
- //
- // ds_init_lb0109.filterstr = "etc01 ==" + "'" + vTestcd + "'";
- // var vRstcontLower ="";
- // var vRstcontUpper = "";
- // for (i = 0; i < ds_init_lb0109.rowcount; i++) {
- // var cd = ds_init_lb0109.getColumn(i,"cd");
- // var nm = ds_init_lb0109.getColumn(i,"nm");
- //
- // if(vInptRslt.toLowerCase() == cd) vRstcontLower = nm;
- // if(vInptRslt.toUpperCase() == cd) vRstcontUpper = nm;
- // }
- //
- //
- // if (vRstcontLower.getTrim() != "" || vRstcontUpper.getTrim() != "" ) {
- //
- // var vRstcont = (vRstcontLower.getTrim() != "") ? vRstcontLower.getTrim() : vRstcontUpper.getTrim();
- //
- // ds_grid_grd_TestInfoCnts.setColumn(row,"bufinptrslt",vRstcont);
- // //ds_grid_grd_TestInfoCnts.setColumn(row,"inptrslt",vRstcont);
- // }
- ds_grid_grd_outerlist.setColumn(row,"inptrslt",ds_grid_grd_TestInfoCnts.getColumn(row,"bufinptrslt"));
- }
- function lf_getImgPath(){
-
- var fd = new FileDialog();
- var file = fd.open("open", FileDialog.SELFOLDER,"%MYDOCUMENT%");
-
- // 파일경로 셋팅
- div.div_search.opt_img.value = file;
-
- //FileDialog.open("이미지경로찾기",constOpenMode,strInitialPath,strFileName);
- }
- function lf_cmtCheck(){
- // for(var a=0; a<ds_grid_grd_outerlist.rowcount; a++){
- for(i = 0; i < ds_send_outerlist.rowcount; i++){
- ds_send_outerlist.setColumn(i, "isedit", "true");
-
- if(!utlf_isNull(div.tar_cmt.value) || !utlf_isNull(ds_grid_grd_outerlist.getColumn(i,"descrslt"))){ //소견이 있을때
- if(ds_send_outerlist.getColumn(i, "chk") == 1){
- var nRow = ds_temp_spcCmtInfo.addRow();
- if(utlf_transNullToEmpty(ds_grid_grd_outerlist.getColumn(i,"descrslt"))!=""){ //엑셀파일로 결과 불러올경우 외부기관 검사자가 소견에 들어가게
- ds_temp_spcCmtInfo.setColumn(nRow, "testcont", utlf_transNullToEmpty(div.tar_cmt.value)+" - "+utlf_transNullToEmpty(ds_send_outerlist.getColumn(i,"descrslt")));
-
- }else{
- //trace("조회후 소견입력후 결과 직접 저장");
- ds_temp_spcCmtInfo.setColumn(nRow, "testcont", utlf_transNullToEmpty(div.tar_cmt.value));
- }
- ds_temp_spcCmtInfo.setColumn(nRow, "testcontcd", utlf_transNullToEmpty(div.cmb_cmtcd.value));
- ds_temp_spcCmtInfo.setColumn(nRow, "execdeptcd", ds_send_outerlist.getColumn(i,"execdeptcd"));
- }
- }else if(utlf_isNull(div.tar_cmt.value)){ //소견이 없을때
- //trace("조회후 소견없이 결과 직접 저장");
- var nRow = ds_temp_spcCmtInfo.addRow();
- ds_temp_spcCmtInfo.setColumn(nRow, "testcont", "");
- ds_temp_spcCmtInfo.setColumn(nRow, "testcontcd", "");
- ds_temp_spcCmtInfo.setColumn(nRow, "execdeptcd", ds_send_outerlist.getColumn(i,"execdeptcd"));
- }
- }
- // }
- }
- //결과전송(저장)
- function lf_exeOuterRslt(){
- ds_send_outerlist.clearData();
- // 이미지 결과 Y인것 업로드 하기
- // lf_getImgFile(); //이 함수는 TF에서도 주석처리됨
- // 이미지 업로드는 엑셀에서 불러올때 포컬폴더 경로에 있는 이미지 Blob으로 가져옴.
- // 이후 저장이벤트 발생시(저장/중간보고/최종보고) 이미지가 테이블에 저장됨.
- // lf_imgFileSearch();
-
- //체크된것만 send 데이터셋으로 보내기
- for(var i=0; i<ds_grid_grd_outerlist.rowcount; i++){
- if(ds_grid_grd_outerlist.getColumn(i,"chk")=="1"){
- var aRow = ds_send_outerlist.addRow();
- ds_send_outerlist.copyRow(aRow,ds_grid_grd_outerlist,i);
- }
- }
-
- //소견 있는지 확인
- lf_cmtCheck();
-
- var sInDsName3 = dsf_createDsRow("ds_temp_saveFlag"
- , [{col: "savegbn", val: ds_temp_saveFlag.getColumn(0,"savegbn")}
- ]);
- //trace("savegbn : " +ds_temp_saveFlag.getColumn(0,"savegbn"));
- // 서브밋호출
- tranf_submit({ id: "TXLOR00201"
- , service: "rsltmngtapp.RsltMngt"
- , method: "reqSetResultSaveOuter"
- , inds : "TestData=ds_send_outerlist saveFlag="+sInDsName3+" RefFalg=ds_send_outerlist"+" SpcCmtInfo=ds_temp_spcCmtInfo"+" attach=ds_imgsInfo"
- // , callback: "cbf_SMLOP00300"
- , async: false
- });
-
- ds_imgsInfo.clearData(); //저장후 이미지 데이터셋 초기화
- ds_temp_spcCmtInfo.clearData(); //저장후 소견입력 데이터셋 초기화
- div.tar_cmt.value = ""; //저장후 소견입력창 초기화
- }
- function lf_setImgRsltView(){ //이미지 결과 보여주기 팝업
- ds_spcltestinfo.clearData();
- //if(utlf_transNullToEmpty(ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"imgnm"))!="" || utlf_transNullToEmpty(ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"imgtrue"))!=""){
- var iRow = ds_spcltestinfo.addRow();
- ds_spcltestinfo.setColumn(iRow,"bcno",ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"bcno"));
- ds_spcltestinfo.setColumn(iRow,"testcd",ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"testcd"));
- ds_spcltestinfo.setColumn(iRow,"spccd",ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"spccd"));
- ds_spcltestinfo.setColumn(iRow,"tclscd",ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"tclscd"));
- ds_spcltestinfo.setColumn(iRow,"pid",ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"pid"));
- ds_spcltestinfo.setColumn(iRow,"rsltstat",ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"rsltstat"));
- ds_spcltestinfo.setColumn(iRow,"btnvisible","true");
- ds_spcltestinfo.setColumn(iRow,"flag","");
- var objArg = new Object();
- objArg.ds_data_spcltestinfo = ds_spcltestinfo;
- frmf_modal("SMLRR01500","SMLRR01500",objArg);
- //}else{
- // sysf_messageBox("이미지결과가 없습니다");
- //}
- }
- function lf_getOuterRsltConfirm(){
- if(ds_grid_grd_outerlist.rowcount<0){
- sysf_messageBox("전송확인할 항목이 ","I004");
- return;
- }
-
- var keylist = ds_grid_grd_outerlist.getColumn(0,"rkey");
- var bcnolist = ds_grid_grd_outerlist.getColumn(0,"bcno");
- var testlist = ds_grid_grd_outerlist.getColumn(0,"testcd");
-
- for(var i=1; i<ds_grid_grd_outerlist.rowcount; i++){
- keylist = keylist + "','" + ds_grid_grd_outerlist.getColumn(i,"rkey");
- bcnolist = bcnolist + "','" + ds_grid_grd_outerlist.getColumn(i,"bcno");
- testlist = testlist + "','" + ds_grid_grd_outerlist.getColumn(i,"testcd");
- }
-
- var sInDsName = dsf_createDsRow("ds_temp_saveFlag"
- , [{col: "cnfmdata", val: keylist}
- , {col: "bcnolist", val: bcnolist}
- , {col: "testlist", val: testlist}
- ]);
-
-
- // 서브밋호출
- tranf_submit({ id: "TRLOR00201"
- , service: "rsltmngtapp.RsltMngt"
- , method: "reqGetOuterRsltCnfm"
- , inds : "cond="+sInDsName
- , outds: "ds_cnfmlist=getOuterRsltCnfm"
- , async: false
- , callback : "cbf_TRLOR00201"
- });
- }
- //콜백_접속자조회
- function cbf_TRLOR00201(strSvcID, nErrorCode, strErrorMag){
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- else if(nErrorCode == 0){
- for(var i =0; i<ds_cnfmlist.rowcount; i++){
- var sRkey = ds_cnfmlist.getColumn(i, "rkey");
- var kRow = ds_grid_grd_outerlist.findRow("rkey", sRkey);
-
- if(kRow != -1){
- ds_grid_grd_outerlist.setColumn(kRow, "srvstat", ds_cnfmlist.getColumn(i, "rsltstat"));
- }
-
- }
- }
- }
- //파일불러오기(이미지 데이터 셋팅) -옥희
- function lf_imgFileSearch(){
- var strFilename = new Array();
-
- for(var i=0; i<ds_grid_grd_outerlist.rowcount; i++){
- if(utlf_transNullToEmpty(ds_grid_grd_outerlist.getColumn(i,"imgnm"))!=""){ //이미지명이 존재하면(=이미지존재하면)
-
- var imglennm = ds_grid_grd_outerlist.getColumn(i,"imgnm"); //이미지 여러장일경우 ','이 이미 포함되어있음
- var imglen = imglennm.split(",");
-
- for(var imgRow=0; imgRow<=imglen.length-1; imgRow++){
- //strFilename[i] = imglen[i]; //각 로우 경로를 담아서
-
- //strFilename에 담긴 경로의 이미지를 불러옴
- var vFile = new VirtualFile();
- var bSucc = vFile.open(imglen[imgRow], VirtualFile.openRead | VirtualFile.openBinary) ;
-
- //데이터 BLOB으로 만들기
- var bData = new Buffer(vFile.read(vFile.getFileSize()));
-
- //그리드 데이터셋에 담음
- ds_grid_grd_outerlist.setColumn(i,"imgrslt",bData.data);
-
- //ds_imgsInfo에 BLOB으로 저장하기
- var nRow = ds_imgsInfo.addRow();
- ds_imgsInfo.setColumn(nRow, "filenm", imglen[imgRow]); //파일명을 현재 이미지명에 경로포함해서 받아와 셋팅
- ds_imgsInfo.setColumn(nRow, "imgrslt", bData.data);
- ds_imgsInfo.setColumn(nRow, "bcno", ds_grid_grd_outerlist.getColumn(i,"bcno"));
- ds_imgsInfo.setColumn(nRow, "testcd", ds_grid_grd_outerlist.getColumn(i,"testcd"));
- ds_imgsInfo.setColumn(nRow, "rsltstat", ds_grid_grd_outerlist.getColumn(i,"rsltstat"));
-
- //이미지 사이즈 가져오기
- lf_changeImage(imglen[imgRow]);
- }
- }
- }
- }
- //상단연동
- function lf_upPatinfo2(sPid){
- //환자명이 그리드에 없을떄, 조회 하지 않기
- if(utlf_isNull(utlf_transNullToEmpty(sPid))) return;
- if(appf_getPatientInfo("pid") != sPid){
- if(ds_grid_grd_outerlist.rowcount >= 0){
- lf_UpPatinfo(sPid);
- }
- }
-
- var paminfo = utlf_transNullToEmpty(sysf_getGlobalVariable("paminfo"));
-
- if((paminfo.length < 0) || (appf_getPatientInfo("pid") != sPid)){
- lf_UpPatinfo(sPid);
- }
- }
- //이미지 사이즈 가져오기. (imght, imgwidt 없으면 저장로직 타지 않음)
- function lf_changeImage(imgsrc){
-
- //같은 파일명이면 안됨. 이미지결과파일은 파일명으로 유일하게 구분되어야함.
- //같은 파일명일 경우 나중 로우에 imght 입력 안됨.
- var fRow = ds_imgsInfo.findRow("filenm",imgsrc);
- div.img2.image = ds_imgsInfo.getColumn(fRow, "imgrslt");
-
- ds_imgsInfo.setColumn(fRow,"imght",div.img2.imageheight);
- ds_imgsInfo.setColumn(fRow,"imgwidt",div.img2.imagewidth);
- //trace(imgsrc + " "+ fRow +"번째에 셋팅된 img height: "+ ds_imgsInfo.getColumn(fRow,"imght"));
- }
- function lf_setMediCheck(){
- // var sInDsName = dsf_createDsRow("ds_send_RefFalg"
- // , [{col: "rsltstat", val: ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition,"rsltstat")}
- // , {col: "tclslrqkind", val: "-"}
- // , {col: "userid", val: ds_cond_getUsernm.getColumn(0,"userid")}
- // , {col: "XFMGbn", val: ""}
- // , {col: "flag", val: ""}]);
- if(utlf_isNull(div.div_search.opt_testpsn.value)) {
- sysf_messageBox("판독자(전문의)를", "C001");
- div.div_search.opt_testpsn.setFocus();
- return;
- }
-
- //인증에 필요한 정보 copyrow
- for(var i=0; i<ds_grid_grd_outerlist.rowcount; i++){
- if(ds_grid_grd_outerlist.getColumn(i,"chk")=="1"){
- var aRow = ds_signinfo.addRow();
- ds_signinfo.copyRow(aRow,ds_grid_grd_outerlist,i);
- }
- }
-
- dsf_createDsRow("ds_cond_req",
- [{col:"bcno", val:ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition, "bcno")}
- ,{col:"tclscd", val:ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition, "tclscd")}
- ,{col:"testcd", val:ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition, "testcd")}
- ,{col:"spclrsltformkind", val:""}
- ,{col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}
- ,{col:"pid", val:ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition, "pid")}
- ,{col:"spccd", val:ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition, "spccd")}
- ,{col:"prcpgenrflag", val:""}
- ]);
-
- dsf_createDsRow("ds_data_patinfo",
- [{col:"pid", val:""}
- ,{col:"spclno", val:""}
- ,{col:"patnm", val:""}
- ,{col:"rrgstno", val:""}
- ,{col:"sexage", val:""}
- ,{col:"orddeptcd", val:""}
- ,{col:"roomcd", val:""}
- ,{col:"orddrid", val:""}
- ,{col:"spcacptdt", val:""}
- ,{col:"spcacptdt2", val:""}
- ,{col:"lastreptdt", val:""}
- ,{col:"reqcnts", val:""}
- ,{col:"lastreptid", val:""}
- ,{col:"medispcdt", val:""}
- ,{col:"medispcdt2", val:""}
- ,{col:"medispclid", val:""}
- ,{col:"bcno", val:""}
- ,{col:"testcd", val:""}
- ,{col:"tclscd", val:""}
- ,{col:"spccd", val:""}
- ,{col:"rsltseq", val:""}
- ,{col:"instcd", val:""}
- ,{col:"bcolldt", val:""}
- ,{col:"workno", val:""}
- ,{col:"testid", val:""}
- ,{col:"specdrid", val:""}
- ,{col:"medispclid", val:""}
- ,{col:"userflag", val:""}
- ,{col:"exla", val:""}
- ,{col:"server", val:""}
- ,{col:"mungu1", val:""}
- ,{col:"mungu2", val:""}
- ,{col:"prcpdd", val:""}],"true");
-
- dsf_createDsRow("ds_data_cf",
- [{col:"dispptno", val:""}
- ,{col:"extrpartcd", val:""}
- ,{col:"extrmthdcd", val:""}
- ,{col:"drgcd", val:""}
- ,{col:"acptdd", val:""}
- ,{col:"readdrnm", val:""}]);
-
- //인증에 필요한 환자정보
- var objParam = new Object();
- objParam.id = "TRLRR90403";
- objParam.service = "rsltmngtapp.RsltMngt";
- objParam.method = "reqGetPatInfo";
- objParam.inds = "cond=ds_cond_req";
- //objParam.outds ="ds_data_patinfo=patinfo ds_data_cf=cf";
- objParam.outds ="ds_data_patinfo=getPatInfo ds_data_cf=cf";
- objParam.callback = "cbf_common";
- tranf_submit(objParam);
-
- ds_data_patinfo.setColumn(0, "medispcdt", utlf_getCurrentDate()); //판독시간
- ds_data_patinfo.setColumn(0, "bcolldt", ds_grid_grd_outerlist.getColumn(0, "workdd"));//채취일자
- ds_data_patinfo.setColumn(0, "medispclid", div.div_search.ipt_testpsn.value); //판독자
- ds_data_patinfo.setColumn(0, "exla", ds_grid_grd_outerlist.getColumn(ds_grid_grd_outerlist.rowposition, "extrtestinstcd")); //위탁검사일경우 위탁기관에의뢰한정보입니다.. 아닐경우 null
- ds_data_patinfo.setColumn(0, "server", sysf_getURLprefix()); //이미지불러오기 위해 현 서버를 server 노드에 넣는다.
- ds_data_patinfo.setColumn(0, "sexage", appf_getPatientInfo("sa")); //성별/나이
-
- //-------------------------------------------------------------
-
-
- //그리드컬럼만 인증저장
- ds_signinfo.loadXML(ds_signinfo.saveXML());
- // //trace(ds_signinfo.saveXML());
-
- Sign.certreload = true; //인증저장 재확인
-
- if (Sign.signprocess() == true){ // ▶ 전자인증 관련 환자 인적 정보를 보내줌.
-
-
- var ds_temp1 = dsf_createDsRow("ds_temp1",[{col: "pid", val:ds_signinfo.getColumn(ds_signinfo.rowposition,"pid")}
- ,{col: "orddd", val:"" }
- ,{col: "cretno", val:"" }
- ,{col: "signno", val:"" }
- ,{col: "recdd", val:utlf_getCurrentDate()}
- ,{col: "rectm", val:utlf_getCurrentTime()}
- ,{col: "recsaveflag", val:"N" }
- ,{col: "signflag", val:"02" }
- ,{col: "signgenrflag", val:"O" }
- // ,{col: "formcd", val:""}
- ,{col: "orddeptcd", val:ds_signinfo.getColumn(ds_signinfo.rowposition,"workdd")}
- ,{col: "orddrid", val:ds_cond_getUsernm.getColumn(0,"specdrid") }
- ,{col: "signbfcnts", val:Sign.signedInfos[1]}
- ,{col: "signaftcnts", val:Sign.signedInfos[2]}]);
- //trace("아아아아아------- "+Sign.signprocess());
- //trace(Sign.signedInfos[1]);
-
-
- }else{
- sysf_messageBox("인증저장에 실패하였습니다.", "I999");
- for(i = 0; i <= ds_signinfo.rowcount; i++) {
- ds_signinfo.setRowType(i, "");
- }
- return false;
- }
-
- tranf_submit({
- id: "TXLRR00101"
- , service: "rsltmngtapp.RsltMngt"
- , method: "reqSetItemResultSave"
- //, async: false
- , inds : "signinfo=ds_temp1"
- });
-
- }
- //인증저장데이터 만들기
- function fMake_SignData(){
- var arrSignPath = new Array();
- var arrSignDs = new Array();
- arrSignPath[0] = "/testinfo/patlist/";
- arrSignDs[0] = ds_signinfo.saveXML();
-
- arrSignPath[1] = "/testinfo/testlist/";
- arrSignDs[1] = ds_signinfo.saveXML();
- Sign.addnodeset(arrSignPath, arrSignDs);
- }
- //전문의입력
- function lf_userNMRef(){
- if(!utlf_isNull(div.div_search.ipt_testpsn.value)){
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "userid", val: div.div_search.ipt_testpsn.value} ]); //검사항목시퀀스값 넘김
-
- // 서브밋호출
- tranf_submit({
- id: "TRLRR00406"
- , service: "rsltmngtapp.RsltMngt"
- , method: "reqGetUserNM"
- , inds : "cond="+sInDsName
- , outds: "ds_cond_getUsernm=usernm"
- , async: false
- });
-
- if(utlf_isNull(div.div_search.ipt_testpsn.value)){
- sysf_messageBox("전문의 ID가 정확히 입력되지 ", "E007");
- div.div_search.ipt_testpsn.value = "";
- div.div_search.ipt_testpsn.setFocus();
- return;
- }
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- function SMLOR00100_onload(obj:Form, e:LoadEventInfo){
- //폼 초기화 함수
- frmf_initForm(obj);
-
- //데이터셋조회
- lf_commoduleDataSetShow();
-
- //초기 데이터 조회
- lf_setInit_search();
-
- //초기화
- lf_setInit();
-
- //그리드 올체크 가능하도록 설정
- grdf_setAllCheck(div.grd_detllist);
-
- zesf_InitSign(); // 전자서명관련 모듈 생성 및 초기화 [comm_inf.xjs]
-
- }
- function div_div_search_btn_search_onclick(obj:Button, e:ClickEventInfo){
- lf_getWiTakRslt();
- }
- function div_div_search_cmb_sectcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo){
- if(div.div_search.cmb_sectcd.value == "00"){
- ds_temp_lb0106.copyData(ds_init_lb0106);
- }else{
- fdsf_createDsFilter("ds_filter_lb0106", "ds_init_lb0106", "cd == '00' || etc01 == '" + div.div_search.cmb_sectcd.value + "'");
- ds_temp_lb0106.copyData(ds_filter_lb0106);
- }
-
- div.div_search.cmb_tsectcd.index == 0;
- }
- function div_cmb_cmtcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo){
- var cmtcnt = ds_init_lb0210.getColumn(div.cmb_cmtcd.index, "etc03");
-
- div.tar_cmt.value = cmtcnt;
- }
- function div_div_search_btn_reset_onclick(obj:Button, e:ClickEventInfo){
- lf_setInit();
- }
- function div_btn_excel_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(div.grd_detllist, lf_lisGetTitle(this), "see");
- }
- function div_div_search_btn_fileHelp_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getFileName();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_check
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전송확인 버튼
- ****************************************************************************************/
- function btn_check_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getOuterRsltConfirm();
- }
- /****************************************************************************************
- * Components :
- * Components ID : div_div_search_btn_imgHelp
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 이미지경로
- ****************************************************************************************/
- function div_div_search_btn_imgHelp_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getImgPath();
- }
- /****************************************************************************************
- * Components :
- * Components ID : div_grd_detllist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 이미지 팝업 돋보기 클릭
- ****************************************************************************************/
- function div_grd_detllist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col==24){ //이미지 팝업칼럼 클릭
- //이미지결과 보여주기
- lf_setImgRsltView();
- }else{
- var sRow = ds_grid_grd_outerlist.rowposition;
- tar_refval.value = ds_grid_grd_outerlist.getColumn(sRow,"refval");
- lf_upPatinfo2(ds_grid_grd_outerlist.getColumn(e.row, "pid"));
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼
- ****************************************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_setRsltStat("save1"); //상태 세팅
- lf_exeOuterRslt(); //결과전송
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_save2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중간보고버튼
- ****************************************************************************************/
- function btn_save2_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_setRsltStat("save2"); //상태 세팅
- lf_exeOuterRslt(); //결과전송
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_save3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 최종보고버튼
- ****************************************************************************************/
- function btn_save3_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_setRsltStat("save3"); //상태 세팅
- lf_exeOuterRslt(); //결과전송
- }
- /****************************************************************************************
- * Components :
- * Components ID : div_div_search_ipt_bcno
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 바코드&환자번호 조회
- ****************************************************************************************/
- function div_div_search_ipt_bcno_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- if(div.div_search.cmb_outerflag.value == "2"){
- div.div_search.ipt_bcno.value = frmf_setInputNodeCurPid_Change(div.div_search.ipt_bcno.value);
- }
- lf_getWiTakRslt();
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : div_div_search_ipt_bcno
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 마우스 이동시 툴팁
- ****************************************************************************************/
- function div_grd_detllist_onmousemove(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.row < 0) return;
- if(parseInt(e.cell) < 1 || parseInt(e.row) < 0) return;
- var vTooltipText = utlf_transNullToEmpty(ds_grid_grd_outerlist.getColumn(e.row,"imgnm"));
- if(e.col == 16){
- obj.tooltiptext = vTooltipText;
- }else {
- obj.tooltiptext = "";
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_lstrept
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전문의확인
- ****************************************************************************************/
- function btn_lstrept_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_setMediCheck();
- }
- /****************************************************************************************
- * Components :
- * Components ID : div_div_search_ipt_testpsn
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 전문의 확인
- ****************************************************************************************/
- function div_div_search_ipt_testpsn_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13"){
-
- lf_userNMRef();
-
- div.div_search.ipt_testpsn.setFocus();
- div.div_search.ipt_testpsn.setSelect(0,div.div_search.ipt_testpsn.getLength());
- }
- }
- function div_grd_detllist_onenterdown(obj:Grid, e:GridEditEventInfo)
- {
- obj.updateToDataset();
-
- if (e.col == 9)//결과
- {
- var curRow = obj.currentrow;
- var curCol = obj.currentcol;
- var refRow = lf_getRow(curRow, curCol);
- lf_cvtViewResult(e.value, refRow, false, curRow);
- //lf_calCu(refRow, curRow);
- //gf_calcSingle (vRow, "SMLLR00400", pDsRow);
- }
-
- var erow = ds_grid_grd_outerlist.rowposition;
- var rowtype = ds_grid_grd_outerlist.getRowType(erow);
- if(rowtype == 2 || rowtype == 4){
- ds_grid_grd_outerlist.setColumn(erow,"chk",1);
- }
- ds_grid_grd_outerlist.rowposition = ds_grid_grd_outerlist.rowposition +1;
- }
- //선택한 testlist row 알기
- function lf_getRow(pRow, pCol){
-
- return findRow = ds_grid_grd_TestInfoCnts.findRow("rkey", ds_grid_grd_outerlist.getColumn(pRow, "rkey"));
- /*
- var findRow = pRow;
-
- if( pRow < 0 ) return -1;
-
- if( pCol >= gStartCol ){
- var vWorkno = ds_grid_grd_outerlist.getColumn(pRow, "bcno");
- var vCdList = ds_cond_refparam.getColumn(0, "tclscdlist2").split("▦");
- var vIdx = parseInt(pCol) - parseInt(gStartCol);
-
- if( vCdList.length > vIdx ){
- var vRkey = vWorkno + vCdList[vIdx].getTrim();
-
- findRow = ds_grid_grd_TestInfoCnts.findRow("rkey", vRkey);
- }
-
- return findRow;
- }
-
- return -1;
- */
- }
- function lf_calCu(pRow, pDsRow){
- var sPID = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"pid"))
- var bcno = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"bcno"));
- var vDScript = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"calformcnts"));
- var vAppTestcnt = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"apptestcnt"));
- var vAppTclscd = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"apptclscd"));
- var vAcptA = new Array(10);
- var r = "";
- //입력코드와 적용코드가 동일할 경우
- if (vAppTclscd == utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"testcd")))
- {
- trace("자기자신 호출 inptrslt :" + utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"inptrslt"))
- + " loopchk : " + utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"loopchk")));
- if (utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"inptrslt")) ==
- utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"loopchk")))
- {
- //자기자신을 다시 호출하였는지 체크
- trace("### return ###");
- return;
-
- }
- }
- if (vDScript.getTrim() != "") {
- var vAcptCnt = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"acptcnt"));
-
- vDScript = gf_patBaseCalcInfo(vDScript, sPID); //환자기본정보 파라미터 replace
-
- var preScript = "";
- for (var i = 1; i <=vAcptCnt; i++) {
- preScript += "var p" + i + " = #p" + i + "#;" + "\n";
- preScript += "if (p" + i + " == 0 || p" + i + " == null) return;" + "\n";
- }
- vDScript = preScript + "return " + vDScript + ";";
- for (var i = 1; i <=vAcptCnt; i++) {
- var iCnt = i;
- iCnt = iCnt.toString().getLeftPad(2,"0");
- //var bcno = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"bcno"));
- var acpt = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"acpt"+ iCnt));
- var spccd = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"acptspc"+ iCnt));
- var fromdd = utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"fromdd"));
- var urineChk = true;
- // //유린량
- // if(i == 2 && utlf_transNullToEmpty(grp2.ipt_urine.text) != "") {
- // vDScript = vDScript.replace("#p"+i.toString()+"#", utlf_transNullToEmpty(grp2.ipt_urine.text));
- // urineChk = false;
- // }
- // //유린시간
- // if(i == 3 && utlf_transNullToEmpty(grp2.ipt_urinetm.text) != "") {
- // vDScript = vDScript.replace("#p"+i.toString()+"#", utlf_transNullToEmpty(grp2.ipt_urinetm.text));
- // urineChk = false;
- // }
- //그외
- if(urineChk) {
- //var sFind = ds_grid_grd_TestInfoCnts.findRow("testcd",acpt);
- var sFind = ds_grid_grd_TestInfoCnts.findRowExpr("bcno=='"+bcno+ "' && testcd=='"+acpt+ "' && spccd=='"+spccd+"'" ); //같은 바코드내에서 검색
- var sFind1 = ds_grid_grd_TestInfoCnts.findRowExpr("bcno=='"+bcno+ "' && testcd=='"+acpt+ "' && spccd=='"+spccd+"'" ); //같은 바코드내에서 검색
- var sFind2 = ds_grid_grd_TestInfoCnts.findRowExpr("bcno=='"+bcno+ "' && tclscd=='"+acpt+ "' && spccd=='"+spccd+"'" ); //같은 바코드내에서 검색
- var sDsName = "ds_grid_grd_TestInfoCnts";
- if (sFind < 0 && ds_bftest.rowcount > 0)//해당 검사코드를 찾지 못하면 타검사결과를 참조
- {
- //sFind = ds_bftest.findRow("testcd", acpt);
- sFind = ds_bftest.findRowExpr("orgbcno=='"+bcno+ "' && testcd=='"+acpt+ "' && spccd=='"+spccd+ "' && fromdd=='"+fromdd+"'");
- sFind1 = ds_bftest.findRowExpr("orgbcno=='"+bcno+ "' && testcd=='"+acpt+ "' && spccd=='"+spccd+ "' && fromdd=='"+fromdd+"'");
- sFind2 = ds_bftest.findRowExpr("orgbcno=='"+bcno+ "' && tclscd=='"+acpt+ "' && spccd=='"+spccd+ "' && fromdd=='"+fromdd+"'");
- sDsName = "ds_bftest";
- }
- //trace("sFind : " + sFind + " , sDsName : " + sDsName + " " + utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")));
- if(utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")) == ""){
- //var sFind = this.objects[sDsName].findRow("tclscd",acpt);
- var sFind = sFind2;
- if(utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")) == ""){
- if(vAcptCnt == 2 ) return r;
- vDScript = vDScript.replace("#p"+i.toString()+"#", "null");
- }else{
- // 20130411 JJH ADD : 결과값이 숫자가 아니면 Return
- //var sFind = this.objects[sDsName].findRow("testcd",acpt);
- var sFind = sFind1;
- var sTag = "";
- if ( !utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")).isNumber()
- && !utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")).isFloat() ) {
- sTag = "'";//return;
- }
- //var sFind = this.objects[sDsName].findRow("tclscd",acpt);
- var sFind = sFind2;
- vDScript = vDScript.replace("#p"+i.toString()+"#", sTag + utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")) + sTag);
- }
- } else {
- // 20130411 JJH ADD : 결과값이 숫자가 아니면 Return
- //var sFind = this.objects[sDsName].findRow("testcd",acpt);
- var sFind = sFind1;
- var sTag = "";
- if ( !utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")).isNumber()
- && !utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")).isFloat() ) {
- sTag = "'";//return;
- }
- vDScript = vDScript.replace("#p"+i.toString()+"#", sTag + utlf_transNullToEmpty(this.objects[sDsName].getColumn(sFind,"inptrslt")) + sTag);
- }
- }
- }
- //var rslt = eval(vDScript);
- //var rslt = Number((eval(vDScript)).toFixed(6));
- var rslt = eval(vDScript);
- //trace( vDScript );
- if (utlf_transNullToEmpty(rslt) == "") rslt = "";//return;
-
- var er = /^[0-9]*[.][0-9]+$/;//utlf_isNumber, utlf_isFloat 로 체크가 안되는 float 체크용
-
- if (utlf_isNumber(rslt) || utlf_isFloat(rslt) || er.test(rslt))
- {
- //rslt = Number(rslt.toFixed(6));
- rslt = Number((eval(vDScript)).toFixed(10));
- }
-
- //trace(vAppTclscd + "(" + rslt + ") 적용 위치 찾기");
- //trace("bcno : " + bcno + " rkey : " + utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(pRow,"rkey")));
- //같은검체번호, 같은pid
- var sFindRow = ds_grid_grd_outerlist.findRowExpr("rkey=='"+bcno+vAppTclscd+"'" ); //같은 바코드내에서 검색
- if (sFindRow > -1)
- {
- lf_calcRsltEnterKey(rslt, sFindRow, 9);
- }
- // var vCdList = ds_cond_refparam.getColumn(0, "tclscdlist2").split("▦");
- // var pos = -1;
- // for(var i=0; i<vCdList.length; i++)
- // {
- // if(vCdList[i]==vAppTclscd)
- // {
- // pos = i;
- // break;
- // }
- // }
- // if (pos > -1)
- // {
- // var readonly = ds_grid_grd_outerlist.getColumn(pDsRow, "readonly" + (pos+1));
- //
- // if( readonly != "1" ){
- // lf_calcRsltEnterKey(rslt, pDsRow, pos + gStartCol);
- // }
- // }
- }
- // ds_grid_grd_outerlist.rowposition = ds_grid_grd_outerlist.rowposition +1;
-
- }
- //계산결과를 화면 그리드에 입력을 한다.
- function lf_calcRsltEnterKey(vInptRslt, j, k){
- var curRow = j;
- var curCol = k;
- refRow = lf_getRow(curRow, curCol);
-
- if( refRow >= 0){
-
- //입력코드와 적용코드가 동일할 경우
- if (utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(refRow,"apptclscd")) == utlf_transNullToEmpty(ds_grid_grd_TestInfoCnts.getColumn(refRow,"testcd")))
- {
- var vLoopchk = ds_grid_grd_TestInfoCnts.getColumnInfo("loopchk");
- if (utlf_isNull(vLoopchk))
- {
- ds_grid_grd_TestInfoCnts.addColumn("loopchk", "string");
- }
- ds_grid_grd_TestInfoCnts.setColumn(refRow,"loopchk",vInptRslt);
- }
-
- ds_grid_grd_outerlist.setColumn(curRow, "inptrslt", vInptRslt);
- lf_cvtViewResult(vInptRslt, refRow, false, curRow);
- }
- //juy ds_cond_hidden.setColumn(0, "rsltcont", "");
- }
- function lf_cvtViewResult(pInptRslt, pRefRow, pMatch, pDsRow){
- var vRow = pRefRow;
-
- if( typeof(pMatch) == "undefined" ) pMatch = false;
- //실제 결과
- var vBufInptRslt = pInptRslt;
-
- //입력결과와 기존의 결과가 같으면 판정안함...
- if( !pMatch ){
- ds_grid_grd_TestInfoCnts.setColumn(vRow, "inptrslt", vBufInptRslt);
- //수정데이타 반영
- //juy ds_grid_grd_TestInfoCnts.setColumn(vRow, "iud", "U");
- // LAZ001.xjs
- //gf_calcSingle (vRow, "SMLLR00400", pDsRow);
- lf_calCu(vRow, pDsRow);
- }
- }
- function btn_CVR_onclick(obj:Button, e:ClickEventInfo)
- {
-
- if(ds_grid_grd_outerlist.rowcount == 0 ||ds_grid_grd_outerlist.findRow("chk",1) ==-1){
-
- sysf_messageBox("보낼정보가 없습니다.", "I", "");
- return;
- }
-
- //결과관리쪽 데이터셋이랑 같게 만들기
- for(var j=0; j<ds_grid_grd_outerlist.rowcount; j++){
- if( ds_grid_grd_outerlist.getColumn(j, "chk") == "1" ) {
-
- var nRow = ds_grid_cvrinfo.addRow();
- ds_grid_cvrinfo.copyRow(nRow, ds_grid_grd_outerlist, j);//방사쪽데이터셋을 cvr보내기위한데이터셋에 보내기
- ds_grid_cvrinfo.setColumn(nRow,"tclsabbrnm",ds_grid_grd_outerlist.getColumn(j,"testnm"));//결과관리쪽데이터셋이랑맞추기
- ds_grid_cvrinfo.setColumn(nRow,"pre_inptrslt",ds_grid_grd_outerlist.getColumn(j,"inptrslt"));
- //ds_grid_cvrinfo.setColumn(nRow,"spcacptdt","");//검체채취일임의로
- ds_grid_cvrinfo.setColumn(nRow,"pname",ds_grid_grd_outerlist.getColumn(j,"patnm"));
- //
- // if( utlf_isNull(ds_grid_grd_outerlist.getColumn(j,"patnm")) ){//머지된 이름 가져오기
- // var findnm = ds_grid_grd_outerlist.findRow("pid",ds_grid_grd_outerlist.getColumn(j,"pid"));
- // var setnm =ds_grid_grd_outerlist.getColumn(findnm,"patnm")
- // ds_grid_cvrinfo.setColumn(nRow,"pname",setnm);
- // }
- if(ds_grid_cvrinfo.rowcount>1){
- sysf_messageBox("한가지만 선택해주세요.", "I", "");
- ds_grid_cvrinfo.clearData();
- return;
- }
- }
-
- }
-
- var cRow = ds_grid_cvrinfo.rowposition;
-
- var cvryn = "N";
- if( obj.name == "btn_CVR" ) cvryn = "Y";
- lf_sendMessageM(ds_grid_cvrinfo, cRow, cvryn);
-
- ds_grid_cvrinfo.clearData();
- ds_grid_grd_MessageM.clearData();
- }
- ]]></Script>
- </Form>
- </FDL>
|