1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLBR00400.xrw
- * 설 명 : 혈액은행 검사항목별결과관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2007.5.21
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>혈액은행 검사항목별 결과관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <TestInfo>
- <getTestInfoCnts>
- <selchk value=""/>
- <workno2/>
- <bcno2/>
- <pid2/>
- <patnm2/>
- <testnm/>
- <bufinptrslt/>
- <reptrslt/>
- <dnor/>
- <rstnm/>
- <bfreptrslt/>
- <bfrstnm/>
- <bflastreptdt/>
- <medispclid/>
- <medispcdt/>
- <testcmt/>
- <workno/>
- <bcno/>
- <pid/>
- <patnm/>
- <testcd/>
- <inptrslt/>
- <rsltseq/>
- <tclskind/>
- <testlrgkind/>
- <spccd/>
- <inptrslt/>
- <num/>
- </getTestInfoCnts>
- <testgrupdetl>
- <tclsnm/>
- <tclscd/>
- </testgrupdetl>
- </TestInfo>
- <getUsernm>
- <usernm>
- </usernm>
- </getUsernm>
- </main>
- <send>
- <data1/>
- <data2/>
- </send>
- <init>
- </init>
- <hidden>
- <refflag>
- <userid/>
- <bcno/>
- <testlrgkind/>
- <rsltstat/>
- </refflag>
- <searchflag>
- <searchtype>0</searchtype>
- <searchtext/>
- <startdd/>
- <enddd/>
- <sworkseq>0000</sworkseq>
- <eworkseq>9999</eworkseq>
- <rsltstat0>1</rsltstat0>
- <rsltstat1/>
- <rsltstat2/>
- <testgrupseqno/>
- <tclscdlist/>
- <tclscdlist2/>
- <rsltstatflag/>
- <tsectcd>B1</tsectcd>
- </searchflag>
- <ref>
- <tclscdlist>
- <tclsnmlist/>
- <tclscdlist/>
- <tclscdlist2/>
- <testgrup/>
- </tclscdlist>
- </ref>
- <default/>
- <DJGGParm>
- <testcdlist/>
- <uprsltYN/>
- <bufDJGG/>
- <bcno/>
- <userid/>
- </DJGGParm>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fSetInit();
- group4.disabled = true;
- model.setFocus("ID_txt");
-
-
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <submission id="TRLZZ00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
- <submission id="TRLBR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/TestInfo"/>
- <submission id="TXLBR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fSetInit(ref) {
- if(ref != 2) {
- model.setvalue("/root/hidden/searchflag/startdd",getCurrentDate());
- model.setvalue("/root/hidden/searchflag/enddd",getCurrentDate());
- model.setValue("/root/hidden/searchflag/searchtype", "0");
- model.setValue("/root/hidden/searchflag/searchtext", "");
- model.setValue("/root/hidden/searchflag/sworkseq", "0000");
- model.setValue("/root/hidden/searchflag/eworkseq", "9999");
- model.setValue("/root/hidden/searchflag/rsltstat0", "1");
- model.setValue("/root/hidden/searchflag/rsltstat1", "");
- model.setValue("/root/hidden/searchflag/rsltstat2", "");
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
- model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
-
- if(ref != 1) {
- model.setValue("/root/hidden/refflag/userid", "");
- model.setValue("/root/main/getUsernm/usernm", "");
- }
- }
- fBaseInfoRef("0106|0103|0109|1301|0402|");
-
- model.refresh();
- }
-
- function fValidation(pRsltstat) {
-
- if(model.getvalue("/root/hidden/refflag/userid") == "" || model.getvalue("/root/main/getUsernm/usernm") == ""){
- messageBox("검사자를 " , "C001" ,"");
- model.setFocus("ipt_testpsn");
- return;
- }
-
-
- var rept = 6;
- var flag = 0;
- var bcno;
- for(i = 1 ; i < grd_TestInfoCnts.rows; i++) {
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/selchk/@value") == "true"){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/testcd").getTrim() == model.getValue("/root/init/LB1301[etc01= '100']/cd")
- && model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/tclscd").getTrim() != "LBR002"){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+(i+1)+"]/rstnm").getTrim().toString() == model.getValue("/root/main/getUsernm/usernm").getTrim().toString()){
- rept = messageBox(model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/bcno") + " 검체의 Serum Type 검사자와 Cell Type 검사자가 동일 합니다.", "S001", "");
- bcno = model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/bcno");
- if(rept == 6){
- }
- else{
- grd_TestInfoCnts.cellstyle("background-image", i, grd_TestInfoCnts.colRef("selchk")) = "../../../lis/commonweb/images/chkRPT0.gif";
- grd_TestInfoCnts.cellstyle("background-position", i, grd_TestInfoCnts.colRef("selchk")) = "center";
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+i+"]/selchk/@value", "false");
- }
-
- }
- }
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/testcd").getTrim() == model.getValue("/root/init/LB1301[etc01= '101']/cd")){
- if(bcno != model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/bcno")){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+(i-1)+"]/rstnm").getTrim().toString() == model.getValue("/root/main/getUsernm/usernm").getTrim().toString()){
-
- rept = messageBox(model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/bcno") + " 검체의 Serum Type 검사자와 Cell Type 검사자가 동일 합니다.", "S002", "");
- if(rept == 6){
- }
- else{
- grd_TestInfoCnts.cellstyle("background-image", i, grd_TestInfoCnts.colRef("selchk")) = "../../../lis/commonweb/images/chkRPT0.gif";
- grd_TestInfoCnts.cellstyle("background-position", i, grd_TestInfoCnts.colRef("selchk")) = "center";
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+i+"]/selchk/@value", "false");
-
- }
- }
- }
- }
- }
- }
-
-
- var isChk = false;
- //var vCmtpRstflag = model.getValue("/root/MainData/GSHMSangSe/HwanJaJeongBo/cmtprstflag"); // 소견 결과상태(검체의 최종보고여부)
-
-
- var vRetval = fCOMLIS_ResultValidation("/root/main/TestInfo/getTestInfoCnts", grd_TestInfoCnts, pRsltstat, "false");
-
- if ( vRetval == "0") {
- // 결과입력 오류가 아닌경우
- isChk = true;
- }
-
-
- return isChk;
- }
-
- // 결과저장
- function fInsRsltSave(){
-
- if(fValidation("1")){
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
-
- for(i = 1 ; i < grd_TestInfoCnts.rows ; i++){
- var choi = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+i+"]/selchk/@value");
-
- if(choi == "true"){
-
- }else{
-
- grd_TestInfoCnts.rowStatus(i) = 0;
- }
- }
- model.setvalue("/root/send/data1", grd_TestInfoCnts.getUpdateData(2));
-
- //model.setvalue("/root/hidden/refflag/bcno",model.getvalue("/root/main/TestInfo/getSpcInfo/bcno"));
- model.setvalue("/root/hidden/refflag/rsltstat","1");
- model.setvalue("/root/hidden/refflag/testlrgkind","B");
- //fMakeSendSoGyeon();
-
- model.copyNode("/root/send/data2" , "/root/hidden/refflag");
-
-
-
-
- submit("TXLBR00401",false);
- //fSetClear2();
- }else {
- return 0;
- }
-
- }
-
- // 중간보고
- function fSetMdlRept(){
- if(fValidation("2")){
- //alert("중간보고");
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
-
- for(i = 1 ; i < grd_TestInfoCnts.rows ; i++){
- var choi = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+i+"]/selchk/@value");
-
- if(choi == "true"){
-
- }else{
-
- grd_TestInfoCnts.rowStatus(i) = 0;
- }
- }
- model.setvalue("/root/send/data1", grd_TestInfoCnts.getUpdateData(2));
-
- //model.setvalue("/root/hidden/refflag/bcno",model.getvalue("/root/main/TestInfo/getSpcInfo/bcno"));
- model.setvalue("/root/hidden/refflag/rsltstat","2");
- model.setvalue("/root/hidden/refflag/testlrgkind","B");
- //fMakeSendSoGyeon();
-
- model.copyNode("/root/send/data2" , "/root/hidden/refflag");
-
-
-
- submit("TXLBR00401",false);
- //fSetClear2();
-
- }else {
- return 0;
- }
-
- //alert(model.getvalue("/root/main/TestInfo/getSpcInfo/testcont"))
- }
-
- // 최종보고
- function fSetLstRept(){
- if(fValidation("4")){
-
-
-
- if(fUpdtRslt() != 0) return;
-
-
- model.removeNodeset("/root/send/data1");
- model.makeNode("/root/send/data1");
-
- for(i = 1 ; i < grd_TestInfoCnts.rows ; i++){
- var choi = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+i+"]/selchk/@value");
-
- if(choi == "true"){
-
- }else{
-
- grd_TestInfoCnts.rowStatus(i) = 0;
- }
- }
-
-
- model.setvalue("/root/send/data1", grd_TestInfoCnts.getUpdateData(2));
-
- //model.setvalue("/root/hidden/refflag/bcno",model.getvalue("/root/main/TestInfo/getSpcInfo/bcno"));
- model.setvalue("/root/hidden/refflag/rsltstat","4");
- model.setvalue("/root/hidden/refflag/testlrgkind","B");
-
- //fMakeSendSoGyeon();
-
- model.copyNode("/root/send/data2" , "/root/hidden/refflag");
-
- //alert(model.getValue("/root/send/data1"));
- submit("TXLBR00401",false);
- //fSetClear2();
-
- }else {
- return 0;
- }
-
- }
-
- function fUpdtRslt(){
- var vPID = model.getValue("/root/main/TestInfo/getSpcInfo/pid");
- var vBcno = model.getValue("/root/main/TestInfo/getSpcInfo/bcno");
- model.setvalue("/root/hidden/DJGGParm/bcno" , vBcno);
- model.setvalue("/root/hidden/DJGGParm/userid" , model.getvalue("/root/hidden/refflag/userid"));
-
- if(vPID != "" && model.getvalue("/root/hidden/DJGGParm/uprsltYN") == "Y"){
- modal("SMLLR90600" , "","","","","/root/hidden/DJGGParm" , "/root/hidden/DJGGParm");
-
- if(model.getvalue("/root/hidden/DJGGParm/rsltsaveYN") == "Y")
- return 0;
- else
- return 1;
- }
-
- return 0;
- }
-
-
- function fOnclick_btnRef(){
- grd_TestInfoCnts.rebuildStyle();
- model.removeNodeset("/root/main/TestInfo/getTestInfoCnts");
- //grd_testlist.rebuildStyle();
-
- if(model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist") == ""){
- messageBox("검사항목을","C002","") ;
- return;
- }
-
- var sworkseq = model.getvalue("/root/hidden/searchflag/sworkseq");
- var eworkseq = model.getvalue("/root/hidden/searchflag/eworkseq");
-
- sworkseq = sworkseq.getLeftPad(4,"0");
- eworkseq = eworkseq.getLeftPad(4,"0");
-
- model.setvalue("/root/hidden/searchflag/sworkseq" , sworkseq);
- model.setvalue("/root/hidden/searchflag/eworkseq" , eworkseq);
-
-
- model.setvalue("/root/hidden/searchflag/tclscdlist" , model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist"));
- model.setvalue("/root/hidden/searchflag/tclscdlist2" , model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist2"));
-
- var rsltstat0 = model.getvalue("/root/hidden/searchflag/rsltstat0");
- var rsltstat1 = model.getvalue("/root/hidden/searchflag/rsltstat1");
- var rsltstat2 = model.getvalue("/root/hidden/searchflag/rsltstat2");
-
- if(rsltstat0 == "" && rsltstat1 == "" && rsltstat2 == ""){
- messageBox("결과구분을 하나이상","C002","");
- return;
- }
- // 결과구분 정의
-
-
- var isRstGbn0 = false; //결과미입력
- var isRstGbn1 = false; //결과입력
- var isRstGbn2 = false; //최종보고
-
- if(rsltstat0 == "1") isRstGbn0 = true;
- if(rsltstat1 == "1") isRstGbn1 = true;
- if(rsltstat2 == "1") isRstGbn2 = true;
-
- if (isRstGbn2) {
- model.setvalue("/root/hidden/searchflag/rsltstatflag" , "3");
-
- } else {
- if (isRstGbn0 && isRstGbn1) {
- model.setvalue("/root/hidden/searchflag/rsltstatflag" , "2");
- } else if (isRstGbn1) {
- model.setvalue("/root/hidden/searchflag/rsltstatflag" , "1");
- } else {
- model.setvalue("/root/hidden/searchflag/rsltstatflag" , "0");
- }
-
- }
- model.copyNode("/root/send/data1" , "/root/hidden/searchflag");
-
- submit("TRLBR00401");
- model.copyNode("/root/send/data1" , "/root/hidden/default");
-
- var HiddenYN = model.getValue("/root/init/LB0402/nm");
-
- if(HiddenYN == "Y"){
- fhiddenrow();
- }
-
- //fhiddenrow();
- fRemakeList();
- model.refresh();
- //fGrdReMake2();
-
- }
-
- //리스트조회후 그리드 변경사항
- function fRemakeList(){
- grd_TestInfoCnts.rebuildStyle(1, 1,grd_TestInfoCnts.rows,grd_TestInfoCnts.cols );
-
- for(i=1;i<grd_TestInfoCnts.rows;i++){
-
- var vTclsKind = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+i+"]/tclskind");
- var bufinptrslt = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+i+"]/bufinptrslt");
- var reptrslt = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+i+"]/reptrslt");
-
- if (vTclsKind == "2" || vTclsKind == "3"){
- grd_TestInfoCnts.cellstyle("background-image", i, grd_TestInfoCnts.colRef("selchk")) = "../../../lis/commonweb/images/chkRPT0.gif";
- grd_TestInfoCnts.cellstyle("background-position", i, grd_TestInfoCnts.colRef("selchk")) = "center";
- }
-
- //positive 를 포함한 결과 배경색 빨간색으로 표시
- var bufpositiveYN = isSearchString(bufinptrslt.toUpperCase(), "POSITIVE");
- var reptpositiveYN = isSearchString(reptrslt.toUpperCase(), "POSITIVE");
-
- if(bufpositiveYN || reptpositiveYN){
- //grd_TestInfoCnts.rowStyle(i, "data", "background-color") = "#f7a08b";
- grd_TestInfoCnts.cellStyle("color", i, grd_TestInfoCnts.colRef("bufinptrslt"), i, grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 결과값 글씨색 빨간색
- }
-
- // Cell Typing, Cell Typing (교차시험용) 일때 Negative 있으면 font 빨간색으로
- // 변경요청번호 10555 2010-01-26 박정은
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '100']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '103']/cd")){ // cell 일때
- var bufnegativeYN = isSearchString(bufinptrslt.toUpperCase(), "NEGATIVE");
- var reptnegativeYN = isSearchString(reptrslt.toUpperCase(), "NEGATIVE");
-
- if(bufnegativeYN || reptnegativeYN){
- grd_TestInfoCnts.cellStyle("color", i, grd_TestInfoCnts.colRef("bufinptrslt"), i, grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 결과값 글씨색 빨간색
- }
-
- // cell serum 혈액형 다를때 빨간색으로
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/reptrslt").replace("+","").replace(" Negative","").toUpperCase() !=
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+(i+1)+"]/reptrslt").toUpperCase() &&
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+(i+1)+"]/reptrslt") != ""){
-
- // 변경요청번호 10083 2010-01-28 박정은
- grd_TestInfoCnts.cellStyle("color", i, grd_TestInfoCnts.colRef("bufinptrslt"), i, grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 빨간색으로
- grd_TestInfoCnts.cellStyle("color", (i+1), grd_TestInfoCnts.colRef("bufinptrslt"), (i+1), grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 빨간색으로
- }
- } // 변경요청번호 10555 2010-01-26 박정은
-
- }
- }
-
- function fRstGbn_XForms_Value_Changed(pIdx) {
- // alert(pIdx);
- if (pIdx == "0") {
- // 결과미입력 클릭
- if (model.getValue("/root/hidden/searchflag/rsltstat0") == "1") {
- model.setValue("/root/hidden/searchflag/rsltstat2", "");
- }
-
- } else if (pIdx == "1") {
- // 결과입력 클릭
- if (model.getValue("/root/hidden/searchflag/rsltstat1") == "1") {
- model.setValue("/root/hidden/searchflag/rsltstat2", "");
- }
-
- } else {
- // 최종보고 클릭
- if (model.getValue("/root/hidden/searchflag/rsltstat2") == "1") {
- model.setValue("/root/hidden/searchflag/rsltstat0", "");
- model.setValue("/root/hidden/searchflag/rsltstat1", "");
- }
- }
- model.refresh();
- }
-
- function fhiddenrow(){
- var testcd;
- if(model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist").indexOf(model.getValue("/root/init/LB1301[etc01= '100']/cd")) != -1 &&
- model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist").indexOf(model.getValue("/root/init/LB1301[etc01= '101']/cd")) == -1){
- testcd = model.getValue("/root/init/LB1301[etc01= '101']/cd");
- }
- else if(model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist").indexOf(model.getValue("/root/init/LB1301[etc01= '100']/cd")) == -1 &&
- model.getvalue("/root/hidden/ref/tclscdlist/tclscdlist").indexOf(model.getValue("/root/init/LB1301[etc01= '101']/cd")) != -1){
- testcd = model.getValue("/root/init/LB1301[etc01= '100']/cd");
- }
- else{
- }
-
- var vSeq = 1;
- for(i=1; i < grd_TestInfoCnts.rows; i++){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '102']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '105']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/testcd") == testcd){
-
- grd_TestInfoCnts.rowHidden(i) = true;
- }else{
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+i+"]/num", vSeq);
- vSeq += 1;
- }
-
- }
- }
-
-
-
-
- function fGrdReMake2(){
-
- var vCdList = model.getValue("/root/hidden/ref/tclscdlist/tclscdlist2").split("▦");
- var vCdCount = vCdList.length;
-
- var vOrgrst = "";
- var curCol = 0;
-
- for (var row = 1; row < grd_testlist.rows; row++) {
- for (var col=0; col < parseInt(vCdCount); col++) {
- vOrgrst = "inptrslt" + (eval(col+1) );
-
- if (model.getValue("/root/main/testinfo/patlist["+row+"]/"+vOrgrst+"/@readonly") == "true") {
-
- curCol = eval(gStartCol+col);
- grd_TestInfoCnts.cellStyle("background-color", row, curCol, row, curCol) = "#eaeaea";
- }
- }
- }
- }
-
- function fUserNMRef(){
- if(model.getvalue("/root/hidden/refflag/userid") != ""){
- model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/refflag/userid"));
- submit("TRLZZ00104");
- }
- }
-
- function fSelectTestGrup(){
- model.makeValue("/root/send/testgrupnm", combo1.label);
- submit("TRLLF90401" ,false);
- fSetPopUpTclscdList();
- }
-
-
- function fSetPopUpTclscdList(){
- var count = getNodesetCount("/root/main/testgrupdetl")
- if(count > 0){
-
- var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
- var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
- var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
-
-
- // 검사그룹 상세 목록 없을때
- if(sendtclsnm == ""){
- model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
- model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
-
- }else{ // 검사그룹 상세 목록 있을때
- for(i=2; i<= count; i++){
- sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
- //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- }
- model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
- model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
- }
- model.refresh();
- }
- }
-
- function fCvtResultCode(row){
- var pRef = "/root/main/TestInfo/getTestInfoCnts";
- var vTestcd = model.getValue(pRef + "["+row+"]/testcd");
- var vInptRslt = model.getValue(pRef + "["+row+"]/bufinptrslt");
-
- var cdNodes = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/cd");
- var cdNodes2 = instance1.selectNodes("/root/init/LB0109[etc01='" + vTestcd + "']/nm");
- var vRstcontLower ="";
- var vRstcontUpper = "";
- for (i = 1; i <= cdNodes.length; i++) {
-
- var cd = cdNodes.item(i - 1).text;
- var nm = cdNodes2.item(i - 1).text;
-
- if(vInptRslt.toLowerCase() == cd) vRstcontLower = nm;
- if(vInptRslt.toUpperCase() == cd) vRstcontUpper = nm;
- }
-
-
- if (vRstcontLower.getTrim() != "" || vRstcontUpper.getTrim() != "" ) {
-
- var vRstcont = (vRstcontLower.getTrim() != "") ? vRstcontLower.getTrim() : vRstcontUpper.getTrim();
-
- model.setValue(pRef + "["+row+"]/bufinptrslt", vRstcont);
- model.setValue(pRef + "["+row+"]/inptrslt", vRstcont);
- }
- }
-
- function fCvtViewResult(pMatch, pMulty, pRow){
-
- var vRow = grd_TestInfoCnts.row;
- var vCol = grd_TestInfoCnts.col;
-
- var vMaxRow = grd_TestInfoCnts.rows-1;
-
- if (typeof(pMatch) == "undefined") pMatch = false;
- if (typeof(pMulty) == "undefined") pMulty = false;
- if (typeof(pRow) != "undefined") vRow = pRow;
-
- var vBufinptrslt = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/bufinptrslt");
-
- if(!pMatch){
-
-
- var colorTF = false;
- var vRsltkind = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/testrsltkind");
- var vRsltintsize = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/rsltintsize");
- var vRsltdcmlsize = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/rsltdcmlsize");
- var vRundkind = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/rundkind");
- var vNvalrsltlimyn = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/nvalrsltlimyn");
-
- var vReptrslt = fCOMLIS_CvtReptrslt(vBufinptrslt, vRsltkind, vRsltintsize, vRsltdcmlsize, vRundkind,vNvalrsltlimyn);
-
- if(vReptrslt == "err") {
- //alert("너니?");
-
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/bufinptrslt","");
- return;
- }
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/inptrslt",vBufinptrslt);
-
- //LH 판정
- var vJudgkind = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/judgkind");
- var vRefL = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/refl");
- var vRefLS = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/refls");
- var vRefH = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/refh");
- var vRefHS = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/refhs");
- var vRefLT = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/reflt");
- var vRvalflag = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/rvalflag");
-
- var vJudgLH = fCOMLIS_JudgLH(vReptrslt, vJudgkind, vRefL, vRefLS, vRefH, vRefHS, vRefLT,vRvalflag);
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/judgmark",vJudgLH);
-
- if(vJudgLH == "H"){
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("dnor") ,vRow,grd_TestInfoCnts.colRef("dnor") ) = "#f7a08b";
- }
- else if(vJudgLH == "L"){
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("dnor") ,vRow,grd_TestInfoCnts.colRef("dnor") ) = "#b9e5fb";
- }
- else{
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("dnor") ,vRow,grd_TestInfoCnts.colRef("dnor") ) = "#fffff:"
- }
-
- //panic 판정
- var vJudgGbn = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/panicflag").getTrim();
- var vRefL = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/panicminval").getTrim();
- var vRefH = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/panicmaxval").getTrim();
-
- var vJudgPanic = fCOMLIS_JudgPCA(vReptrslt, vJudgGbn, vRefL, vRefH, "P");
-
- if(vJudgPanic == "P"){
-
- grd_TestInfoCnts.cellStyle ("background-color", vRow,grd_TestInfoCnts.colRef("rstnm"),vRow,grd_TestInfoCnts.colRef("rstnm")) = "#7BE6B7";
- grd_TestInfoCnts.cellstyle ("background-color" , vRow,grd_TestInfoCnts.colRef("pid2"),vRow,grd_TestInfoCnts.colRef("pid2")) = "#7BE6B7";
- colorTF = true;
- }
- else{
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("rstnm"),vRow,grd_TestInfoCnts.colRef("rstnm")) = "#ffffff";
-
- }
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/panicmark", vJudgPanic);
- // Panic판정의 전경/배경색 변경
-
-
- // Delta판정
- var vBfResult = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/bfreptrslt").getTrim();
- var vJudgGbn = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/deltaflag").getTrim();
- var vRefH = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/deltamaxval").getTrim();
- var vDeltaday = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/deltaterm").getTrim();
- var vRstinterval = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/rstinterval").getTrim();
- var vJudgDelta = fCOMLIS_JudgDelta(vReptrslt, vBfResult, vJudgGbn, vRefH, vDeltaday, vRstinterval);
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/deltamark", vJudgDelta);
-
- if(vJudgDelta == "D"){
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("bfreptrslt"),vRow,grd_TestInfoCnts.colRef("bfreptrslt")) = "#dec6a4";
- grd_TestInfoCnts.cellstyle("background-color" , vRow,grd_TestInfoCnts.colRef("pid2")) = "#7BE6B7";
- colorTF = true;
- }
- else{
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("bfreptrslt"),vRow,grd_TestInfoCnts.colRef("bfreptrslt")) = "#ffffff";
- }
-
- // Critical판정
- var vJudgGbn = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/criticalflag").getTrim();
- var vRefL = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/criticalminval").getTrim();
- var vRefH = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/criticalmaxval").getTrim();
- var vJudgCritical = fCOMLIS_JudgPCA(vReptrslt, vJudgGbn, vRefL, vRefH, "C");
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/criticalmark", vJudgCritical);
- // Critical판정의 전경/배경색 변경
-
- if(vJudgCritical == "C"){
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("bfrstnm"),vRow,grd_TestInfoCnts.colRef("bfrstnm")) = "#ffe79d";
- grd_TestInfoCnts.cellstyle("background-color" , vRow,grd_TestInfoCnts.colRef("pid2")) = "#7BE6B7";
- colorTF = true;
- }
- else{
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("bfrstnm"),vRow,grd_TestInfoCnts.colRef("bfrstnm")) = "#ffffff";
- }
-
- // Alert판정
- var vJudgGbn = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alertflag").getTrim();
- var vRefL = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alertminval").getTrim();
- var vRefH = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alertmaxval").getTrim();
- var vJudgAlert = fCOMLIS_JudgPCA(vReptrslt, vJudgGbn, vRefL, vRefH, "A");
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alertmark", vJudgAlert)
- // Alert판정의 전경/배경색 변경
- if(vJudgAlert == "A"){
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("bflastreptdt"),vRow,grd_TestInfoCnts.colRef("bflastreptdt")) = "#fec34d";
- grd_TestInfoCnts.cellstyle("background-color" , vRow,grd_TestInfoCnts.colRef("pid2")) = "#7BE6B7";
- colorTF = true;
- }
- else{
- grd_TestInfoCnts.cellStyle ("background-color",vRow,grd_TestInfoCnts.colRef("bflastreptdt"),vRow,grd_TestInfoCnts.colRef("bflastreptdt")) = "#ffffff";
- }
-
- if(!colorTF) grd_TestInfoCnts.cellstyle("background-color" , vRow,grd_TestInfoCnts.colRef("pid2")) = "#FFFFFA";
- // 허용참고치 판정
- var vJudgGbn = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alimitflag").getTrim();
- var vRefL = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alimitminval").getTrim();
- var vRefLS = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alimitmaxval").getTrim();
- var vRefH = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alimitmaxvalsinq").getTrim();
- var vRefHS = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/alimiminvalsinq").getTrim();
- vReptrslt = fCOMLIS_JudgLimit(vReptrslt, vJudgGbn, vRefL, vRefLS, vRefH, vRefHS);
-
- // 사용자정의판정 결과변경
- var vUjudglt = new Array(3);
- vUjudglt[0] = vJudgkind;
-
- for (var i = 1; i <= 3; i++) {
- vUjudglt[i] = model.getValue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/userjudgchar" + i.toString());
- }
-
- vReptrslt = fCOMLIS_CvtUjudgRst(vBufinptrslt, vReptrslt, vJudgLH, vUjudglt);
-
-
- model.setvalue ("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/reptrslt",vReptrslt);
-
- var tclskind = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/tclskind");
-
- if(tclskind == "2"){
-
- if(model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/selchk/@value") == "false" ||
- model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/selchk@value") == "true" ){
- if(model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/reptrslt") != ""){
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/selchk/@value", "true");
- grd_TestInfoCnts.cellstyle("background-image", vRow, grd_TestInfoCnts.colRef("selchk")) = "../../../lis/commonweb/images/chkRPT1.gif";
- grd_TestInfoCnts.cellstyle("background-position",vRow, grd_TestInfoCnts.colRef("selchk")) = "center";
- }
- }
- }
- else if(tclskind=="3" || tclskind=="4" || tclskind=="5"){
- var parentidx = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/parentidx");
-
- if(model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/reptrslt") != ""){
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+parentidx+"]/selchk/@value", "true");
- grd_TestInfoCnts.cellstyle("background-image", parentidx, grd_TestInfoCnts.colRef("selchk")) = "../../../lis/commonweb/images/chkRPT1.gif";
- grd_TestInfoCnts.cellstyle("background-position", parentidx, grd_TestInfoCnts.colRef("selchk")) = "center";
- }
- }
-
- }
-
- if (pMulty) {
- //alert("유?");
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/bufinptrslt", "");
-
- } else {
-
- var vMoveRow = "";
- if(vMaxRow == parseInt(vRow))
- vMoveRow = parseInt(vRow);
- else
- vMoveRow = parseInt(vRow) + 1;
- if( vMaxRow >= vMoveRow ) {
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+vMoveRow+"]/bufinptrslt/@readonly") == "true" ) {
- vMoveRow += 1;
- }
- } else {
- vMoveRow -= 1;
- }
-
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/bufinptrslt", "");
- if(vMoveRow >grd_TestInfoCnts.rows- 1) vMoveRow = grd_TestInfoCnts.rows- 1;
-
- grd_TestInfoCnts.row = vMoveRow;
- grd_TestInfoCnts.col = grd_TestInfoCnts.colRef("bufinptrslt");
- //alert(vMoveRow);
- //alert(vMaxRow);
- //alert(model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/inptrslt"));
- //alert(model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/bufinptrslt"));
- //model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vMoveRow+"]/bufinptrslt",
- // model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vMoveRow+"]/inptrslt"));
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/bufinptrslt",
- model.getvalue("/root/main/TestInfo/getTestInfoCnts["+vRow+"]/inptrslt"));
-
- }
- }
-
- function fBlodTypeClick(blodtype){
- var row = grd_TestInfoCnts.row;
- var retrunValue = "Y";
-
- //Rh 검사코드 row 찾기
- var findRowNum = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '102']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
- if(findRowNum < 1){ // 교차시험결과 수정할때 에러안나게
- findRowNum = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '105']/cd"), 1, grd_TestInfoCnts.colRef("testcd"), true, true);
- }
-
-
- //2011.5.6. ljo 추가
- var findRowNumA = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '106']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
- if(findRowNumA < 1) {
- findRowNumA = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '106']/cd"), 1, grd_TestInfoCnts.colRef("testcd"), true, true);
- }
-
- //2011.5.8. ljo 추가 blodtype 추가
- var findRowNumB = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '101']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
- if(findRowNumB < 1) {
- findRowNumB = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '101']/cd"), 1, grd_TestInfoCnts.colRef("testcd"), true, true);
- }
- //2011.5.8. ljo 추가 blodtype 추가
- var findRowNumC = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '104']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
- if(findRowNumC < 1) {
- findRowNumC = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '104']/cd"), 1, grd_TestInfoCnts.colRef("testcd"), true, true);
-
- }
-
-
-
- grd_TestInfoCnts.cellStyle("color", row, grd_TestInfoCnts.colRef("bufinptrslt"), row, grd_TestInfoCnts.colRef("reptrslt")) = "#000000"; // 결과값 글씨색 검정색
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '101']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '104']/cd")){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" , blodtype);
- //alert("1 " + model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd"));
-
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
- fCompareCellAnti(2, row);
- fBlodTypeIns();
- }
- grd_TestInfoCnts.row= row;
-
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+grd_TestInfoCnts.row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '100']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+grd_TestInfoCnts.row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '103']/cd")){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+grd_TestInfoCnts.row+"]/bufinptrslt" , blodtype + "+");
-
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fCompareCellAnti(1, row);
- fBlodTypeIns();
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+grd_TestInfoCnts.row+"]/bufinptrslt","");
-
- //var rr = grd_TestInfoCnts.row+1;
- grd_TestInfoCnts.row = findRowNum;
-
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+ findRowNum +"]/bufinptrslt" , "+");
- //이재오 수정
- //model.refresh();
- fBlodTypeIns();
-
- //2011.5.6. ljo 추가
- if(findRowNumA > 0) {
- //grd_TestInfoCnts.row = row + 3 ;
- grd_TestInfoCnts.row = findRowNumA;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+findRowNumA+"]/bufinptrslt", "Negative");
- //alert("test 0" + blodtype );
- }
-
- //이재오 막다.
- //model.refresh();
-
- fBlodTypeIns();
-
- //2011.5.12. ljo 추가 , blodtype 추가
- if(findRowNumB > 0) {
- grd_TestInfoCnts.row = findRowNumB;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+findRowNumB+"]/bufinptrslt", blodtype);
- //alert("test 1" + blodtype );
- }
- fBlodTypeIns();
- //2011.5.12. ljo 추가
- //2011.5.12. ljo 추가 , blodtype 추가
- if(findRowNumC > 0) {
- grd_TestInfoCnts.row = findRowNumC;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+findRowNumC+"]/bufinptrslt", blodtype);
- //alert("test 2" + blodtype );
- }
- fBlodTypeIns();
- //2011.5.12. ljo 추가
- }
- grd_TestInfoCnts.row= row;
- grd_TestInfoCnts.col = grd_TestInfoCnts.colRef("bufinptrslt");
- grd_TestInfoCntsClick();
- //이재오
- var nextRow = row;
- do{
- //nextRow = nextRow+1; 이재오 막다.
- nextRow = nextRow+ 1;
-
- }while(grd_TestInfoCnts.rowHidden(nextRow) == true)
- grd_TestInfoCnts.row = nextRow;
- }
-
- function fBlodTypeIns(){
-
- var row = grd_TestInfoCnts.row;
- var vBufInptRslt = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt");
- var InptRslt = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/inptrslt");
-
- if(vBufInptRslt == "" && InptRslt==""){
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/inptrslt",vBufInptRslt);
- return;
- }
- else{
- if(vBufInptRslt == InptRslt){
-
- fCvtViewResult(true);
- return;
- }
- }
-
- fCvtResultCode(row);
- //alert(model.getvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt"));
- fCvtViewResult();
- //alert(model.getvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt"));
- }
-
- function fGridKeyEvent(){
-
- var row = grd_TestInfoCnts.row;
- var col = grd_TestInfoCnts.col;
- if(col == 7){
- if(event.keyCode == "13"){
-
- //model.setvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt",grd_TestInfoCnts.input.text);
- //model.refresh();
-
- var vBufInptRslt = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt");
- var InptRslt = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/inptrslt");
- if(vBufInptRslt == "" && InptRslt==""){
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/inptrslt",vBufInptRslt);
- return;
- }
- else{
- if(vBufInptRslt == InptRslt){
-
- fCvtViewResult(true);
- return;
-
- }
-
- }
-
-
- fCvtResultCode(row);
- fCvtViewResult();
- }
- }
-
- }
-
-
- function fBlodNegative(){
- var row = grd_TestInfoCnts.row;
- var retrunValue = "Y";
- //Rh 검사코드 row 찾기
- var findRowNum = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '102']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
- grd_TestInfoCnts.cellStyle("color", row, grd_TestInfoCnts.colRef("bufinptrslt"), row, grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 결과값 글씨색 빨간색
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '100']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '103']/cd")){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" ,
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").replace("+","") + " Negative");
-
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+grd_TestInfoCnts.row+"]/bufinptrslt","");
-
- //var rr = grd_TestInfoCnts.row+1;
- grd_TestInfoCnts.row = findRowNum;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+ findRowNum +"]/bufinptrslt" , "-");
- model.refresh();
-
- fBlodTypeIns();
- }
- grd_TestInfoCnts.row= row;
- grd_TestInfoCnts.col = grd_TestInfoCnts.colRef("bufinptrslt");
- grd_TestInfoCntsClick();
-
- }
-
- function fBlodWeakD(){
- var row = grd_TestInfoCnts.row;
- var retrunValue = "Y";
- //Rh 검사코드 row 찾기
- var findRowNum = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '102']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
-
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '100']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '103']/cd")){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" ,
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").replace("+","") + " Weak D");
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+grd_TestInfoCnts.row+"]/bufinptrslt","");
-
- //var rr = grd_TestInfoCnts.row+1;
- grd_TestInfoCnts.row = findRowNum;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+ findRowNum +"]/bufinptrslt" , "Weak D");
- model.refresh();
-
- fBlodTypeIns();
- }
- grd_TestInfoCnts.row= row;
- grd_TestInfoCnts.col = grd_TestInfoCnts.colRef("bufinptrslt");
- grd_TestInfoCntsClick();
-
- }
-
-
- function fcellclick(celltype) {
- var row = grd_TestInfoCnts.row;
- var retrunValue = "Y";
-
- //Rh 검사코드 row 찾기
- var findRowNum = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '102']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
-
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '101']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '104']/cd")){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").indexOf("Cell") != -1){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" ,
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt") + " " + celltype);
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
-
- //var rr = grd_TestInfoCnts.row;
- grd_TestInfoCnts.row = findRowNum;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+ findRowNum +"]/bufinptrslt" , "+");
- model.refresh();
-
- fBlodTypeIns();
- }else{
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" , celltype);
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
-
- //var rr = grd_TestInfoCnts.row;
- grd_TestInfoCnts.row = findRowNum;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+ findRowNum +"]/bufinptrslt" , "+");
- model.refresh();
-
- fBlodTypeIns();
- }
- }
- grd_TestInfoCnts.row= row;
- grd_TestInfoCnts.col = grd_TestInfoCnts.colRef("bufinptrslt");
- grd_TestInfoCntsClick();
- }
-
- function fAnticlick(Antitype) {
- var row = grd_TestInfoCnts.row;
- var retrunValue = "Y";
-
- //Rh 검사코드 row 찾기
- var findRowNum = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '102']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
-
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '100']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '103']/cd")){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").indexOf("Anti") != -1){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" ,
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt") + " " + Antitype);
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
-
- //var rr = grd_TestInfoCnts.row+1;
- grd_TestInfoCnts.row = findRowNum;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+ findRowNum +"]/bufinptrslt" , "+");
- model.refresh();
-
- fBlodTypeIns();
- }else{
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" , Antitype);
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
-
- //var rr = grd_TestInfoCnts.row+1;
- grd_TestInfoCnts.row = findRowNum;
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+ findRowNum +"]/bufinptrslt" , "+");
- model.refresh();
-
- fBlodTypeIns();
- }
- }
- grd_TestInfoCnts.row= row;
- grd_TestInfoCnts.col = grd_TestInfoCnts.colRef("bufinptrslt");
- grd_TestInfoCntsClick();
- }
-
- function fpuls(mark) {
- var row = grd_TestInfoCnts.row;
- var retrunValue = "Y";
-
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '100']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '101']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '103']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '104']/cd")){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").indexOf("Anti") != -1 ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").indexOf("Cell") != -1){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" ,
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt") + mark);
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
- }
- }
- grd_TestInfoCnts.row= row;
-
-
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").indexOf("tive") != -1){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" ,
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt") + mark);
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
- }
-
- grd_TestInfoCnts.row= row;
- grd_TestInfoCnts.col = grd_TestInfoCnts.colRef("bufinptrslt");
- grd_TestInfoCntsClick();
- }
-
- function fCompareOldData(row){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bfreptrslt") != ""){
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bfreptrslt").toUpperCase() !=
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").toUpperCase()){
-
- //이전결과와 다른 경우에 생성되는 팝업창에 [Y] 와 [N]를 추가하여 [Y]를 선택하면 결과가 입력되고 [N]를 선택하면 결과가 입력되지 않게 하여 주십시오
- //변경요청사항 - 요청번호 2302 2009.09.22 김성희 수정
- var msgRsltValue = messageBox("입력한 결과는 이전결과와 다름니다.","Q002"); //메세지에서 선택한 값. - 저장 하시겠습니까 ? 예-6, 아니오-7
-
- //예
- if(msgRsltValue == "6"){
- return "Y";
- //아니오
- }else if(msgRsltValue == "7"){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/inptrslt", "");
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt", "");
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/reptrslt", "");
- return "N";
- }
- }
- }
- }
-
- function fCompareCellAnti(type, row){
- var tclscd = model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/tclscd");
-
- if(tclscd != "LBR002" && type == 1 && model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").replace("+","").replace(" Negative","").toUpperCase() !=
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+(row+1)+"]/reptrslt").toUpperCase() &&
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+(row+1)+"]/reptrslt") != ""){
-
- //alert("Serum Type 과 Cell Type 이 다름니다.");
- //alert("저장하시겠습니까?");
- // 변경요청번호 10083 2010-01-28 박정은
- grd_TestInfoCnts.cellStyle("color", row, grd_TestInfoCnts.colRef("bufinptrslt"), row, grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 빨간색으로
- grd_TestInfoCnts.cellStyle("color", (row+1), grd_TestInfoCnts.colRef("bufinptrslt"), (row+1), grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 빨간색으로
-
- var msgRsltValue = messageBox("Serum Type 과 Cell Type 이 다름니다.","Q002"); //메세지에서 선택한 값. - 저장 하시겠습니까 ? 예-6, 아니오-7
-
- if(msgRsltValue == "6"){ //예
-
- return "Y";
-
- }else if(msgRsltValue == "7"){ //아니오
-
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/inptrslt", "");
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt", "");
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/reptrslt", "");
-
- return "N";
- }
- }else{
-
- grd_TestInfoCnts.cellStyle("color", row, grd_TestInfoCnts.colRef("bufinptrslt"), row, grd_TestInfoCnts.colRef("reptrslt")) = "#000000"; // 빨간색으로
- grd_TestInfoCnts.cellStyle("color", (row+1), grd_TestInfoCnts.colRef("bufinptrslt"), (row+1), grd_TestInfoCnts.colRef("reptrslt")) = "#000000"; // 빨간색으로
- }
- /*alert(model.getXPathValue("position(/root/main/TestInfo/getTestInfoCnts[tclscd = 'LBR101' and bcno = 'I23R90040'])"));
- alert(model.getXPathValue("row(/root/main/TestInfo/getTestInfoCnts[testcd = 'LBR100'])"));
- alert(model.getXPathValue("position(/root/main/TestInfo/getTestInfoCnts[testcd = 'LBR101' and bcno = 'I23R90040'])"));
- alert(model.getXPathValue("position(/root/main/TestInfo/getTestInfoCnts[testcd = 'LBR102' and bcno = 'I23R90040'])"));*/
-
- if(type == 2 && model.getValue("/root/main/TestInfo/getTestInfoCnts["+(row-1)+"]/reptrslt").replace("+","").replace(" Negative","").toUpperCase() !=
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt").toUpperCase() &&
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+(row-1)+"]/reptrslt") != ""){
-
- //alert("Serum Type 과 Cell Type 이 다름니다.");
- //alert("저장하시겠습니까?");
- // 변경요청번호 10083 2010-01-28 박정은
-
- grd_TestInfoCnts.cellStyle("color", row, grd_TestInfoCnts.colRef("bufinptrslt"), row, grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 빨간색으로
- grd_TestInfoCnts.cellStyle("color", (row-1), grd_TestInfoCnts.colRef("bufinptrslt"), (row-1), grd_TestInfoCnts.colRef("reptrslt")) = "#EE0000"; // 빨간색으로
-
- var msgRsltValue = messageBox("Serum Type 과 Cell Type 이 다름니다.","Q002"); //메세지에서 선택한 값. - 저장 하시겠습니까 ? 예-6, 아니오-7
-
- if(msgRsltValue == "6"){ //예
-
- return "Y";
-
- }else if(msgRsltValue == "7"){ //아니오
-
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/inptrslt", "");
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt", "");
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/reptrslt", "");
-
- return "N";
-
- }
- }else{
-
- grd_TestInfoCnts.cellStyle("color", row, grd_TestInfoCnts.colRef("bufinptrslt"), row, grd_TestInfoCnts.colRef("reptrslt")) = "#000000"; // 빨간색으로
- grd_TestInfoCnts.cellStyle("color", (row-1), grd_TestInfoCnts.colRef("bufinptrslt"), (row-1), grd_TestInfoCnts.colRef("reptrslt")) = "#000000"; // 빨간색으로
-
- }
- }
-
- function fposneg(blodtype){
- var row = grd_TestInfoCnts.row;
- var retrunValue = "Y";
-
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") != model.getValue("/root/init/LB1301[etc01= '100']/cd") &&
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") != model.getValue("/root/init/LB1301[etc01= '101']/cd")){
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" , blodtype);
-
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
- }
- grd_TestInfoCnts.row= row;
- var nextRow = row;
- do{
- nextRow = nextRow+1;
- }while(grd_TestInfoCnts.rowHidden(nextRow) == true)
- grd_TestInfoCnts.row = nextRow;
- }
-
-
- function grd_TestInfoCntsClick(){
- var row = grd_TestInfoCnts.row;
- var col = grd_TestInfoCnts.col;
-
- //Rh 검사코드 row 찾기
- var findRowRH = grd_TestInfoCnts.findRow(model.getValue("/root/init/LB1301[etc01= '102']/cd"), row, grd_TestInfoCnts.colRef("testcd"), true, true);
-
- if(row < 1) return;
- if(grd_TestInfoCnts.isCell(event.target) && grd_TestInfoCnts.row >= grd_TestInfoCnts.fixedRows ){
- if(col == grd_TestInfoCnts.colRef("selchk")){
- var vSelValue = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/selchk/@value");
- if(vSelValue == "") return;
- vSelValue = (vSelValue=="true") ? "false": "true";
-
- grd_TestInfoCnts.cellstyle("background-image", row, grd_TestInfoCnts.colRef("selchk")) = "../../../lis/commonweb/images/chkRPT" + ((vSelValue=="true") ? "1": "0") + ".gif";
- grd_TestInfoCnts.cellstyle("background-position", row, grd_TestInfoCnts.colRef("selchk")) = "center";
-
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/selchk/@value",vSelValue);
-
- //RH 체크하기
- if(model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '100']/cd") ||
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/testcd") == model.getValue("/root/init/LB1301[etc01= '103']/cd")){
- //model.setvalue("/root/main/TestInfo/getTestInfoCnts["+(row+2)+"]/selchk/@value",vSelValue);
- var vSelValue = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+row+"]/selchk/@value");
- model.setvalue("/root/main/TestInfo/getTestInfoCnts["+findRowRH+"]/selchk/@value",vSelValue); //cell typing 이 체크되면 rh도 체크
- }
- }
- }
- }
-
- function fmom(mom){
- var row = grd_TestInfoCnts.row;
- var retrunValue = "Y";
-
- model.setValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt" ,
- model.getValue("/root/main/TestInfo/getTestInfoCnts["+row+"]/bufinptrslt") + mom);
-
- retrunValue = fCompareOldData(row);
-
- if(retrunValue == "N"){
- return;
- }
-
- fBlodTypeIns();
-
- grd_TestInfoCnts.row= row;
-
- }
-
-
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter4" visibility="hidden" style="left:854px; top:3px; width:80px; height:22px; ">
- <caption>결과저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- i = fInsRsltSave();
-
- if(i != 0) {
- fOnclick_btnRef();
- }
- ]]>
- </script>
- </button>
- <button id="btn_mdlrept" class="btn4_letter4" style="left:962px; top:3px; width:80px; height:22px; ">
- <caption>예비결과</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- i = fSetMdlRept();
-
- if(i != 0) {
- fOnclick_btnRef();
- }
- ]]>
- </script>
- </button>
- <button id="btn_lstrept" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>최종보고</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- i = fSetLstRept();
-
- if(i != 0) {
- fOnclick_btnRef();
- }
- ]]>
- </script>
- </button>
- <button id="btn_cle" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetInit(1);
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption17" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">혈액은행 검사항목별결과관리</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:95px; x2:990px; y2:95px; "/>
- <caption id="caption6" class="tit_2" style="left:5px; top:80px; width:134px; height:14px; ">검사항목내역</caption>
- <button id="button20" class="btn2_letter2" style="left:945px; top:75px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //addData();
- //datagrid1.saveExcel();
- var fileName = window.fileDialog("save", ",", false, "검사항목별결과관리", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_TestInfoCnts.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <group id="group5" style="left:0px; top:10px; width:1195px; height:60px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:60px; "/>
- <button id="button21" class="btn1_letter2" style="left:1123px; top:31px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOnclick_btnRef();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1078px; y1:31px; x2:1078px; y2:53px; "/>
- <select id="checkbox4" ref="/root/hidden/searchflag/rsltstat0" class="checkbox_search" overflow="visible" appearance="full" cols="3" style="left:108px; top:36px; width:81px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>결과미입력</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRstGbn_XForms_Value_Changed("0");
- ]]>
- </script>
- </select>
- <caption id="caption10" class="search_name" style="left:364px; top:9px; width:90px; height:17px; ">작업일자 :</caption>
- <caption id="caption11" class="search_no_b" style="left:542px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption12" class="search_name" style="left:653px; top:9px; width:90px; height:17px; ">작업번호 :</caption>
- <input id="input5" ref="/root/hidden/searchflag/startdd" class="input_search" inputtype="date" style="left:454px; top:8px; width:85px; height:19px; "/>
- <caption id="caption13" class="search_no_b" style="left:818px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="input6" ref="/root/hidden/searchflag/enddd" class="input_search" inputtype="date" style="left:558px; top:8px; width:85px; height:19px; "/>
- <caption id="caption14" class="search_name" style="left:15px; top:34px; width:90px; height:17px; ">결과구분 :</caption>
- <input id="input7" ref="/root/hidden/searchflag/sworkseq" class="input_search" style="left:741px; top:8px; width:70px; height:19px; "/>
- <input id="input8" ref="/root/hidden/searchflag/eworkseq" class="input_search" style="left:836px; top:8px; width:70px; height:19px; "/>
- <caption id="caption15" class="search_name" style="left:364px; top:34px; width:90px; height:17px; ">검사항목 :</caption>
- <button id="button22" class="icon_search" style="left:1016px; top:32px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
-
- ]]>
- </script>
- </button>
- <input id="input9" ref="/root/hidden/ref/tclscdlist/tclsnmlist" class="input_search" style="left:575px; top:33px; width:434px; height:19px; "/>
- <select id="checkbox5" ref="/root/hidden/searchflag/rsltstat1" class="checkbox_search" overflow="visible" appearance="full" cols="3" style="left:190px; top:36px; width:69px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>결과입력</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRstGbn_XForms_Value_Changed("1");
- ]]>
- </script>
- </select>
- <select id="checkbox6" ref="/root/hidden/searchflag/rsltstat2" class="checkbox_search" overflow="visible" appearance="full" cols="3" style="left:259px; top:36px; width:86px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>최종보고</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRstGbn_XForms_Value_Changed("2");
- ]]>
- </script>
- </select>
- <select1 id="combo1" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:454px; top:33px; width:118px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0103">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSelectTestGrup();
- ]]>
- </script>
- </select1>
- <input id="ipt_testpsn" ref="/root/hidden/refflag/userid" class="input_essential" style="left:1018px; top:7px; width:76px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13"){
- model.setvalue("/root/hidden/refflag/userid", ipt_testpsn.currentText);
- model.refresh();
- fUserNMRef();
- ipt_testpsn.selBegin = 0;
- ipt_testpsn.selEnd = ipt_testpsn.currentText.length;
- }
- ]]>
- </script>
- </input>
- <output id="output1" ref="/root/main/getUsernm/usernm" class="output_fix" style="left:1096px; top:7px; width:82px; height:19px; "/>
- <caption id="caption16" class="tit_2" style="left:938px; top:10px; width:66px; height:13px; ">검사자 :</caption>
- <caption id="caption18" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">등록번호 :</caption>
- <input id="input11" ref="/root/hidden/searchflag/searchtext" class="input_button" navindex="1" inputtype="button" style="left:213px; top:8px; width:137px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fOnclick_btnRef();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13"){
- model.setvalue("/root/hidden/searchflag/searchtext", input11.currentText);
- model.refresh();
- fOnclick_btnRef();
- }
- ]]>
- </script>
- </input>
- <select1 id="combo3" ref="/root/hidden/searchflag/searchtype" class="combo_search" appearance="minimal" style="left:109px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>환자명</label>
- <value>1</value>
- </item>
- <item>
- <label>등록번호</label>
- <value>2</value>
- </item>
- <item>
- <label>바코드번호</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- </group>
- <button id="button23" class="btn2_letter6" visibility="hidden" style="left:1097px; top:488px; width:86px; height:19px; ">
- <caption>B - Cell</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fcellclick("B-Cell");
- ]]>
- </script>
- </button>
- <button id="button24" class="btn2_letter2" visibility="hidden" style="left:1052px; top:395px; width:42px; height:19px; ">
- <caption>B</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodTypeClick("B");
- ]]>
- </script>
- </button>
- <button id="button25" class="btn2_letter6" visibility="hidden" style="left:1097px; top:511px; width:86px; height:19px; ">
- <caption>Negative</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fposneg("Negative");
- ]]>
- </script>
- </button>
- <shape id="roundrect4" class="roundrect_btnset" appearance="roundrect" style="left:1000px; top:100px; width:190px; height:438px; "/>
- <button id="button26" class="btn2_letter2" visibility="hidden" style="left:1097px; top:395px; width:42px; height:19px; ">
- <caption>O</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodTypeClick("O");
- ]]>
- </script>
- </button>
- <button id="button27" class="btn2_letter6" visibility="hidden" style="left:1007px; top:511px; width:86px; height:19px; ">
- <caption>Positive</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fposneg("Positive");
- ]]>
- </script>
- </button>
- <button id="button28" class="btn2_letter2" visibility="hidden" style="left:1142px; top:395px; width:42px; height:19px; ">
- <caption>AB</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodTypeClick("AB");
- ]]>
- </script>
- </button>
- <button id="button29" class="btn2_letter2" visibility="hidden" style="left:1142px; top:370px; width:42px; height:19px; ">
- <caption>-</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodNegative();
- ]]>
- </script>
- </button>
- <button id="button30" class="btn2_letter6" visibility="hidden" style="left:1007px; top:419px; width:86px; height:19px; ">
- <caption>Anti - A</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fAnticlick("Anti-A");
- ]]>
- </script>
- </button>
- <button id="button31" class="btn2_letter6" visibility="hidden" style="left:1097px; top:419px; width:86px; height:19px; ">
- <caption>Anti - B</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fAnticlick("Anti-B");
- ]]>
- </script>
- </button>
- <button id="button32" class="btn2_letter2" visibility="hidden" style="left:1052px; top:442px; width:42px; height:19px; ">
- <caption>±</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (±)");
- ]]>
- </script>
- </button>
- <button id="button33" class="btn2_letter2" visibility="hidden" style="left:1007px; top:442px; width:42px; height:19px; ">
- <caption>-</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (-)");
- ]]>
- </script>
- </button>
- <button id="button34" class="btn2_letter2" visibility="hidden" style="left:1052px; top:465px; width:42px; height:19px; ">
- <caption>++</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (2+)");
- ]]>
- </script>
- </button>
- <button id="button35" class="btn2_letter2" visibility="hidden" style="left:1097px; top:465px; width:42px; height:19px; ">
- <caption>+++</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (3+)");
- ]]>
- </script>
- </button>
- <button id="button36" class="btn2_letter2" visibility="hidden" style="left:1007px; top:395px; width:42px; height:19px; ">
- <caption>A</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodTypeClick("A");
- ]]>
- </script>
- </button>
- <button id="button37" class="btn2_letter2" visibility="hidden" style="left:1142px; top:465px; width:42px; height:19px; ">
- <caption>++++</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (4+)");
- ]]>
- </script>
- </button>
- <button id="button38" class="btn2_letter2" visibility="hidden" style="left:1007px; top:465px; width:42px; height:19px; ">
- <caption>+</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (1+)");
- ]]>
- </script>
- </button>
- <button id="button39" class="btn2_letter6" visibility="hidden" style="left:1007px; top:488px; width:86px; height:19px; ">
- <caption>A - Cell</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fcellclick("A-Cell");
- ]]>
- </script>
- </button>
- <datagrid id="grd_TestInfoCnts" nodeset="/root/main/TestInfo/getTestInfoCnts" class="datagrid2" backcoloralternate="transparent" caption="Seq^^작업번호^바코드번호^등록번호^성명^검사항목명^결과^결과^공여자^검사자^이전결과^이전검사자^이전결과일시^전문의^확인일시^Comment" colsep="▦" colwidth="30, 23, 120, 90, 80, 70, 180, 80, 80, 80, 80, 80, 80, 125, 80, 125, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" fixedcols="2" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="▩" selectionmode="free" tooltip="true" style="left:0px; top:100px; width:990px; height:615px; ">
- <col ref="num" type="output" style="text-align:right; "/>
- <col ref="selchk" type="output" style="background-image:../../../lis/commonweb/images/chkRPT0.gif; background-position:center; "/>
- <col ref="workno2" type="output"/>
- <col ref="bcno2" type="output"/>
- <col ref="pid2" type="output"/>
- <col ref="patnm2" type="output"/>
- <col ref="testnm" type="output"/>
- <col ref="bufinptrslt" type="input"/>
- <col ref="reptrslt" type="output"/>
- <col ref="dnor" type="output"/>
- <col ref="rstnm" type="output"/>
- <col ref="bfreptrslt" type="output"/>
- <col ref="bfrstnm" type="output"/>
- <col ref="bflastreptdt" type="output" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="medispclnm" type="output"/>
- <col ref="medispcldt" type="output" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="testcmt" type="output"/>
- <col ref="workno" visibility="hidden"/>
- <col ref="bcno" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="patnm" visibility="hidden"/>
- <col ref="testcd" visibility="hidden"/>
- <col ref="inptrslt" visibility="hidden"/>
- <col ref="rsltseq" visibility="hidden"/>
- <col ref="tclskind" visibility="hidden"/>
- <col ref="testlrgkind" visibility="hidden"/>
- <col ref="spccd" visibility="hidden"/>
- <col ref="inptrslt" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_TestInfoCntsClick();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fGridKeyEvent();
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn2_letter2" visibility="hidden" style="left:1142px; top:442px; width:42px; height:19px; ">
- <caption>Mom</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fmom(" (Mom)");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter6" visibility="hidden" style="left:1007px; top:370px; width:86px; height:19px; ">
- <caption>Weak D</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodWeakD();
- ]]>
- </script>
- </button>
- <button id="button3" style="left:1008px; top:290px; width:86px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis2.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>Positive</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fposneg("Positive");
- ]]>
- </script>
- </button>
- <button id="button4" style="left:1008px; top:170px; width:86px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>Anti - A</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fAnticlick("Anti-A");
- ]]>
- </script>
- </button>
- <button id="button5" style="left:1096px; top:290px; width:86px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>Negative</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fposneg("Negative");
- ]]>
- </script>
- </button>
- <button id="button6" style="left:1096px; top:170px; width:86px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>Anti - B</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fAnticlick("Anti-B");
- ]]>
- </script>
- </button>
- <button id="button7" style="left:1008px; top:110px; width:86px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>Weak D</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodWeakD();
- ]]>
- </script>
- </button>
- <button id="button8" style="left:1052px; top:200px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>±</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (±)");
- ]]>
- </script>
- </button>
- <button id="button9" style="left:1008px; top:200px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>-</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (-)");
- ]]>
- </script>
- </button>
- <button id="button40" style="left:1140px; top:110px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>-</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodNegative();
- ]]>
- </script>
- </button>
- <button id="button10" style="left:1008px; top:260px; width:86px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>A - Cell</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fcellclick("A-Cell");
- ]]>
- </script>
- </button>
- <button id="button11" style="left:1140px; top:200px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>Mom</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fmom(" (Mom)");
- ]]>
- </script>
- </button>
- <button id="button12" style="left:1052px; top:230px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>++</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (2+)");
- ]]>
- </script>
- </button>
- <button id="button13" style="left:1008px; top:230px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>+</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (1+)");
- ]]>
- </script>
- </button>
- <button id="button14" style="left:1052px; top:140px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>B</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodTypeClick("B");
- ]]>
- </script>
- </button>
- <button id="button15" style="left:1096px; top:230px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>+++</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (3+)");
- ]]>
- </script>
- </button>
- <button id="button16" style="left:1008px; top:140px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>A</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodTypeClick("A");
- ]]>
- </script>
- </button>
- <button id="button17" style="left:1140px; top:230px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>++++</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fpuls(" (4+)");
- ]]>
- </script>
- </button>
- <button id="button18" style="left:1096px; top:140px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>O</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodTypeClick("O");
- ]]>
- </script>
- </button>
- <button id="button19" style="left:1096px; top:260px; width:86px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>B - Cell</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fcellclick("B-Cell");
- ]]>
- </script>
- </button>
- <button id="button41" style="left:1140px; top:140px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>AB</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fBlodTypeClick("AB");
- ]]>
- </script>
- </button>
- </group>
- <group id="Group_idChk" style="left:466px; top:240px; width:280px; height:165px; background-color:#ff99cc; border-color:#5abaff; border-width:1px; border-style:solid; ">
- <caption id="caption9" style="left:19px; top:19px; width:242px; height:70px; font-size:18pt; font-weight:bold; ">검사자를 입력하세요</caption>
- <textarea id="ID_txt" overflow="hidden" style="left:34px; top:89px; width:195px; height:55px; font-size:22pt; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- var I_txt = ID_txt.currentText;
-
- model.setValue("/root/hidden/refflag/userid",I_txt);
- model.setValue("/root/hidden/refflag/userid", model.getvalue("/root/hidden/refflag/userid").replace("\n", ""));
-
- model.refresh();
- fUserNMRef();
-
- if(model.getValue("/root/main/getUsernm/usernm") == ""){
- }else{
- Group_idChk.visible = false;
- group4.disabled = false;
- }
-
- }
- ]]>
- </script>
- </textarea>
- <button id="button44" style="left:232px; top:119px; width:42px; height:25px; font-size:8pt; font-weight:bold; color:#003399; text-align:center; background-image:../../../lis\commonweb\images\btn_lis.gif; background-repeat:no-repeat; background-stretch:stretch; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- Group_idChk.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|