123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLJ00110" position="absolute 0 0 1204 818" titletext="검체접수관리" oninit="SMLLJ00110_oninit" onload="SMLLJ00110_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 13" id="group1"/>
- <Div position="absolute 0 40 1195 814" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 26 1194 770" id="switch3" class="sw_box" onchanged="group3_switch3_onchanged" anchor="default">
- <Tabpages>
- <Tabpage text="검체접수" id="case1" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 5 66 653 72" linetype="horizontal" id="line8" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Static text="검체목록" position="absolute 5 50 80 66" id="caption21" class="tit_2" anchor="default"/>
- <Static text="검체상세목록" position="absolute 660 50 760 66" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 659 66 1189 72" linetype="horizontal" id="line1" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Static text="의뢰의사리마크" position="absolute 659 609 771 625" id="caption7" class="tit_2" anchor="default"/>
- <Shape position="absolute 659 625 1189 631" linetype="horizontal" id="line3" class="line_10" anchor="default"/>
- <Static text="의뢰의사리마크" position="absolute 659 629 754 712" id="caption8" class="cell_1" anchor="default"/>
- <Shape position="absolute 659 709 1189 715" linetype="horizontal" id="line4" class="line_3" anchor="default"/>
- <Grid position="absolute 5 70 653 693" id="grd_spclist" binddataset="ds_grd_spclist" oncellclick="group3_switch3_case1_grd_spclist_oncellclick" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="20"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="85"/>
- <Column size="80"/>
- <Column size="95"/>
- <Column size="110"/>
- <Column size="125"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" style="color:BIND(color);color2:BIND(color);" text="bind:chk" expr="expr:chk == 'true' || chk == '1'?1:0"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="color:BIND(color);color2:BIND(color);" text="bind:execdeptcd" combodataset="ds_init_lb0106" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="3" style="color:BIND(color);color2:BIND(color);" text="bind:workno"/>
- <Cell col="4" style="color:BIND(color);color2:BIND(color);" text="bind:bcno"/>
- <Cell col="5" style="color:BIND(color);color2:BIND(color);" text="bind:orddeptnm"/>
- <Cell col="6" style="color:BIND(color);color2:BIND(color);" text="bind:patnm"/>
- <Cell col="7" style="color:BIND(color);color2:BIND(color);" text="bind:spccd"/>
- <Cell col="8" displaytype="date" style="color:BIND(color);color2:BIND(color);" text="bind:spcacptdt" mask="yyyy-MM-dd HH:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="9" displaytype="date" style="color:BIND(color);color2:BIND(color);" text="bind:spcarvdt" calendardisplaynulltype="nulltext"/>
- <Cell col="10" text="bind:spcnm"/>
- <Cell col="11" text="bind:pid"/>
- <Cell col="12" text="bind:patage"/>
- <Cell col="13" text="bind:haspnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 5 5 1190 40" id="group2" anchor="default" class="div_SA2">
- <Layouts>
- <Layout>
- <Static text="시행부서 :" position="absolute 19 9 105 26" id="caption3" class="search_name" anchor="default"/>
- <Static text="바코드번호 :" position="absolute 749 9 848 26" id="caption10" class="search_name" anchor="default"/>
- <Static text="접수구분 :" position="absolute 339 9 436 26" id="caption11" class="search_name" anchor="default"/>
- <Edit position="absolute 854 8 989 27" id="ipt_bcno" class="input_button" taborder="4" onkeydown="group3_switch3_case1_group2_ipt_bcno_onkeydown" autoselect="true" anchor="default"/>
- <Radio position="absolute 427 8 552 25" id="rdo_acptflag" class="radio_search" taborder="2" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">가접수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">접 수</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <CheckBox position="absolute 573 7 673 27" id="chk_spcchoi" class="checkbox_search" taborder="3" text="검체선택여부" truevalue="1" falsevalue="0" onchanged="group3_switch3_case1_group2_chk_spcchoi_onchanged" anchor="default"/>
- <CheckBox position="absolute 995 8 1105 28" id="checkbox2" class="checkbox_search" text="화면초기화여부" truevalue="1" anchor="default"/>
- <Combo position="absolute 216 8 316 27" align="align:left middle;" id="cmd_TMdlCd" class="combo_s_essential" innerdataset="@ds_init_lb0106" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Combo position="absolute 110 8 210 27" align="align:left middle;" id="cmb_TLrgCd" class="combo_s_essential" innerdataset="@ds_init_lb0111" datacolumn="nm" codecolumn="cd" onitemchanged="group3_switch3_case1_group2_cmb_TLrgCd_onitemchanged" anchor="default"/>
- <CheckBox position="absolute 1110 10 1185 25" id="checkbox3" class="checkbox_search" text="아침채혈" truevalue="1" anchor="default"/>
- <Button id="btn_search" taborder="5" position="absolute 971 10 987 25" style="background:skyblue;" onclick="group3_switch3_case1_group2_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <CheckBox position="absolute 9 694 109 714" id="chk_label" visible="false" anchor="default"/>
- <CheckBox position="absolute 144 694 244 714" id="chk_acptbcd" visible="false" anchor="default"/>
- <Grid position="absolute 659 70 1189 597" id="grd_detllist" binddataset="ds_grd_detllist" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="80"/>
- <Column size="160"/>
- <Column size="40"/>
- <Column size="125"/>
- <Column size="107"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="검사코드"/>
- <Cell col="2" text="검사명"/>
- <Cell col="3" text="응급"/>
- <Cell col="4" text="작업번호"/>
- <Cell col="5" text="특수검사연번호"/>
- <Cell col="6"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow+1"/>
- <Cell col="1" text="bind:tclscd"/>
- <Cell col="2" text="bind:tclsscrnnm"/>
- <Cell col="3" style="color:EXPR(erprcpflag == 'Y'?"#ff3300":"");color2:EXPR(erprcpflag == 'Y'?"#ff3300":"");" text="bind:erprcpflag"/>
- <Cell col="4" text="bind:workno"/>
- <Cell col="5" text="bind:spcltestseq"/>
- <Cell col="6" text="bind:refprntyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 563 46 653 65" id="btn_spcf" class="btn2" text="특이사항저장" anchor="default"/>
- <TextArea position="absolute 755 630 1189 710" align="align:left middle;" id="tar_rem" anchor="default"/>
- <Button position="absolute 980 40 1143 59" id="btn_urine" class="btn2" visible="false" text="Urine 24시간유린일때 보이기" onclick="group3_switch3_case1_btn_urine_onclick" anchor="default"/>
- <Edit readonly="true" position="absolute 512 47 562 66" align="align:left middle;" id="opt_cnt" anchor="default"/>
- <Static text="접수된 검체 갯수 =>" position="absolute 370 50 517 66" id="cap_cnt" class="tit_2" anchor="default"/>
- <CheckBox position="absolute 1100 40 1193 56" id="checkbox1" visible="false" text="바코드출력" truevalue="1" anchor="default"/>
- <Combo position="absolute 820 40 961 59" align="align:left middle;" id="cmb_execdept" class="combo_search" taborder="1" visible="false" innerdataset="@ds_init_lb0106" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Button position="absolute 155 45 377 65" id="btn_formprnt" enable="false" text="" anchor="default"/>
- <Static text="동의서 :" position="absolute 76 44 157 67" id="caption5" class="hand" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="검체조회" id="case2">
- <Layouts>
- <Layout>
- <Grid id="datagrid1" taborder="1" binddataset="ds_datagrid1" useinputpanel="false" position="absolute 6 71 1191 695" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="21"/>
- <Column size="68"/>
- <Column size="95"/>
- <Column size="85"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="140"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="진료과"/>
- <Cell col="5" text="병동/병실"/>
- <Cell col="6" text="시행부서"/>
- <Cell col="7" text="접수번호"/>
- <Cell col="8" text="바코드번호"/>
- <Cell col="9" text="검사코드"/>
- <Cell col="10" text="검사명"/>
- <Cell col="11" text="검체명"/>
- <Cell col="12" text="결과"/>
- <Cell col="13" text="특수검사연번호"/>
- <Cell col="14" text="처방일시"/>
- <Cell col="15" text="검체상태"/>
- <Cell col="16" text="바코드출력일시"/>
- <Cell col="17" text="채취일시"/>
- <Cell col="18" text="가접수일시"/>
- <Cell col="19" text="접수일시"/>
- <Cell col="20" text="취소사유"/>
- <Cell col="21" text="취소자"/>
- <Cell col="22" text="검체상태"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:orddeptnm"/>
- <Cell col="5" text="bind:wardroom"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:tsectcd" combodataset="ds_init_lb0106" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="7" text="bind:workno"/>
- <Cell col="8" displaytype="text" edittype="text" text="bind:bcno"/>
- <Cell col="9" text="bind:testcd"/>
- <Cell col="10" text="bind:tclsnm"/>
- <Cell col="11" text="bind:spcnm"/>
- <Cell col="12" text="bind:reptrslt"/>
- <Cell col="13" text="bind:spcltestseq"/>
- <Cell col="14" displaytype="date" text="bind:prcpdd"/>
- <Cell col="15" displaytype="combo" edittype="combo" text="bind:spcstat" enable="false"/>
- <Cell col="16" text="bind:barcdprntdt"/>
- <Cell col="17" text="bind:bcolldt"/>
- <Cell col="18" text="bind:spcarvdt"/>
- <Cell col="19" text="bind:spcacptdt"/>
- <Cell col="20" text="bind:cnclcnts"/>
- <Cell col="21" text="bind:spccnclnm"/>
- <Cell col="22" displaytype="combo" edittype="combo" text="bind:spcstat" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 5 92 1190 98" linetype="horizontal" id="line2" class="line_1" anchor="default"/>
- <Static text="검체목록" position="absolute 9 80 89 93" id="caption9" class="tit_2" anchor="default"/>
- <Div position="absolute 5 5 1190 75" id="group5" anchor="default" class="div_SA2">
- <Layouts>
- <Layout>
- <Static text="검색구분 :" position="absolute 15 10 102 27" id="caption13" class="search_name" anchor="default"/>
- <Static text="조회일자 :" position="absolute 360 40 446 57" id="caption14" class="search_name" visible="false" anchor="default"/>
- <Static text="~" position="absolute 552 40 567 57" align="align:center middle;" id="caption16" class="search_no_b" visible="false" anchor="default"/>
- <Static text="조회기준 :" position="absolute 677 39 767 56" id="caption17" class="search_name" visible="false" anchor="default"/>
- <Static text="시행부서 :" position="absolute 15 39 101 56" id="caption2" class="search_name" visible="false" anchor="default"/>
- <Edit position="absolute 197 9 305 28" id="ipt_text" class="input_button" taborder="12" onkeydown="group3_switch3_case2_group5_ipt_text_onkeydown" autoselect="true" anchor="default"/>
- <Button position="absolute 1113 38 1169 60" id="btn_ref" class="btn1" enable="false" taborder="13" visible="false" text="조회" onclick="group3_switch3_case2_group5_btn_ref_onclick" anchor="default"/>
- <Combo position="absolute 104 9 194 28" id="cmb_refgbn" class="combo_search" taborder="11" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group3_switch3_case2_group5_cmb_refgbn_onitemchanged" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">환자번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">바코드번호</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Radio position="absolute 770 41 1020 54" id="rdo_acptdd" class="radio_search" taborder="8" visible="false" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">검체접수일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">검체채취일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">채혈리스트</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Calendar position="absolute 456 39 546 58" id="ipt_reffromdd" class="input_search" taborder="9" visible="false" mask="yyyy-mm-dd" anchor="default"/>
- <Calendar position="absolute 574 39 664 58" id="ipt_reftodd" class="input_search" taborder="10" visible="false" mask="yyyy-mm-dd" anchor="default"/>
- <Combo position="absolute 208 38 345 57" id="cmb_exec" class="combo_search" taborder="7" visible="false" innerdataset="ds_init_cmb_exec" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <CheckBox position="absolute 1037 41 1092 56" id="chk_undoacpt" class="checkbox_search" visible="false" anchor="default"/>
- <CheckBox position="absolute 1037 11 1105 26" id="chk_detlspcinfoyn" class="checkbox_search" visible="false" text="상세조회" truevalue="1" falsevalue="0" anchor="default"/>
- <Calendar position="absolute 539 9 629 28" id="input1" class="input_search" taborder="10" visible="false" mask="yyyy-mm-dd" anchor="default"/>
- <Static text="~" position="absolute 522 10 537 27" align="align:center middle;" id="caption4" class="search_no_b" visible="false" anchor="default"/>
- <Calendar position="absolute 431 9 521 28" id="input2" class="input_search" taborder="9" visible="false" mask="yyyy-mm-dd" anchor="default"/>
- <Static text="검색처방일자 :" position="absolute 315 10 436 27" id="caption12" class="search_name" visible="false" anchor="default"/>
- <CheckBox position="absolute 637 11 705 26" id="checkbox6" class="checkbox_search" visible="false" text="일자사용" truevalue="1" anchor="default"/>
- <Combo position="absolute 105 38 205 57" align="align:left middle;" id="cmb_lrgexec" class="combo_s_essential" visible="false" innerdataset="ds_init_cmb_lrgexec" datacolumn="nm" codecolumn="cd" anchor="default"/>
- <Radio position="absolute 770 10 1000 26" id="radio1" class="radio_search" visible="false" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">00</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>
- </Radio>
- <Button position="absolute 410 9 463 28" id="button1" class="btn2" text="행삭제" onclick="group3_switch3_case2_group5_button1_onclick" anchor="default"/>
- <Button position="absolute 330 8 398 30" id="btn_init" class="btn4" text="초기화" onclick="group3_switch3_case2_group5_btn_init_onclick" anchor="default"/>
- <Button id="btn_search" taborder="14" position="absolute 287 11 303 26" style="background:skyblue;" onclick="group3_switch3_case2_group5_btn_search_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 1040 669 1185 691" id="group_page" visible="false" anchor="default">
- <Layouts>
- <Layout>
- <Edit readonly="true" position="absolute 45 1 70 20" id="opt_first" anchor="default" value="1"/>
- <Edit readonly="true" position="absolute 82 1 107 20" id="opt_last" anchor="default"/>
- <Static text="/" position="absolute 72 2 87 17" id="cap_aaa" anchor="default"/>
- <Button position="absolute 28 2 44 18" id="btn_pp" class="icon_pre_month" text="" anchor="default" onclick="group3_switch3_case2_group_page_btn_pp_onclick"/>
- <Button position="absolute 11 2 27 18" id="btn_pf" class="icon_pre_year" text="" anchor="default" onclick="group3_switch3_case2_group_page_btn_pf_onclick"/>
- <Button position="absolute 108 2 124 18" id="btn_np" class="icon_next_month" text="" anchor="default" onclick="group3_switch3_case2_group_page_btn_np_onclick"/>
- <Button position="absolute 125 2 141 18" id="ntn_nl" class="icon_next_year" text="" anchor="default" onclick="group3_switch3_case2_group_page_ntn_nl_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 565 15 640 34" id="btn_excel" class="btn7" text="엑셀저장" onclick="group3_switch3_case2_btn_excel_onclick" anchor="default"/>
- <Grid position="absolute 5 70 1190 689" align="align:center middle;" id="grd_spcreflist" visible="true" binddataset="ds_grd_spcreflist" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="21"/>
- <Column size="68"/>
- <Column size="95"/>
- <Column size="85"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="140"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="진료과"/>
- <Cell col="5" text="병동/병실"/>
- <Cell col="6" text="시행부서"/>
- <Cell col="7" text="접수번호"/>
- <Cell col="8" text="바코드번호"/>
- <Cell col="9" text="검사코드"/>
- <Cell col="10" text="검사명"/>
- <Cell col="11" text="검체명"/>
- <Cell col="12" text="결과"/>
- <Cell col="13" text="특수검사연번호"/>
- <Cell col="14" text="처방일시"/>
- <Cell col="15" text="검체상태"/>
- <Cell col="16" text="바코드출력일시"/>
- <Cell col="17" text="채취일시"/>
- <Cell col="18" text="가접수일시"/>
- <Cell col="19" text="접수일시"/>
- <Cell col="20" text="취소사유"/>
- <Cell col="21" text="취소자"/>
- <Cell col="22" text="검체상태"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:patnm"/>
- <Cell col="4" text="bind:orddeptnm"/>
- <Cell col="5" text="bind:wardroom"/>
- <Cell col="6" displaytype="combo" edittype="normal" text="bind:tsectcd" combodataset="ds_init_lb0106" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="7" text="bind:workno"/>
- <Cell col="8" displaytype="text" edittype="text" text="bind:bcno"/>
- <Cell col="9" text="bind:testcd"/>
- <Cell col="10" text="bind:tclsnm"/>
- <Cell col="11" text="bind:spcnm"/>
- <Cell col="12" text="bind:reptrslt"/>
- <Cell col="13" text="bind:spcltestseq"/>
- <Cell col="14" displaytype="date" edittype="textarea" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="15" displaytype="combo" edittype="combo" text="bind:spcstat" enable="false"/>
- <Cell col="16" text="bind:barcdprntdt"/>
- <Cell col="17" text="bind:bcolldt"/>
- <Cell col="18" text="bind:spcarvdt"/>
- <Cell col="19" text="bind:spcacptdt"/>
- <Cell col="20" text="bind:cnclcnts"/>
- <Cell col="21" text="bind:spccnclnm"/>
- <Cell col="22" displaytype="combo" edittype="combo" text="bind:spcstat" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <CheckBox position="absolute 1088 7 1193 27" id="checkbox4" visible="false" text="환자정보띄우기" truevalue="1" falsevalue="0" anchor="default"/>
- <ActiveX position="absolute 320 5 355 35" id="socket" progid="{81e9de7e-90be-4958-bbda-ac731c05aba8}" visible="false" anchor="default"/>
- <ActiveX position="absolute 355 5 390 35" id="socket2" progid="{81e9de7e-90be-4958-bbda-ac731c05aba8}" visible="false" anchor="default"/>
- <CheckBox position="absolute 990 7 1085 27" id="checkbox5" visible="false" text="미생물처방전" truevalue="1" falsevalue="0" anchor="default"/>
- <CheckBox position="absolute 955 7 990 27" id="checkbox7" visible="false" text="재" truevalue="1" falsevalue="0" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 13 1194 40" id="group4" scrollbars="none">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 22 1194 28" linetype="horizontal" id="line17" class="line_6"/>
- <Div position="absolute 987 0 1100 25" id="group7">
- <Layouts>
- <Layout>
- <Button position="absolute 5 3 109 25" id="btn_spclist" class="btn4" taborder="15" visible="false" text="검체목록출력" onclick="group4_group7_btn_spclist_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 0 3 92 25" id="btn_prnt" class="btn3" taborder="18" text="프린터설정" onclick="group4_btn_prnt_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_spclist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_spclist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="execdeptcd" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcacptdt" type="STRING"/>
- <Column id="spcarvdt" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patage" type="STRING"/>
- <Column id="haspnm" type="STRING"/>
- <Column id="color" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_detllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tclscd" type="STRING"/>
- <Column id="tclsscrnnm" type="STRING"/>
- <Column id="erprcpflag" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="spcltestseq" type="STRING"/>
- <Column id="refprntyn" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_spcreflist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="wardroom" type="STRING"/>
- <Column id="tsectcd" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="reptrslt" type="STRING"/>
- <Column id="spcltestseq" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- <Column id="barcdprntdt" type="STRING"/>
- <Column id="bcolldt" type="STRING"/>
- <Column id="spcarvdt" type="STRING"/>
- <Column id="spcacptdt" type="STRING"/>
- <Column id="cnclcnts" type="STRING"/>
- <Column id="spccnclnm" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_exec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_lrgexec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="wardroom" type="STRING"/>
- <Column id="tsectcd" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="reptrslt" type="STRING"/>
- <Column id="spcltestseq" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- <Column id="barcdprntdt" type="STRING"/>
- <Column id="bcolldt" type="STRING"/>
- <Column id="spcarvdt" type="STRING"/>
- <Column id="spcacptdt" type="STRING"/>
- <Column id="cnclcnts" type="STRING"/>
- <Column id="spccnclnm" type="STRING"/>
- <Column id="spcstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Data1" type="STRING" size="256"/>
- <Column id="Data2" type="STRING" size="256"/>
- <Column id="Data3" type="STRING" size="256"/>
- <Column id="Data4" type="STRING" size="256"/>
- <Column id="Data5" type="STRING" size="256"/>
- <Column id="refflag" type="STRING" size="256"/>
- <Column id="bcnolist" type="STRING" size="256"/>
- <Column id="spcchoiyn" type="STRING" size="256"/>
- <Column id="execdept" type="STRING" size="256"/>
- <Column id="codeflag" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="batacptgrd" type="STRING" size="256"/>
- <Column id="refbase" type="STRING" size="256"/>
- <Column id="reffromdd" type="STRING" size="256"/>
- <Column id="reftodd" type="STRING" size="256"/>
- <Column id="refgbn" type="STRING" size="256"/>
- <Column id="reftext" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="sectcd" type="STRING" size="256"/>
- <Column id="NL" type="STRING" size="256"/>
- <Column id="menuparam" type="STRING" size="256"/>
- <Column id="undoacpt" type="STRING" size="256"/>
- <Column id="genrflag" type="STRING" size="256"/>
- <Column id="spcstat" type="STRING" size="256"/>
- <Column id="page" type="STRING" size="256"/>
- <Column id="detlspcinfoyn" type="STRING" size="256"/>
- <Column id="pidfromdd" type="STRING" size="256"/>
- <Column id="pidtodd" type="STRING" size="256"/>
- <Column id="piddd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="refcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="Data1"/>
- <Col id="Data2"/>
- <Col id="Data3"/>
- <Col id="Data4"/>
- <Col id="Data5"/>
- <Col id="refflag"/>
- <Col id="bcnolist"/>
- <Col id="spcchoiyn"/>
- <Col id="execdept"/>
- <Col id="codeflag"/>
- <Col id="bcno"/>
- <Col id="batacptgrd"/>
- <Col id="refbase"/>
- <Col id="reffromdd"/>
- <Col id="reftodd"/>
- <Col id="refgbn"/>
- <Col id="reftext"/>
- <Col id="scrnid"/>
- <Col id="sectcd"/>
- <Col id="NL"/>
- <Col id="menuparam"/>
- <Col id="undoacpt"/>
- <Col id="genrflag"/>
- <Col id="spcstat"/>
- <Col id="page">1</Col>
- <Col id="detlspcinfoyn"/>
- <Col id="pidfromdd"/>
- <Col id="pidtodd"/>
- <Col id="piddd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_lb0102" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_lb0106" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_lb0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_lb0111" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_spcref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refbase" type="STRING" size="256"/>
- <Column id="reffromdd" type="STRING" size="256"/>
- <Column id="reftodd" type="STRING" size="256"/>
- <Column id="refflag" type="STRING" size="256"/>
- <Column id="refcnts" type="STRING" size="256"/>
- <Column id="lrgexecdept" type="STRING" size="256"/>
- <Column id="execdept" type="STRING" size="256"/>
- <Column id="undoacpt" type="STRING" size="256"/>
- <Column id="genrflag" type="STRING" size="256"/>
- <Column id="detlspcinfoyn" type="STRING" size="256"/>
- <Column id="pidfromdd" type="STRING" size="256"/>
- <Column id="pidtodd" type="STRING" size="256"/>
- <Column id="piddd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refbase">1</Col>
- <Col id="reffromdd"/>
- <Col id="reftodd"/>
- <Col id="refflag">2</Col>
- <Col id="refcnts"/>
- <Col id="lrgexecdept">00</Col>
- <Col id="execdept">00</Col>
- <Col id="undoacpt"/>
- <Col id="genrflag">00</Col>
- <Col id="detlspcinfoyn"/>
- <Col id="pidfromdd"/>
- <Col id="pidtodd"/>
- <Col id="piddd">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_spcacpt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="testmdlcd" type="STRING" size="256"/>
- <Column id="testlrgcd" type="STRING" size="256"/>
- <Column id="refflag" type="STRING" size="256"/>
- <Column id="spcchoiyn" type="STRING" size="256"/>
- <Column id="bcno" type="STRING" size="256"/>
- <Column id="resetyn" type="STRING" size="256"/>
- <Column id="bt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="testmdlcd">00</Col>
- <Col id="testlrgcd">00</Col>
- <Col id="refflag">2</Col>
- <Col id="spcchoiyn"/>
- <Col id="bcno"/>
- <Col id="resetyn"/>
- <Col id="bt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_barcdprntsetup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_setupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="prntkind" type="STRING" size="256"/>
- <Column id="commkind" type="STRING" size="256"/>
- <Column id="rexgbn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_blank" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="left" type="STRING" size="256"/>
- <Column id="top" type="STRING" size="256"/>
- <Column id="b472size" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_comm01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="setupval" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_comm02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="comm" type="STRING" size="256"/>
- <Column id="databit" type="STRING" size="256"/>
- <Column id="stopbit" type="STRING" size="256"/>
- <Column id="baudrate" type="STRING" size="256"/>
- <Column id="parity" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dsvaluepath">/setupinfo</Col>
- <Col id="comm">2</Col>
- <Col id="databit">8</Col>
- <Col id="stopbit">1</Col>
- <Col id="baudrate">9600</Col>
- <Col id="parity">n</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_comm03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- <Column id="comm" type="STRING" size="256"/>
- <Column id="databit" type="STRING" size="256"/>
- <Column id="stopbit" type="STRING" size="256"/>
- <Column id="baudrate" type="STRING" size="256"/>
- <Column id="parity" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dsvaluepath">/setupinfo</Col>
- <Col id="comm">2</Col>
- <Col id="databit">8</Col>
- <Col id="stopbit">1</Col>
- <Col id="baudrate">9600</Col>
- <Col id="parity">n</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_getspcltestlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_barcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tsectlblnm" type="STRING" size="256" sumtext="검사계라벨명"/>
- <Column id="bcno" type="STRING" size="256" sumtext="검체번호"/>
- <Column id="barcdprntdt" type="STRING" size="256" sumtext="라벨발행일자"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="sexage" type="STRING" size="256" sumtext="성별연령"/>
- <Column id="deptroom" type="STRING" size="256" sumtext="진료과병실"/>
- <Column id="spclblnm" type="STRING" size="256" sumtext="검체라벨명"/>
- <Column id="tubelblnm" type="STRING" size="256" sumtext="용기라벨명"/>
- <Column id="secttsect" type="STRING" size="256" sumtext="계검사계"/>
- <Column id="tclslblnmlist" type="STRING" size="256" sumtext="검사라벨명"/>
- <Column id="infcinfolist" type="STRING" size="256" sumtext="감염정보"/>
- <Column id="erprcpflag" type="STRING" size="256" sumtext="응급구분"/>
- <Column id="bcollbarcdprntcnt" type="STRING" size="256" sumtext="채혈바코드출력수"/>
- <Column id="spcacptbarcdprntcnt" type="STRING" size="256" sumtext="접수바코드출력수"/>
- <Column id="microbarcdprntcnt" type="STRING" size="256" sumtext="미생물바코드출력수"/>
- <Column id="mdiabarcdprntcnt" type="STRING" size="256" sumtext="핵의학바코드출력수"/>
- <Column id="workno" type="STRING" size="256" sumtext="작업번호"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="처방의"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="dept" type="STRING" size="256" sumtext="부서"/>
- <Column id="spcacptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="dnornm" type="STRING" size="256" sumtext="공여자명"/>
- <Column id="tclsnmlist" type="STRING" size="256" sumtext="공여자명"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_dbarcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_nbarcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_slideprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_casetprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_slidecaset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_infdisinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_mreport" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_prcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_page" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_inptitem01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_rslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_cf" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_detltestlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.switch3.case2.group5.cmb_refgbn" propid="value" datasetid="ds_hidden_spcref" columnid="refflag"/>
- <BindItem id="item1" compid="group3.switch3.case2.group5.ipt_text" propid="value" datasetid="ds_hidden_spcref" columnid="refcnts"/>
- <BindItem id="item2" compid="group3.switch3.case2.group5.input2" propid="value" datasetid="ds_hidden_spcref" columnid="pidfromdd"/>
- <BindItem id="item3" compid="group3.switch3.case2.group5.input1" propid="value" datasetid="ds_hidden_spcref" columnid="pidtodd"/>
- <BindItem id="item4" compid="group3.switch3.case2.group5.checkbox6" propid="value" datasetid="ds_hidden_spcref" columnid="piddd"/>
- <BindItem id="item5" compid="group3.switch3.case2.group5.radio1" propid="value" datasetid="ds_hidden_spcref" columnid="genrflag"/>
- <BindItem id="item6" compid="group3.switch3.case2.group5.chk_detlspcinfoyn" propid="value" datasetid="ds_hidden_spcref" columnid="detlspcinfoyn"/>
- <BindItem id="item7" compid="group3.switch3.case1.group2.cmb_TLrgCd" propid="value" datasetid="ds_hidden_spcacpt" columnid="testlrgcd"/>
- <BindItem id="item8" compid="group3.switch3.case1.group2.cmd_TMdlCd" propid="value" datasetid="ds_hidden_spcacpt" columnid="testmdlcd"/>
- <BindItem id="item9" compid="group3.switch3.case1.group2.rdo_acptflag" propid="value" datasetid="ds_hidden_spcacpt" columnid="refflag"/>
- <BindItem id="item10" compid="group3.switch3.case1.group2.chk_spcchoi" propid="value" datasetid="ds_hidden_spcacpt" columnid="spcchoiyn"/>
- <BindItem id="item11" compid="group3.switch3.case1.group2.ipt_bcno" propid="value" datasetid="ds_hidden_spcacpt" columnid="bcno"/>
- <BindItem id="item12" compid="group3.switch3.case1.group2.checkbox2" propid="value" datasetid="ds_hidden_spcacpt" columnid="resetyn"/>
- <BindItem id="item13" compid="group3.switch3.case1.group2.checkbox3" propid="value" datasetid="ds_hidden_spcacpt" columnid="bt"/>
- <BindItem id="item14" compid="group3.switch3.case1.cmb_execdept" propid="value" datasetid="ds_hidden_spcacpt" columnid="testmdlcd"/>
- <BindItem id="item15" compid="group3.switch3.case2.group_page.opt_first" propid="value" datasetid="ds_send" columnid="page"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-09 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- include "lis_commonxp::LZZ001.xjs";
- include "lis_commonxp::LZZ002.xjs";
- include "lis_commonxp::LPZ001.xjs";
- include "com_commodulexp::SSZFM00901.xjs";
- // *** 접수 *** 바코드번호 등록후 엔터 쳤을때
- function fsetBCNOEnter(){
- var bfnodecount = ds_grd_spclist.rowcount;
- var btdt = utlf_getCurrentDateTime().toDate("YYYYMMDD hhmmss").getAddDate(-10, "m").getDateFormat("YYYYMMDDhhmmss");
- // 유효성 체크
- if ( fexeBCNOtrue() == false ){
- //return;
- }else{
- // 화면초기화여부 선택되면
- if(ds_hidden_spcacpt.getColumn(0,"resetyn")=="1"){
- ds_grd_spclist.clearData();
-
- }
-
- var bcno = String(utlf_transNullToEmpty(ds_hidden_spcacpt.getColumn(0,"bcno"))).toUpperCase();
- var acptcnt = 0;
-
- if(ds_hidden_spcacpt.getColumn(0,"spcchoiyn") == "1") {
- var find = ds_grd_spclist.findRow("bcno",bcno);
-
- if(find > 0) {
- sysf_messageBox("이미 선택된 검체", "E008");
- ds_grd_spclist.setColumn(ds_grd_spclist.rowcount -1,"Msg", "error");
- return;
- }
- }
- ds_send.setColumn(0, "bcno",bcno);
- ds_send.setColumn(0, "refflag",ds_hidden_spcacpt.getColumn(0,"refflag"));
- ds_send.setColumn(0, "spcchoiyn",ds_hidden_spcacpt.getColumn(0,"spcchoiyn"));
- ds_send.setColumn(0, "btyn",ds_hidden_spcacpt.getColumn(0,"bt"));
- ds_send.setColumn(0, "btdt",btdt);
- ds_send.setColumn(0, "execdept",ds_hidden_spcacpt.getColumn(0,"testmdlcd") );
- ds_send.setColumn(0, "sectcd",ds_hidden_spcacpt.getColumn(0,"testlrgcd") );
- ds_send.setColumn(0, "NL",frmf_getMenuParam());
-
-
-
-
- var oParam = {};
- oParam.id = "TXLLJ00105";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqExeSpcInfo";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_spclist=getBcollSpcInfo ds_barcodeinfo=barcodeinfo ds_dbarcodeinfo=dbarcodeinfo ds_nbarcodeinfo=nbarcodeinfo ds_slideprnt=slideprnt ds_casetprnt=casetprnt ds_slidecaset=slidecaset";
- oParam.transaction = false;
- oParam.async = false;
- //oParam.callback = "cf_TXLLJ00105";
- tranf_submit(oParam);
- ds_dbarcodeinfo.addColumn("cntflag","string");
- ds_grd_spclist.addColumn("color","string");
- var afnodecount = ds_grd_spclist.rowcount;
-
- if(ds_hidden_spcacpt.getColumn(0,"resetyn") != "1") {
- if(bfnodecount == afnodecount) { //조회된 데이터가 없을 경우 메세지 띄움.
- sysf_messageBox("바코드 번호를", "I007");
- return;
- }
- }
-
- ds_grd_spclist.rowposition = ds_grd_spclist.rowcount -1;
- if(group3.checkbox4.value=="1"){ // 환자정보띄우기 체크되있을때만
- if(ds_grd_spclist.rowcount > 1){
- if(appf_getPatientInfo("pid") != ds_grd_spclist.getColumn(ds_grd_spclist.rowposition,"pid")){
- fGetTopInfo();
- }
- }
- }else{
- appf_delPatientInfos(); //환자정보 전체 삭제
- }
-
-
- ds_grd_spclist.rowposition = ds_grd_spclist.rowcount -1;
- group3.switch3.case1.grd_spclist.vscrollbar.pos = ds_grd_spclist.rowcount -1;
-
- //색깔 구분 및 체크 아래 메세지 표시 안에 있던거에서 위로 뺌(검체 내 일부 취소건 있을때 두줄 조회되서)
- for(i =0 ; i < ds_grd_spclist.rowcount ; i ++){
- var msgbcno =ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"bcno");
-
- if(ds_grd_spclist.getColumn(i,"bcno") == msgbcno
- && !utlf_isNull(ds_grd_spclist.getColumn(i,"Msg"))){
- ds_grd_spclist.setColumn(i,"color", "#aaaaaa");
- ds_grd_spclist.setColumn(i,"chk", "false");
- }else if(ds_grd_spclist.getColumn(i,"spcstat") == "0" ){
- ds_grd_spclist.setColumn(i,"color", "#aaaaaa");
- ds_grd_spclist.setColumn(i,"chk", "false");
- }else{
- ds_grd_spclist.setColumn(i,"chk", "true");
- }
- }
- // 메세지 표시
- if(!utlf_isNull(ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"Msg"))){
-
- var msg = ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"Msg");
- sysf_messageBox(msg , "E008", "");
- //위로 끌어올림
-
- }else{
- if(ds_grd_spclist.rowcount >0){
- //model.setValue("/root/main/spclist["+(grd_spclist.rows-1)+"]/chk", "true");
-
-
- //감염정보 조회
- //model.makeValue("/root/send/pid", "20493"); //test 용
- ds_send.setColumn(0, "pid",ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"pid"));
- ds_send.setColumn(0, "bcno",ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"bcno"));
- ds_send.setColumn(0, "flag","");
-
-
-
- var oParam = {};
- oParam.id = "TRLLC90801";
- oParam.service = "bcollmngtapp.BCollMngt";
- oParam.method = "reqGetInfDisInfo";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_infdisinfolist=getinfdisinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLLC90801";
- tranf_submit(oParam);
-
- //model.removenode("/root/send/pid"); //인스턴스 삭제
- //model.removenode("/root/send/bcno"); //인스턴스 삭제
- //model.removenode("/root/send/flag"); //인스턴스 삭제
- //model.makeNode("/root/send/bcno"); //인스턴스 생성
-
- if(ds_infdisinfolist.rowcount > 0) { //감염정보가 있다면..
-
- var objArg = new Object();
- objArg.arg_ds_infdisinfolist = ds_infdisinfolist;
- frmf_modal("SPLLC90800", "SPLLC90800", objArg, "", "", "", "", "", "", "", "","","M"); //감염정보창 띄우기
- }
- }
- }
- group3.switch3.case1.group2.ipt_bcno.setFocus();
-
-
- // 검체 상세목록 보여주기
- var sRow = ds_grd_spclist.rowcount;
- if(sRow > 0){
- // 검체 상세목록 보여주기
- fGetSpcDetlList(sRow);
- }
-
- var prntYN = "N" // 세포유전 워크리스트 출력여부
- for(i=0; i<ds_grd_detllist.rowcount; i++){
-
- if("Y" == ds_grd_detllist.getColumn(i,"refprntyn")){
- prntYN = "Y";
- }
-
- }
- //접수 할 검체이거나, 접수된 검체만 report 출력 20090422 김성희 수정 : 세포유전 요청사항
- if(prntYN == "Y" && !utlf_isNull(ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"spcacptdt"))){
-
- dsf_createDsRow("ds_refprnt"
- , [{col: "workno" , val: group3.switch3.case1.grd_spclist.getCellValue(sRow-1, 3)}
- , {col: "workdd" , val: group3.switch3.case1.grd_spclist.getCellValue(sRow-1, 8).substring(0,8)}
- , {col: "spcnm" , val: group3.switch3.case1.grd_spclist.getCellValue(sRow-1, 10)}
- , {col: "patnm" , val: group3.switch3.case1.grd_spclist.getCellValue(sRow-1, 6)}
- , {col: "patage" , val: group3.switch3.case1.grd_spclist.getCellValue(sRow-1, 12)}
- , {col: "pid" , val: group3.switch3.case1.grd_spclist.getCellValue(sRow-1, 11)}
- , {col: "orddeptnm" , val: group3.switch3.case1.grd_spclist.getCellValue(sRow-1, 5)}
- , {col: "haspnm" , val: group3.switch3.case1.grd_spclist.getCellValue(sRow-1, 13)}
- ]);
-
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/hidden/refprnt", ds_refprnt); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- rptf_exeReportPreview30(["RPLLJ00101"],[objParam]);
-
- }
-
- // 유린검체 정보 등록
- //if(model.getValue("/root/hidden/spcacpt/refflag")=="2"){
- if(ds_grd_spclist.getColumn(sRow-1,"urineyn") == "Y"){
- //if(model.getValue("/root/main/spclist["+(grd_spclist.rows-1)+"]/Msg") == "" ){
- // 유린 팝업 띄우고 등록하기
- fSetUrine(sRow-1);
-
- //}
- }
- //}
-
- }
-
- var remicroorder = "";
-
- // 접수시 spcacptbarcdprntcnt 갯수만큼 바코드 출력
- if(group3.switch3.case1.group2.chk_spcchoi.value == "1"){
-
- }else{
-
- if(frmf_getMenuParam()=="N"){
-
- fExeNBarcdPrnt(); //핵의학 바코드 프린트 연결 안된데서 실행하면 뻗어요 ~~
- fGetNAcptCnt(); //접수된 검체개수 보이게
- }else{
- if(!utlf_isNull(ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"Msg"))){
- fExeBarcdPrnt(); //바코드 프린트 연결 안된데서 실행하면 뻗어요 ~~
-
- if(group3.checkbox5.value == "1"){
-
- var oParam = {};
- oParam.id = "TRLLJ00106";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetMreportListRef";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_mreport=mreport";
- oParam.async = false;
- //oParam.callback = "cf_TRLLJ00105";
- tranf_submit(oParam);
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/temp/mreport", ds_mreport); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- rptf_exeReportPreview30(["RPLLJ00102"],[objParam]);
- remicroorder = "1";
-
- }
- }
- }
- }
-
- fExeSlidIss();
-
- //미생물처방전 출력
-
-
- if(utlf_isNull(remicroorder) && group3.checkbox7.value == "1"){
-
- var oParam = {};
- oParam.id = "TRLLJ00106";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetMreportListRef";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_mreport=mreport";
- oParam.async = false;
- //oParam.callback = "cf_TRLLJ00105";
- tranf_submit(oParam);
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/temp/mreport", ds_mreport); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- rptf_exeReportPreview30(["RPLLJ00102"],[objParam]);
-
- }
-
-
-
- for (i = 0; i<ds_grd_spclist.rowcount; i++){
- if(ds_grd_spclist.getColumn(i,"patnm").indexOf("★") == "1") {
- ds_grd_spclist.setColumn(i,"color","#ff0000");
-
- }
- }
- }
- function fExeSlidIss() {
- //장비IP set
- var slideprnt = ds_slideprnt.rowcount;
- var casetprnt = ds_casetprnt.rowcount;
-
- if(slideprnt > 0){
- sSlidBcIP = ds_slidecaset.getColumn(0,"slideip");
- sSlidBcPort = ds_slidecaset.getColumn(0,"slideport");
-
- //----------------------------------------
- if (utlf_isNull(sSlidBcIP) || sSlidBcIP == "-") {
- sysf_messageBox("슬라이드 라벨지 장비의 IP주소가 없습니다. 병원별 환경설정에서 ", "C001");
- return false;
- }
- //--------------------------------------------
- if (utlf_isNull(sSlidBcPort) || sSlidBcPort == "-"){
- sysf_messageBox("슬라이드 라벨지 장비의 Port번호가 없습니다. 병원별 환경설정에서 ", "C001");
- return false;
- }
-
- group3.socket.connect(sSlidBcIP, sSlidBcPort);
- }
-
- if(casetprnt > 0){
-
- sSlidBcIP2 = ds_slidecaset.getColumn(0,"casetip");
- sSlidBcPort2 = ds_slidecaset.getColumn(0,"casetport");
-
- //----------------------------------------
- if (utlf_isNull(sSlidBcIP2) || sSlidBcIP2 == "-") {
- sysf_messageBox("카세트 장비의 IP주소가 없습니다. 병원별 환경설정에서 ", "C001");
- return false;
- }
- //--------------------------------------------
- if (utlf_isNull(sSlidBcPort2) || sSlidBcPort2 == "-") {
- sysf_messageBox("카세트 장비의 Port번호가 없습니다. 병원별 환경설정에서 ", "C001");
- return false;
- }
- //-------------------------------------
-
- group3.socket2.connect(sSlidBcIP2, sSlidBcPort2);
- }
- }
- function fExeSlidIssA(){
- var iMaxRowCnt = 0;
- //var sSlidNode = "/root/main/slide/slideprnt";
- //--------------------------------------
- iMaxRowCnt = ds_slideprnt.rowcount;
-
- for (var iRowNo=0; iRowNo < iMaxRowCnt; iRowNo++) {
-
- var prntcnt = ds_slideprnt.getColumn(iRowNo,"prntcnt");
- for(var slidecnt = 1 ; slidecnt <= prntcnt ; slidecnt++){
-
- var patnm= getNameInitial(ds_slideprnt.getColumn(iRowNo,"patnm"));
- var etc1 = ds_slideprnt.getColumn(iRowNo,"etc1");
- if(utlf_isNull(etc1)){
- etc1 = "-";
- }
- sSendMsg = "S▦"; //슬라이드구분
- sSendMsg += ds_slideprnt.getColumn(iRowNo,"spclno") + "▦"; // 특수검사연번호
- sSendMsg += patnm + "▦"; // 환자명
- sSendMsg += etc1 + "▦";
- sSendMsg += ds_slideprnt.getColumn(iRowNo,"workdd") + "▦"; // 접수일시
- sSendMsg += ds_slideprnt.getColumn(iRowNo,"etc2") + "▦";
- sSendMsg += ds_slideprnt.getColumn(iRowNo,"hospnm") + "▩"; // 병원명
-
- //sSendMsg += "▩";
- group3.socket.sendString(sSendMsg);
- }
-
- }
- group3.socket.close();
- }
-
- function fExeSlidIssB(){
- var iMaxRowCnt2 = 0;
- //var sSlidNode2 = "/root/main/slide/casetprnt";
- //--------------------------------------
- iMaxRowCnt2 = ds_casetprnt.rowcount;;
-
-
- for (var iRowNo2=0; iRowNo2 < iMaxRowCnt2; iRowNo2++) {
-
- var patnm= getNameInitial(ds_casetprnt.getColumn(iRowNo2,"patnm"));
- var etcvalue = ds_casetprnt.getColumn(iRowNo2,"etc");
- var etcMark = "";
- if(etcvalue.indexOf("C") == -1){
- etcMark = "1";
- }
- else{
- etcMark = "2";
- }
-
-
- sSendMsg = "C▦"; //카세트구분
- sSendMsg += ds_casetprnt.getColumn(iRowNo2,"spclno") + "▦"; // 특수검사연번호
- sSendMsg += etcMark + "▦"; //후퍼
- sSendMsg += ds_casetprnt.getColumn(iRowNo2,"etc") + "▦";
- sSendMsg += patnm + "▩"; // 환자명
-
- socket2.sendString(sSendMsg);
- }
-
- group3.socket2.close();
-
- }
-
- function getNameInitial(nameStr){
- //받은 이름 문자열을 스페이스바로 분리
- var part = nameStr.split(' ');
-
- var str = "";
- var nameChr = "";
- var chr;
- var cnt = 3;
-
- //영문이름을 위한 대문자 변환
- nameStr = nameStr.toUpperCase();
- //스페이스로 구분되어 있는 이름(영문)의 경우 첫단어와 마지막 단어의 이니셜만 처리
- if(part.length>1){
- if(part[0].length == 0) part[0] = " ";
- if(part[part.length-1].length == 0) part[part.length-1] = " ";
- nameChr = part[0].substr(0,1) + "." + part[part.length-1].substr(0,1);
- }
- else{
- nameChr = part[0];
- }
-
- //변환할 값이 0보다 큰지 확인
- if(nameChr.length < cnt) cnt = nameChr.length;
- if(cnt <= 0) return str;
-
- //영문일 때를 위해 대문자로 변환
- nameChr = nameChr.toUpperCase();
-
- for(var pati=0;pati<cnt;pati++){
- chr = nameChr.substr(pati,1).charCodeAt(0);
- if(chr<128) str = str + nameChr.substr(pati,1);
- else{
- switch(nameChr.substr(pati,1)){
- case "박":
- str = str + "P";
- break;
- case "김":
- str = str + "K";
- break;
- case "이":
- if(pati==0) str = str + "L";
- else str = str + "I";
- break;
- default :
- if(chr>=44032 && chr<45208) str = str + "G";
- else if(chr>=45208 && chr<45796) str = str + "N";
- else if(chr>=45796 && chr<46972) str = str + "D";
- else if(chr>=46972 && chr<47560) str = str + "R";
- else if(chr>=47560 && chr<48148) str = str + "M";
- else if(chr>=48148 && chr<49324) str = str + "B";
- else if(chr>=49324 && chr<50500) str = str + "S";
- else if(chr>=50500 && chr<50556) str = str + "A";
- else if(chr>=50556 && chr<50612) str = str + "Y";
- else if(chr>=50612 && chr<50668) str = str + "E";
- else if(chr>=50668 && chr<50724) str = str + "Y";
- else if(chr>=50724 && chr<50752) str = str + "O";
- else if(chr>=50752 && chr<50808) str = str + "W";
- else if(chr>=50808 && chr<50836) str = str + "O";
- else if(chr>=50836 && chr<50864) str = str + "Y";
- else if(chr>=50864 && chr<50892) str = str + "U";
- else if(chr>=50892 && chr<50976) str = str + "W";
- else if(chr>=50976 && chr<51004) str = str + "Y";
- else if(chr>=51004 && chr<51032) str = str + "E";
- else if(chr>=51032 && chr<51060) str = str + "U";
- else if(chr>=51060 && chr<51088) str = str + "I";
- else if(chr>=51088 && chr<52264) str = str + "J";
- else if(chr>=52264 && chr<52852) str = str + "C";
- else if(chr>=52852 && chr<53440) str = str + "K";
- else if(chr>=53440 && chr<54028) str = str + "T";
- else if(chr>=54028 && chr<54616) str = str + "P";
- else if(chr>=54616 && chr<55203) str = str + "H";
- else str = str + " ";
- break;
- }
- }
- }
-
- return str;
- }
- // 탑정보 위한 조회
- function fGetTopInfo(){
- dsf_createDsRow("ds_send_req"
- , [{col: "pid" , val: ds_grd_spclist.getColumn(ds_grd_spclist.rowposition,"pid")}
- ]);
-
- var oParam = {};
- oParam.id = "TRLZZ00109";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetPidTopinfo";
- oParam.inds = "cond=ds_send_req";
- oParam.outds = "ds_init_prcpinfo=getPidTopinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLZZ00109";
- tranf_submit(oParam);
-
- //fUpPatinfo2();
- if(ds_grd_spclist.rowcount> 1){
- if(!utlf_isNull(ds_init_prcpinfo.getColumn(0,"pid"))){
- frmf_setParameter("errflag", "Y");
-
- var ordtype = "";
- var genrflag = ds_init_prcpinfo.getColumn(0,"genrflag");
-
-
- //DSC 환자인 경우 genrflag를 I 로 보냄. 오류나서 2008.12.03 김성희 수정
- //SPMMO08900.js 파일(fInitialize_SPMMO08900())에서 genrflag가 "D"인 것을 처리하는 구문이 없음.("I" 로 처리해야함.)
- if(genrflag =="D"){
- genrflag = "I";
- }
-
- //modal("SPMMO08900");
- if((genrflag == "I") || (genrflag =="E")){
- frmf_setParameter("condparam", genrflag + "▦" +
- ds_init_prcpinfo.getColumn(0,"pid") + "▦" +
- ds_init_prcpinfo.getColumn(0,"orddd") + "▦" +
- ds_init_prcpinfo.getColumn(0,"cretno") + "▦" +
- ds_init_prcpinfo.getColumn(0,"acptseqno") + "▦" + // seqno
- ds_init_prcpinfo.getColumn(0,"todd") + "▦" +
- ds_init_prcpinfo.getColumn(0,"instcd")); // 임시로
-
- }else if((genrflag =="O") || (genrflag =="S")){
- frmf_setParameter("condparam", genrflag + "▦" +
- ds_init_prcpinfo.getColumn(0,"pid") + "▦" +
- ds_init_prcpinfo.getColumn(0,"orddd") + "▦" +
- ds_init_prcpinfo.getColumn(0,"cretno") + "▦" +
- ds_init_prcpinfo.getColumn(0,"instcd") + "▦" +
- ds_init_prcpinfo.getColumn(0,"acptseqno") + "▦" +
- ds_init_prcpinfo.getColumn(0,"orgorddd") + "▦");
-
- }
- appf_initPatientInfo(frmf_getParameter("condparam"));
- //frmf_modal("SPMMO08900","SPMMO08900", "", "", "", "", "", "", "", "", "", "","M");
-
- }
-
- var paminfo = sysf_getGlobalVariable("paminfo");
- if(paminfo.length < 1){ //상단정보가 없는 경우
- appf_delPatientInfos(); //환자정보 전체 삭제
-
- var pid =ds_grd_spclist.getColumn(ds_grd_spclist.rowposition,"pid");
- var hngnm = ds_grd_spclist.getColumn(ds_grd_spclist.rowposition,"patnm");
- //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
-
- appf_setPatientInfo("pid" , pid); //등록번호
- appf_setPatientInfo("pname" , pid + "|" + hngnm); //환자명
-
- }
-
- }
-
- }
- // 핵의학 접수된 Cnt 조회
- function fGetNAcptCnt(){
-
- var ncnt = 0;
-
- for(i=0; i<ds_grd_spclist.rowcount; i++){
-
- if(utlf_isNull(ds_grd_spclist.getColumn(i,"Msg"))){
- ncnt += 1;
- }
-
- }
- group3.switch3.case1.cap_cnt.visible = true;
- group3.switch3.case1.opt_cnt.visible = true;
- group3.switch3.case1.opt_cnt.value = ncnt;
- }
- // 유효성 체크
- function fexeBCNOtrue(){
- var txtbcno = group3.switch3.case1.group2.ipt_bcno.value;
- if(!utlf_isNull(txtbcno)){
-
- // 바코드 길이 9자리
- if(txtbcno.length == 9 ){
-
- }else{
- sysf_messageBox("잘못된 검체번호 ", "E008"); // 잘못된 검체번호 입니다.
- return false;
- }
- }
- }
- // 핵의학 화면 접수검체갯수 보이기
- function fSetNCnt(){
- if(frmf_getMenuParam()=="N"){
- group3.switch3.case1.cap_cnt.visible = true;
- group3.switch3.case1.opt_cnt.visible = true;
-
- }else{
- group3.switch3.case1.cap_cnt.visible = false;
- group3.switch3.case1.opt_cnt.visible = false;
- }
-
- }
- // 일괄접수 버튼
- function fSetBatAcpt(){
- var btdt = utlf_getCurrentDateTime().toDate("YYYYMMDD hhmmss").getAddDate(-10, "m").getDateFormat("YYYYMMDDhhmmss");
-
-
- // 일괄접수
- var bcnolist ="";
-
- if(sysf_messageBox("모든 리스트를 접수", "Q004") == 6){
-
- for(i=0; i< ds_grd_spclist.rowcount; i++){
- if(ds_grd_spclist.getColumn(i,"chk") == "true"){
- bcnolist += ds_grd_spclist.getColumn(i,"bcno") + "▦";
-
- }
-
- ds_grd_spclist.setRowType(i,"I");
- }
- dsf_createDs("ds_grdbatacpt");
- grdf_setStatusColumn(ds_grd_spclist, "status");
- dsf_copyDs(ds_grdbatacpt, grdf_getGridUpdateData(group3.switch3.case1.grd_spclist,"all"),"replace");
-
- dsf_createDsRow("ds_send_bcnolist"
- , [{col: "bcnolist" , val: bcnolist}
- , {col: "refflag" , val: ds_hidden_spcacpt.getColumn(0,"refflag")}
- , {col: "spcchoiyn" , val: ds_hidden_spcacpt.getColumn(0,"spcchoiyn")}
- , {col: "btyn" , val: ds_hidden_spcacpt.getColumn(0,"bt")}
- , {col: "btdt" , val: btdt}
- , {col: "execdept" , val: ds_hidden_spcacpt.getColumn(0,"testmdlcd")}
- , {col: "sectcd" , val: ds_hidden_spcacpt.getColumn(0,"testlrgcd")}
- ]);
-
- var oParam = {};
- oParam.id = "TXLLJ00104";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqSetBatAcpt";
- oParam.inds = "cond=ds_send_bcnolist datalist=ds_grdbatacpt";
- oParam.outds = "ds_grd_spclist=getspcinfolist ds_barcodeinfo=barcodeinfo ds_dbarcodeinfo=dbarcodeinfo ds_nbarcodeinfo=nbarcodeinfo";
- oParam.transaction = false;
- oParam.async = false;
- oParam.callback = "cf_TXLLJ00104";
- tranf_submit(oParam);
-
- }
- }
- function cf_TXLLJ00104(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- dsf_makeValue(ds_barcodeinfo,"cntflag","string", "acpt");
- ds_dbarcodeinfo.addColumn("cntflag","string");
- ds_dbarcodeinfo.setColumn(1,"cntflag", "acpt");
-
- var count2 = ds_barcodeinfo.rowcount;
- var mTF = false;
- var spcTF = false;
- var LCount = 0;
- var MCount = 0;
- var BCount = 0;
-
- for(i=0; i<count2; i++ ){
- if(ds_barcodeinfo.getColumn(i,"spcacptbarcdprntcnt") >0){
- spcTF = true;
- LCount = 1;
- }
-
- if(ds_barcodeinfo.getColumn(i,"microbarcdprntcnt") >0){
- mTF = true;
- MCount = 1;
- }
- }
-
- var prtkind = ds_data_setupinfo.getColumn(0,"prntkind");
- var portnm = ds_data_setupinfo.getColumn(0,"commkind");
-
- BCount = ds_dbarcodeinfo.rowcount; //분주바코드갯수
- // 접수 바코드 출력
- if(spcTF){
- //alert(model.getValue("/root/main/barcode/barcodeinfo["+i+"]/spcacptbarcdprntcnt"));
- if( (prtkind == "9" && portnm == "01") || (prtkind == "11" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7" ){
- lf_LisSpcBarcodePrint2(ds_barcodeinfo,"", 0, BCount);
- }else if(prtkind == "8" ){
- lf_LisSpcBarcodePrint3(ds_barcodeinfo, "",0, BCount);
- }else{
- lf_LisSpcBarcodePrint(ds_barcodeinfo, "", 0, BCount); // 접수 바코드 출력(접수바코드출력노드, 보관검체출력수, 분주바코드 출력수)
- }
- }
- if( prtkind == "2" || prtkind == "6" || prtkind == "7" ){
- lf_LisSpcBarcodePrintB2(ds_dbarcodeinfo,"", LCount, MCount); // 분주 바뀐거 (분주바코드출력노드, 접수 바코드 출력수, 미생물바코드 출력수)
- }else{
- lf_LisSpcBarcodePrintB(ds_dbarcodeinfo,"", LCount, MCount);
- }
- // 미생물 바코드 출력
- if(mTF){
-
- if( (BCount != 0) || (LCount != 0) ) {
- BCount = 1; //분주바코드가 있거나, 진검바코드가 있을경우 미생물 바코드 portopen 을 하지 않는다.
- } else {
- BCount = 0; //분주바코드, 진검바코드가 모두 없을 경우 portopen을 한다.
- }
- if( prtkind == "2" || prtkind == "6" || prtkind == "7" ){
- lf_LisMicroWorknoSpcBarcodePrint2(ds_barcodeinfo, "", BCount);
- }
- else{
-
- lf_LisMicroWorknoSpcBarcodePrint(ds_barcodeinfo, "", BCount); // 미생물 작업번호 바코드 출력(출력노드, 분주 또는 진검 바코드여부)
-
- }
- }
- ds_grd_spclist.clearData();
-
- ds_grd_detllist.clearData();
- }
- // Urine Volume 등록
- function fSetUrine(Row){
-
- //
- if(utlf_isNull(Row)){
- Row = ds_grd_spclist.rowcount;
- }
- var bcno = ds_grd_spclist.getColumn(Row,"bcno");
- dsf_createDsRow("ds_hidden"
- , [{col: "bcno" , val: bcno}
- ]);
-
- var objArg = new Object();
- objArg.arg_ds_hidden = ds_hidden;
- // 검체명 24시간 Urine 일경우 팝업띄워서 등록
- frmf_open("SPLLJ90200","SPLLJ90200", objArg,"","","","","","","","","","M");
- }
- // 검체상세목록 조회
- function fGetSpcDetlList(Ref){
-
-
- var rRow = "";
- if(!utlf_isNull(Ref)){ // 자동 상세목록 조회(Ref = 마지막 Row)
- rRow = Ref-1;
- }else{
- rRow = ds_grd_spclist.rowposition;
- }
- ds_send.setColumn(0, "bcno",ds_grd_spclist.getColumn(rRow,"bcno"));
- ds_send.setColumn(0, "spcstat",ds_grd_spclist.getColumn(rRow,"spcstat"));
- ds_send.setColumn(0, "menuparam",frmf_getMenuParam());
-
-
- var oParam = {};
- oParam.id = "TRLLJ00101";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetDetlListRef";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_detllist=getDetlListRef";
- oParam.async = false;
- // oParam.callback = "cf_TRLLJ00101";
- tranf_submit(oParam);
-
- if(ds_grd_detllist.getColumn(0,"scanyn") == "Y") {
- group3.switch3.case1.btn_formprnt.enable = true;
- group3.switch3.case1.btn_formprnt.text = ds_grd_detllist.getColumn(0,"scrn");
- } else {
- group3.switch3.case1.btn_formprnt.text = ds_grd_detllist.getColumn(0,"scrn");
- group3.switch3.case1.btn_formprnt.enable = false;
- }
-
- }
- // 검체조회 tab 검체조회
- function fGetSpcListref(flag){
-
- ds_send.setColumn(0, "refbase",ds_hidden_spcref.getColumn(0,"refbase"));
- ds_send.setColumn(0, "piddd",ds_hidden_spcref.getColumn(0,"piddd"));
- ds_send.setColumn(0, "reffromdd",ds_hidden_spcref.getColumn(0,"reffromdd"));
- ds_send.setColumn(0, "reftodd",ds_hidden_spcref.getColumn(0,"reftodd"));
- ds_send.setColumn(0, "refgbn",ds_hidden_spcref.getColumn(0,"refflag"));
- ds_send.setColumn(0, "pidfromdd",ds_hidden_spcref.getColumn(0,"pidfromdd"));
- ds_send.setColumn(0, "pidtodd",ds_hidden_spcref.getColumn(0,"pidtodd"));
- ds_send.setColumn(0, "execdept",ds_hidden_spcref.getColumn(0,"execdept"));
- ds_send.setColumn(0, "undoacpt",ds_hidden_spcref.getColumn(0,"undoacpt"));
- ds_send.setColumn(0, "genrflag",ds_hidden_spcref.getColumn(0,"genrflag"));
- ds_send.setColumn(0, "detlspcinfoyn",ds_hidden_spcref.getColumn(0,"detlspcinfoyn"));
-
-
- if(flag != "P"){
- ds_send.setColumn(0, "page" , "1"); //page처리 20090930 추가
- }
-
- if((flag == "K") || ((flag == "C") && (!utlf_isNull(ds_hidden_spcref.getColumn(0,"refcnts"))))) { //bcno enter키 누르거나, input 버튼 눌렀을 경우, 접수취소 후 검색어가 있으면 검색어로 조회
- ds_send.setColumn(0, "refcnts", ds_hidden_spcref.getColumn(0,"refcnts"));
- } else { //조회버튼 클릭시
- if(fSetRefFromdd()==true){
- ds_send.setColumn(0, "refcnts", "");
- ds_send.setColumn(0, "flag", "1");
- }
- }
-
- var tmpPage = ds_send.getColumn(0,"page");
-
- group3.switch3.case2.group_page.opt_last.value = "";
- trace(ds_send.saveXML());
- var oParam = {};
- oParam.id = "TRLLJ00103";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetSpcListRef";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_grd_spcreflist=getspclistref ds_page=page";
- oParam.async = false;
- oParam.callback = "cf_TRLLJ00103";
- tranf_submit(oParam);
-
- }
- function cf_TRLLJ00103(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- fSetSpcRefList(); //상세조회 여부에 따른 컬럼 Hidden
- if(group3.switch3.case2.group5.chk_detlspcinfoyn.value == 1 && parseInt(ds_page.getColumn(0,"lastpage")) > 1){
- group3.switch3.case2.group_page.visible = true;
- group3.switch3.case2.group_page.opt_last.value = ds_page.getColumn(0,"lastpage");
- }else{
- group3.switch3.case2.group_page.visible = false;
- }
- }
- // 부적합검체등록
- function fSetBadSpc(){
- if(group3.switch3.tabindex==0){ //접수
- if(ds_grd_spclist.rowcount > 0){
- var bcno = ds_grd_spclist.getColumn(ds_grd_spclist.rowposition,"bcno");
- }
- }else if(group3.switch3.tabindex==1){ //조회
- if(ds_grd_spcreflist.rowcount > 0){
- var bcno = ds_grd_spcreflist.getColumn(ds_grd_spcreflist.rowposition,"bcno");
- }
- }
-
- dsf_createDsRow("ds_hidden"
- , [{col: "bcno" , val: bcno}
- ]);
-
- var objArg = new Object();
- objArg.arg_ds_hidden = ds_hidden;
- // 검체명 24시간 Urine 일경우 팝업띄워서 등록
- frmf_modal("SPLLJ90100","SPLLJ90100", objArg,"","","","","","","","","","M");
-
-
- }
- // 채혈접수취소등록
- function fSetAcptCncl(){
-
- if(ds_grd_spcreflist.rowposition < 0 ){
- sysf_messageBox("선택된 검체가 없습니다. 검체를 ", "C002"); // 선택하십시오!
- return;
- }
-
- var find = ds_grd_spcreflist.findRow("chk","Y");
-
- if(find < 0) {
- sysf_messageBox("선택된 검체가 없습니다. 검체를 ", "C002"); // 선택하십시오!
- return;
- }
-
- if(utlf_transNullToEmpty(ds_grd_spcreflist.getColumn(find,"bcno")).substr(0, 1) == "G") {
- sysf_messageBox("헌혈 검체는 취소", "E001"); //헌혈검체는 취소할 수 없습니다.
- return;
- }
-
- if(ds_grd_spcreflist.getColumn(find,"spcstat") != "4-") {
- sysf_messageBox("접수상태가 아니라 접수취소를", "E001") //할 수 없습니다.
- return;
- }
- dsf_createDsRow("ds_hidden_canceldata"
- , [{col: "data1" , val: ds_grd_spcreflist.getColumn(ds_grd_spcreflist.rowposition,"bcno")}
- , {col: "data2" , val: "02"}
- ]);
-
- var objArg = new Object();
- objArg.arg_ds_hidden_openerdata = ds_hidden_canceldata;
- frmf_modal("SPLLC90400","SPLLC90400", objArg,"","","","","","","","","","M");
-
- }
- //프린터 설정
- function fSetPrint() {
- var count = ds_barcdprntsetup.rowcount;
-
- var objArg = new Object();
-
- objArg.arg_sSetupInfo = ds_barcdprntsetup.getColumn(0,"prntsetupinfo");
- objArg.arg_sCallBackFunction = "lf_convertXmlToDs";
- frmf_modal("SPLLC90100","SPLLC90100",objArg,"","","","","","","","","","M");
-
- //open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
- // 스위치에 따라 버튼 보이기
- function fbuttonvisible(ref){
- // 검체접수
- if(ref == "A"){
- }
- // 검체조회
- else if(ref == "B"){
- group4.group7.visible = true;
- group3.checkbox4.visible = false;
- }
- }
- // 접수 시 바코드 출력
- function fExeBarcdPrnt(){
- var BCount = 0; //분주바코드
- var LCount = 0; //진검바코드
- var MCount = 0; //미생물 바코드
- var spcTF = false;
- var mTF = false;
-
- // 2007-10-14 수정
- ds_barcodeinfo.addColumn("cntflag","string");
- ds_barcodeinfo.addRow();
-
- ds_barcodeinfo.setColumn(0,"cntflag", "acpt");
-
- var count = ds_barcodeinfo.rowcount;
-
- for(i=0; i<count; i++ ){
-
- if(ds_barcodeinfo.getColumn(i,"spcacptbarcdprntcnt") >0){
- ds_barcodeinfo.setColumn(i,"tclslblnmlist", ds_barcodeinfo.getColumn(i,"tclsnmlist"));
- spcTF = true;
- LCount = 1;
- }else{
- ds_barcodeinfo.deleteRow(i);;
- i--;
- count--;
- }
-
- if(ds_barcodeinfo.getColumn(i,"microbarcdprntcnt") >0){
- mTF = true;
- MCount = 1;
- }
- }
-
-
- BCount = ds_dbarcodeinfo.rowcount;//분주바코드 갯수
-
- var prtkind = ds_data_setupinfo.getColumn(0,"prntkind");
- var portnm = ds_data_setupinfo.getColumn(0,"commkind");
-
- // 접수 바코드 출력
- if(spcTF){
- if( (prtkind == "9" && portnm == "01") || (prtkind == "11" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7" ){ // sato
- lf_LisSpcBarcodePrint2(ds_barcodeinfo,"", 0, BCount);// 접수 바코드 출력 //fLisSpcBarcodePrint(출력노드, 오픈을 위해 0셋팅, 분주바코드갯수)
- }else if(prtkind == "8" ){ // b472
- lf_LisSpcBarcodePrint3(ds_barcodeinfo,"", 0, BCount);
- }else{ // zebra ...
- lf_LisSpcBarcodePrint(ds_barcodeinfo,"", 0, BCount);// 접수 바코드 출력 //fLisSpcBarcodePrint(출력노드, 오픈을 위해 0셋팅, 분주바코드갯수)
- }
- }
-
- ds_dbarcodeinfo.setColumn(1,"cntflag", "acpt");
- if( prtkind == "2" || prtkind == "6" || prtkind == "7"){
- lf_LisSpcBarcodePrintB2(ds_dbarcodeinfo,"", LCount, MCount); // 분주(출력노드, 진검바코드여부, 미생물바코드여부)
- }else{
- lf_LisSpcBarcodePrintB(ds_dbarcodeinfo,"", LCount, MCount); // 분주(출력노드, 진검바코드여부, 미생물바코드여부)
- }
-
-
- // 미생물 바코드 출력
-
- if(mTF){
- if((BCount != 0) || (LCount != 0) ){ //분주 바코드가 있거나 진검 바코드가 있을 경우 portopen을 하지 않는다.
- BCount = 1;
- } else {
- BCount = 0; //분주바코드, 진검바코드 모두 없을 경우 portopen을 하기 위해 셋팅.
- }
-
- if( prtkind == "2" || prtkind == "6" || prtkind == "7"){ // sato
- lf_LisMicroWorknoSpcBarcodePrint2(ds_barcodeinfo,"", BCount);
- }else{ // 기타바코드 zebra...
- //alert("여의도 일까요 " + getUserInfo("dutplceinstcd"));
-
- lf_LisMicroWorknoSpcBarcodePrint(ds_barcodeinfo,"", BCount); // 미생물 작업번호 바코드 출력(출력노드, 분주 또는 진검 바코드여부)
-
- }
- return;
- }
- }
- // 대분류콤보 선택시
- function fSetTLrgCd() {
- var etc = ds_hidden_spcacpt.getColumn(0,"testlrgcd");
-
- if(etc == "00"){
- ds_init_lb0106.filter("");
- ds_hidden_spcacpt.setColumn(0,"testmdlcd" , "00");
- }
- else{
- ds_hidden_spcacpt.setColumn(0,"testmdlcd" , "00");
- ds_init_lb0106.filter("cd== '00' || etc01 =='"+ etc +"'");
- }
- }
- function fSetTLrgCd2() {
- var etc = ds_hidden_spcref.getColumn(0,"lrgexecdept");
- //alert(etc);
- if(etc == "00"){
- ds_init_lb0106.filter("");
- ds_hidden_spcref.setColumn(0,"execdept" , "00");
-
- }
- else{
- ds_hidden_spcref.setColumn(0,"execdept" , "00");
-
- ds_init_lb0106.filter("cd== '00' || etc01=='"+ etc +"'");
- }
-
- }
- //특수검사 조회
- function fGetSpclTestList() {
-
- ds_data_getspcltestlist.clearData();
- dsf_makeValue(ds_send,"acptsdd","string", utlf_getCurrentDate());
- dsf_makeValue(ds_send,"acptedd","string", utlf_getCurrentDate());
- dsf_makeValue(ds_send,"spcltestgrup","string", "00");
- dsf_makeValue(ds_send,"seqsno", "string", "00000");
- dsf_makeValue(ds_send,"seqeno", "string", "99999");
- dsf_makeValue(ds_send,"userdeptflagcd", "string", ds_init_lb0000.getColumn(0,"nm"));
- dsf_makeValue(ds_send,"refflag","string", "1");
- dsf_makeValue(ds_send,"spcchoiyn","string", "1");
- //model.makeValue("/root/send/bcno", model.getValue("/root/main/spclist/bcno"));
- dsf_makeValue(ds_send,"bcno","string", ds_hidden_spcacpt.getColumn(0,"bcno"));
- var oParam = {};
- oParam.id = "TRLRP00701";
- oParam.service = "refprintmngtapp.SpecialTestRefPrintMngt";
- oParam.method = "reqGetSpclTestList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_data_getspcltestlist=getSpclTestList";
- oParam.async = false;
- //oParam.callback = "cf_TRLRP00701";
- tranf_submit(oParam);
- lf_convertXmlToDs(ds_data_getspcltestlist.getColumn(0,"reqcnts"));
- }
- //특수검사 의뢰서 출력
- function fPrint(find){
- dsf_createDs("ds_hidden_report");
-
- //model.removeNodeset("/root/main/rslt");
- //model.removeNodeset("/root/main/cf");
-
- //골수 결과
- if(ds_data_inptitem01.getColumn(find,"initial") == "Initial") {
- ds_data_inptitem01.setColumn(find,"initial", "Initial");
- } else if(ds_data_inptitem01.getColumn(find,"fu") == "F/U") {
- ds_data_inptitem01.setColumn(find,"initial", "F/U");
- } else if(ds_data_inptitem01.getColumn(find,"others") == "Others") {
- ds_data_inptitem01.setColumn(find,"initial", "Others");
- }
- dsf_copyColInfo(ds_hidden_report,ds_data_getspcltestlist);
- ds_hidden_report.addRow();
- ds_hidden_report.copyRow(0,ds_data_getspcltestlist,find);
- //dsf_copycopyNodeListType("/root/hidden/report", "/root/main/getspcltestlist["+ find +"]", "after");
-
-
- dsf_makeValue(ds_send,"pid","string", ds_data_getspcltestlist.getColumn(find,"pid"));
- dsf_makeValue(ds_send,"instcd","string", sysf_getUserInfo("dutplceinstcd"));
- //model.makeValue("/root/send/instcd", "012");
-
- var oParam = {};
- oParam.id = "TRLRP00703";
- oParam.service = "refprintmngtapp.SpecialTestRefPrintMngt";
- oParam.method = "reqGetRslt";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_data_rslt=getRslt ds_data_cf=getCFRslt";
- oParam.async = false;
- // oParam.callback = "cf_TRLRP00703";
- tranf_submit(oParam);
- //CBC 검사결과
- dsf_createDs("ds_report_rbc");
- ds_report_rbc.addColumn("tcls","string");
- ds_report_rbc.addColumn("rslt","string");
- ds_report_rbc.addColumn("tcls2","string");
- ds_report_rbc.addColumn("rslt2","string");
- var count = ds_data_rslt.rowcount - 1;
- var tclslist = "";
- var rsltlist = "";
- var tclslist2 = "";
- var rsltlist2 = "";
- var tcls = "";
- for(j = 0; j <= count; j++) {
- tcls = ds_data_rslt.getColumn(j,"tclscd");
- if(tcls.substr(3, 3) != "105") {
- tclslist = tclslist + ds_data_rslt.getColumn(j,"tclsnm") + "\n";
- rsltlist = rsltlist + ds_data_rslt.getColumn(j,"reptrslt") + "\n";
- } else if(tcls.substr(3, 3) == "105") {
- tclslist2 = tclslist2 + ds_data_rslt.getColumn(j,"tclsnm") + "\n";
- rsltlist2 = rsltlist2 + ds_data_rslt.getColumn(j,"reptrslt") + "\n";
- }
- }
- var nRow = ds_report_rbc.addRow();
- ds_report_rbc.setColumn(nRow,"tcls", tclslist);
- ds_report_rbc.setColumn(nRow,"rslt", rsltlist);
- ds_report_rbc.setColumn(nRow,"tcls2", tclslist2);
- ds_report_rbc.setColumn(nRow,"rslt2", rsltlist2);
- ds_report_rbc.setColumn(nRow,"tm");
- ds_report_rbc.setColumn(nRow,"tm", ds_data_rslt.getColumn(count,"lastreptdt"));
-
- var count = ds_data_cf.rowcount - 1;
-
- // for(j = 0; j <=count; j++) {
- // model.makeNode("/root/hidden/report/getspcltestlist/cf["+ j +"]");
- //
- // copyNodeType("/root/hidden/report/getspcltestlist/cf["+ j +"]", "/root/main/cf["+ j +"]");
- // }
-
- dsf_makeValue(ds_send,"spccd","string", ds_data_getspcltestlist.getColumn(find,"spccd"));
- dsf_makeValue(ds_send,"prcpgenrflag", "string", ds_data_getspcltestlist.getColumn(find,"prcpgenrflag"));
- dsf_makeValue(ds_send,"bcno", "string", ds_data_getspcltestlist.getColumn(find,"bcno"));
-
- var oParam = {};
- oParam.id = "TRLRP00702";
- oParam.service = "refprintmngtapp.SpecialTestRefPrintMngt";
- oParam.method = "reqGetDetlTestList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_detltestlist=getDetlTestList";
- oParam.async = false;
- //oParam.callback = "cf_TRLRP00702";
- tranf_submit(oParam);
-
- dsf_makeValue(ds_hidden_report,"termengnm","string",ds_detltestlist.getColumn(0,"termengnm"));
-
- var flag = ds_hidden_report.getColumn(0,"reqfrmcd");
-
- }
- // 조회일자 3일 이전으로 못가게 막기
- function fSetRefFromdd(){
- var todd = utlf_transNullToEmpty(ds_hidden_spcref.getColumn(0,"reftodd"));
-
- var mDate = todd.toDate("YYYYMMDD").getAddDate(-3);
- var fromdd = ds_hidden_spcref.getColumn(0,"reffromdd");
-
- if( mDate.getDateFormat("YYYYMMDD") > fromdd){
- sysf_messageBox("환자개별 조회 이외의 검색구간은 최대 3일까지","E008");
-
- var mr = sysf_messageBox("최대 3일 조회","S001"); //메세지에서 선택한 값.
-
- if(mr == "6") {
- ds_hidden_spcref.setColumn(0,"reffromdd", mDate.getDateFormat("YYYYMMDD"));
- ds_send.setColumn(0,"reffromdd", ds_hidden_spcref.getColumn(0,"reffromdd"));
-
-
- return true;
- } else if(mr == "2") {
- return false;
- }else {
- return true;
- }
- }else if(todd < fromdd){
- alert("기간설정이 잘못 되었습니다.");
- return false;
- }else{
- return true;
- }
- }
- // 검체목록출력
- function fExePrint(){
- //model.removeNodeset("/root/hidden/report");
- dsf_createDs("ds_report_spclistref");
- if(ds_grd_spcreflist.rowcount = 0){
- sysf_messageBox("출력할", "E013");
- return;
- }
-
- var prtrow = 0;
-
- for(i=0; i< ds_grd_spcreflist.rowcount; i++){
-
- if(ds_grd_spcreflist.getColumn(i,"chk")=="Y"){
- dsf_copyColInfo(ds_report_spclistref,ds_grd_spclist);
- prtrow = ds_report_spclistref.addRow();
- ds_report_spclistref.copyRow(0,ds_grd_spclist,i);
-
- ds_report_spclistref.setColumn(prtrow,"spcstat", group3.switch3.case2.grd_spcreflist.getCellText(i,12));
-
-
- }
- }
-
- if(prtrow = 0){
- sysf_messageBox("출력할", "E013");
- return;
- }
- //exeReportPreview("RPLLJ00100", "XMLSTR");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/hidden/report/spclistref", ds_report_spclistref); // 데이터셋 1
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- rptf_exeReportPreview30(["RPLLJ00100"],[objParam]);
-
- }
- //상세조회 선택시 검체 목록 컬럼 Hidden 변경
- function fSetSpcRefList(){
- //상세조회
- // if(chk_detlspcinfoyn.value == 1){
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("testcd")) = false;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("tclsnm")) = false;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("reptrslt")) = false;
- //
- // for(var Rrow = 1; Rrow < grd_spcreflist.rows ; Rrow++){
- // if(model.getValue("/root/main/spclistref["+Rrow+"]/reptrslt") == "미등록"){
- // grd_spcreflist.cellStyle("color", Rrow, 12, Rrow, 12) = "#EE0000";
- // }else{
- // grd_spcreflist.cellStyle("color", Rrow, 12, Rrow, 12) = "#000000";
- // }
- // }
- //
- //
- // }else{
- //
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("testcd")) = true;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("tclsnm")) = true;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("reptrslt")) = true;
- // /* 이재오 추가 20120704 일 */
- // if (rdo_acptdd.value == 3){
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("tsectcd")) = true;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("workno")) = true;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("bcno")) = true;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("testcd")) = true;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("tclsnm")) = true;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("spcnm")) = true;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("spcltestseq")) = true;
- //
- // }else{
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("tsectcd")) = false;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("workno")) = false;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("bcno")) = false;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("testcd")) = false;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("tclsnm")) = false;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("spcnm")) = false;
- // grd_spcreflist.colHidden(grd_spcreflist.colRef("spcltestseq")) = false;
- // }
- // /* 이재오 추가 20120704 일 */
- // }
- //
- }
- //페이지 버튼에따라 처리
- function fSetPage(pVal){
- //pVal = 1:맨처음, 2:이전, 3:다음, 4:맨끝 page로..
- var vFPage = parseInt(ds_send.getColumn(0,"page"));
- //model.setValue("/root/main/page/lastpage", 10); //test
- var vLPage = parseInt(group3.switch3.case2.group_page.opt_last.value);
-
- if(pVal == "1"){
- if(vFPage != 1){
- ds_send.setColumn(0,"page", 1);
- }else{
- return;
- }
- }else if(pVal == "2"){
- if(vFPage != 1){
- vFPage -= 1;
- ds_send.setColumn(0,"page", vFPage);
- }else{
- return;
- }
- }else if(pVal == "3"){
- if(vFPage < vLPage){
- vFPage += 1;
- ds_send.setColumn(0,"page", vFPage);
- }else{
- return;
- }
- }else if(pVal == "4"){
- if(vLPage != vFPage){
- ds_send.setColumn(0,"page", vLPage);
- }else{
- return;
- }
- }
- fGetSpcListref("P");
- }
- function SMLLJ00110_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLLJ00110_onload(obj:Form, e:LoadEventInfo)
- {
-
-
- // 그리드 전체 선택 기능
- grdf_initGrid(group3.switch3.case1.grd_spclist);
-
- // 검체접수 tab 선택
- //model.toggle("case2");
- group3.switch3.tabindex = 1;
-
- // 스위치에 따라 버튼 보이기
- fbuttonvisible("B");
-
- // 초기정보 조회
- ds_send.setColumn(0,"codeflag", "0102|0106|0104|0111|0000|"); // 0102= 중분류 // 0106=시행부서(검사계) // 0104 대분류 // 0111 계(시행) // 0000 userdeptflag
- dsf_createDsRow("ds_temp_search"
- , [{col: "codeflag", val: "0102|0106|0104|0111|0000|"}]);
- //submit("TRLZZ00101");
- var oParam = {};
- oParam.id = "TRLZZ00101";
- oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
- oParam.method = "reqGetInitCodeInfo";
- oParam.inds = "cond=ds_temp_search";
- oParam.outds = "ds_init_lb0102=0102 "
- +"ds_init_lb0106=0106 "
- +"ds_init_lb0104=0104 "
- +"ds_init_lb0111=0111 "
- +"ds_init_lb0000=0000 ";
- oParam.async = false;
-
- tranf_submit(oParam);
-
-
- // 노드 초기화
- ds_grd_spclist.clearData();
- ds_grd_detllist.clearData();
- ds_grd_spcreflist.clearData();
-
- fSetNCnt(); // 핵의학 화면 접수검체갯수 보이기
-
- // 핵의학
- if( (frmf_getMenuParam()=="N") || (ds_init_lb0000.getColumn(0,"nm")=="N") ){
-
- ds_hidden_spcacpt.setColumn(0,"testmdlcd", "NR");
- ds_hidden_spcref.setColumn(0,"execdept", "NR");
- ds_init_lb0106.deleteRow(0);
- //model.removenode("/root/init/LB0106[1]"); // 핵의학 -전체- 노드삭제
-
- }
-
-
- var today = utlf_getCurrentDate();
-
- ds_hidden_spcref.setColumn(0,"reffromdd", today);
- ds_hidden_spcref.setColumn(0,"reftodd", today);
- ds_hidden_spcref.setColumn(0,"pidfromdd", today);
- ds_hidden_spcref.setColumn(0,"pidtodd", today);
-
- group3.switch3.case2.group5.ipt_text.setFocus();
- ds_send.setColumn(0,"scrnid",frmf_getScreenID());
-
-
-
- var oParam = {};
- oParam.id = "TRLLC90101";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetSetUpInfo";
- oParam.inds = "scrnid=ds_send";
- oParam.outds = "ds_barcdprntsetup=getSetUpInfo";
- oParam.async = false;
-
- tranf_submit(oParam); // 20090617 SATO 관련 추가
- lf_convertXmlToDs(ds_barcdprntsetup.getColumn(0,"prntsetupinfo"));
-
- lzzfMakeBrcdPrntObjHanDo("CommAX");
-
- appf_delPatientInfos(); //환자정보 전체 삭제
- }
- function group3_switch3_case1_group2_ipt_bcno_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_hidden_spcacpt.setColumn(0,"bcno", (obj.value).toUpperCase());
- //fSetSpcAcpt();
- fsetBCNOEnter();
- if(utlf_isNull(ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"Msg"))){
- fGetSpclTestList();
-
- var count = ds_data_getspcltestlist.rowcount ;
- var spc = ds_grd_spclist.rowcount;
-
- if(count > 0 ) {
- for(var jki = 0; jki < count; jki++) {
-
- if(ds_grd_spclist.getColumn(spc-1,"bcno") == ds_data_getspcltestlist.getColumn(jki,"bcno")) {
- //alert(getUserInfo("dutplceinstcd"));
- var i = "";
- var row = ds_grd_detllist.rowcount;
- if(sysf_getUserInfo("dutplceinstcd") != "011") {
- fPrint(jki);
- }else if(sysf_getUserInfo("dutplceinstcd") == "011"){
- for (i = 0; i < row-1; i++){
- if(ds_grd_detllist.getColumn(i,"tclscd") == "LHR114"){
- var bbb = "1";
- break;
- }
- }
- if(bbb != "1") {
- fPrint(jki);
- }
- }
- }
- }
- }
- }
- obj.setFocus(); //20090422 김성희 추가 : 세포유전 출력물 출력후 포커스 아웃 현상 발생하여 수정
-
- }
- }
- function group3_switch3_case2_group5_ipt_text_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- if ( obj.value.length > 11 ){
- var a1 = (obj.value).toUpperCase();
- var a2 = "20" + a1.substr(0,8) + "0" + a1.substr(8,4);
- obj.value = a2 ;
- }
-
- if(!utlf_isNull(obj.value)) {
- ds_hidden_spcref.setColumn(0,"refcnts", (obj.value).toUpperCase());
- fGetSpcListref("K");
- var afnodecount = ds_datagrid1.rowcount;
- // alert(afnodecount);
- // debugger;
- if(afnodecount > 0 ) {
- var prtrow = ds_datagrid1.addRow();
- ds_datagrid1.copyRow(prtrow,ds_grd_spcreflist,0);
- }
- } else {
- sysf_messageBox("검색어를", "C001");
- }
-
- }
-
- }
- function ds_grd_spclist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chk")
- {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"true":"false");
- }
- }
- function group4_group7_btn_spclist_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePrint();
- }
- function group4_btn_prnt_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPrint();
- }
- function group3_switch3_case2_group5_btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
-
- ds_grd_spcreflist.clearData();
- ds_datagrid1.clearData();
- }
- function group3_switch3_case2_group5_cmb_refgbn_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var cmb_value = obj.value;
- if(cmb_value == "1"){
- group3.switch3.case2.group5.caption12.visible = true;
- group3.switch3.case2.group5.caption4.visible = true;
- group3.switch3.case2.group5.input1.visible = true;
- group3.switch3.case2.group5.input2.visible = true;
- group3.switch3.case2.group5.checkbox6.visible = true;
-
- }else{
- group3.switch3.case2.group5.caption12.visible = false;
- group3.switch3.case2.group5.caption4.visible = false;
- group3.switch3.case2.group5.input1.visible = false;
- group3.switch3.case2.group5.input2.visible = false;
- group3.switch3.case2.group5.checkbox6.visible = false;
-
- }
- }
- function group3_switch3_case2_group5_btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSpcListref();
- }
- function group3_switch3_case2_group5_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_datagrid1.deleteRow(ds_datagrid1.rowposition);
- ds_grd_spcreflist.deleteRow(ds_grd_spcreflist.rowposition);
- }
- function group3_switch3_case2_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group3.switch3.case2.datagrid1, "save", "", false, "", "user", false);
- }
- function group3_switch3_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0)
- {
- fbuttonvisible("A");
- }
- else
- {
- fbuttonvisible("B");
- }
- }
- function group3_switch3_case2_group_page_btn_np_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPage("3");
- }
- function group3_switch3_case2_group_page_ntn_nl_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPage("4");
- }
- function group3_switch3_case2_group_page_btn_pp_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPage("2");
- }
- function group3_switch3_case2_group_page_btn_pf_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetPage("1");
- }
- function group3_switch3_case1_btn_urine_onclick(obj:Button, e:ClickEventInfo)
- {
- fSetUrine();
- }
- function group3_switch3_case1_group2_cmb_TLrgCd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSetTLrgCd();
- }
- function group3_switch3_case1_group2_chk_spcchoi_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- ds_grd_spclist.clearData();
- ds_grd_detllist.clearData();
-
- }
- function group3_switch3_case1_grd_spclist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var col = e.col;
-
- // 체크박스(1), 검체별특이사항(10) col 제외
- if(col != 1){
- // 검체상세목록 조회
- var grow = "";
-
- fGetSpcDetlList(grow);
-
- }
-
- }
- function group3_switch3_case2_group5_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var obj = group3.switch3.case2.group5.ipt_text;
-
- if(obj.length > 11 )
- {
- var a1 = (obj.value).toUpperCase();
- var a2 = "20" + a1.substr(0,8) + "0" + a1.substr(8,4);
- obj.value = a2 ;
- }
-
- if(!utlf_isNull(obj.value))
- {
- ds_hidden_spcref.setColumn(0,"refcnts", (obj.value).toUpperCase());
- fGetSpcListref("K");
- var afnodecount = ds_datagrid1.rowcount;
- if(afnodecount > 0 )
- {
- var prtrow = ds_datagrid1.addRow();
- ds_datagrid1.copyRow(prtrow,ds_grd_spcreflist,0);
- }
- }
- else
- {
- sysf_messageBox("검색어를", "C001");
- }
- }
- function group3_switch3_case1_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var obj = group3.switch3.case1.group2.ipt_bcno;
- ds_hidden_spcacpt.setColumn(0,"bcno", (obj.value).toUpperCase());
-
- fsetBCNOEnter();
- if(utlf_isNull(ds_grd_spclist.getColumn(ds_grd_spclist.rowcount-1,"Msg")))
- {
- fGetSpclTestList();
-
- var count = ds_data_getspcltestlist.rowcount ;
- var spc = ds_grd_spclist.rowcount;
-
- if(count > 0 )
- {
- for(var jki = 0; jki < count; jki++)
- {
- if(ds_grd_spclist.getColumn(spc-1, "bcno") == ds_data_getspcltestlist.getColumn(jki,"bcno"))
- {
- var i = "";
- var row = ds_grd_detllist.rowcount;
- if(sysf_getUserInfo("dutplceinstcd") != "011")
- {
- fPrint(jki);
- }
- else if(sysf_getUserInfo("dutplceinstcd") == "011")
- {
- for (i = 0; i < row-1; i++)
- {
- if(ds_grd_detllist.getColumn(i,"tclscd") == "LHR114")
- {
- var bbb = "1";
- break;
- }
- }
- if(bbb != "1")
- {
- fPrint(jki);
- }
- }
- }
- }
- }
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|