1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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 xmlns="">
- <main>
- <prmsprcpsetinfo>
- <prmsprcpsetlist>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <setkindcd/>
- <settrgtcd/>
- <setnm/>
- </prmsprcpsetlist>
- </prmsprcpsetinfo>
- <prmsprcppdsetinfo>
- <prmsprcpsetlist>
- <setkindnm/>
- <setnm/>
- <testcdnm/>
- <setkindcd/>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <settrgtcd/>
- </prmsprcpsetlist>
- </prmsprcppdsetinfo>
- <rsltlist>
- <row/>
- <hearder/>
- </rsltlist>
- <ordlist1>
- <maindailylist>
- <check/>
- <lastreptdd/>
- <prcpdd1/>
- <examnm/>
- <spcnm/>
- <statnm/>
- <prcpgenrflag/>
- <drnm/>
- <examgubun/>
- <lastreptdd1/>
- <prcpdd/>
- <bcno/>
- <testmdlcd/>
- <execprcpuniqno/>
- <pid/>
- <signno/>
- <formcd/>
- </maindailylist>
- </ordlist1>
- <ordlist5>
- <mainseriouslist>
- <examnm/>
- <testmdlcd/>
- <examgubun/>
- </mainseriouslist>
- </ordlist5>
- <ordlist2>
- <mainserious>
- <check/>
- <prcpdd/>
- <drnm/>
- <prcpgenrflag/>
- <statnm/>
- <execprcpuniqno/>
- <pid/>
- </mainserious>
- </ordlist2>
- <ordlist3>
- <mainset/>
- </ordlist3>
- <ordlist4>
- <mainprogress>
- <prcpgenrflag/>
- <prcpdt/>
- <biznm/>
- <prcpnm/>
- <spcnm/>
- <drugmthdspccd/>
- <prcpstatnm/>
- <orddrnm/>
- <rsrvdt/>
- <bcolldt/>
- <acptdt/>
- <execdt/>
- <reptdt/>
- <prcpcd/>
- </mainprogress>
- </ordlist4>
- <ordlist6>
- <maindistinctdailylist>
- <prcpdd/>
- <refname/>
- </maindistinctdailylist>
- </ordlist6>
- <subordlist1>
- <subresultdetail1>
- <check/>
- <reptrslt/>
- <judgmark/>
- <judgmark2/>
- </subresultdetail1>
- </subordlist1>
- <tabsetsrchlist>
- <gubun>과별</gubun>
- <setnm>내분비갑상선</setnm>
- <setobject>CBC c PLT, D/C, T3,T4,TSH</setobject>
- </tabsetsrchlist>
- <tabsetsrchlist>
- <gubun>개인별</gubun>
- <setnm>DM CRF 회진용</setnm>
- <setobject>FBS,BUN,Cr,Na,K,Ca,P,Mg</setobject>
- </tabsetsrchlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- <xslt>
- <translist>
- <trans/>
- </translist>
- </xslt>
- </main>
- <send>
- <globalinstance>
- <instance1/>
- <instance2/>
- </globalinstance>
- <data>
- <singdata>
- <srchdate1/>
- <srchdate2/>
- <srchpid/>
- <wardcd/>
- <roomcd/>
- <listflag>Z</listflag>
- <deptcd/>
- <drid/>
- <chkcheck/>
- <chkcheck1/>
- <chkcheck2/>
- <chkcheck3/>
- <chkcheck4/>
- <chkcheck5/>
- <chkcheck6/>
- <chkcheck7/>
- <chkcheck8/>
- <tabflag/>
- <mdlcd/>
- <examgubun/>
- <prcpdd/>
- <offset/>
- <pagesize>999</pagesize>
- </singdata>
- </data>
- <maindata/>
- <setdata>
- <setkindcd>D</setkindcd>
- <deptsetcd/>
- <deptcd/>
- <deptnm/>
- <foldernm/>
- <setno/>
- <startdd/>
- <enddd/>
- <pid/>
- <tclscdlist/>
- <workflag/>
- </setdata>
- <iemr>
- <pid/>
- <orddeptcd/>
- <indd/>
- <docucd/>
- <ioflag/>
- <pagetot/>
- <cmc_spcid/>
- <cmc_orddate/>
- <cmc_orderseqno/>
- <treatno/>
- </iemr>
- <val/>
- <formcd/>
- <codeflag/>
- <cond1/>
- <cond2/>
- <cond3/>
- <cond99/>
- </send>
- <pacssend>
- <pacsdata>
- <prcpdd/>
- <execprcpuniqno/>
- <instcd/>
- <pid/>
- </pacsdata>
- </pacssend>
- <init>
- <cmb_ward>
- <initexecward>
- <execwardcdid/>
- <execwardcdnm/>
- </initexecward>
- </cmb_ward>
- <cmb_room>
- <initexecroom>
- <execroomcdid/>
- <execroomcdnm/>
- </initexecroom>
- </cmb_room>
- <cmb_orddept>
- <initexecorddept>
- <execorddeptcdid/>
- <execorddeptcdnm/>
- </initexecorddept>
- <initexecorddept2>
- <execorddeptcdid/>
- <execorddeptcdnm/>
- </initexecorddept2>
- </cmb_orddept>
- <cmb_orddr>
- <initexecorddr>
- <execorddrcdid/>
- <execorddrcdnm/>
- </initexecorddr>
- </cmb_orddr>
- <baseinfo>
- <initexecprcpstatcd/>
- <initprcpgenrflagcd/>
- </baseinfo>
- <srchcond1/>
- <baseorddd>
- <initorddd>
- <orddd/>
- </initorddd>
- </baseorddd>
- <initpacskey>
- <pacskey>
- <oldprcpkey/>
- </pacskey>
- </initpacskey>
- <popupmenu>
- <grid01>
- <item>
- <name>결과내역(디자인)</name>
- <func>fPopupXsltList</func>
- </item>
- </grid01>
- </popupmenu>
- </init>
- <hidden>
- <ref>
- <testgrupseqno/>
- <startdd/>
- <enddd/>
- <pid/>
- <refgbn>1</refgbn>
- <acptdd/>
- <acptdde/>
- <testmdllist/>
- <tclscdlist/>
- </ref>
- <temp>
- <rsltlist/>
- </temp>
- <testmdllist/>
- <addresult>
- <pid/>
- <startdd/>
- <enddd/>
- <tclscdlist>
- <tclscdlist/>
- <tclsnmlist/>
- <tclscdlist2/>
- <tclsnmlist2/>
- </tclscdlist>
- <refgbn/>
- </addresult>
- <vertaddresult>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <testcd/>
- </vertaddresult>
- <addmicroresult>
- <pid/>
- <usdd/>
- <uedd/>
- </addmicroresult>
- <mdlcd>00</mdlcd>
- </hidden>
- <temp>
- <trvprmsprcpsetlist/>
- </temp>
- <paminfo/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //alert(rdo_statecd.value);
- if ( rdo_statecd.value == "J" || rdo_statecd.value == "Z" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = false;
- }else
- if ( rdo_statecd.value == "P" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = true;
- }
-
- // 이미지 object, 브라우져 object 비활성화
- document.controls("obj_imge").attribute("visibility") = "hidden";
- //document.controls("browser1").attribute("visibility") = "hidden";
- model.toggle("case1");
- aezfSetSuppDeptcd();
- // 병리에서 사용 근무지 기관코드 가져오기
- model.setValue("/root/send/globalinstance/instance2", getUserInfo("dutplceinstcd") );
- // Grid MultiCheck
- //grd_maindaily.fixedcellcheckbox(0,0)=true;
- //grd_mainserious.fixedcellcheckbox(0,0)=true;
- //grd_subresultdetail1.fixedcellcheckbox(0,0)=true;
-
- // set만들기, set조회 그룹 비활성화
- grp_makedset.visible = false;
- grp_searchset.visible = false;
- // 조회기간, Combo Box 초기화
- ipt_date1.value = getCurrentDate();
- var vRsrvdd = ipt_date1.value ;
- vRsrvdd = vRsrvdd.toDate("YYYYMMDD");
- vRsrvdd = vRsrvdd.getAddDate(-182);
- ipt_date1.value = vRsrvdd.getDateFormat();
-
- ipt_date2.value = getCurrentDate();
- cmb_orddept.select(0);
- cmb_orddr.select(0);
- cmb_wardcd.select(0);
- cmb_roomcd.select(0);
-
- submit("TRAER00801");
- submit("TRAER00803");
-
- //zbcfGetCodeList( new Array("M0011"), new Array("/root/init/baseinfo/initexecprcpstatcd") );
- zbcfGetCodeList( new Array("M0010"), new Array("/root/init/baseinfo/initprcpgenrflagcd") );
- submit("TRZBC00101");
-
- // PACS 연동 초기화
- zepfpacsInit();
- //grd_subresultdetail1.fixedcellcheckbox(0,1)=true;
-
- // LIS 중분류 리스트 조회
- fLbCodelist();
- model.refresh();
- if(checkOpener()) //opener 검사
- {
- var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
- if(param != "") // opener parameter value가 있는 경우
- {
- //parameter value를 이용하여 프로그램 수행
-
- }
- else // opener parameter가 없는 경우 화면 원무 정보 check
- {
- var paminfo = getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
- if(paminfo != "") //원무 정보(기본 정보)가 있는 경우
- {
- //alert("원무정보가있는경우");
- model.removeNodeset("/root/paminfo"); //여러개의 instance발생을 막기 위해 removeNodeset을 해줘야 함.
- model.makeNode("/root/paminfo");
- setCSVToNode("/root/paminfo", paminfo);
- //상단 정보를 이용하여 프로그램 수행
- var pid = model.getValue("/root/paminfo" + "/list/pid");
- //var deptcd = model.getValue("/root/paminfo" + "/list/orddeptcd");
- //var wardcd = model.getValue("/root/paminfo" + "/list/wardcd");
- //var medispclid = model.getValue("/root/paminfo" + "/list/medispclid");
- var hngnm = model.getValue("/root/paminfo" + "/list/hngnm");
- var rrgstno1 = model.getValue("/root/paminfo" + "/list/rrgstno1");
- var rrgstno2 = model.getValue("/root/paminfo" + "/list/rrgstno2");
- var sex = model.getValue("/root/paminfo" + "/list/sex");
- var age = model.getValue("/root/paminfo" + "/list/age");
-
- model.setValue("/root/send/data/singdata/srchpid", pid);
- //model.setValue("/root/send/data/singdata/deptcd" , deptcd);
- //model.setValue("/root/send/data/singdata/wardcd", wardcd);
- //model.setValue("/root/send/data/singdata/drid" , medispclid);
- model.makeValue("/root/main/patinfo/patinfolist/hngnm", hngnm);
- model.makeValue("/root/main/patinfo/patinfolist/rrgstno1", rrgstno1);
- model.makeValue("/root/main/patinfo/patinfolist/rrgstno2", rrgstno2);
- model.makeValue("/root/main/patinfo/patinfolist/sex", sex);
- model.makeValue("/root/main/patinfo/patinfolist/age", age);
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- model.refresh();
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
- else //원무 정보(기본 정보)가 없는 경우
- {
- //원무 정보가 없는 상태로 프로그램 수행
- if ( model.getValue("/root/send/data/singdata/srchpid") != "" ) {
- //alert("원무 정보가 없는 상태로 프로그램 수행");
- if ( (model.getValue("/root/send/data/singdata/srchdate11") != "" )
- && (model.getValue("/root/send/data/singdata/srchdate22") != "" )
- && (model.getValue("/root/send/data/singdata/listflag2") != "" ) ) { // 진료요청 , 20080116
- model.setValue("/root/send/data/singdata/srchdate1", model.getValue("/root/send/data/singdata/srchdate11") );
- model.setValue("/root/send/data/singdata/srchdate2", model.getValue("/root/send/data/singdata/srchdate22") );
- model.setValue("/root/send/data/singdata/listflag", model.getValue("/root/send/data/singdata/listflag2") );
- }
-
- // 환자정보 가져오기
- aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
-
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- model.refresh();
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
- }
- }
- }else {
- if ( model.getValue("/root/send/data/singdata/srchpid") != "" ) {
-
- if ( (model.getValue("/root/send/data/singdata/srchdate11") != "" )
- && (model.getValue("/root/send/data/singdata/srchdate22") != "" )
- && (model.getValue("/root/send/data/singdata/listflag2") != "" ) ) { // 진료요청 , 20080116
- model.setValue("/root/send/data/singdata/srchdate1", model.getValue("/root/send/data/singdata/srchdate11") );
- model.setValue("/root/send/data/singdata/srchdate2", model.getValue("/root/send/data/singdata/srchdate22") );
- model.setValue("/root/send/data/singdata/listflag", model.getValue("/root/send/data/singdata/listflag2") );
- }
- //alert("진료요청 , 20080116");
-
- // 환자정보 가져오기
- aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- model.refresh();
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
- }
- model.SetValue("/root/send/data/singdata/chkcheck", "");
- model.setFocus("ipt_pid");
-
- // SET별 진료과의 첫번째 index의 명칭을 변경한다.
- model.setValue("/root/init/cmb_orddept/initexecorddept2[1]/execorddeptcdnm", " 과별SET 누적조회");
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2020000000']"); // 신경과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2040000000']"); // 외과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2050000000']"); // 정형외과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2060000000']"); // 신경외과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2060000000']"); // 신경외과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2080000000']"); // 성형외과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2090000000']"); // 마취통증의학과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2120000000']"); // 안과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2130000000']"); // 이비인후과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2140000000']"); // 피부과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2160000000']"); // 영상의학과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2170000000']"); // 방사선종양학과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2180000000']"); // 핵의학과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2200000000']"); // 진단검사의학과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2210000000']"); // 병리과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2220000000']"); // 재활의학과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2230000000']"); // 가정의학과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2240000000']"); // 치과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2280000000']"); // 응급의학과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='3100000000']"); // 호스피스과
- model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='3240200000']"); // 임상약리과
-
- model.makeValue("/root/init/cmb_orddept/initexecorddept2[17]/execorddeptcdnm", "약제과");
- model.makeValue("/root/init/cmb_orddept/initexecorddept2[17]/execorddeptcdid", "3240000000");
- grd_maindaily.fixedcellcheckbox(0,0)=true;
-
- // 나의 환자리스트 가져오기
- //btn_MyPatList.dispatch("DOMActivate");
-
- model.refresh();
- ]]>
- </script>
- <bind id="bind_prcpgenrflagcd" ref="/root/main/ordlist1/maindailylist/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <bind id="bind_prcpgenrflagcd1" ref="/root/main/ordlist2/mainserious/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <bind id="bind_prcpgenrflagcd2" ref="/root/main/ordlist4/mainprogress/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
- <submission id="TRAER00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_ward"/>
- <submission id="TRAER00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata/wardcd" replace="instance" resultref="/root/init/cmb_room"/>
- <submission id="TRAER00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_orddept"/>
- <submission id="TRAER00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata/deptcd" replace="instance" resultref="/root/init/cmb_orddr"/>
- <submission id="TRAER00806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist1"/>
- <submission id="TRAER00850" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/maindata" replace="instance" resultref="/root/main/subresultdetail1"/>
- <submission id="TRAER00851" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/subresultdetail1"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAER00810" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist4"/>
- <submission id="TRAER00808" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist5"/>
- <submission id="TRAER00809" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist2"/>
- <!--<submission id="TRAER00816" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/temp/rsltlist"/> -->
- <submission id="TRLLP01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/temp/rsltlist"/>
- <submission id="TRAER00813" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/setdata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TRAER00815" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/deptlist"/>
- <submission id="TRAER00817" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prmsprcppdsetinfo"/>
- <submission id="TRAER00811" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/init/baseorddd"/>
- <submission id="TRAER00812" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist6"/>
- <submission id="TRAER00818" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/pacssend/pacsdata" replace="instance" resultref="/root/init/initpacskey"/>
- <submission id="TRMRI00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/xslt/translist"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0103"/>
- <submission id="TRMMO02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 진검분류별 기준 코드 조회를 위한 Function
- */
- function fLbCodelist() {
- model.setValue("/root/send/codeflag", "0102|"); // 0102= 중분류 // 0103 검사그룹
- submit("TRLZZ00101");
- model.setValue("/root/init/LB0102[1]/nm", " 진검분류별 누적조회");
-
- }
- function fClose(){
- window.close();
- }
- function fGetPatInfo() {
-
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data/singdata/srchpid","/root/main/send");
- model.setValue("/root/send/data/singdata/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.refresh();
- //if ( btn_case1.selected == true ) inputEnterKey("btn_dailysrch", "DOMActivate");
- //else inputEnterKey("btn_srch", "DOMActivate");
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병실정보 조회를 위한 Function
- */
- function fChngSrchRoomCd() {
-
- if ( model.getValue("/root/send/data/singdata/wardcd") == "" ) return;
- //alert(cmb_wardcd.value);
- //alert(model.getValue("/root/send/data/singdata/wardcd"));
- model.resetInstanceNode("/root/init/cmb_room/initexecroom");
- submit("TRAER00802");
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 주치의정보 조회를 위한 Function
- */
- function fChngSrchDrId() {
-
- if ( model.getValue("/root/send/data/singdata/deptcd") == "" ) return;
- //alert(cmb_wardcd.value);
- //alert(model.getValue("/root/send/data/singdata/deptcd"));
- model.resetInstanceNode("/root/init/cmb_orddr/initexecorddr");
- submit("TRAER00804");
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사구분을 Check 하기 위한 Function
- */
- function fcheckyn() {
- if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
-
- model.setValue("/root/send/data/singdata/chkcheck1",""); model.setValue("/root/send/data/singdata/chkcheck2","");
- model.setValue("/root/send/data/singdata/chkcheck3",""); model.setValue("/root/send/data/singdata/chkcheck4","");
- model.setValue("/root/send/data/singdata/chkcheck5",""); model.setValue("/root/send/data/singdata/chkcheck6","");
- model.setValue("/root/send/data/singdata/chkcheck7",""); model.setValue("/root/send/data/singdata/chkcheck8","");
- }
- //model.refresh();
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사구분을 Check 하기 위한 Function
- */
- function fcheckyn2(gubn) {
-
- switch (gubn) {
-
- case "A" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck2", ""); model.setValue("/root/send/data/singdata/chkcheck3", "");
- model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "B" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck3", "");
- model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "C" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "D" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "E" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
- model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "F" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
- model.setValue("/root/send/data/singdata/chkcheck5", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
- case "G" :
- model.setValue("/root/send/data/singdata/chkcheck","");
- model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
- model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
- model.setValue("/root/send/data/singdata/chkcheck5", ""); model.setValue("/root/send/data/singdata/chkcheck6", ""); break;
- default : break;
- }
-
- // if ( model.getValue("/root/send/data/singdata/chkcheck8") == "H" ) model.setValue("/root/send/data/singdata/chkcheck","");
- //model.refresh();
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 일자별 메인조회를 위한 조건체크 Function
- */
- function fGetMainListCondiCheck_Case1() {
- //alert('fGetMainListCondiCheck_Case1->'+model.getValue("/root/send/data/singdata/srchpid"));
- //model.makeValue("/root/temp/checkpid", model.getValue("/root/send/data/singdata/srchpid"));
- //alert('/root/temp/checkpid'+model.getValue("/root/temp/checkpid"));
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
- model.setfocus( "ipt_pid" );
- return "0";
- }
-
- // if ( model.getValue("/root/send/data/singdata/chkcheck") == "" &&
- // model.getValue("/root/send/data/singdata/chkcheck1") == "" && model.getValue("/root/send/data/singdata/chkcheck2") == "" &&
- // model.getValue("/root/send/data/singdata/chkcheck3") == "" && model.getValue("/root/send/data/singdata/chkcheck4") == "" &&
- // model.getValue("/root/send/data/singdata/chkcheck5") == "" && model.getValue("/root/send/data/singdata/chkcheck6") == "" &&
- // model.getValue("/root/send/data/singdata/chkcheck7") == "" && model.getValue("/root/send/data/singdata/chkcheck8") == "" ) {
- // messageBox("[조회필수항목-검사구분] 중 한가지 이상 체크하십시오.","I999");
- // return "0";
- // }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 검사분류별 메인조회를 위한 조건체크 Function
- */
- function fGetMainListCondiCheck_Case2() {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
- model.setfocus( "ipt_pid" );
- return "0";
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 SET별 메인조회를 위한 조건체크 Function
- */
- function fGetMainListCondiCheck_Case3() {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
- model.setfocus( "ipt_pid" );
- return "0";
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 진행상태별 메인조회를 위한 조건체크 Function
- */
- function fGetMainListCondiCheck_Case4() {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
- model.setfocus( "ipt_pid" );
- return "0";
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 일자별 처방일기준 조회 Function
- */
- function fGetMainDistinctDailyList() {
- btn_case1.selected = true;
- model.toggle("case1");
- grp_makedset.visible = false;
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- fGetWideListX1(switch1, grd_maindaily);
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
- fcheckyn();
- }
- // Grid 초기화
- fInitGrid();
-
- model.setValue("/root/send/data/singdata/tabflag","distinctdaily");
- //alert('IN->'+model.getValue("/root/send/data/singdata/chkcheck"));
-
- model.refresh();
- submit("TRAER00812");
-
- }
- /* @group : 접수관리(진단방사선)
- * @ver : 2007.03.21
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Grid초기화 Function
- */
- function fInitGrid() {
- model.resetInstanceNode("/root/main/ordlist1/maindailylist");
- model.resetInstanceNode("/root/main/ordlist2/mainserious");
- model.resetInstanceNode("/root/main/ordlist5/mainseriouslist");
- model.resetInstanceNode("/root/main/ordlist3/mainset");
- model.resetInstanceNode("/root/main/ordlist4/mainprogress");
- model.resetInstanceNode("/root/main/subordlist1/subresultdetail1");
-
- // 일자별 조회만 적용. 20080727 , 장준원
- //alert(rdo_statecd.value);
- if ( btn_case1.selected == true ) {
-
- if ( rdo_statecd.value == "J" || rdo_statecd.value == "Z" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = false;
- }else
- if ( rdo_statecd.value == "P" ) {
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = true;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = false;
- grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = true;
- }
- }
-
- //model.refresh();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 일자별조회 Function
- */
- function fGetMainDailyList() {
- btn_case1.selected = true;
- model.toggle("case1");
- grp_makedset.visible = false;
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- fGetWideListX1(switch1, grd_maindaily);
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
- fcheckyn();
- }
- // Grid 초기화
- fInitGrid();
-
- // 환자정보
- fGetMainSrchPatInfo();
-
- model.setValue("/root/send/data/singdata/tabflag","daily");
- //alert('IN->'+model.getValue("/root/send/data/singdata/chkcheck"));
-
- model.refresh();
-
- submit("TRAER00806");
-
-
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- var cnt = 0;
- // 일자별 전체조회일경우만 기준일자 조회
- if ( srchLength1 > 0 ) {
- submit("TRAER00811");
-
- var orddd = model.getValue("/root/init/baseorddd/initorddd/orddd");
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
-
- // Grid Background Color Clear
- for ( var i = 1; i <= srchLength1; i++ ) {
- grd_maindaily.rowstyle( i , "data" , "background-color" ) = "#ffffff";
- }
-
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- // 기준일자 이후의 처방일자는 모두 체크표시를 한다.
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd").getTrim() >= orddd ) {
- model.setValue("/root/main/ordlist1/maindailylist[" + i + "]/check", "Y");
-
- // 전체연속보기이면 체크를 20개까지만 적용함. 장준원 , 20080201, 30개로 늘림, 20080727
- //if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
- if ( cnt == 30 ) break;
- //}
- cnt++
-
- }
-
- // 전자서명번호가 존재하면 색상을 변경한다. 즉, 사본출력가능한 처방이면서 원래 서식모양으로 보여주기 위해, 20080214
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno") == "") {
- var signno = 0;
- }else {
- var signno = parseInt(model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno"));
- }
- if ( signno > 0 ) {
-
- grd_maindaily.rowstyle( i , "data" , "background-color" ) = "#b9e5fb";
-
- }
- }
-
- // 1. execprcpuniqno가 0이 아니면서(검사/치료만적용)
- // 2. Signno가 동일 값이면
- // => 다중처방 단일서식이기에 결과내역은 한 건만 조회되게 한다.
- var flag = "N";
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/execprcpuniqno");
- var signno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno");
-
- //alert(execprcpuniqno);
-
- if ( execprcpuniqno != "0" && signno != "0" && signno != "" ) {
-
- for ( var j = 1; j <= srchLength1; j++ ) {
-
- var vsignno = model.getValue("/root/main/ordlist1/maindailylist[" + j + "]/signno");
- //alert('i->' + i + ', j->' + j + ', signno->' + signno + ', vsignno->' + vsignno);
-
- if ( i != j && signno == vsignno ) {
- //alert('다중 처방이면서 단일서식 결과가 존재합니다. 테스트중입니다!!');
- model.setValue("/root/main/ordlist1/maindailylist[" + j + "]/check", "N");
- flag = "Y";
- }
-
- }
- }
-
- if ( flag == "Y" ) break;
-
- }
- model.refresh();
- if ( cnt > 0 ) fClickResultContinueList();
-
- }
-
- // 20080727, 장준원
- // 조회기준이 보고or검사일 : 처방일자 <-> 보고일자
- // 조회기준이 처방일 : 보고일자<->처방일자
-
-
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 검사분류별조회 Function
- */
- function fGetMainSeriousList() {
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case2();
- if ( check == "0" ) return true;
-
- // Grid 초기화
- fInitGrid();
-
- model.setValue("/root/send/data/singdata/tabflag","serious");
- submit("TRAER00808");
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 검사분류별 상세조회 Function
- */
- function fGetMainSerious(mdlcd, examgubun) {
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case2();
- if ( check == "0" ) return true;
-
- // Grid 초기화
- model.resetInstanceNode("/root/main/ordlist2/mainserious");
- model.resetInstanceNode("/root/main/subordlist1/subresultdetail1");
-
- model.setValue("/root/send/data/singdata/tabflag","serious");
- model.setValue("/root/send/data/singdata/mdlcd", mdlcd); // 중분류코드
- model.setValue("/root/send/data/singdata/examgubun", examgubun); // 중분류코드명
-
- submit("TRAER00809");
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 SET별조회 Function
- */
- function fGetMainSetList() {
-
- grp_makedset.visible = false; // SET전체항목조회 비활성화
- datagrid2.visible = true;
- grd_subresultdetail1.visible = false;
- //model.resetInstanceNode("/root/send/setdata");
- model.setValue("/root/send/setdata/setkindcd", "D");
-
- // 환자정보
- fGetMainSrchPatInfo();
-
- readfunc();
-
- // alert(trv_prmsprcpsetlist.length);
- // Tree 자동 선택 후 조회하기
- if ( trv_prmsprcpsetlist.length > 1) {
- trv_prmsprcpsetlist.selectedIndex = 1;
- trv_prmsprcpsetlist.dispatch("xforms-select");
- }else {
-
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조건 메인 진행상태별조회 Function
- */
- function fGetMainProgressList() {
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case4();
- if ( check == "0" ) return true;
-
- // Grid 초기화
- fInitGrid();
-
- // 환자정보
- fGetMainSrchPatInfo();
-
- // 대량조회-offset초기화
- model.setValue("/root/send/data/singdata/offset","0");
-
- model.setValue("/root/send/data/singdata/tabflag","progress");
- submit("TRAER00810");
-
- }
- function fInitial_subordlist() {
- model.removeNodeset("/root/main/subordlist1/subresultdetail1"); // 결과내역
- model.removeNodeset("/root/send/maindata"); // 일자별 그리드
- model.makeNode("/root/send/maindata");
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily , Serious 결과 내역 그리드 Setting Function
- */
- function fSetSubDetailGrid()
- {
- ////////////////////////////
- // 결과내역 그리드 세팅한다//
- ////////////////////////////
- // 체크박스 미사용(전에조회에사용된 세팅을 해제하기 위해) 해제
- // 진검의 L,H에 적용한 색상 해제 ,
- var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- grd_subresultdetail1.isReadOnly(i, 0, i, 1) = false; // 체크박스 미사용 해제
- grd_subresultdetail1.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
- grd_subresultdetail1.rowstyle( i , "data" , "color" ) = "#000000";
- }
-
- // 타이틀 색상 정의, 진검, 검사치료, 병리에 적용 (T)
- aezfGridSetColor( "/root/main/subordlist1/subresultdetail1", "judgmark", "T", "tab_hide.gif");
-
- // 타이틀 글자 색상 정의, 진검, 검사치료, 병리에 적용 (T)
- aezfSetFontRowStyle("grd_subresultdetail1" , "13" , "T" , "judgmark" );
-
-
- // 병리의 중간결과(P)에 적용
- aezfSetRowStyle("grd_subresultdetail1" , "5" , "P" , "judgmark" );
-
-
- // 진검의 L,H에 적용
- aezfSetFontRowStyle("grd_subresultdetail1" , "7" , "L" , "judgmark2" );
- aezfSetFontRowStyle("grd_subresultdetail1" , "11" , "H" , "judgmark2" );
-
-
- // 체크박스 사용(한줄띄우기위해사용함) 해제
- for ( var i = 1; i <= srchLength1; i++ ) {
- //alert("reptrslt["+i+"]==>["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt")+"]");
- if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "" ||
- model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "T" ||
- model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "P"
- ) {
- grd_subresultdetail1.isReadOnly(i, 0, i, 1) = true; // 체크박스 사용 해제
- }else {
-
- grd_subresultdetail1.isReadOnly(i, 0, i, 1) = false; // 체크박스 사용
- }
- }
- // 결과상세내역 조회 Resize Property 강제 세팅, 20080821, 장준원
- grd_subresultdetail1.resizeCells();
- //grd_subresultdetail1.refresh();
-
- // 서식 이미지 구현
- for ( var i = 1; i <= srchLength1; i++ ) {
-
- if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/img") == "IMG" ) {
- var e = "서식 이미지 구현 실패입니다";
- try
- {
- var IMGE_SZ = 500;
- var imgcnts = model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/imgcnts");
- obj_imge.SetViewMode(0);
- obj_imge.DeleteAllShape();
- obj_imge.LoadImageBase64(imgcnts);
- var sz = obj_imge.GetImageSize();
- var imgewid = sz.split("|")[0];
- var imgehei = sz.split("|")[1];
-
- if ( !(imgewid < IMGE_SZ && imgehei < IMGE_SZ) )
- {
- obj_imge.SetViewMode(4);
- obj_imge.refresh();
- }
- if ( !(imgewid < IMGE_SZ && imgehei < IMGE_SZ) )
- {
- sz = obj_imge.GetImageSizeEx(false);
-
- arrSz = sz.split("|");
- // imgewid = arrSz[0];
- imgehei = arrSz[1];
- }
-
- grd_subresultdetail1.rowHeight(i) = imgehei;
-
- var strBase64 = obj_imge.SaveImageBase64();
- model.setValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt", strBase64, true);
- setImageRefInstance("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt");
- }
- catch (e)
- {
- alert(e);
- }
-
- }
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 결과 상세조회 Function
- */
- function fClickResultList(maingridlistid) {
- if ( maingridlistid.row == 0 ) return;
-
- if ( maingridlistid.row >= maingridlistid.fixedRows ) {
-
- var row = maingridlistid.row;
-
- // 일자별
- if ( btn_case1.selected == true ) {
- fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
-
- /*
- * 일자별탭 그리드 세팅한다.
- */
- var loop = grd_maindaily.rows - grd_maindaily.fixedRows;
-
- for( var i = 1 ; i <= loop ; i++ ) {
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/level","3");
- }
- // 다시 체크를 할 경우에는 체크박스만 "N"으로 세팅함.
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/check") == "Y" ) {
- model.setValue("/root/main/ordlist1/maindailylist[" + row + "]/check","N");
- return;
- }
- model.setValue("/root/main/ordlist1/maindailylist[" + row + "]/check","Y");
-
- model.makeValue("/root/main/ordlist1/maindailylist[" + row + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + row + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
-
- var nodeList = instance1.selectNodes("/root/main/ordlist1/maindailylist["+row+"]");
- var rCSV = getNodeListCSV(nodeList);
-
-
- // model.copyNode("/root/send/maindata" , "/root/main/ordlist1/maindailylist["+row+"]");
- //alert('rCSV하기전->'+rCSV);
- model.setValue("/root/send/maindata", rCSV);
- //alert(rCSV);
-
- submit("TRAER00850");
-
- /*
- * 일자별 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- model.refresh();
- /*
- * 디자인 결과내역 조회를 하기 위한 로직구현.
- */
- fPopupXsltList();
- }
-
- // 검사분류별
- if ( btn_case2.selected == true ) {
- fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
- /*
- * 그리드 세팅한다.
- */
- var loop = grd_mainserious.rows - grd_mainserious.fixedRows;
-
- for( var i = 1 ; i <= loop ; i++ ) {
- model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/level","3");
- }
- model.setValue("/root/main/ordlist2/mainserious[" + row + "]/check","Y");
-
- model.makeValue("/root/main/ordlist2/mainserious[" + row + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist2/mainserious[" + row + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
-
- var nodeList = instance1.selectNodes("/root/main/ordlist2/mainserious["+row+"]");
- var rCSV = getNodeListCSV(nodeList);
-
-
- // model.copyNode("/root/send/maindata" , "/root/main/ordlist1/maindailylist["+row+"]");
- //alert('rCSV하기전->'+rCSV);
- model.setValue("/root/send/maindata", rCSV);
- //alert(rCSV);
-
- submit("TRAER00850");
-
- /*
- * 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
-
- model.refresh();
- }
-
-
- }
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious 결과 연속보기 상세조회 Function
- */
- function fClickResultContinueList() {
- if ( btn_case1.selected == true ) var tabselect = "daily";
- if ( btn_case2.selected == true ) var tabselect = "serious";
- if ( tabselect == "daily" ) {
-
- //alert(grd_maindaily.row +"---"+ grd_maindaily.fixedRows);
- //alert('grd_maindaily.rows->'+grd_maindaily.rows);
- //alert('grd_maindaily.fixedRows->'+grd_maindaily.fixedRows);
- if ( grd_maindaily.rows >= grd_maindaily.fixedRows ) {
-
- var loop = grd_maindaily.rows - grd_maindaily.fixedRows;
- //alert(loop);
- var ckcnt = 0;
-
- fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
-
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
- if ( check == "Y" ) {
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/level", "3");
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
-
- /* 차후 Main조회의 조건들을 넣을 경우 발생하면.. 넣는다. 조회기간, 병동, 병실, 진료과, 주치의 코드.....
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate1", model.getValue("/root/send/data/singdata/srchdate1"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate2", model.getValue("/root/send/data/singdata/srchdate2"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/wardcd", model.getValue("/root/send/data/singdata/wardcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/roomcd", model.getValue("/root/send/data/singdata/roomcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/drid", model.getValue("/root/send/data/singdata/drid"));
- */
- ckcnt++;
- }
- }
- if ( ckcnt == 0 ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- var nodeList = instance1.selectNodes("/root/main/ordlist1/maindailylist[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return "0";
- }
-
-
- //alert('rCSV하기전->'+rCSV);
- model.setValue("/root/send/maindata", rCSV);
-
- //alert(rCSV);
- submit("TRAER00850");
-
- /*
- * 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
-
- model.refresh();
- }
-
- }
-
-
- if ( tabselect == "serious" ) {
- if ( grd_mainseriouslist.row >= grd_mainseriouslist.fixedRows ) {
-
- var loop = grd_mainseriouslist.rows - grd_mainseriouslist.fixedRows;
-
- var ckcnt = 0;
-
- fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
-
-
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/ordlist2/mainserious[" + i + "]/check");
- if ( check == "Y" ) {
- model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
- model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/level", "3");
-
- /* 차후 Main조회의 조건들을 넣을 경우 발생하면.. 넣는다. 조회기간, 병동, 병실, 진료과, 주치의 코드.....
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate1", model.getValue("/root/send/data/singdata/srchdate1"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate2", model.getValue("/root/send/data/singdata/srchdate2"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/wardcd", model.getValue("/root/send/data/singdata/wardcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/roomcd", model.getValue("/root/send/data/singdata/roomcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
- model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/drid", model.getValue("/root/send/data/singdata/drid"));
- */
- ckcnt++;
- }
- }
- if ( ckcnt == 0 ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return true;
- }
- var nodeList = instance1.selectNodes("/root/main/ordlist2/mainserious[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
- //alert(rCSV);
- if ( rCSV == null ) {
- messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
- return "0";
- }
-
-
- //alert('rCSV하기전->'+rCSV);
- model.setValue("/root/send/maindata", rCSV);
-
- //alert(rCSV);
- submit("TRAER00850");
-
- /*
- * 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
-
- model.refresh();
- }
-
- }
-
-
-
- }
- /* @group : 결과조회
- * @ver : 2008.07.26
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 세로 누적 결과 조회 Function
- */
- function fSetVertAddResult(refgbn) {
-
- var cnt = 0;
- var testcd = "";
- model.resetInstanceNode("/root/hidden/vertaddresult");
-
- if ( refgbn == "1" ) {
- //alert(refgbn);
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
- //alert('srchLength1->'+srchLength1);
- for ( var i = 1; i <= srchLength1; i++ ) {
- if (model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/check") == "Y" ) {
- cnt++;
- }
-
- }
- //alert('cnt->'+cnt);
-
- if ( cnt == 1 ) {
-
- // 체크한 로우의 검사코드를 추출한다.
- for ( var j = 1; j <= srchLength1; j++ ) {
- if (model.getValue("/root/main/subordlist1/subresultdetail1["+ j +"]/check") == "Y" ) {
- testcd = model.getValue("/root/main/subordlist1/subresultdetail1["+ j +"]/prcpcd").getTrim();
- }
- }
-
- }else {
- messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
- return "0";
-
- }
- //alert('testcd->'+testcd);
- if ( testcd == "") return "0";
- model.setValue("/root/hidden/vertaddresult/pid" , model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.setValue("/root/hidden/vertaddresult/hngnm" , model.getValue("/root/main/patinfo/patinfolist/hngnm") );
- model.setValue("/root/hidden/vertaddresult/sex" , model.getValue("/root/main/patinfo/patinfolist/sex") );
- model.setValue("/root/hidden/vertaddresult/age" , model.getValue("/root/main/patinfo/patinfolist/age") );
- model.setValue("/root/hidden/vertaddresult/testcd" , testcd);
-
- //alert('/root/hidden/vertaddresult->'+model.getValue("/root/hidden/vertaddresult"));
- modal("SPLLP90100","",20,248,"","/root/hidden/vertaddresult","/root/init/baseinfo");
- }
- if ( refgbn == "2" ) {
- //alert(refgbn);
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/rsltlist/row" ).length;
- //alert('srchLength1->'+srchLength1);
- for ( var i = 1; i <= srchLength1; i++ ) {
- if (model.getValue("/root/main/rsltlist/row["+ i +"]/chk") == "true" ) {
- cnt++;
- }
-
- }
- //alert('cnt->'+cnt);
- if ( cnt == 1 ) {
-
- // 체크한 로우의 검사코드를 추출한다.
- for ( var j = 1; j <= srchLength1; j++ ) {
- if (model.getValue("/root/main/rsltlist/row["+ j +"]/chk") == "true") {
- testcd = model.getValue("/root/main/rsltlist/row["+ j +"]/testcd").getTrim();
- }
- }
-
- }else {
- messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
- return "0";
-
- }
- //alert('testcd->'+testcd);
- if ( testcd == "") return "0";
- model.setValue("/root/hidden/vertaddresult/pid" , model.getValue("/root/main/patinfo/patinfolist/pid") );
- model.setValue("/root/hidden/vertaddresult/hngnm" , model.getValue("/root/main/patinfo/patinfolist/hngnm") );
- model.setValue("/root/hidden/vertaddresult/sex" , model.getValue("/root/main/patinfo/patinfolist/sex") );
- model.setValue("/root/hidden/vertaddresult/age" , model.getValue("/root/main/patinfo/patinfolist/age") );
- model.setValue("/root/hidden/vertaddresult/testcd" , testcd);
- modal("SPLLP90100","",20,248,"","/root/hidden/vertaddresult","/root/init/baseinfo");
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : SET별 누적 결과 조회 Function
- */
- function fSetAddSPCResult(refgbn) {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
- //alert("IN");
- model.resetInstanceNode("/root/hidden/addresult");
- var prcpcd = "";
- var prcpnm = "";
- var prcpcd2 = "";
- var prcpnm2 = "";
- var pnm="";
- var pnm2="";
-
- var flag = "";
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/rsltlist/row" ).length;
- // datagrid2
- for ( var i = 1; i <= srchLength1; i++ ) {
- //alert('i->'+i+', '+model.getValue("/root/main/rsltlist/row["+ i +"]/chk"));
- if (model.getValue("/root/main/rsltlist/row["+ i +"]/chk") == "true" ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
-
- prcpnm = aezfTrim(model.getValue("/root/main/rsltlist/row["+ i +"]/tclsscrnnm").getTrim(), 12288);
- prcpnm2 = aezfTrim(model.getValue("/root/main/rsltlist/row["+ i +"]/tclsscrnnm").getTrim(), 12288);
-
- prcpcd += "'"+model.getValue("/root/main/rsltlist/row["+ i +"]/testcd").getTrim()+"'"+",";
- prcpnm += ",";
- prcpcd2 += model.getValue("/root/main/rsltlist/row["+ i +"]/testcd").getTrim()+"▦";
- prcpnm2 += "▦";
- pnm += prcpnm;
- pnm2 += prcpnm2;
-
- flag = "Y";
- }
- }
-
- if ( flag == "Y" ) {
- model.setValue("/root/hidden/addresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
- model.setValue("/root/hidden/addresult/startdd", model.getValue("/root/send/data/singdata/srchdate1") );
- model.setValue("/root/hidden/addresult/enddd", model.getValue("/root/send/data/singdata/srchdate2") );
- // 44:, 12288:tab 9638:▦
- var prcpcd = aezfTrim(prcpcd, 44);
-
- var dd = aezfTrim(pnm, 12288);
- var prcpnm = aezfTrim(dd, 44);
-
- var prcpcd2 = aezfTrim(prcpcd2, 9638);
-
- var cc = aezfTrim(pnm2, 9638);
- var prcpnm2 = aezfTrim(cc, 12288);
- model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist", prcpcd );
- model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist", prcpnm );
- model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist2", prcpcd2);
- model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist2", prcpnm2);
- if ( refgbn == "1" )
- model.setValue("/root/hidden/addresult/refgbn", "1");
- else if ( refgbn == "2" )
- model.setValue("/root/hidden/addresult/refgbn", "2");
-
- modal("SMLLP01200","",20,248,"","/root/hidden/addresult","/root/hidden/ref");
- }else {
- messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
- return;
-
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 누적 결과 조회 Function
- */
- function fSetAddResult(refgbn) {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
-
- model.resetInstanceNode("/root/hidden/addresult");
- var prcpcd = "";
- var prcpnm = "";
- var prcpcd2 = "";
- var prcpnm2 = "";
- var pnm="";
- var pnm2="";
-
- var flag = "";
- // 처방구분코드가 진검:'C' , 병리:'M' 인 경우에만 누적결과 조회를 실행한다.
- var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
- //alert(srchLength1);
-
- for ( var i = 1; i <= srchLength1; i++ ) {
- //alert("reptrslt["+i+"]==>["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt")+"]");
- if (model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/check") == "Y" ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
-
- //alert("["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark")+"]");
- if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "C" || // 체크된 것중에 'C', 'M' 포함된경우
- model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "M" ) {
- prcpnm = aezfTrim(model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpnm").getTrim(), 12288);
- prcpnm2 = aezfTrim(model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpnm").getTrim(), 12288);
- prcpcd += "'"+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpcd").getTrim()+"'"+",";
- prcpnm += ",";
- prcpcd2 += model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpcd").getTrim()+"▦";
- prcpnm2 += "▦";
- pnm += prcpnm;
- pnm2 += prcpnm2;
-
-
- flag = "Y";
- }
-
-
- }
- }
- //alert(flag);
- //alert('['+prcpcd+']-['+pnm+']-['+prcpcd2+']-['+pnm2+']-['+flag+']');
- //modal("SMLLP01200","",10,238,"","/root/hidden/addresult","/root/hidden/ref");
- if ( flag == "Y" ) {
- //alert('flag->Y');
- model.setValue("/root/hidden/addresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
- model.setValue("/root/hidden/addresult/startdd", model.getValue("/root/send/data/singdata/srchdate1") );
- model.setValue("/root/hidden/addresult/enddd", model.getValue("/root/send/data/singdata/srchdate2") );
- // 44:, 12288:tab 9638:▦
- var prcpcd = aezfTrim(prcpcd, 44);
-
- var dd = aezfTrim(pnm, 12288);
- var prcpnm = aezfTrim(dd, 44);
-
- var prcpcd2 = aezfTrim(prcpcd2, 9638);
-
- var cc = aezfTrim(pnm2, 9638);
- var prcpnm2 = aezfTrim(cc, 12288);
- model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist", prcpcd );
- model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist", prcpnm );
- model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist2", prcpcd2);
- model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist2", prcpnm2);
- if ( refgbn == "1" )
- model.setValue("/root/hidden/addresult/refgbn", "1");
- else if ( refgbn == "2" )
- model.setValue("/root/hidden/addresult/refgbn", "2");
-
- modal("SMLLP01200","",20,248,"","/root/hidden/addresult","/root/hidden/ref");
- }else {
- messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
- return;
-
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 미생물 누적 결과 조회 Function
- */
- function fSetAddMicroResult() {
-
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("[미생물누적조회] 기능은 환자번호가 체크되어야 합니다.","I999");
- return "0";
- }
-
- model.resetInstanceNode("/root/hidden/addmicroresult");
-
- model.setValue("/root/hidden/addmicroresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
- model.setValue("/root/hidden/addmicroresult/usdd", model.getValue("/root/send/data/singdata/srchdate1") );
- model.setValue("/root/hidden/addmicroresult/uedd", model.getValue("/root/send/data/singdata/srchdate2") );
-
- modal("SMLLP01100","",345,250,"","/root/hidden/addmicroresult","/root/hidden/ref");
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious CDIS 결과 조회 Function
- */
- function fClickCDISResultList(grdobj) {
- //alert(grdobj.row)
- if ( grdobj.rows >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
- //alert(rowidx);
- // return;
- model.resetInstanceNode("/root/send/iemr");
-
- //model.setValue("/root/send/iemr/cmc_spcid", getUserInfo("dutplceinstcd"));
- if ( btn_case1.selected == true ) {
- var prcpdd = "";
- var execprcpuniqno = "";
- var instcd = "";
- var flag = "";
-
- // 진검, 병리,미생물, 핵체외 제외한 검사에 대해서 CDIS이미지 연동을 실시한다.
- if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") != '0' ) {
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- if (model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/check") == "Y" ) {
-
- prcpdd += model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/prcpdd").getTrim()+",";
- execprcpuniqno += model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/execprcpuniqno").getTrim()+",";
- instcd += getUserInfo("dutplceinstcd").getTrim()+",";
- flag = "Y";
- }
-
- }
-
- if ( flag == "Y" ) {
- //alert('flag->Y');
- // 44:,
- var sprcpdd = aezfTrim(prcpdd, 44);
- var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
- var sinstcd = aezfTrim(instcd, 44);
-
- model.setValue("/root/send/iemr/cmc_orddate", sprcpdd);
- model.setValue("/root/send/iemr/cmc_orderseqno", sexecprcpuniqno);
- model.setValue("/root/send/iemr/cmc_spcid", sinstcd);
- // model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd"));
- // model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno"));
- if(window.children.item("imgemrviewer") == null)
- {
-
- // open("SSMRC03100","","","","SSMRC03100","/root/send/iemr", "/root/hidden/temp", "min:visible; max:true; resize:true;");
-
- window.load("../../../emr/imgemrweb/xrw/SSMRC03100.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
- // window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
- // window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
- // if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
- // {
- // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
- // }
- }
- }
-
- }
-
- }
-
-
- if ( btn_case2.selected == true ) {
-
- var prcpdd = "";
- var execprcpuniqno = "";
- var instcd = "";
- var flag = "";
-
- // 진검, 병리,미생물, 핵체외 제외한 검사에 대해서 CDIS이미지 연동을 실시한다.
- if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") != '0' ) {
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist2/mainserious" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- if (model.getValue("/root/main/ordlist2/mainserious["+ i +"]/check") == "Y" ) {
-
- prcpdd += model.getValue("/root/main/ordlist2/mainserious["+ i +"]/prcpdd").getTrim()+",";
- execprcpuniqno += model.getValue("/root/main/ordlist2/mainserious["+ i +"]/execprcpuniqno").getTrim()+",";
- instcd += getUserInfo("dutplceinstcd").getTrim()+",";
- flag = "Y";
- }
-
- }
-
- if ( flag == "Y" ) {
- //alert('flag->Y');
- // 44:,
- var sprcpdd = aezfTrim(prcpdd, 44);
- var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
- var sinstcd = aezfTrim(instcd, 44);
-
- model.setValue("/root/send/iemr/cmc_orddate", sprcpdd);
- model.setValue("/root/send/iemr/cmc_orderseqno", sexecprcpuniqno);
- model.setValue("/root/send/iemr/cmc_spcid", sinstcd);
- // model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd"));
- // model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno"));
- if(window.children.item("imgemrviewer") == null)
- {
-
- window.load("../../../emr/imgemrweb/xrw/SSMRC03100.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
- // window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
- // window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
- // if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
- // {
- // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
- // }
- }
- }
-
- }
-
-
- //model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd"));
- //model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno"));
- }
- /*
- if(window.children.item("imgemrviewer") == null)
- {
-
- window.load("../../../emr/imgemrweb/xrw/SSMRC03100.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
- window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
- window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
- //window.children.item("imgemrviewer").javaScript.downloadChart();
- if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
- {
- window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
- }
- // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
- }
- */
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious PACS Ord 결과 조회 Function, 사용안함
- */
- function fClickPACSOrdResultList(grdobj) {
- //alert(grdobj.row)
-
- if ( grdobj.row >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
-
- if ( btn_case1.selected == true ) {
- if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동할 수 없습니다.(유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
- }
-
- if ( btn_case2.selected == true ) {
- if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동할 수 없습니다.(유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
- }
- // PACS Viewer 호출
- //zepfpacsOrderID("2007082725595");
- //alert(pacsorderid);
- zepfpacsOrderID(pacsorderid);
- }
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious PACS Pat 결과 조회 Function , 사용안함
- */
- function fClickPACSPatResultList(grdobj) {
- //alert(grdobj.row)
- var pid = model.getValue("/root/send/data/singdata/srchpid");
- zepfpacsPatientID(pid);
-
- /*
- if ( grdobj.row >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
-
- if ( btn_case1.selected == true ) {
- var pid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/pid");
- }
-
- if ( btn_case2.selected == true ) {
- var pid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/pid");
- }
- // PACS Viewer 호출
- //zepfpacsOrderID("2007082725595");
- //alert(pid);
- zepfpacsPatientID(pid);
-
- }
- */
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : Daily 및 Serious PACS OrdPat 결과 조회 Function
- */
- function fClickPACSOrdPatResultList(grdobj) {
- //alert(grdobj.row)
-
- if ( grdobj.rows >= grdobj.fixedRows ) {
- var rowidx = grdobj.row;
-
- if ( btn_case1.selected == true ) {
- if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
- var pid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/pid");
-
- var prcpdd = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd");
- var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
- var instcd = model.getValue("/root/send/globalinstance/instance2");
- }
-
- if ( btn_case2.selected == true ) {
- if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == "" ||
- model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == 0 ) {
- messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
- return;
- }
- var pacsorderid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
- var pid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/pid");
-
- var prcpdd = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd");
- var execprcpuniqno = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
- var instcd = model.getValue("/root/send/globalinstance/instance2");
- }
-
- // PACS 맵핑테이블 조회, Old Key와 일치하면 Old Key Pacs View 호출
- model.setValue("/root/pacssend/pacsdata/prcpdd", prcpdd);
- model.setValue("/root/pacssend/pacsdata/execprcpuniqno", execprcpuniqno);
- model.setValue("/root/pacssend/pacsdata/instcd", instcd);
- model.setValue("/root/pacssend/pacsdata/pid", pid);
-
- submit("TRAER00818");
-
- var srchLength1 = model.instances(0).selectNodes( "/root/init/initpacskey/pacskey" ).length;
- //alert('srchLength1->'+srchLength1);
- //return;
- alert('execprcpuniqno->'+execprcpuniqno);
- if ( srchLength1 > 0 ) {
- pacsorderid = model.getValue("/root/init/initpacskey/pacskey/oldprcpkey");
- zepfpacsAll(execprcpuniqno, pid);
- }else {
- //zepfpacsPatientID(pid);
- zepfpacsAll(execprcpuniqno, pid);
- }
- // PACS Viewer 호출
- //zepfpacsOrderID("2007082725595");
- //alert(pacsorderid+'----'+pid);
- //zepfpacsAll(pacsorderid, pid);
- //zepfpacsPatientID(pid);
-
- //model.removeNodeset("/root/pacssend/pacsdata");
- }
- }
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 Grid 펼치기 Function
- */
- function fGetWideListX1(tab1, grd1) {
-
- var extnGrdWidht = 303;
- var extnGrdWidht2 = 298;
-
- tab1.attribute("width") = extnGrdWidht;
- grd1.attribute("width") = extnGrdWidht2;
- //alert('접기 switch width===>'+tab1.attribute("width"));
- //alert('접기 grid width===>'+grd1.attribute("width"));
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 Grid 접기 Function
- */
- function fGetWideListX2(tab1, grd1) {
- if ( btn_case1.selected == true ) {
- var extnGrdWidht = 700;
- var extnGrdWidht2 = 690;
-
- }
- else if ( btn_case2.selected == true ) {
- var extnGrdWidht = 450;
- var extnGrdWidht2 = 440;
-
- }
- else if ( btn_case3.selected == true ) {
- var extnGrdWidht = 600;
- var extnGrdWidht2 = 590;
-
- }else if ( btn_case4.selected == true ) {
- var extnGrdWidht = 1190;
- var extnGrdWidht2 = 1180;
- }
- tab1.attribute("width") = extnGrdWidht;
- grd1.attribute("width") = extnGrdWidht2;
- //alert('펼치기 switch width===>'+tab1.attribute("width"));
- //alert('펼치기 grid width===>'+grd1.attribute("width"));
- }
-
- /* SET 관련 FUNCTION START */
-
- function readfunc(){
- submit("TRAER00813");
-
- if (model.getValue("/root/send/setdata/setkindcd") == "P" || model.getValue("/root/send/setdata/setkindcd") == "D"){
- cmb_deptset.disabled = true;
- }
-
- model.setValue("/root/send/setdata/foldernm", "");
- model.setValue(trv_prmsprcpsetlist.attribute("ref"), "");
- trv_prmsprcpsetlist.rebuild();
- //model.removeNodeset("/root/main/rsltlist/row");
- //model.resetInstanceNode("/root/main/rsltlist/row");
- //model.refresh();
- fInitDatagrid2();
- }
- function readPDfunc(){
-
- submit("TRAER00817");
- model.setValue("/root/send/setdata/foldernm", "");
- //model.setValue(trv_prmsprcpsetlist.attribute("ref"), "");
- //trv_prmsprcpsetlist.rebuild();
-
- //model.removeNodeset("/root/main/rsltlist/row");
- //model.resetInstanceNode("/root/main/rsltlist/row");
- //model.refresh();
- fInitDatagrid2();
- }
-
- function fInitDatagrid2() {
- var cols = datagrid2.cols-datagrid2.fixedCols;
- var rows = datagrid2.rows-datagrid2.fixedRows;
- //alert(cols)
- for( var i = 0; i < cols; i++ ) {
- datagrid2.removeColumn(false);
-
- }
-
- for( var i = 0; i < rows; i++ ) {
- datagrid2.removeRow(false);
-
- }
-
- model.removeNodeset("/root/main/rsltlist");
-
- model.makeNode("/root/main/rsltlist/row");
- model.refresh();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : SET별누적조회 Function
- */
- function fGetNResultRef(){
-
- var vText = model.getValue("/root/send/data/singdata/srchpid");
-
-
- if(vText == "" ){
-
- messageBox("등록번호를","C001","") ;
- return;
- }
-
- if (trv_prmsprcpsetlist.selectedIndex < 0){
- messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
- return;
- }
-
- fInitDatagrid2();
- var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
-
- if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
- else model.setvalue("/root/hidden/ref/testmdllist","");
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
- var rowpos = item.index + 1;
-
- model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcpsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
-
- // LIS Map File을 적용하기 위해 세팅한다.
- model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
- model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
- model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
-
- //submit("TRAER00816" , false);
- submit("TRLLP01201" , false);
-
- var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
-
-
- var gridColTypeArray = gridColType.split("^");
-
-
- for( var i = 0; i < gridColRefArray.length; i++ ) {
-
- datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
- }
- datagrid2.colWidth(1) = 22;
- datagrid2.colWidth(2) = 100;
- datagrid2.colWidth(3) = 80;
- datagrid2.colWidth(4) = 80;
- datagrid2.rowHeight(0) = 35;
-
-
- for( i = 5; i < datagrid2.cols; i++ ) {
-
- datagrid2.colWidth(i) = 80;
-
-
-
- }
- datagrid2.caption = gridCaption;
-
-
-
- var node = instance1.selectSingleNode("/root/main");
- node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
- datagrid2.fixedcellcheckbox(0,1)=true;
- model.refresh();
-
- fReMake();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : SET전체항목조회 Function
- */
- function fGetPDResultRef(){
-
- var vText = model.getValue("/root/send/data/singdata/srchpid");
-
-
- if(vText == "" ){
-
- messageBox("등록번호를","C001","") ;
- return;
- }
-
- // if (trv_prmsprcpsetlist.selectedIndex < 0){
- // messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
- // return;
- // }
-
- fInitDatagrid2();
- //alert(model.getvalue("/root/hidden/testmdllist"));
- var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
-
- if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
- else model.setvalue("/root/hidden/ref/testmdllist","");
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- // var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
- // var rowpos = item.index + 1;
- var rowpos = grd_makedset.row;
- //alert(rowpos);
- // var rowpos = item.index + 1;
-
- model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcppdsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
-
- // LIS Map File을 적용하기 위해 세팅한다.
- model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
- model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
- model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
-
- //submit("TRAER00816" , false);
- submit("TRLLP01201" , false);
-
-
- var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
-
-
- var gridColTypeArray = gridColType.split("^");
-
-
- for( var i = 0; i < gridColRefArray.length; i++ ) {
-
- datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
- }
- datagrid2.colWidth(1) = 22;
- datagrid2.colWidth(2) = 100;
- datagrid2.colWidth(3) = 100;
- datagrid2.colWidth(4) = 100;
- datagrid2.rowHeight(0) = 35;
-
-
- for( i = 6; i < datagrid2.cols; i++ ) {
-
- datagrid2.colWidth(i) = 80;
-
-
-
- }
- datagrid2.caption = gridCaption;
-
-
-
- var node = instance1.selectSingleNode("/root/main");
- node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
- datagrid2.fixedcellcheckbox(0,1)=true;
- model.refresh();
-
- fReMake();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 진검분류별 누적 조회 Function
- */
- function fGetNSeriesResultRef(){
-
- var vText = model.getValue("/root/send/data/singdata/srchpid");
-
-
- if(vText == "" ){
-
- messageBox("등록번호를","C001","") ;
- return;
- }
-
- //if (trv_prmsprcpsetlist.selectedIndex < 0){
- // messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
- // return;
- //}
-
- fInitDatagrid2();
- /*
- var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
-
- if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
- else model.setvalue("/root/hidden/ref/testmdllist","");
-
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
- var rowpos = item.index + 1;
-
- model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcpsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
- */
- //alert(cmb_mdl.value);
- //return;
-
- // 환자정보
- fGetMainSrchPatInfo();
-
- // LIS Map File을 적용하기 위해 세팅한다.
- model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
- model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
- model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
-
- model.setValue("/root/send/setdata/setno", "");
- model.setValue("/root/send/setdata/tclscdlist", cmb_mdl.value);
- model.setValue("/root/send/setdata/workflag", "1");
-
-
- //submit("TRAER00816" , false);
- submit("TRLLP01201" , false);
-
- var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
-
-
- var gridColTypeArray = gridColType.split("^");
-
-
- for( var i = 0; i < gridColRefArray.length; i++ ) {
-
- datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
- }
- datagrid2.colWidth(1) = 22;
- datagrid2.colWidth(2) = 100;
- datagrid2.colWidth(3) = 80;
- datagrid2.colWidth(4) = 80;
- datagrid2.rowHeight(0) = 35;
-
-
- for( i = 5; i < datagrid2.cols; i++ ) {
-
- datagrid2.colWidth(i) = 80;
-
-
-
- }
- datagrid2.caption = gridCaption;
-
-
-
- var node = instance1.selectSingleNode("/root/main");
- node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
- datagrid2.fixedcellcheckbox(0,1)=true;
- model.refresh();
-
- fReMake();
- }
- function fReMake(){
-
-
- xx = 0;
- //alert(model.getvalue("/root/main/rsltlist/row["+9+"]/judg0"))
- for(i=1;i<datagrid2.rows;i++){
- for(j=5;j<datagrid2.cols;j++){
-
- var vJudg = model.getvalue("/root/main/rsltlist/row["+i+"]/judg" + xx);
- if(vJudg == "H"){
-
- // datagrid2.cellStyle("background-color",i,j,i,j) = "#f7a08b";
- datagrid2.cellStyle("color",i,j,i,j) = "red";
- }
- else if(vJudg == "L"){
-
- // datagrid2.cellStyle("background-color",i,j,i,j) = "#b9e5fb";
- datagrid2.cellStyle("color",i,j,i,j) = "blue";
- }
-
- xx ++;
-
- }
-
- xx = 0
- }
- }
- /* SET 관련 FUNCTION END */
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 진단검사 연속보기 Function
- */
- function fGetHemoDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck1", "A");
- fcheckyn2('A');
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 미생물 연속보기 Function
- */
- function fGetCellDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck2", "B");
- fcheckyn2('B');
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 병리 연속보기 Function
- */
- function fGetPlgyDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck3", "C");
- fcheckyn2('C');
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 핵체외 연속보기 Function
- */
- function fGetNuclDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck4", "D");
- fcheckyn2('D');
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 영상 연속보기 Function
- */
- function fGetPhotDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck5", "E");
- fcheckyn2('E');
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 내시경 연속보기 Function
- */
- function fGetColonyDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck6", "F");
- fcheckyn2('F');
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 기능 연속보기 Function
- */
- function fGetFuncDailyList() {
- model.SetValue("/root/send/data/singdata/chkcheck7", "G");
- fcheckyn2('G');
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 기능 연속보기 Function
- */
- function fGetHealExamDetailList() {
- grp_makedset.visible = false;
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- fGetWideListX1(switch1, grd_maindaily);
-
- fInitial_subordlist();
-
- // 조건 체크
- var check = fGetMainListCondiCheck_Case1();
- if ( check == "0" ) return true;
-
- submit("TRAER00851");
-
- /*
- * 일자별 결과내역 그리드 세팅한다.
- */
- fSetSubDetailGrid();
- model.refresh();
- }
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 팝업창 Void Function
- */
- function fPopupLine() {
- return;
- }
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 디자인 결과내역 보기 Function
- */
- function fPopupXsltList() {
-
- model.resetInstanceNode("/root/send/val");
- model.resetInstanceNode("/root/send/formcd");
- if ( model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/signno") == "") {
- var signno = 0;
- var formcd = "";
- }else {
- var signno = parseInt(model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/signno"));
- var formcd = model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/formcd");
- }
- //alert(signno+'-'+formcd);
- //return;
-
- if ( signno > 0 ) {
- //alert(signno);
- model.setValue("/root/send/val", signno);
- model.setValue("/root/send/formcd", formcd);
-
- if(submit("TRMRI00405"))
- {
- if ( model.getValue("/root/main/xslt/translist/trans") == "" ) {
-
- messageBox("인증전 테이블과 관련된 서식디자인폼이 등록되지 않았습니다. 서식팀에 문의하시기 바랍니다.","I999");
- }else {
-
- if(window.children.item("SPAER00805") == null)
- {
- var xpt = 50;
- var ypt = 50;
- aezfTopMost("SPAER00805",2,xpt,ypt,"SPAER00805","/root/main/xslt/translist/trans","/root/main/xslt/translist/trans","",0,0);
-
- }else {
-
- copyNodesetType("/root/main/xslt/translist/trans", "/root/main/xslt/translist/trans", "replace" , window.children.item("SPAER00805").model, model);
- window.children.item("SPAER00805").model.refresh();
- window.children.item("SPAER00805").model.dispatch("xforms-ready");
- }
-
- }
- }
-
- }else {
- //alert(signno);
- model.setValue("/root/main/xslt/translist/trans", "");
- if(window.children.item("SPAER00805") == null) {
-
- }else {
- // signno 가 0 일 경우는 null Value Instance가 전달됨.
- copyNodesetType("/root/main/xslt/translist/trans", "/root/main/xslt/translist/trans", "replace" , window.children.item("SPAER00805").model, model);
- window.children.item("SPAER00805").model.refresh();
- window.children.item("SPAER00805").model.dispatch("xforms-ready");
- }
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 CDIS 연동내역 팝업 보기 Function
- */
- function fPopupCDISResultList() {
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 대량조회를 위한 Grid Scroll 제어 Function
- */
- function fSubmitOnScroll() {
-
- if ( grd_mainprogress.vscroll.attribute("max") == model.getValue("/root/send/data/singdata/pagesize") ) {
-
- if(grd_mainprogress.vscroll.attribute("max") == grd_mainprogress.vscroll.attribute("pos")) {
-
- // end of scroll
- model.setValue("/root/send/data/singdata/offset",grd_mainprogress.rows-1); // grid의 header row는 제외
-
- model.setValue("/root/send/data/singdata/tabflag","progress");
- submit("TRAER00810");
-
- grd_mainprogress.dispatch("onmouseup");
- }
-
- }
-
- }
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 환자정보 가져오는 Function
- */
- function fGetMainSrchPatInfo() {
-
- if ( model.getValue("/root/main/patinfo/patinfolist/pid") == "" ) {
- aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
- }
- }
-
-
- /* @group : 결과조회
- * @ver : 2007.06.14
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과 조회 대량조회를 위한 Grid Scroll 제어 Function
- */
- /* function fGetSrchPatInfo(cond1, cond2, cond3, cond99, rtnXpath) {
-
- // 환자정보 가져오기
- //model.setValue ( "/root/init/srchcond1", "1"); // 등록번호로 조회
- //model.setValue ( "/root/send/cond1", model.getValue ( "/root/init/srchcond1" ));
- //model.setValue ( "/root/send/cond2", model.getValue ( "/root/send/data/singdata/srchpid" ));
- //model.setValue ( "/root/send/cond3", getUserInfo("dutplceinstcd"));
- //model.setValue ( "/root/send/cond99", "patchosinfo");
- //alert("cond1->"+cond1+", cond2->"+cond2+", cond3->"+cond3+", cond99->"+cond99+", rtnXpath->"+rtnXpath);
- model.setValue ( "/root/send/cond1", cond1 );
- model.setValue ( "/root/send/cond2", cond2 );
- model.setValue ( "/root/send/cond3", cond3 );
- model.setValue ( "/root/send/cond99", cond99 );
- if (!submit ( "TRMMO02501",false )) { //검색 시작 값이 없으면 clear 한다.
- model.resetInstanceNode (rtnXpath );
- model.refresh();
- return "0";
- }else {
- return "1";
- }
-
- }
- */
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1193;1,764;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">결과조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:55px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:53px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_date1" ref="/root/send/data/singdata/srchdate1" class="input_default" inputtype="date" style="left:110px; top:6px; width:100px; height:19px; "/>
- <input id="ipt_date2" ref="/root/send/data/singdata/srchdate2" class="input_default" inputtype="date" style="left:217px; top:6px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:385px; top:29px; width:86px; height:17px; color:#7F7F7F; ">등록번호</caption>
- <input id="ipt_pid" ref="/root/send/data/singdata/srchpid" class="input_search" style="left:466px; top:29px; width:89px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
-
- setInputNodeCurText();
-
- if ( btn_case1.selected == true ) {
- // 환자정보 가져오기
- var chk = aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
- if ( chk == "0" ) {
- return;
- }
-
- inputEnterKey("button10", "DOMActivate");
-
- } else {
- inputEnterKey("btn_srch", "DOMActivate");
- }
-
- }
-
- ]]>
- </script>
- </input>
- <line id="line13" class="line_4" style="x1:350px; y1:4px; x2:350px; y2:42px; "/>
- <line id="line2" class="line_4" style="x1:1070px; y1:7px; x2:1070px; y2:45px; "/>
- <button id="button13" class="btn1_letter4" visibility="hidden" style="left:1095px; top:12px; width:80px; height:22px; ">
- <caption>환자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fGetPatInfo();
- // window.load( "SPAER00801_환자조회.xrw","new","patinfo", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- ]]>
- </script>
- </button>
- <button id="btn_srch" class="btn1_letter4" style="left:1095px; top:17px; width:80px; height:22px; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 환자정보 가져오기
- var chk = aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
- if ( chk == "0" ) {
- return;
- }
-
- if ( btn_case1.selected == true ) { // 일자별 조회
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- }else if ( btn_case2.selected == true ) { // 검사분류별 조회
- fGetMainSeriousList();
- }else if ( btn_case3.selected == true ) { // SET별 조회
- fGetMainSetList();
- //fGetNResultRef();
- }else if ( btn_case4.selected == true ) { // 진행상태별 조회
- fGetMainProgressList();
- }
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_statecd" ref="/root/send/data/singdata/listflag" class="radio_search" appearance="full" cols="4" rows="2" overflow="visible" style="left:110px; top:28px; width:178px; height:21px; border-style:none; ">
- <choices>
- <item>
- <label>처방일</label>
- <value>P</value>
- </item>
- <item>
- <label>검사일</label>
- <value>J</value>
- </item>
- <item>
- <label>보고일</label>
- <value>Z</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:594px; top:7px; width:67px; height:17px; color:#7F7F7F; ">주치의</caption>
- <caption id="caption4" class="search_name" style="left:385px; top:7px; width:70px; height:17px; color:#7F7F7F; ">진료과</caption>
- <select1 id="cmb_orddr" ref="/root/send/data/singdata/drid" class="combo_search" appearance="minimal" style="left:664px; top:6px; width:91px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_orddr/initexecorddr">
- <label ref="execorddrcdnm"/>
- <value ref="execorddrcdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddept" ref="/root/send/data/singdata/deptcd" class="combo_search" appearance="minimal" style="left:466px; top:6px; width:113px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_orddept/initexecorddept">
- <label ref="execorddeptcdnm"/>
- <value ref="execorddeptcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngSrchDrId();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:774px; top:7px; width:86px; height:17px; color:#7F7F7F; ">병동</caption>
- <select1 id="cmb_roomcd" ref="/root/send/data/singdata/roomcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:967px; top:6px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_room/initexecroom">
- <label ref="execroomcdnm"/>
- <value ref="execroomcdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:594px; top:29px; width:86px; height:17px; color:#7F7F7F; ">환자명</caption>
- <select1 id="cmb_wardcd" ref="/root/send/data/singdata/wardcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:847px; top:6px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_ward/initexecward">
- <label ref="execwardcdnm"/>
- <value ref="execwardcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngSrchRoomCd();
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:12px; top:29px; width:86px; height:17px; color:#7F7F7F; ">조회기준</caption>
- <caption id="caption11" class="search_name" style="left:12px; top:6px; width:86px; height:17px; color:#7F7F7F; ">조회기간</caption>
- <input id="input1" ref="/root/main/patinfo/patinfolist/hngnm" class="input_search" style="left:664px; top:29px; width:89px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- //model.setValue ( "/root/init/srchcond1", "2");
- //inputEnterKey ( "btn_bfprcpsrch", "DOMActivate" )
- ]]>
- </script>
- </input>
- <button id="button5" class="icon_search" style="left:758px; top:30px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetPatInfo();
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/main/patinfo/patinfolist/rrgstno1" class="input_search" disabled="true" style="left:780px; top:29px; width:60px; height:19px; "/>
- <input id="input3" ref="/root/main/patinfo/patinfolist/sex" class="input_search" disabled="true" style="left:902px; top:29px; width:20px; height:19px; "/>
- <input id="input4" ref="/root/main/patinfo/patinfolist/age" class="input_search" disabled="true" style="left:923px; top:29px; width:25px; height:19px; "/>
- <input id="input5" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_search" disabled="true" style="left:841px; top:29px; width:60px; height:19px; "/>
- </group>
- <datagrid id="grd_subresultdetail1" nodeset="/root/main/subordlist1/subresultdetail1" class="datagrid_noborder" autoresize="true" caption="^결과내역 ^judgmark^judgmark2^prcpcd^prcpnm^img^imgcnts" colsep="^" colwidth="19, 1184, 0, 0, 0, 0, 0, 0" frozencols="7" mergecellsfixedrows="bycolrec" rowsep="|" style="left:311px; top:110px; width:879px; height:632px; text-align:center; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="reptrslt" style="font-family:굴림체; text-align:left; "/>
- <col ref="judgmark"/>
- <col ref="judgmark2"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="img"/>
- <col ref="imgcnts"/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.ctrlKey == true && event.keyCode == 67)
- {
- aezfSendMarkBuf(grd_subresultdetail1, "reptrslt", "/root/main/subordlist1/subresultdetail1");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- grd_subresultdetail1.frozenCols = 0;
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if ( (grd_subresultdetail1.row >= grd_subresultdetail1.fixedRows) && (grd_subresultdetail1.isCell(event.target))) {
-
- if ( grd_subresultdetail1.row >0){
- for ( var i =0 ; i< grd_subresultdetail1.selectedRows;i++){
- /*
- if (model.getValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check")== "N"){
- model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "Y");
- } else {
- model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "N");
- }
- */
- }
- grd_subresultdetail1.frozenCols = 7;
- model.refresh();
- }
- }
-
- ]]>
- </script>
- </datagrid>
- <line id="line8" class="line_1" style="x1:311px; y1:105px; x2:1190px; y2:105px; "/>
- <caption id="caption22" class="tit_2" visibility="hidden" style="left:277px; top:26px; width:82px; height:13px; ">결과내역</caption>
- <button id="btn_case1" class="btn_sw" group="tab" selected="true" style="left:7px; top:84px; width:50px; height:22px; ">
- <caption>일자별</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- ]]>
- </script>
- </button>
- <button id="btn_case2" class="btn_sw" visibility="hidden" group="tab" style="left:50px; top:64px; width:75px; height:22px; ">
- <caption>검사분류별</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_makedset.visible = false;
-
- // 접기
- //fGetWideListX1(switch1, grd_mainset);
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
- fGetWideListX1(switch1, grd_mainprogress);
- fGetMainSeriousList();
- ]]>
- </script>
- </button>
- <button id="btn_case3" class="btn_sw" group="tab" style="left:57px; top:84px; width:55px; height:22px; ">
- <caption>SET별</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMainSetList();
-
- // grp_makedset.visible = true;
- // 접기
- //fGetWideListX1(switch1, grd_mainprogress);
-
- // 펼치기
- //fGetWideListX2(switch1, grd_mainset);
- //fGetMainSetList();
- ]]>
- </script>
- </button>
- <button id="btn_case4" class="btn_sw" group="tab" style="left:112px; top:84px; width:65px; height:22px; ">
- <caption>진행상태</caption>
- <toggle case="case4" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_makedset.visible = false;
-
- // 접기
- //fGetWideListX1(switch1, grd_mainset);
- datagrid2.visible = false;
- grd_subresultdetail1.visible = true;
-
- // 펼치기
- fGetWideListX2(switch1, grd_mainprogress);
- fGetMainProgressList();
- ]]>
- </script>
- </button>
- <button id="button102" class="icon_left" style="left:252px; top:85px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if ( btn_case1.selected == true ) fGetWideListX1(switch1, grd_maindaily);
- if ( btn_case2.selected == true ) fGetWideListX1(switch1, grd_mainserious);
- //if ( btn_case3.selected == true ) fGetWideListX1(switch1, grd_mainset);
- if ( btn_case4.selected == true ) fGetWideListX1(switch1, grd_mainprogress);
- ]]>
- </script>
- </button>
- <button id="button103" class="icon_right" style="left:279px; top:85px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if ( btn_case1.selected == true ) fGetWideListX2(switch1, grd_maindaily);
- if ( btn_case2.selected == true ) fGetWideListX2(switch1, grd_mainserious);
- //if ( btn_case3.selected == true ) fGetWideListX2(switch1, grd_mainset);
- if ( btn_case4.selected == true ) fGetWideListX2(switch1, grd_mainprogress);
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" visibility="hidden" style="left:835px; top:30px; width:64px; height:19px; ">
- <caption>누적조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("SMLLP01000");
- // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
- if ( grd_subresultdetail1.visible == true ) {
- fSetAddResult("1");
- }else if ( datagrid2.visible == true ) {
- fSetAddSPCResult("1");
- }
-
-
- ]]>
- </script>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 누적결과조회입니다]]>
- </hint>
- </button>
- <button id="button3" class="btn2_letter4" visibility="hidden" style="left:770px; top:30px; width:64px; height:19px; ">
- <caption>연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[연속보기] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- //alert(grd_maindaily.row);
-
- // if ( grd_maindaily.row == 0 ) grd_maindaily.select(parseInt(1), parseInt(0), parseInt(1), parseInt(11)) = true ;
- //return;
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
-
-
- fClickResultContinueList();
- ]]>
- </script>
- <hint>
- <![CDATA[결과내역에 대한 연속보기 기능입니다]]>
- </hint>
- </button>
- <group id="grp_searchset" style="left:445px; top:375px; width:427px; height:264px; ">
- <datagrid id="datagrid6" caption="진료과^구분^SET명^검사항목" colsep="^" colwidth="67, 54, 94, 203" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:53px; width:424px; height:208px; ">
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <caption id="caption8" class="tit_1" style="left:25px; top:10px; width:106px; height:13px; ">SET 조회</caption>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:3px; top:20px; width:420px; height:30px; "/>
- <select1 id="combo5" class="combo_search" appearance="minimal" style="left:80px; top:26px; width:113px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:10px; top:26px; width:70px; height:17px; ">진료과</caption>
- <button id="button15" class="btn2_letter2" style="left:370px; top:26px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_searchset.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <switch id="switch1" style="left:5px; top:105px; width:305px; height:636px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_maindaily" nodeset="/root/main/ordlist1/maindailylist" autoresize="true" caption="^보고일자^처방일자^검사명^검체명^상태^입/외^처방의^구분^보고일자^처방일자^바코드번호^검사중분류코드^유일번호^등록번호^전자서명번호^서식코드" colsep="^" colwidth="25, 68, 68, 115, 102, 58, 39, 65, 54, 68, 68, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:50px; width:300px; height:580px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="lastreptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpdd1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="examnm" style="text-align:left; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="statnm"/>
- <col ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drnm"/>
- <col ref="examgubun"/>
- <col ref="lastreptdd1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="bcno" visibility="hidden"/>
- <col ref="testmdlcd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="signno" visibility="hidden"/>
- <col ref="formcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //if ( grd_maindaily.row == 0 ) return;
- //alert(grd_maindaily.rows);
- if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
- var colidx = grd_maindaily.col;
- //alert(colidx+'-'+rowidx);
- // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
- /*
- if( colidx == 0)
- {
- }else {
- fClickResultList(grd_maindaily);
- }
- */
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_maindaily.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
- setPopupMenu("grd_maindaily", false, "/root/init/popupmenu/grid01/item", "name", "func");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
-
- var colidx = grd_maindaily.col;
-
- if ( grd_maindaily.row >0){
- for ( var i =0 ; i< grd_maindaily.selectedRows;i++){
- //alert(model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check"));
- if (model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check")== "N" ||
- model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check")== ""){
- if( colidx == 0) {
-
- }else {
- model.setValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check", "Y");
- }
-
- } else {
-
- if( colidx == 0) {
-
- }else {
- model.setValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check", "N");
- }
- }
- }
- model.refresh();
- }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:3px; top:6px; width:296px; height:39px; "/>
- <button id="btn_dailysrch" class="btn2_letter2" visibility="hidden" style="left:250px; top:12px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMainDailyList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_dailylist" ref="/root/send/data/singdata/prcpdd" class="combo_search" appearance="minimal" style="left:105px; top:16px; width:171px; height:19px; font-weight:bold; border-width:2px; ">
- <choices>
- <itemset nodeset="/root/main/ordlist6/maindistinctdailylist">
- <label ref="refname"/>
- <value ref="prcpdd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- fGetMainDailyList();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dailyviewgb" ref="/root/send/data/singdata/dailyviewgb" class="combo_search" visibility="hidden" appearance="minimal" style="left:170px; top:16px; width:113px; height:19px; font-weight:bold; ">
- <choices>
- <item>
- <label>텍스트결과조회</label>
- <value>1</value>
- </item>
- <item>
- <label>디자인결과조회</label>
- <value>2</value>
- </item>
- <item>
- <label>텍스트+디자인결과</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="button38" class="btn2_letter6" style="left:12px; top:15px; width:86px; height:19px; ">
- <caption>선택항목조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[연속보기] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- //alert(grd_maindaily.row);
-
- // if ( grd_maindaily.row == 0 ) grd_maindaily.select(parseInt(1), parseInt(0), parseInt(1), parseInt(11)) = true ;
- //return;
- if ( grd_maindaily.rows == 0 ) return;
- if ( grd_mainserious.rows == 0 ) return;
- if ( grd_mainseriouslist.rows == 0 ) return;
-
- fClickResultContinueList();
-
- ]]>
- </script>
- </button>
- </case>
- <case id="case2">
- <datagrid id="grd_mainserious" nodeset="/root/main/ordlist2/mainserious" caption="^처방일^주치의^입/외^상태^유일번호^등록번호" colsep="^" colwidth="22, 66, 78, 43, 78, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:90px; top:5px; width:204px; height:625px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="prcpdd" style="text-align:center; "/>
- <col ref="drnm"/>
- <col ref="prcpgenrflag" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="statnm"/>
- <col ref="execprcpuniqno"/>
- <col ref="pid"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_mainserious.row == 0 ) return;
- if ( (grd_mainserious.row >= grd_mainserious.fixedRows) && (grd_mainserious.isCell(event.target))) {
- var colidx = grd_mainserious.col;
- //alert(colidx+'-'+rowidx);
- // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
- if( colidx == 0)
- {
- }else {
- fClickResultList(grd_mainserious);
- }
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_mainseriouslist" nodeset="/root/main/ordlist5/mainseriouslist" caption="검사분류명^코드^검사구분" colsep="^" colwidth="81, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:5px; width:85px; height:625px; ">
- <col ref="examnm"/>
- <col ref="testmdlcd"/>
- <col ref="examgubun"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if ( grd_mainseriouslist.row == 0 ) return;
-
- if ( (grd_mainseriouslist.row >= grd_mainseriouslist.fixedRows) && (grd_mainseriouslist.isCell(event.target))) {
- var rowidx = grd_mainseriouslist.row;
-
- //alert(model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/testmdlcd"));
-
- var mdlcd = model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/testmdlcd");
- var examgubun = model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/examgubun");
- fGetMainSerious(mdlcd, examgubun);
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case3">
- <treeview id="trv_prmsprcpsetlist" ref="/root/temp/trvprmsprcpsetlist" dragmode="true" dropmode="true" expanddepth="5" fullrowselect="false" itemsettype="depth" style="left:0px; top:130px; width:301px; height:500px; border-color:#c7a3cf; border-style:solid; ">
- <itemset nodeset="/root/main/prmsprcpsetinfo/prmsprcpsetlist">
- <label ref="setnm"/>
- <value ref="setno"/>
- <depth ref="levl"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetNResultRef();
- ]]>
- </script>
- </treeview>
- <button id="btn_makedset" class="btn2_letter7" style="left:5px; top:10px; width:97px; height:19px; ">
- <caption>SET수정/등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_makedset.visible = false;
- //modal( "SMAER00801",100,10,"SMAER00801","","");
- //ivw_prcp.src = "SPAER00803_SET수정등록.xrw";
- var xpt = window.screenleft;
- var ypt = window.screentop;
- modal("SPAER00803", 1, xpt + 15, ypt+33);
-
- //modal( "SPAER00803",100,10,"SPAER00803","","");
- ]]>
- </script>
- </button>
- <button id="btn_setsrch" class="btn2_letter8" style="left:103px; top:10px; width:108px; height:19px; ">
- <caption>SET전체항목조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( grp_makedset.visible == true ) {
- grp_makedset.visible = false;
- return;
- }
- else {
- grp_makedset.visible = true;
- readPDfunc();
- }
- //grp_searchset.visible = true;
- ]]>
- </script>
- </button>
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:35px; width:295px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button2" class="btn2_letter2" style="left:219px; top:100px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchFolderNM();
- ]]>
- </script>
- </button>
- <input id="ipt_foldnm" ref="/root/send/setdata/foldernm" style="left:90px; top:100px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption12" class="search_name" style="left:15px; top:101px; width:86px; height:17px; ">폴더명 :</caption>
- <select1 id="cmb_deptset" ref="/root/send/setdata/deptsetcd" disabled="true" appearance="minimal" style="left:46px; top:74px; width:194px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/deptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSelectDeptCmb();
- //model.setValue("/root/send/setdata/deptnm", cmb_deptset.label);
- //readfunc();
- combo1.dispatch("xforms-value-changed");
- ]]>
- </script>
- </select1>
- <select1 id="rdo_setflag" ref="/root/send/setdata/setkindcd" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:56px; top:48px; width:179px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>P</value>
- </item>
- <item>
- <label>과</label>
- <value>D</value>
- </item>
- <item>
- <label>타과</label>
- <value>T</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grp_makedset.visible = false; // SET전체항목조회 비활성화
- if (model.getValue("/root/send/setdata/setkindcd") == "P" || model.getValue("/root/send/setdata/setkindcd") == "D"){
- submit("TRAER00815");
- readfunc();
- cmb_deptset.disabled = true;
- }else{
- submit("TRAER00815");
- cmb_deptset.disabled = false;
- readfunc(); // 실제 조회 결과는 없음.
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption13" visibility="hidden" style="left:71px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; ">개인</caption>
- <caption id="caption14" visibility="hidden" style="left:131px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; ">과</caption>
- <caption id="caption15" visibility="hidden" style="left:177px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; border-color:transparent; ">타과</caption>
- </case>
- <case id="case4">
- <datagrid id="grd_mainprogress" nodeset="/root/main/ordlist4/mainprogress" autoresize="true" caption="입/외^처방일시^구분^처방명^검체명^검체번호^상태^처방의^예약일시^채취일시^접수일시^실시일시^판독/보고일시^처방코드" colsep="^" colwidth="40, 115, 47, 143, 63, 57, 58, 45, 115, 115, 115, 115, 115, 80" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:5px; width:300px; height:625px; ">
- <col ref="prcpgenrflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="biznm"/>
- <col ref="prcpnm"/>
- <col ref="spcnm"/>
- <col ref="drugmthdspccd"/>
- <col ref="prcpstatnm"/>
- <col ref="orddrnm"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="bcolldt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="execdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="reptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="prcpcd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClickResultList(grd_mainprogress);
- ]]>
- </script>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- fSubmitOnScroll();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="button1" class="btn2_letter4" visibility="visible" style="left:1125px; top:65px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
-
- if ( btn_case1.selected == true || btn_case2.selected == true || btn_case4.selected == true ) {
- grd_subresultdetail1.saveExcel(file);
- }else if (btn_case3.selected == true) {
- datagrid2.saveExcel(file);
- }
- ]]>
- </script>
- </button>
- <group id="grp_makedset" style="left:8px; top:212px; width:303px; height:488px; ">
- <datagrid id="grd_makedset" nodeset="/root/main/prmsprcppdsetinfo/prmsprcpsetlist" autoresize="true" caption="구분^SET명^검사항목" colsep="^" colwidth="40, 76, 164" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:24px; width:300px; height:460px; ">
- <col ref="setkindnm"/>
- <col ref="setnm"/>
- <col ref="testcdnm"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_makedset.row >= grd_makedset.fixedRows ) {
- fGetPDResultRef();
- }
-
-
- ]]>
- </script>
- </datagrid>
- <button id="button9" class="btn2_letter2" style="left:250px; top:4px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_makedset.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption9" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">SET 전체항목조회</caption>
- </group>
- <datagrid id="datagrid2" nodeset="/root/main/rsltlist/row" visibility="hidden" autoresize="true" backcoloralternate="transparent" caption="검사항목" colsep="^" colwidth="80" dataheight="25" ellipsis="true" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" selectionmode="free" style="left:311px; top:110px; width:879px; height:632px; font-weight:bold; ">
- <col checkvalue="true,false" ref="chk"/>
- </datagrid>
- <button id="button4" class="btn2_letter4" visibility="hidden" style="left:689px; top:30px; width:64px; height:19px; ">
- <caption>CDIS연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[CDIS연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- //if ( grd_maindaily.row == 0 ) return;
- //if ( grd_mainserious.row == 0 ) return;
- //if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( btn_case1.selected == true ) fClickCDISResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickCDISResultList(grd_mainserious);
-
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" visibility="hidden" style="left:900px; top:30px; width:53px; height:19px; ">
- <caption>그래프</caption>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 그래프결과조회입니다]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( grd_subresultdetail1.visible == true ) {
- fSetAddResult("2");
- }else if ( datagrid2.visible == true ) {
- fSetAddSPCResult("2");
- }
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter5" visibility="hidden" style="left:613px; top:30px; width:75px; height:19px; ">
- <caption>PACS연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS Ord 연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- //if ( btn_case1.selected == true ) fClickPACSOrdResultList(grd_maindaily);
- //if ( btn_case2.selected == true ) fClickPACSOrdResultList(grd_mainserious);
- if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
-
-
- ]]>
- </script>
- </button>
- <button id="button8" class="btn2_letter5" visibility="hidden" style="left:307px; top:25px; width:75px; height:19px; ">
- <caption>PACS Pat</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS Pat 연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( btn_case1.selected == true ) fClickPACSPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSPatResultList(grd_mainserious);
- //zepfpacsPatientID(PatientID)
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter8" visibility="hidden" style="left:385px; top:35px; width:108px; height:19px; ">
- <caption>PACS Ord+Pat</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS Ord 연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
- //zepfpacsAll(OrderID, PatientID)
- ]]>
- </script>
- </button>
- <button id="button14" class="btn2_letter7" visibility="hidden" style="left:969px; top:30px; width:97px; height:19px; ">
- <caption>미생물누적조회</caption>
- <hint>
- <![CDATA[미생물 검사에 대한 누적결과조회입니다]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddMicroResult();
- ]]>
- </script>
- </button>
- <object id="obj_imge" clsid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" style="left:635px; top:110px; width:500px; height:500px; background-color:transparent; "/>
- <button id="button28" class="btn2_letter7" visibility="hidden" style="left:315px; top:5px; width:97px; height:19px; ">
- <caption>내시경연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[내시경연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetColonyDailyList();
- ]]>
- </script>
- </button>
- <button id="button29" class="btn2_letter6" visibility="hidden" style="left:412px; top:5px; width:86px; height:19px; ">
- <caption>병리연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[병리연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetPlgyDailyList();
- ]]>
- </script>
- </button>
- <button id="button26" class="btn2_letter7" visibility="hidden" style="left:498px; top:5px; width:97px; height:19px; ">
- <caption>미생물연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetCellDailyList();
- ]]>
- </script>
- </button>
- <button id="button27" class="btn2_letter6" visibility="hidden" style="left:595px; top:5px; width:86px; height:19px; ">
- <caption>기능연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[기능(과검사)연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetFuncDailyList();
- ]]>
- </script>
- </button>
- <button id="button31" class="btn2_letter6" style="left:826px; top:65px; width:86px; height:19px; ">
- <caption>CDIS연속연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[CDIS연속연동] 기능은 일자별 조회에서만 적용됩니다.","I999");
- return true;
- }
- //if ( grd_maindaily.row == 0 ) return;
- //if ( grd_mainserious.row == 0 ) return;
- //if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- if ( btn_case1.selected == true ) fClickCDISResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickCDISResultList(grd_mainserious);
- ]]>
- </script>
- </button>
- <button id="button32" class="btn2_letter6" visibility="hidden" style="left:681px; top:5px; width:86px; height:19px; ">
- <caption>영상연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[영상연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetPhotDailyList();
- ]]>
- </script>
- </button>
- <button id="button30" class="btn5_letter4" disabled="false" style="left:890px; top:85px; width:64px; height:19px; ">
- <caption>가로누적</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
- if ( grd_subresultdetail1.visible == true ) {
- fSetAddResult("1");
- }else if ( datagrid2.visible == true ) {
- fSetAddSPCResult("1");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 누적결과조회입니다]]>
- </hint>
- </button>
- <button id="button34" class="btn5_letter5" disabled="false" style="left:954px; top:85px; width:75px; height:19px; ">
- <caption>Graph누적</caption>
- <hint>
- <![CDATA[진검,미생물,핵의학체외에 대한 그래프 누적결과조회입니다]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_subresultdetail1.visible == true ) {
- fSetAddResult("2");
- }else if ( datagrid2.visible == true ) {
- fSetAddSPCResult("2");
- }
- ]]>
- </script>
- </button>
- <button id="button25" class="btn5_letter5" disabled="false" style="left:1029px; top:85px; width:75px; height:19px; ">
- <caption>미생물누적</caption>
- <hint>
- <![CDATA[미생물 검사에 대한 누적결과조회입니다]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetAddMicroResult();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/send/setdata/deptsetcd" class="combo_search" appearance="minimal" style="left:310px; top:66px; width:150px; height:19px; font-weight:bold; border-width:2px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_orddept/initexecorddept2">
- <label ref="execorddeptcdnm"/>
- <value ref="execorddeptcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- //alert(combo1.focusIndex);
- var index = combo1.focusIndex+1;
- model.setValue("/root/send/setdata/deptsetcd", model.getValue("/root/init/cmb_orddept/initexecorddept2["+index+"]/execorddeptcdid"));
- model.setValue("/root/send/setdata/deptnm", model.getValue("/root/init/cmb_orddept/initexecorddept2["+index+"]/execorddeptcdnm"));
- model.refresh();
-
- //alert(model.getValue("/root/send/setdata/deptsetcd"));
- //alert(model.getValue("/root/send/setdata/deptnm"));
- btn_case3.selected = true;
- model.toggle("case3");
- //return;
- fGetMainSetList();
- model.setValue("/root/send/setdata/deptsetcd", "");
- model.setValue("/root/send/setdata/deptnm", "");
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <button id="button33" class="btn2_letter6" style="left:912px; top:65px; width:86px; height:19px; ">
- <caption>PACS연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS 연동] 기능은 일자별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
-
- //if ( btn_case1.selected == true ) fClickPACSOrdResultList(grd_maindaily);
- //if ( btn_case2.selected == true ) fClickPACSOrdResultList(grd_mainserious);
- if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
- ]]>
- </script>
- </button>
- <button id="button24" class="btn2_letter7" visibility="hidden" style="left:767px; top:5px; width:97px; height:19px; ">
- <caption>진검연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetHemoDailyList();
- ]]>
- </script>
- </button>
- <button id="button35" class="btn2_letter7" visibility="hidden" style="left:864px; top:5px; width:97px; height:19px; ">
- <caption>핵체외연속보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( btn_case3.selected == true || btn_case4.selected == true) {
- // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
- // return true;
- //}
- fGetNuclDailyList();
- ]]>
- </script>
- </button>
- <button id="btn_MyPatList" class="btn2_letter5" style="left:965px; top:40px; width:75px; height:19px; ">
- <caption>대상자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(window.children.item("SPAER00802") == null)
- {
- var xpt = 1000;
- var ypt = 0;
- aezfTopMost("SPAER00802",1,xpt,ypt,"SPAER00802","/root/send/data/singdata","/root/send","",0,0);
-
- }else {
-
- copyNodesetType("/root/send", "/root/send/data/singdata", "replace" , window.children.item("SPAER00802").model, model);
- window.children.item("SPAER00802").model.refresh();
- window.children.item("SPAER00802").model.dispatch("xforms-ready");
- }
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter7" style="left:998px; top:65px; width:97px; height:19px; ">
- <caption>PACS-등록번호</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_case3.selected == true || btn_case4.selected == true) {
- messageBox("[PACS 연동-등록번호기준] 기능은 일자별 조회에서만 적용됩니다.","I999");
- return true;
- }
- if ( grd_maindaily.row == 0 ) return;
- if ( grd_mainserious.row == 0 ) return;
- if ( grd_mainseriouslist.row == 0 ) return;
- if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
- messageBox("등록번호를 입력하세요.","I999");
- return true;
- }
- if ( btn_case1.selected == true ) fClickPACSPatResultList(grd_maindaily);
- if ( btn_case2.selected == true ) fClickPACSPatResultList(grd_mainserious);
- ]]>
- </script>
- </button>
- <button id="button37" class="btn2_letter4" visibility="visible" style="left:1125px; top:85px; width:64px; height:19px; ">
- <caption>메뉴얼</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //open("SMAZZ00101",1,0,0,"SMAZZ00101");
- open("SMAZZ00101",1,0,0,"SMAZZ00101");
-
- //open(id,monNo,xPos,yPos,wid,ref,resultref,userProp,prevPos)
- ]]>
- </script>
- </button>
- <button id="button17" class="btn2_letter3" style="left:366px; top:86px; width:53px; height:19px; ">
- <caption>진검</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetHemoDailyList();
- ]]>
- </script>
- </button>
- <button id="button18" class="btn2_letter3" style="left:696px; top:86px; width:53px; height:19px; ">
- <caption>미생물</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCellDailyList();
- ]]>
- </script>
- </button>
- <button id="button19" class="btn2_letter3" style="left:421px; top:86px; width:53px; height:19px; ">
- <caption>병리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPlgyDailyList();
- ]]>
- </script>
- </button>
- <button id="button20" class="btn2_letter3" style="left:531px; top:86px; width:53px; height:19px; ">
- <caption>핵체외</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetNuclDailyList();
- ]]>
- </script>
- </button>
- <button id="button21" class="btn2_letter3" style="left:476px; top:86px; width:53px; height:19px; ">
- <caption>영상</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPhotDailyList();
-
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:311px; top:86px; width:53px; height:19px; ">
- <caption>전체</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
- fGetMainDistinctDailyList();
- fGetMainDailyList();
- ]]>
- </script>
- </button>
- <button id="button22" class="btn2_letter3" style="left:586px; top:86px; width:53px; height:19px; ">
- <caption>내시경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetColonyDailyList();
-
- ]]>
- </script>
- </button>
- <button id="button23" class="btn2_letter3" style="left:641px; top:86px; width:53px; height:19px; ">
- <caption>기능</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetFuncDailyList();
- ]]>
- </script>
- </button>
- <button id="button39" class="btn5_letter4" disabled="false" style="left:826px; top:85px; width:64px; height:19px; ">
- <caption>세로누적</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // "1" : 텍스트 결과 내역에서 호출 , "2" : 수치 누적결과 내역에서 호출
- if ( grd_subresultdetail1.visible == true ) {
- fSetVertAddResult("1");
- }else if ( datagrid2.visible == true ) {
- fSetVertAddResult("2");
- }
-
-
- //alert('개발진행중입니다.');
- ]]>
- </script>
- <hint>
- <![CDATA[검사항목(진검,미생물,핵의학체외) 1건에 대한 세로누적결과조회입니다]]>
- </hint>
- </button>
- <select1 id="cmb_mdl" ref="/root/hidden/mdlcd" class="combo_search" appearance="minimal" itemcount="30" style="left:461px; top:66px; width:160px; height:19px; font-weight:bold; border-width:2px; ">
- <choices>
- <itemset nodeset="/root/init/LB0102">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- btn_case3.selected = true;
- model.toggle("case3");
- datagrid2.visible = true;
- fGetNSeriesResultRef();
- //진검분류별 기준자료 조회
- cmb_mdl.selectedIndex = 0;
- model.setValue("/root/send/setdata/setno", "");
- model.setValue("/root/send/setdata/workflag", "");
-
- model.refresh();
- //alert('개발진행중입니다.');
- ]]>
- </script>
- </select1>
- <button id="button36" class="btn2_letter4" visibility="visible" style="left:751px; top:86px; width:64px; height:19px; ">
- <caption>건진소견</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetHealExamDetailList();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|