SMAER00804_결과조회(테스트).xrw 150 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>통합검사결과조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <prmsprcpsetinfo>
  11. <prmsprcpsetlist>
  12. <levl/>
  13. <setno/>
  14. <supsetno/>
  15. <sortno/>
  16. <setkindcd/>
  17. <settrgtcd/>
  18. <setnm/>
  19. </prmsprcpsetlist>
  20. </prmsprcpsetinfo>
  21. <prmsprcppdsetinfo>
  22. <prmsprcpsetlist>
  23. <setkindnm/>
  24. <setnm/>
  25. <testcdnm/>
  26. <setkindcd/>
  27. <levl/>
  28. <setno/>
  29. <supsetno/>
  30. <sortno/>
  31. <settrgtcd/>
  32. </prmsprcpsetlist>
  33. </prmsprcppdsetinfo>
  34. <rsltlist>
  35. <row/>
  36. <hearder/>
  37. </rsltlist>
  38. <ordlist1>
  39. <maindailylist>
  40. <check/>
  41. <lastreptdd/>
  42. <prcpdd1/>
  43. <examnm/>
  44. <spcnm/>
  45. <statnm/>
  46. <prcpgenrflag/>
  47. <drnm/>
  48. <examgubun/>
  49. <lastreptdd1/>
  50. <prcpdd/>
  51. <bcno/>
  52. <testmdlcd/>
  53. <execprcpuniqno/>
  54. <pid/>
  55. <signno/>
  56. <formcd/>
  57. </maindailylist>
  58. </ordlist1>
  59. <ordlist5>
  60. <mainseriouslist>
  61. <examnm/>
  62. <testmdlcd/>
  63. <examgubun/>
  64. </mainseriouslist>
  65. </ordlist5>
  66. <ordlist2>
  67. <mainserious>
  68. <check/>
  69. <prcpdd/>
  70. <drnm/>
  71. <prcpgenrflag/>
  72. <statnm/>
  73. <execprcpuniqno/>
  74. <pid/>
  75. </mainserious>
  76. </ordlist2>
  77. <ordlist3>
  78. <mainset/>
  79. </ordlist3>
  80. <ordlist4>
  81. <mainprogress>
  82. <prcpgenrflag/>
  83. <prcpdt/>
  84. <biznm/>
  85. <prcpnm/>
  86. <spcnm/>
  87. <drugmthdspccd/>
  88. <prcpstatnm/>
  89. <orddrnm/>
  90. <rsrvdt/>
  91. <bcolldt/>
  92. <acptdt/>
  93. <execdt/>
  94. <reptdt/>
  95. <prcpcd/>
  96. </mainprogress>
  97. </ordlist4>
  98. <ordlist6>
  99. <maindistinctdailylist>
  100. <prcpdd/>
  101. <refname/>
  102. </maindistinctdailylist>
  103. </ordlist6>
  104. <subordlist1>
  105. <subresultdetail1>
  106. <check/>
  107. <reptrslt/>
  108. <judgmark/>
  109. <judgmark2/>
  110. </subresultdetail1>
  111. </subordlist1>
  112. <tabsetsrchlist>
  113. <gubun>과별</gubun>
  114. <setnm>내분비갑상선</setnm>
  115. <setobject>CBC c PLT, D/C, T3,T4,TSH</setobject>
  116. </tabsetsrchlist>
  117. <tabsetsrchlist>
  118. <gubun>개인별</gubun>
  119. <setnm>DM CRF 회진용</setnm>
  120. <setobject>FBS,BUN,Cr,Na,K,Ca,P,Mg</setobject>
  121. </tabsetsrchlist>
  122. <patinfo>
  123. <patinfolist/>
  124. </patinfo>
  125. <popupendflag/>
  126. <xslt>
  127. <translist>
  128. <trans/>
  129. </translist>
  130. </xslt>
  131. </main>
  132. <send>
  133. <globalinstance>
  134. <instance1/>
  135. <instance2/>
  136. </globalinstance>
  137. <data>
  138. <singdata>
  139. <srchdate1/>
  140. <srchdate2/>
  141. <srchpid/>
  142. <wardcd/>
  143. <roomcd/>
  144. <listflag>Z</listflag>
  145. <deptcd/>
  146. <drid/>
  147. <chkcheck/>
  148. <chkcheck1/>
  149. <chkcheck2/>
  150. <chkcheck3/>
  151. <chkcheck4/>
  152. <chkcheck5/>
  153. <chkcheck6/>
  154. <chkcheck7/>
  155. <chkcheck8/>
  156. <tabflag/>
  157. <mdlcd/>
  158. <examgubun/>
  159. <prcpdd/>
  160. <offset/>
  161. <pagesize>999</pagesize>
  162. </singdata>
  163. </data>
  164. <maindata/>
  165. <setdata>
  166. <setkindcd>D</setkindcd>
  167. <deptsetcd/>
  168. <deptcd/>
  169. <deptnm/>
  170. <foldernm/>
  171. <setno/>
  172. <startdd/>
  173. <enddd/>
  174. <pid/>
  175. <tclscdlist/>
  176. <workflag/>
  177. </setdata>
  178. <iemr>
  179. <pid/>
  180. <orddeptcd/>
  181. <indd/>
  182. <docucd/>
  183. <ioflag/>
  184. <pagetot/>
  185. <cmc_spcid/>
  186. <cmc_orddate/>
  187. <cmc_orderseqno/>
  188. <treatno/>
  189. </iemr>
  190. <val/>
  191. <formcd/>
  192. <codeflag/>
  193. <cond1/>
  194. <cond2/>
  195. <cond3/>
  196. <cond99/>
  197. </send>
  198. <pacssend>
  199. <pacsdata>
  200. <prcpdd/>
  201. <execprcpuniqno/>
  202. <instcd/>
  203. <pid/>
  204. </pacsdata>
  205. </pacssend>
  206. <init>
  207. <cmb_ward>
  208. <initexecward>
  209. <execwardcdid/>
  210. <execwardcdnm/>
  211. </initexecward>
  212. </cmb_ward>
  213. <cmb_room>
  214. <initexecroom>
  215. <execroomcdid/>
  216. <execroomcdnm/>
  217. </initexecroom>
  218. </cmb_room>
  219. <cmb_orddept>
  220. <initexecorddept>
  221. <execorddeptcdid/>
  222. <execorddeptcdnm/>
  223. </initexecorddept>
  224. <initexecorddept2>
  225. <execorddeptcdid/>
  226. <execorddeptcdnm/>
  227. </initexecorddept2>
  228. </cmb_orddept>
  229. <cmb_orddr>
  230. <initexecorddr>
  231. <execorddrcdid/>
  232. <execorddrcdnm/>
  233. </initexecorddr>
  234. </cmb_orddr>
  235. <baseinfo>
  236. <initexecprcpstatcd/>
  237. <initprcpgenrflagcd/>
  238. </baseinfo>
  239. <srchcond1/>
  240. <baseorddd>
  241. <initorddd>
  242. <orddd/>
  243. </initorddd>
  244. </baseorddd>
  245. <initpacskey>
  246. <pacskey>
  247. <oldprcpkey/>
  248. </pacskey>
  249. </initpacskey>
  250. <popupmenu>
  251. <grid01>
  252. <item>
  253. <name>결과내역(디자인)</name>
  254. <func>fPopupXsltList</func>
  255. </item>
  256. </grid01>
  257. </popupmenu>
  258. </init>
  259. <hidden>
  260. <ref>
  261. <testgrupseqno/>
  262. <startdd/>
  263. <enddd/>
  264. <pid/>
  265. <refgbn>1</refgbn>
  266. <acptdd/>
  267. <acptdde/>
  268. <testmdllist/>
  269. <tclscdlist/>
  270. </ref>
  271. <temp>
  272. <rsltlist/>
  273. </temp>
  274. <testmdllist/>
  275. <addresult>
  276. <pid/>
  277. <startdd/>
  278. <enddd/>
  279. <tclscdlist>
  280. <tclscdlist/>
  281. <tclsnmlist/>
  282. <tclscdlist2/>
  283. <tclsnmlist2/>
  284. </tclscdlist>
  285. <refgbn/>
  286. </addresult>
  287. <vertaddresult>
  288. <pid/>
  289. <hngnm/>
  290. <sex/>
  291. <age/>
  292. <testcd/>
  293. </vertaddresult>
  294. <addmicroresult>
  295. <pid/>
  296. <usdd/>
  297. <uedd/>
  298. </addmicroresult>
  299. <mdlcd>00</mdlcd>
  300. </hidden>
  301. <temp>
  302. <trvprmsprcpsetlist/>
  303. </temp>
  304. <paminfo/>
  305. </root>
  306. </instance>
  307. <script type="javascript" ev:event="xforms-ready">
  308. <![CDATA[
  309. //alert(rdo_statecd.value);
  310. if ( rdo_statecd.value == "J" || rdo_statecd.value == "Z" ) {
  311. grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = false;
  312. grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = true;
  313. grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = true;
  314. grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = false;
  315. }else
  316. if ( rdo_statecd.value == "P" ) {
  317. grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = true;
  318. grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = false;
  319. grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = false;
  320. grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = true;
  321. }
  322. // 이미지 object, 브라우져 object 비활성화
  323. document.controls("obj_imge").attribute("visibility") = "hidden";
  324. //document.controls("browser1").attribute("visibility") = "hidden";
  325. model.toggle("case1");
  326. aezfSetSuppDeptcd();
  327. // 병리에서 사용 근무지 기관코드 가져오기
  328. model.setValue("/root/send/globalinstance/instance2", getUserInfo("dutplceinstcd") );
  329. // Grid MultiCheck
  330. //grd_maindaily.fixedcellcheckbox(0,0)=true;
  331. //grd_mainserious.fixedcellcheckbox(0,0)=true;
  332. //grd_subresultdetail1.fixedcellcheckbox(0,0)=true;
  333. // set만들기, set조회 그룹 비활성화
  334. grp_makedset.visible = false;
  335. grp_searchset.visible = false;
  336. // 조회기간, Combo Box 초기화
  337. ipt_date1.value = getCurrentDate();
  338. var vRsrvdd = ipt_date1.value ;
  339. vRsrvdd = vRsrvdd.toDate("YYYYMMDD");
  340. vRsrvdd = vRsrvdd.getAddDate(-182);
  341. ipt_date1.value = vRsrvdd.getDateFormat();
  342. ipt_date2.value = getCurrentDate();
  343. cmb_orddept.select(0);
  344. cmb_orddr.select(0);
  345. cmb_wardcd.select(0);
  346. cmb_roomcd.select(0);
  347. submit("TRAER00801");
  348. submit("TRAER00803");
  349. //zbcfGetCodeList( new Array("M0011"), new Array("/root/init/baseinfo/initexecprcpstatcd") );
  350. zbcfGetCodeList( new Array("M0010"), new Array("/root/init/baseinfo/initprcpgenrflagcd") );
  351. submit("TRZBC00101");
  352. // PACS 연동 초기화
  353. zepfpacsInit();
  354. //grd_subresultdetail1.fixedcellcheckbox(0,1)=true;
  355. // LIS 중분류 리스트 조회
  356. fLbCodelist();
  357. model.refresh();
  358. if(checkOpener()) //opener 검사
  359. {
  360. var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  361. if(param != "") // opener parameter value가 있는 경우
  362. {
  363. //parameter value를 이용하여 프로그램 수행
  364. }
  365. else // opener parameter가 없는 경우 화면 원무 정보 check
  366. {
  367. var paminfo = getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
  368. if(paminfo != "") //원무 정보(기본 정보)가 있는 경우
  369. {
  370. //alert("원무정보가있는경우");
  371. model.removeNodeset("/root/paminfo"); //여러개의 instance발생을 막기 위해 removeNodeset을 해줘야 함.
  372. model.makeNode("/root/paminfo");
  373. setCSVToNode("/root/paminfo", paminfo);
  374. //상단 정보를 이용하여 프로그램 수행
  375. var pid = model.getValue("/root/paminfo" + "/list/pid");
  376. //var deptcd = model.getValue("/root/paminfo" + "/list/orddeptcd");
  377. //var wardcd = model.getValue("/root/paminfo" + "/list/wardcd");
  378. //var medispclid = model.getValue("/root/paminfo" + "/list/medispclid");
  379. var hngnm = model.getValue("/root/paminfo" + "/list/hngnm");
  380. var rrgstno1 = model.getValue("/root/paminfo" + "/list/rrgstno1");
  381. var rrgstno2 = model.getValue("/root/paminfo" + "/list/rrgstno2");
  382. var sex = model.getValue("/root/paminfo" + "/list/sex");
  383. var age = model.getValue("/root/paminfo" + "/list/age");
  384. model.setValue("/root/send/data/singdata/srchpid", pid);
  385. //model.setValue("/root/send/data/singdata/deptcd" , deptcd);
  386. //model.setValue("/root/send/data/singdata/wardcd", wardcd);
  387. //model.setValue("/root/send/data/singdata/drid" , medispclid);
  388. model.makeValue("/root/main/patinfo/patinfolist/hngnm", hngnm);
  389. model.makeValue("/root/main/patinfo/patinfolist/rrgstno1", rrgstno1);
  390. model.makeValue("/root/main/patinfo/patinfolist/rrgstno2", rrgstno2);
  391. model.makeValue("/root/main/patinfo/patinfolist/sex", sex);
  392. model.makeValue("/root/main/patinfo/patinfolist/age", age);
  393. model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
  394. model.refresh();
  395. fGetMainDistinctDailyList();
  396. fGetMainDailyList();
  397. }
  398. else //원무 정보(기본 정보)가 없는 경우
  399. {
  400. //원무 정보가 없는 상태로 프로그램 수행
  401. if ( model.getValue("/root/send/data/singdata/srchpid") != "" ) {
  402. //alert("원무 정보가 없는 상태로 프로그램 수행");
  403. if ( (model.getValue("/root/send/data/singdata/srchdate11") != "" )
  404. && (model.getValue("/root/send/data/singdata/srchdate22") != "" )
  405. && (model.getValue("/root/send/data/singdata/listflag2") != "" ) ) { // 진료요청 , 20080116
  406. model.setValue("/root/send/data/singdata/srchdate1", model.getValue("/root/send/data/singdata/srchdate11") );
  407. model.setValue("/root/send/data/singdata/srchdate2", model.getValue("/root/send/data/singdata/srchdate22") );
  408. model.setValue("/root/send/data/singdata/listflag", model.getValue("/root/send/data/singdata/listflag2") );
  409. }
  410. // 환자정보 가져오기
  411. aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
  412. model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
  413. model.refresh();
  414. fGetMainDistinctDailyList();
  415. fGetMainDailyList();
  416. }
  417. }
  418. }
  419. }else {
  420. if ( model.getValue("/root/send/data/singdata/srchpid") != "" ) {
  421. if ( (model.getValue("/root/send/data/singdata/srchdate11") != "" )
  422. && (model.getValue("/root/send/data/singdata/srchdate22") != "" )
  423. && (model.getValue("/root/send/data/singdata/listflag2") != "" ) ) { // 진료요청 , 20080116
  424. model.setValue("/root/send/data/singdata/srchdate1", model.getValue("/root/send/data/singdata/srchdate11") );
  425. model.setValue("/root/send/data/singdata/srchdate2", model.getValue("/root/send/data/singdata/srchdate22") );
  426. model.setValue("/root/send/data/singdata/listflag", model.getValue("/root/send/data/singdata/listflag2") );
  427. }
  428. //alert("진료요청 , 20080116");
  429. // 환자정보 가져오기
  430. aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
  431. model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
  432. model.refresh();
  433. fGetMainDistinctDailyList();
  434. fGetMainDailyList();
  435. }
  436. }
  437. model.SetValue("/root/send/data/singdata/chkcheck", "");
  438. model.setFocus("ipt_pid");
  439. // SET별 진료과의 첫번째 index의 명칭을 변경한다.
  440. model.setValue("/root/init/cmb_orddept/initexecorddept2[1]/execorddeptcdnm", " 과별SET 누적조회");
  441. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2020000000']"); // 신경과
  442. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2040000000']"); // 외과
  443. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2050000000']"); // 정형외과
  444. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2060000000']"); // 신경외과
  445. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2060000000']"); // 신경외과
  446. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2080000000']"); // 성형외과
  447. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2090000000']"); // 마취통증의학과
  448. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2120000000']"); // 안과
  449. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2130000000']"); // 이비인후과
  450. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2140000000']"); // 피부과
  451. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2160000000']"); // 영상의학과
  452. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2170000000']"); // 방사선종양학과
  453. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2180000000']"); // 핵의학과
  454. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2200000000']"); // 진단검사의학과
  455. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2210000000']"); // 병리과
  456. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2220000000']"); // 재활의학과
  457. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2230000000']"); // 가정의학과
  458. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2240000000']"); // 치과
  459. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='2280000000']"); // 응급의학과
  460. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='3100000000']"); // 호스피스과
  461. model.removeNode("/root/init/cmb_orddept/initexecorddept2[execorddeptcdid='3240200000']"); // 임상약리과
  462. model.makeValue("/root/init/cmb_orddept/initexecorddept2[17]/execorddeptcdnm", "약제과");
  463. model.makeValue("/root/init/cmb_orddept/initexecorddept2[17]/execorddeptcdid", "3240000000");
  464. grd_maindaily.fixedcellcheckbox(0,0)=true;
  465. // 나의 환자리스트 가져오기
  466. //btn_MyPatList.dispatch("DOMActivate");
  467. model.refresh();
  468. ]]>
  469. </script>
  470. <bind id="bind_prcpgenrflagcd" ref="/root/main/ordlist1/maindailylist/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
  471. <bind id="bind_prcpgenrflagcd1" ref="/root/main/ordlist2/mainserious/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
  472. <bind id="bind_prcpgenrflagcd2" ref="/root/main/ordlist4/mainprogress/prcpgenrflag" readonly="../prcpgenrflag!=''"/>
  473. <submission id="TRAER00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_ward"/>
  474. <submission id="TRAER00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata/wardcd" replace="instance" resultref="/root/init/cmb_room"/>
  475. <submission id="TRAER00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_orddept"/>
  476. <submission id="TRAER00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata/deptcd" replace="instance" resultref="/root/init/cmb_orddr"/>
  477. <submission id="TRAER00806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist1"/>
  478. <submission id="TRAER00850" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/maindata" replace="instance" resultref="/root/main/subresultdetail1"/>
  479. <submission id="TRAER00851" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/subresultdetail1"/>
  480. <submission id="TRZBC00101"/>
  481. <submission id="TRAER00810" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist4"/>
  482. <submission id="TRAER00808" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist5"/>
  483. <submission id="TRAER00809" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist2"/>
  484. <!--<submission id="TRAER00816" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/temp/rsltlist"/> -->
  485. <submission id="TRLLP01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/temp/rsltlist"/>
  486. <submission id="TRAER00813" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/setdata" resultref="/root/main/prmsprcpsetinfo"/>
  487. <submission id="TRAER00815" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/deptlist"/>
  488. <submission id="TRAER00817" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prmsprcppdsetinfo"/>
  489. <submission id="TRAER00811" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/init/baseorddd"/>
  490. <submission id="TRAER00812" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data/singdata" replace="instance" resultref="/root/main/ordlist6"/>
  491. <submission id="TRAER00818" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/pacssend/pacsdata" replace="instance" resultref="/root/init/initpacskey"/>
  492. <submission id="TRMRI00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/xslt/translist"/>
  493. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0103"/>
  494. <submission id="TRMMO02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
  495. </model>
  496. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  497. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  498. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  499. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  500. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  501. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  502. <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
  503. <script type="javascript">
  504. <![CDATA[
  505. /* @group : 결과조회
  506. * @ver : 2007.06.14
  507. * @by : 장준원
  508. * @-----------------------------------
  509. * @type : function
  510. * @access : public
  511. * @desc : 진검분류별 기준 코드 조회를 위한 Function
  512. */
  513. function fLbCodelist() {
  514. model.setValue("/root/send/codeflag", "0102|"); // 0102= 중분류 // 0103 검사그룹
  515. submit("TRLZZ00101");
  516. model.setValue("/root/init/LB0102[1]/nm", " 진검분류별 누적조회");
  517. }
  518. function fClose(){
  519. window.close();
  520. }
  521. function fGetPatInfo() {
  522. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data/singdata/srchpid","/root/main/send");
  523. model.setValue("/root/send/data/singdata/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  524. model.refresh();
  525. //if ( btn_case1.selected == true ) inputEnterKey("btn_dailysrch", "DOMActivate");
  526. //else inputEnterKey("btn_srch", "DOMActivate");
  527. }
  528. /* @group : 결과조회
  529. * @ver : 2007.06.14
  530. * @by : 장준원
  531. * @-----------------------------------
  532. * @type : function
  533. * @access : public
  534. * @desc : 병실정보 조회를 위한 Function
  535. */
  536. function fChngSrchRoomCd() {
  537. if ( model.getValue("/root/send/data/singdata/wardcd") == "" ) return;
  538. //alert(cmb_wardcd.value);
  539. //alert(model.getValue("/root/send/data/singdata/wardcd"));
  540. model.resetInstanceNode("/root/init/cmb_room/initexecroom");
  541. submit("TRAER00802");
  542. }
  543. /* @group : 결과조회
  544. * @ver : 2007.06.14
  545. * @by : 장준원
  546. * @-----------------------------------
  547. * @type : function
  548. * @access : public
  549. * @desc : 주치의정보 조회를 위한 Function
  550. */
  551. function fChngSrchDrId() {
  552. if ( model.getValue("/root/send/data/singdata/deptcd") == "" ) return;
  553. //alert(cmb_wardcd.value);
  554. //alert(model.getValue("/root/send/data/singdata/deptcd"));
  555. model.resetInstanceNode("/root/init/cmb_orddr/initexecorddr");
  556. submit("TRAER00804");
  557. }
  558. /* @group : 결과조회
  559. * @ver : 2007.06.14
  560. * @by : 장준원
  561. * @-----------------------------------
  562. * @type : function
  563. * @access : public
  564. * @desc : 검사구분을 Check 하기 위한 Function
  565. */
  566. function fcheckyn() {
  567. if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
  568. model.setValue("/root/send/data/singdata/chkcheck1",""); model.setValue("/root/send/data/singdata/chkcheck2","");
  569. model.setValue("/root/send/data/singdata/chkcheck3",""); model.setValue("/root/send/data/singdata/chkcheck4","");
  570. model.setValue("/root/send/data/singdata/chkcheck5",""); model.setValue("/root/send/data/singdata/chkcheck6","");
  571. model.setValue("/root/send/data/singdata/chkcheck7",""); model.setValue("/root/send/data/singdata/chkcheck8","");
  572. }
  573. //model.refresh();
  574. }
  575. /* @group : 결과조회
  576. * @ver : 2007.06.14
  577. * @by : 장준원
  578. * @-----------------------------------
  579. * @type : function
  580. * @access : public
  581. * @desc : 검사구분을 Check 하기 위한 Function
  582. */
  583. function fcheckyn2(gubn) {
  584. switch (gubn) {
  585. case "A" :
  586. model.setValue("/root/send/data/singdata/chkcheck","");
  587. model.setValue("/root/send/data/singdata/chkcheck2", ""); model.setValue("/root/send/data/singdata/chkcheck3", "");
  588. model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
  589. model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
  590. case "B" :
  591. model.setValue("/root/send/data/singdata/chkcheck","");
  592. model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck3", "");
  593. model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
  594. model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
  595. case "C" :
  596. model.setValue("/root/send/data/singdata/chkcheck","");
  597. model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
  598. model.setValue("/root/send/data/singdata/chkcheck4", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
  599. model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
  600. case "D" :
  601. model.setValue("/root/send/data/singdata/chkcheck","");
  602. model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
  603. model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck5", "");
  604. model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
  605. case "E" :
  606. model.setValue("/root/send/data/singdata/chkcheck","");
  607. model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
  608. model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
  609. model.setValue("/root/send/data/singdata/chkcheck6", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
  610. case "F" :
  611. model.setValue("/root/send/data/singdata/chkcheck","");
  612. model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
  613. model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
  614. model.setValue("/root/send/data/singdata/chkcheck5", ""); model.setValue("/root/send/data/singdata/chkcheck7", ""); break;
  615. case "G" :
  616. model.setValue("/root/send/data/singdata/chkcheck","");
  617. model.setValue("/root/send/data/singdata/chkcheck1", ""); model.setValue("/root/send/data/singdata/chkcheck2", "");
  618. model.setValue("/root/send/data/singdata/chkcheck3", ""); model.setValue("/root/send/data/singdata/chkcheck4", "");
  619. model.setValue("/root/send/data/singdata/chkcheck5", ""); model.setValue("/root/send/data/singdata/chkcheck6", ""); break;
  620. default : break;
  621. }
  622. // if ( model.getValue("/root/send/data/singdata/chkcheck8") == "H" ) model.setValue("/root/send/data/singdata/chkcheck","");
  623. //model.refresh();
  624. }
  625. /* @group : 결과조회
  626. * @ver : 2007.06.14
  627. * @by : 장준원
  628. * @-----------------------------------
  629. * @type : function
  630. * @access : public
  631. * @desc : 조건 일자별 메인조회를 위한 조건체크 Function
  632. */
  633. function fGetMainListCondiCheck_Case1() {
  634. //alert('fGetMainListCondiCheck_Case1->'+model.getValue("/root/send/data/singdata/srchpid"));
  635. //model.makeValue("/root/temp/checkpid", model.getValue("/root/send/data/singdata/srchpid"));
  636. //alert('/root/temp/checkpid'+model.getValue("/root/temp/checkpid"));
  637. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  638. messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
  639. model.setfocus( "ipt_pid" );
  640. return "0";
  641. }
  642. // if ( model.getValue("/root/send/data/singdata/chkcheck") == "" &&
  643. // model.getValue("/root/send/data/singdata/chkcheck1") == "" && model.getValue("/root/send/data/singdata/chkcheck2") == "" &&
  644. // model.getValue("/root/send/data/singdata/chkcheck3") == "" && model.getValue("/root/send/data/singdata/chkcheck4") == "" &&
  645. // model.getValue("/root/send/data/singdata/chkcheck5") == "" && model.getValue("/root/send/data/singdata/chkcheck6") == "" &&
  646. // model.getValue("/root/send/data/singdata/chkcheck7") == "" && model.getValue("/root/send/data/singdata/chkcheck8") == "" ) {
  647. // messageBox("[조회필수항목-검사구분] 중 한가지 이상 체크하십시오.","I999");
  648. // return "0";
  649. // }
  650. }
  651. /* @group : 결과조회
  652. * @ver : 2007.06.14
  653. * @by : 장준원
  654. * @-----------------------------------
  655. * @type : function
  656. * @access : public
  657. * @desc : 조건 검사분류별 메인조회를 위한 조건체크 Function
  658. */
  659. function fGetMainListCondiCheck_Case2() {
  660. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  661. messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
  662. model.setfocus( "ipt_pid" );
  663. return "0";
  664. }
  665. }
  666. /* @group : 결과조회
  667. * @ver : 2007.06.14
  668. * @by : 장준원
  669. * @-----------------------------------
  670. * @type : function
  671. * @access : public
  672. * @desc : 조건 SET별 메인조회를 위한 조건체크 Function
  673. */
  674. function fGetMainListCondiCheck_Case3() {
  675. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  676. messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
  677. model.setfocus( "ipt_pid" );
  678. return "0";
  679. }
  680. }
  681. /* @group : 결과조회
  682. * @ver : 2007.06.14
  683. * @by : 장준원
  684. * @-----------------------------------
  685. * @type : function
  686. * @access : public
  687. * @desc : 조건 진행상태별 메인조회를 위한 조건체크 Function
  688. */
  689. function fGetMainListCondiCheck_Case4() {
  690. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  691. messageBox("[조회필수항목-등록번호]는 필수입력 항목입니다.","I999");
  692. model.setfocus( "ipt_pid" );
  693. return "0";
  694. }
  695. }
  696. /* @group : 결과조회
  697. * @ver : 2007.06.14
  698. * @by : 장준원
  699. * @-----------------------------------
  700. * @type : function
  701. * @access : public
  702. * @desc : 조건 메인 일자별 처방일기준 조회 Function
  703. */
  704. function fGetMainDistinctDailyList() {
  705. btn_case1.selected = true;
  706. model.toggle("case1");
  707. grp_makedset.visible = false;
  708. datagrid2.visible = false;
  709. grd_subresultdetail1.visible = true;
  710. fGetWideListX1(switch1, grd_maindaily);
  711. // 조건 체크
  712. var check = fGetMainListCondiCheck_Case1();
  713. if ( check == "0" ) return true;
  714. if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
  715. fcheckyn();
  716. }
  717. // Grid 초기화
  718. fInitGrid();
  719. model.setValue("/root/send/data/singdata/tabflag","distinctdaily");
  720. //alert('IN->'+model.getValue("/root/send/data/singdata/chkcheck"));
  721. model.refresh();
  722. submit("TRAER00812");
  723. }
  724. /* @group : 접수관리(진단방사선)
  725. * @ver : 2007.03.21
  726. * @by : 장준원
  727. * @-----------------------------------
  728. * @type : function
  729. * @access : public
  730. * @desc : Grid초기화 Function
  731. */
  732. function fInitGrid() {
  733. model.resetInstanceNode("/root/main/ordlist1/maindailylist");
  734. model.resetInstanceNode("/root/main/ordlist2/mainserious");
  735. model.resetInstanceNode("/root/main/ordlist5/mainseriouslist");
  736. model.resetInstanceNode("/root/main/ordlist3/mainset");
  737. model.resetInstanceNode("/root/main/ordlist4/mainprogress");
  738. model.resetInstanceNode("/root/main/subordlist1/subresultdetail1");
  739. // 일자별 조회만 적용. 20080727 , 장준원
  740. //alert(rdo_statecd.value);
  741. if ( btn_case1.selected == true ) {
  742. if ( rdo_statecd.value == "J" || rdo_statecd.value == "Z" ) {
  743. grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = false;
  744. grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = true;
  745. grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = true;
  746. grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = false;
  747. }else
  748. if ( rdo_statecd.value == "P" ) {
  749. grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd")) = true;
  750. grd_maindaily.colhidden(grd_maindaily.colref("prcpdd1")) = false;
  751. grd_maindaily.colhidden(grd_maindaily.colref("lastreptdd1")) = false;
  752. grd_maindaily.colhidden(grd_maindaily.colref("prcpdd")) = true;
  753. }
  754. }
  755. //model.refresh();
  756. }
  757. /* @group : 결과조회
  758. * @ver : 2007.06.14
  759. * @by : 장준원
  760. * @-----------------------------------
  761. * @type : function
  762. * @access : public
  763. * @desc : 조건 메인 일자별조회 Function
  764. */
  765. function fGetMainDailyList() {
  766. btn_case1.selected = true;
  767. model.toggle("case1");
  768. grp_makedset.visible = false;
  769. datagrid2.visible = false;
  770. grd_subresultdetail1.visible = true;
  771. fGetWideListX1(switch1, grd_maindaily);
  772. // 조건 체크
  773. var check = fGetMainListCondiCheck_Case1();
  774. if ( check == "0" ) return true;
  775. if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
  776. fcheckyn();
  777. }
  778. // Grid 초기화
  779. fInitGrid();
  780. // 환자정보
  781. fGetMainSrchPatInfo();
  782. model.setValue("/root/send/data/singdata/tabflag","daily");
  783. //alert('IN->'+model.getValue("/root/send/data/singdata/chkcheck"));
  784. model.refresh();
  785. submit("TRAER00806");
  786. var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
  787. var cnt = 0;
  788. // 일자별 전체조회일경우만 기준일자 조회
  789. if ( srchLength1 > 0 ) {
  790. submit("TRAER00811");
  791. var orddd = model.getValue("/root/init/baseorddd/initorddd/orddd");
  792. var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
  793. // Grid Background Color Clear
  794. for ( var i = 1; i <= srchLength1; i++ ) {
  795. grd_maindaily.rowstyle( i , "data" , "background-color" ) = "#ffffff";
  796. }
  797. for ( var i = 1; i <= srchLength1; i++ ) {
  798. // 기준일자 이후의 처방일자는 모두 체크표시를 한다.
  799. if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/prcpdd").getTrim() >= orddd ) {
  800. model.setValue("/root/main/ordlist1/maindailylist[" + i + "]/check", "Y");
  801. // 전체연속보기이면 체크를 20개까지만 적용함. 장준원 , 20080201, 30개로 늘림, 20080727
  802. //if ( model.getValue("/root/send/data/singdata/chkcheck") == "ALL" ) {
  803. if ( cnt == 30 ) break;
  804. //}
  805. cnt++
  806. }
  807. // 전자서명번호가 존재하면 색상을 변경한다. 즉, 사본출력가능한 처방이면서 원래 서식모양으로 보여주기 위해, 20080214
  808. if ( model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno") == "") {
  809. var signno = 0;
  810. }else {
  811. var signno = parseInt(model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno"));
  812. }
  813. if ( signno > 0 ) {
  814. grd_maindaily.rowstyle( i , "data" , "background-color" ) = "#b9e5fb";
  815. }
  816. }
  817. // 1. execprcpuniqno가 0이 아니면서(검사/치료만적용)
  818. // 2. Signno가 동일 값이면
  819. // => 다중처방 단일서식이기에 결과내역은 한 건만 조회되게 한다.
  820. var flag = "N";
  821. for ( var i = 1; i <= srchLength1; i++ ) {
  822. var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/execprcpuniqno");
  823. var signno = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/signno");
  824. //alert(execprcpuniqno);
  825. if ( execprcpuniqno != "0" && signno != "0" && signno != "" ) {
  826. for ( var j = 1; j <= srchLength1; j++ ) {
  827. var vsignno = model.getValue("/root/main/ordlist1/maindailylist[" + j + "]/signno");
  828. //alert('i->' + i + ', j->' + j + ', signno->' + signno + ', vsignno->' + vsignno);
  829. if ( i != j && signno == vsignno ) {
  830. //alert('다중 처방이면서 단일서식 결과가 존재합니다. 테스트중입니다!!');
  831. model.setValue("/root/main/ordlist1/maindailylist[" + j + "]/check", "N");
  832. flag = "Y";
  833. }
  834. }
  835. }
  836. if ( flag == "Y" ) break;
  837. }
  838. model.refresh();
  839. if ( cnt > 0 ) fClickResultContinueList();
  840. }
  841. // 20080727, 장준원
  842. // 조회기준이 보고or검사일 : 처방일자 <-> 보고일자
  843. // 조회기준이 처방일 : 보고일자<->처방일자
  844. }
  845. /* @group : 결과조회
  846. * @ver : 2007.06.14
  847. * @by : 장준원
  848. * @-----------------------------------
  849. * @type : function
  850. * @access : public
  851. * @desc : 조건 메인 검사분류별조회 Function
  852. */
  853. function fGetMainSeriousList() {
  854. // 조건 체크
  855. var check = fGetMainListCondiCheck_Case2();
  856. if ( check == "0" ) return true;
  857. // Grid 초기화
  858. fInitGrid();
  859. model.setValue("/root/send/data/singdata/tabflag","serious");
  860. submit("TRAER00808");
  861. }
  862. /* @group : 결과조회
  863. * @ver : 2007.06.14
  864. * @by : 장준원
  865. * @-----------------------------------
  866. * @type : function
  867. * @access : public
  868. * @desc : 조건 메인 검사분류별 상세조회 Function
  869. */
  870. function fGetMainSerious(mdlcd, examgubun) {
  871. // 조건 체크
  872. var check = fGetMainListCondiCheck_Case2();
  873. if ( check == "0" ) return true;
  874. // Grid 초기화
  875. model.resetInstanceNode("/root/main/ordlist2/mainserious");
  876. model.resetInstanceNode("/root/main/subordlist1/subresultdetail1");
  877. model.setValue("/root/send/data/singdata/tabflag","serious");
  878. model.setValue("/root/send/data/singdata/mdlcd", mdlcd); // 중분류코드
  879. model.setValue("/root/send/data/singdata/examgubun", examgubun); // 중분류코드명
  880. submit("TRAER00809");
  881. }
  882. /* @group : 결과조회
  883. * @ver : 2007.06.14
  884. * @by : 장준원
  885. * @-----------------------------------
  886. * @type : function
  887. * @access : public
  888. * @desc : 조건 메인 SET별조회 Function
  889. */
  890. function fGetMainSetList() {
  891. grp_makedset.visible = false; // SET전체항목조회 비활성화
  892. datagrid2.visible = true;
  893. grd_subresultdetail1.visible = false;
  894. //model.resetInstanceNode("/root/send/setdata");
  895. model.setValue("/root/send/setdata/setkindcd", "D");
  896. // 환자정보
  897. fGetMainSrchPatInfo();
  898. readfunc();
  899. // alert(trv_prmsprcpsetlist.length);
  900. // Tree 자동 선택 후 조회하기
  901. if ( trv_prmsprcpsetlist.length > 1) {
  902. trv_prmsprcpsetlist.selectedIndex = 1;
  903. trv_prmsprcpsetlist.dispatch("xforms-select");
  904. }else {
  905. }
  906. }
  907. /* @group : 결과조회
  908. * @ver : 2007.06.14
  909. * @by : 장준원
  910. * @-----------------------------------
  911. * @type : function
  912. * @access : public
  913. * @desc : 조건 메인 진행상태별조회 Function
  914. */
  915. function fGetMainProgressList() {
  916. // 조건 체크
  917. var check = fGetMainListCondiCheck_Case4();
  918. if ( check == "0" ) return true;
  919. // Grid 초기화
  920. fInitGrid();
  921. // 환자정보
  922. fGetMainSrchPatInfo();
  923. // 대량조회-offset초기화
  924. model.setValue("/root/send/data/singdata/offset","0");
  925. model.setValue("/root/send/data/singdata/tabflag","progress");
  926. submit("TRAER00810");
  927. }
  928. function fInitial_subordlist() {
  929. model.removeNodeset("/root/main/subordlist1/subresultdetail1"); // 결과내역
  930. model.removeNodeset("/root/send/maindata"); // 일자별 그리드
  931. model.makeNode("/root/send/maindata");
  932. }
  933. /* @group : 결과조회
  934. * @ver : 2007.06.14
  935. * @by : 장준원
  936. * @-----------------------------------
  937. * @type : function
  938. * @access : public
  939. * @desc : Daily , Serious 결과 내역 그리드 Setting Function
  940. */
  941. function fSetSubDetailGrid()
  942. {
  943. ////////////////////////////
  944. // 결과내역 그리드 세팅한다//
  945. ////////////////////////////
  946. // 체크박스 미사용(전에조회에사용된 세팅을 해제하기 위해) 해제
  947. // 진검의 L,H에 적용한 색상 해제 ,
  948. var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
  949. for ( var i = 1; i <= srchLength1; i++ ) {
  950. grd_subresultdetail1.isReadOnly(i, 0, i, 1) = false; // 체크박스 미사용 해제
  951. grd_subresultdetail1.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
  952. grd_subresultdetail1.rowstyle( i , "data" , "color" ) = "#000000";
  953. }
  954. // 타이틀 색상 정의, 진검, 검사치료, 병리에 적용 (T)
  955. aezfGridSetColor( "/root/main/subordlist1/subresultdetail1", "judgmark", "T", "tab_hide.gif");
  956. // 타이틀 글자 색상 정의, 진검, 검사치료, 병리에 적용 (T)
  957. aezfSetFontRowStyle("grd_subresultdetail1" , "13" , "T" , "judgmark" );
  958. // 병리의 중간결과(P)에 적용
  959. aezfSetRowStyle("grd_subresultdetail1" , "5" , "P" , "judgmark" );
  960. // 진검의 L,H에 적용
  961. aezfSetFontRowStyle("grd_subresultdetail1" , "7" , "L" , "judgmark2" );
  962. aezfSetFontRowStyle("grd_subresultdetail1" , "11" , "H" , "judgmark2" );
  963. // 체크박스 사용(한줄띄우기위해사용함) 해제
  964. for ( var i = 1; i <= srchLength1; i++ ) {
  965. //alert("reptrslt["+i+"]==>["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt")+"]");
  966. if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "" ||
  967. model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "T" ||
  968. model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "P"
  969. ) {
  970. grd_subresultdetail1.isReadOnly(i, 0, i, 1) = true; // 체크박스 사용 해제
  971. }else {
  972. grd_subresultdetail1.isReadOnly(i, 0, i, 1) = false; // 체크박스 사용
  973. }
  974. }
  975. // 결과상세내역 조회 Resize Property 강제 세팅, 20080821, 장준원
  976. grd_subresultdetail1.resizeCells();
  977. //grd_subresultdetail1.refresh();
  978. // 서식 이미지 구현
  979. for ( var i = 1; i <= srchLength1; i++ ) {
  980. if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/img") == "IMG" ) {
  981. var e = "서식 이미지 구현 실패입니다";
  982. try
  983. {
  984. var IMGE_SZ = 500;
  985. var imgcnts = model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/imgcnts");
  986. obj_imge.SetViewMode(0);
  987. obj_imge.DeleteAllShape();
  988. obj_imge.LoadImageBase64(imgcnts);
  989. var sz = obj_imge.GetImageSize();
  990. var imgewid = sz.split("|")[0];
  991. var imgehei = sz.split("|")[1];
  992. if ( !(imgewid < IMGE_SZ && imgehei < IMGE_SZ) )
  993. {
  994. obj_imge.SetViewMode(4);
  995. obj_imge.refresh();
  996. }
  997. if ( !(imgewid < IMGE_SZ && imgehei < IMGE_SZ) )
  998. {
  999. sz = obj_imge.GetImageSizeEx(false);
  1000. arrSz = sz.split("|");
  1001. // imgewid = arrSz[0];
  1002. imgehei = arrSz[1];
  1003. }
  1004. grd_subresultdetail1.rowHeight(i) = imgehei;
  1005. var strBase64 = obj_imge.SaveImageBase64();
  1006. model.setValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt", strBase64, true);
  1007. setImageRefInstance("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt");
  1008. }
  1009. catch (e)
  1010. {
  1011. alert(e);
  1012. }
  1013. }
  1014. }
  1015. }
  1016. /* @group : 결과조회
  1017. * @ver : 2007.06.14
  1018. * @by : 장준원
  1019. * @-----------------------------------
  1020. * @type : function
  1021. * @access : public
  1022. * @desc : Daily 결과 상세조회 Function
  1023. */
  1024. function fClickResultList(maingridlistid) {
  1025. if ( maingridlistid.row == 0 ) return;
  1026. if ( maingridlistid.row >= maingridlistid.fixedRows ) {
  1027. var row = maingridlistid.row;
  1028. // 일자별
  1029. if ( btn_case1.selected == true ) {
  1030. fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
  1031. /*
  1032. * 일자별탭 그리드 세팅한다.
  1033. */
  1034. var loop = grd_maindaily.rows - grd_maindaily.fixedRows;
  1035. for( var i = 1 ; i <= loop ; i++ ) {
  1036. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/level","3");
  1037. }
  1038. // 다시 체크를 할 경우에는 체크박스만 "N"으로 세팅함.
  1039. if ( model.getValue("/root/main/ordlist1/maindailylist[" + row + "]/check") == "Y" ) {
  1040. model.setValue("/root/main/ordlist1/maindailylist[" + row + "]/check","N");
  1041. return;
  1042. }
  1043. model.setValue("/root/main/ordlist1/maindailylist[" + row + "]/check","Y");
  1044. model.makeValue("/root/main/ordlist1/maindailylist[" + row + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
  1045. model.makeValue("/root/main/ordlist1/maindailylist[" + row + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
  1046. var nodeList = instance1.selectNodes("/root/main/ordlist1/maindailylist["+row+"]");
  1047. var rCSV = getNodeListCSV(nodeList);
  1048. // model.copyNode("/root/send/maindata" , "/root/main/ordlist1/maindailylist["+row+"]");
  1049. //alert('rCSV하기전->'+rCSV);
  1050. model.setValue("/root/send/maindata", rCSV);
  1051. //alert(rCSV);
  1052. submit("TRAER00850");
  1053. /*
  1054. * 일자별 결과내역 그리드 세팅한다.
  1055. */
  1056. fSetSubDetailGrid();
  1057. model.refresh();
  1058. /*
  1059. * 디자인 결과내역 조회를 하기 위한 로직구현.
  1060. */
  1061. fPopupXsltList();
  1062. }
  1063. // 검사분류별
  1064. if ( btn_case2.selected == true ) {
  1065. fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
  1066. /*
  1067. * 그리드 세팅한다.
  1068. */
  1069. var loop = grd_mainserious.rows - grd_mainserious.fixedRows;
  1070. for( var i = 1 ; i <= loop ; i++ ) {
  1071. model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/level","3");
  1072. }
  1073. model.setValue("/root/main/ordlist2/mainserious[" + row + "]/check","Y");
  1074. model.makeValue("/root/main/ordlist2/mainserious[" + row + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
  1075. model.makeValue("/root/main/ordlist2/mainserious[" + row + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
  1076. var nodeList = instance1.selectNodes("/root/main/ordlist2/mainserious["+row+"]");
  1077. var rCSV = getNodeListCSV(nodeList);
  1078. // model.copyNode("/root/send/maindata" , "/root/main/ordlist1/maindailylist["+row+"]");
  1079. //alert('rCSV하기전->'+rCSV);
  1080. model.setValue("/root/send/maindata", rCSV);
  1081. //alert(rCSV);
  1082. submit("TRAER00850");
  1083. /*
  1084. * 결과내역 그리드 세팅한다.
  1085. */
  1086. fSetSubDetailGrid();
  1087. model.refresh();
  1088. }
  1089. }
  1090. }
  1091. /* @group : 결과조회
  1092. * @ver : 2007.06.14
  1093. * @by : 장준원
  1094. * @-----------------------------------
  1095. * @type : function
  1096. * @access : public
  1097. * @desc : Daily 및 Serious 결과 연속보기 상세조회 Function
  1098. */
  1099. function fClickResultContinueList() {
  1100. if ( btn_case1.selected == true ) var tabselect = "daily";
  1101. if ( btn_case2.selected == true ) var tabselect = "serious";
  1102. if ( tabselect == "daily" ) {
  1103. //alert(grd_maindaily.row +"---"+ grd_maindaily.fixedRows);
  1104. //alert('grd_maindaily.rows->'+grd_maindaily.rows);
  1105. //alert('grd_maindaily.fixedRows->'+grd_maindaily.fixedRows);
  1106. if ( grd_maindaily.rows >= grd_maindaily.fixedRows ) {
  1107. var loop = grd_maindaily.rows - grd_maindaily.fixedRows;
  1108. //alert(loop);
  1109. var ckcnt = 0;
  1110. fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
  1111. for( var i = 1 ; i <= loop ; i++ ) {
  1112. check = model.getValue("/root/main/ordlist1/maindailylist[" + i + "]/check");
  1113. if ( check == "Y" ) {
  1114. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/level", "3");
  1115. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
  1116. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/dutplceinstcd", model.getValue("/root/send/globalinstance/instance2"));
  1117. /* 차후 Main조회의 조건들을 넣을 경우 발생하면.. 넣는다. 조회기간, 병동, 병실, 진료과, 주치의 코드.....
  1118. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate1", model.getValue("/root/send/data/singdata/srchdate1"));
  1119. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate2", model.getValue("/root/send/data/singdata/srchdate2"));
  1120. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/wardcd", model.getValue("/root/send/data/singdata/wardcd"));
  1121. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/roomcd", model.getValue("/root/send/data/singdata/roomcd"));
  1122. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
  1123. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/drid", model.getValue("/root/send/data/singdata/drid"));
  1124. */
  1125. ckcnt++;
  1126. }
  1127. }
  1128. if ( ckcnt == 0 ) {
  1129. messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
  1130. return true;
  1131. }
  1132. var nodeList = instance1.selectNodes("/root/main/ordlist1/maindailylist[check='Y']");
  1133. var rCSV = getNodeListCSV(nodeList);
  1134. //alert(rCSV);
  1135. if ( rCSV == null ) {
  1136. messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
  1137. return "0";
  1138. }
  1139. //alert('rCSV하기전->'+rCSV);
  1140. model.setValue("/root/send/maindata", rCSV);
  1141. //alert(rCSV);
  1142. submit("TRAER00850");
  1143. /*
  1144. * 결과내역 그리드 세팅한다.
  1145. */
  1146. fSetSubDetailGrid();
  1147. model.refresh();
  1148. }
  1149. }
  1150. if ( tabselect == "serious" ) {
  1151. if ( grd_mainseriouslist.row >= grd_mainseriouslist.fixedRows ) {
  1152. var loop = grd_mainseriouslist.rows - grd_mainseriouslist.fixedRows;
  1153. var ckcnt = 0;
  1154. fInitial_subordlist(); // /root/main/subordlist1/subresultdetail1
  1155. for( var i = 1 ; i <= loop ; i++ ) {
  1156. check = model.getValue("/root/main/ordlist2/mainserious[" + i + "]/check");
  1157. if ( check == "Y" ) {
  1158. model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/srchpid", model.getValue("/root/send/data/singdata/srchpid"));
  1159. model.makeValue("/root/main/ordlist2/mainserious[" + i + "]/level", "3");
  1160. /* 차후 Main조회의 조건들을 넣을 경우 발생하면.. 넣는다. 조회기간, 병동, 병실, 진료과, 주치의 코드.....
  1161. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate1", model.getValue("/root/send/data/singdata/srchdate1"));
  1162. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/srchdate2", model.getValue("/root/send/data/singdata/srchdate2"));
  1163. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/wardcd", model.getValue("/root/send/data/singdata/wardcd"));
  1164. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/roomcd", model.getValue("/root/send/data/singdata/roomcd"));
  1165. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
  1166. model.makeValue("/root/main/ordlist1/maindailylist[" + i + "]/drid", model.getValue("/root/send/data/singdata/drid"));
  1167. */
  1168. ckcnt++;
  1169. }
  1170. }
  1171. if ( ckcnt == 0 ) {
  1172. messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
  1173. return true;
  1174. }
  1175. var nodeList = instance1.selectNodes("/root/main/ordlist2/mainserious[check='Y']");
  1176. var rCSV = getNodeListCSV(nodeList);
  1177. //alert(rCSV);
  1178. if ( rCSV == null ) {
  1179. messageBox("[연속보기] 기능은 한가지 이상 체크가 되어야 합니다.","I999");
  1180. return "0";
  1181. }
  1182. //alert('rCSV하기전->'+rCSV);
  1183. model.setValue("/root/send/maindata", rCSV);
  1184. //alert(rCSV);
  1185. submit("TRAER00850");
  1186. /*
  1187. * 결과내역 그리드 세팅한다.
  1188. */
  1189. fSetSubDetailGrid();
  1190. model.refresh();
  1191. }
  1192. }
  1193. }
  1194. /* @group : 결과조회
  1195. * @ver : 2008.07.26
  1196. * @by : 장준원
  1197. * @-----------------------------------
  1198. * @type : function
  1199. * @access : public
  1200. * @desc : 세로 누적 결과 조회 Function
  1201. */
  1202. function fSetVertAddResult(refgbn) {
  1203. var cnt = 0;
  1204. var testcd = "";
  1205. model.resetInstanceNode("/root/hidden/vertaddresult");
  1206. if ( refgbn == "1" ) {
  1207. //alert(refgbn);
  1208. var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
  1209. //alert('srchLength1->'+srchLength1);
  1210. for ( var i = 1; i <= srchLength1; i++ ) {
  1211. if (model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/check") == "Y" ) {
  1212. cnt++;
  1213. }
  1214. }
  1215. //alert('cnt->'+cnt);
  1216. if ( cnt == 1 ) {
  1217. // 체크한 로우의 검사코드를 추출한다.
  1218. for ( var j = 1; j <= srchLength1; j++ ) {
  1219. if (model.getValue("/root/main/subordlist1/subresultdetail1["+ j +"]/check") == "Y" ) {
  1220. testcd = model.getValue("/root/main/subordlist1/subresultdetail1["+ j +"]/prcpcd").getTrim();
  1221. }
  1222. }
  1223. }else {
  1224. messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
  1225. return "0";
  1226. }
  1227. //alert('testcd->'+testcd);
  1228. if ( testcd == "") return "0";
  1229. model.setValue("/root/hidden/vertaddresult/pid" , model.getValue("/root/main/patinfo/patinfolist/pid") );
  1230. model.setValue("/root/hidden/vertaddresult/hngnm" , model.getValue("/root/main/patinfo/patinfolist/hngnm") );
  1231. model.setValue("/root/hidden/vertaddresult/sex" , model.getValue("/root/main/patinfo/patinfolist/sex") );
  1232. model.setValue("/root/hidden/vertaddresult/age" , model.getValue("/root/main/patinfo/patinfolist/age") );
  1233. model.setValue("/root/hidden/vertaddresult/testcd" , testcd);
  1234. //alert('/root/hidden/vertaddresult->'+model.getValue("/root/hidden/vertaddresult"));
  1235. modal("SPLLP90100","",20,248,"","/root/hidden/vertaddresult","/root/init/baseinfo");
  1236. }
  1237. if ( refgbn == "2" ) {
  1238. //alert(refgbn);
  1239. var srchLength1 = model.instances(0).selectNodes( "/root/main/rsltlist/row" ).length;
  1240. //alert('srchLength1->'+srchLength1);
  1241. for ( var i = 1; i <= srchLength1; i++ ) {
  1242. if (model.getValue("/root/main/rsltlist/row["+ i +"]/chk") == "true" ) {
  1243. cnt++;
  1244. }
  1245. }
  1246. //alert('cnt->'+cnt);
  1247. if ( cnt == 1 ) {
  1248. // 체크한 로우의 검사코드를 추출한다.
  1249. for ( var j = 1; j <= srchLength1; j++ ) {
  1250. if (model.getValue("/root/main/rsltlist/row["+ j +"]/chk") == "true") {
  1251. testcd = model.getValue("/root/main/rsltlist/row["+ j +"]/testcd").getTrim();
  1252. }
  1253. }
  1254. }else {
  1255. messageBox("[세로누적조회(진검,미생물,핵의학체외)] 검사항목 1건에 대해서만 조회 가능합니다.","I999");
  1256. return "0";
  1257. }
  1258. //alert('testcd->'+testcd);
  1259. if ( testcd == "") return "0";
  1260. model.setValue("/root/hidden/vertaddresult/pid" , model.getValue("/root/main/patinfo/patinfolist/pid") );
  1261. model.setValue("/root/hidden/vertaddresult/hngnm" , model.getValue("/root/main/patinfo/patinfolist/hngnm") );
  1262. model.setValue("/root/hidden/vertaddresult/sex" , model.getValue("/root/main/patinfo/patinfolist/sex") );
  1263. model.setValue("/root/hidden/vertaddresult/age" , model.getValue("/root/main/patinfo/patinfolist/age") );
  1264. model.setValue("/root/hidden/vertaddresult/testcd" , testcd);
  1265. modal("SPLLP90100","",20,248,"","/root/hidden/vertaddresult","/root/init/baseinfo");
  1266. }
  1267. }
  1268. /* @group : 결과조회
  1269. * @ver : 2007.06.14
  1270. * @by : 장준원
  1271. * @-----------------------------------
  1272. * @type : function
  1273. * @access : public
  1274. * @desc : SET별 누적 결과 조회 Function
  1275. */
  1276. function fSetAddSPCResult(refgbn) {
  1277. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  1278. messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
  1279. return "0";
  1280. }
  1281. //alert("IN");
  1282. model.resetInstanceNode("/root/hidden/addresult");
  1283. var prcpcd = "";
  1284. var prcpnm = "";
  1285. var prcpcd2 = "";
  1286. var prcpnm2 = "";
  1287. var pnm="";
  1288. var pnm2="";
  1289. var flag = "";
  1290. var srchLength1 = model.instances(0).selectNodes( "/root/main/rsltlist/row" ).length;
  1291. // datagrid2
  1292. for ( var i = 1; i <= srchLength1; i++ ) {
  1293. //alert('i->'+i+', '+model.getValue("/root/main/rsltlist/row["+ i +"]/chk"));
  1294. if (model.getValue("/root/main/rsltlist/row["+ i +"]/chk") == "true" ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
  1295. prcpnm = aezfTrim(model.getValue("/root/main/rsltlist/row["+ i +"]/tclsscrnnm").getTrim(), 12288);
  1296. prcpnm2 = aezfTrim(model.getValue("/root/main/rsltlist/row["+ i +"]/tclsscrnnm").getTrim(), 12288);
  1297. prcpcd += "'"+model.getValue("/root/main/rsltlist/row["+ i +"]/testcd").getTrim()+"'"+",";
  1298. prcpnm += ",";
  1299. prcpcd2 += model.getValue("/root/main/rsltlist/row["+ i +"]/testcd").getTrim()+"▦";
  1300. prcpnm2 += "▦";
  1301. pnm += prcpnm;
  1302. pnm2 += prcpnm2;
  1303. flag = "Y";
  1304. }
  1305. }
  1306. if ( flag == "Y" ) {
  1307. model.setValue("/root/hidden/addresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
  1308. model.setValue("/root/hidden/addresult/startdd", model.getValue("/root/send/data/singdata/srchdate1") );
  1309. model.setValue("/root/hidden/addresult/enddd", model.getValue("/root/send/data/singdata/srchdate2") );
  1310. // 44:, 12288:tab 9638:▦
  1311. var prcpcd = aezfTrim(prcpcd, 44);
  1312. var dd = aezfTrim(pnm, 12288);
  1313. var prcpnm = aezfTrim(dd, 44);
  1314. var prcpcd2 = aezfTrim(prcpcd2, 9638);
  1315. var cc = aezfTrim(pnm2, 9638);
  1316. var prcpnm2 = aezfTrim(cc, 12288);
  1317. model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist", prcpcd );
  1318. model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist", prcpnm );
  1319. model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist2", prcpcd2);
  1320. model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist2", prcpnm2);
  1321. if ( refgbn == "1" )
  1322. model.setValue("/root/hidden/addresult/refgbn", "1");
  1323. else if ( refgbn == "2" )
  1324. model.setValue("/root/hidden/addresult/refgbn", "2");
  1325. modal("SMLLP01200","",20,248,"","/root/hidden/addresult","/root/hidden/ref");
  1326. }else {
  1327. messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
  1328. return;
  1329. }
  1330. }
  1331. /* @group : 결과조회
  1332. * @ver : 2007.06.14
  1333. * @by : 장준원
  1334. * @-----------------------------------
  1335. * @type : function
  1336. * @access : public
  1337. * @desc : 누적 결과 조회 Function
  1338. */
  1339. function fSetAddResult(refgbn) {
  1340. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  1341. messageBox("[누적조회][그래프] 기능은 환자번호가 체크되어야 합니다.","I999");
  1342. return "0";
  1343. }
  1344. model.resetInstanceNode("/root/hidden/addresult");
  1345. var prcpcd = "";
  1346. var prcpnm = "";
  1347. var prcpcd2 = "";
  1348. var prcpnm2 = "";
  1349. var pnm="";
  1350. var pnm2="";
  1351. var flag = "";
  1352. // 처방구분코드가 진검:'C' , 병리:'M' 인 경우에만 누적결과 조회를 실행한다.
  1353. var srchLength1 = model.instances(0).selectNodes( "/root/main/subordlist1/subresultdetail1" ).length;
  1354. //alert(srchLength1);
  1355. for ( var i = 1; i <= srchLength1; i++ ) {
  1356. //alert("reptrslt["+i+"]==>["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/reptrslt")+"]");
  1357. if (model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/check") == "Y" ) { //체크된 것중에 'C', 'M' 아닌것이 포함된경우 break;
  1358. //alert("["+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark")+"]");
  1359. if ( model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "C" || // 체크된 것중에 'C', 'M' 포함된경우
  1360. model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/judgmark") == "M" ) {
  1361. prcpnm = aezfTrim(model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpnm").getTrim(), 12288);
  1362. prcpnm2 = aezfTrim(model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpnm").getTrim(), 12288);
  1363. prcpcd += "'"+model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpcd").getTrim()+"'"+",";
  1364. prcpnm += ",";
  1365. prcpcd2 += model.getValue("/root/main/subordlist1/subresultdetail1["+ i +"]/prcpcd").getTrim()+"▦";
  1366. prcpnm2 += "▦";
  1367. pnm += prcpnm;
  1368. pnm2 += prcpnm2;
  1369. flag = "Y";
  1370. }
  1371. }
  1372. }
  1373. //alert(flag);
  1374. //alert('['+prcpcd+']-['+pnm+']-['+prcpcd2+']-['+pnm2+']-['+flag+']');
  1375. //modal("SMLLP01200","",10,238,"","/root/hidden/addresult","/root/hidden/ref");
  1376. if ( flag == "Y" ) {
  1377. //alert('flag->Y');
  1378. model.setValue("/root/hidden/addresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
  1379. model.setValue("/root/hidden/addresult/startdd", model.getValue("/root/send/data/singdata/srchdate1") );
  1380. model.setValue("/root/hidden/addresult/enddd", model.getValue("/root/send/data/singdata/srchdate2") );
  1381. // 44:, 12288:tab 9638:▦
  1382. var prcpcd = aezfTrim(prcpcd, 44);
  1383. var dd = aezfTrim(pnm, 12288);
  1384. var prcpnm = aezfTrim(dd, 44);
  1385. var prcpcd2 = aezfTrim(prcpcd2, 9638);
  1386. var cc = aezfTrim(pnm2, 9638);
  1387. var prcpnm2 = aezfTrim(cc, 12288);
  1388. model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist", prcpcd );
  1389. model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist", prcpnm );
  1390. model.setValue("/root/hidden/addresult/tclscdlist/tclscdlist2", prcpcd2);
  1391. model.setValue("/root/hidden/addresult/tclscdlist/tclsnmlist2", prcpnm2);
  1392. if ( refgbn == "1" )
  1393. model.setValue("/root/hidden/addresult/refgbn", "1");
  1394. else if ( refgbn == "2" )
  1395. model.setValue("/root/hidden/addresult/refgbn", "2");
  1396. modal("SMLLP01200","",20,248,"","/root/hidden/addresult","/root/hidden/ref");
  1397. }else {
  1398. messageBox("결과내역 체크를 하지 않았거나 진단검사/핵의학체외 검사에 대한 누적조회입니다.","I999");
  1399. return;
  1400. }
  1401. }
  1402. /* @group : 결과조회
  1403. * @ver : 2007.06.14
  1404. * @by : 장준원
  1405. * @-----------------------------------
  1406. * @type : function
  1407. * @access : public
  1408. * @desc : 미생물 누적 결과 조회 Function
  1409. */
  1410. function fSetAddMicroResult() {
  1411. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  1412. messageBox("[미생물누적조회] 기능은 환자번호가 체크되어야 합니다.","I999");
  1413. return "0";
  1414. }
  1415. model.resetInstanceNode("/root/hidden/addmicroresult");
  1416. model.setValue("/root/hidden/addmicroresult/pid", model.getValue("/root/send/data/singdata/srchpid") );
  1417. model.setValue("/root/hidden/addmicroresult/usdd", model.getValue("/root/send/data/singdata/srchdate1") );
  1418. model.setValue("/root/hidden/addmicroresult/uedd", model.getValue("/root/send/data/singdata/srchdate2") );
  1419. modal("SMLLP01100","",345,250,"","/root/hidden/addmicroresult","/root/hidden/ref");
  1420. }
  1421. /* @group : 결과조회
  1422. * @ver : 2007.06.14
  1423. * @by : 장준원
  1424. * @-----------------------------------
  1425. * @type : function
  1426. * @access : public
  1427. * @desc : Daily 및 Serious CDIS 결과 조회 Function
  1428. */
  1429. function fClickCDISResultList(grdobj) {
  1430. //alert(grdobj.row)
  1431. if ( grdobj.rows >= grdobj.fixedRows ) {
  1432. var rowidx = grdobj.row;
  1433. //alert(rowidx);
  1434. // return;
  1435. model.resetInstanceNode("/root/send/iemr");
  1436. //model.setValue("/root/send/iemr/cmc_spcid", getUserInfo("dutplceinstcd"));
  1437. if ( btn_case1.selected == true ) {
  1438. var prcpdd = "";
  1439. var execprcpuniqno = "";
  1440. var instcd = "";
  1441. var flag = "";
  1442. // 진검, 병리,미생물, 핵체외 제외한 검사에 대해서 CDIS이미지 연동을 실시한다.
  1443. if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") != '0' ) {
  1444. var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist1/maindailylist" ).length;
  1445. for ( var i = 1; i <= srchLength1; i++ ) {
  1446. if (model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/check") == "Y" ) {
  1447. prcpdd += model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/prcpdd").getTrim()+",";
  1448. execprcpuniqno += model.getValue("/root/main/ordlist1/maindailylist["+ i +"]/execprcpuniqno").getTrim()+",";
  1449. instcd += getUserInfo("dutplceinstcd").getTrim()+",";
  1450. flag = "Y";
  1451. }
  1452. }
  1453. if ( flag == "Y" ) {
  1454. //alert('flag->Y');
  1455. // 44:,
  1456. var sprcpdd = aezfTrim(prcpdd, 44);
  1457. var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
  1458. var sinstcd = aezfTrim(instcd, 44);
  1459. model.setValue("/root/send/iemr/cmc_orddate", sprcpdd);
  1460. model.setValue("/root/send/iemr/cmc_orderseqno", sexecprcpuniqno);
  1461. model.setValue("/root/send/iemr/cmc_spcid", sinstcd);
  1462. // model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd"));
  1463. // model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno"));
  1464. if(window.children.item("imgemrviewer") == null)
  1465. {
  1466. // open("SSMRC03100","","","","SSMRC03100","/root/send/iemr", "/root/hidden/temp", "min:visible; max:true; resize:true;");
  1467. window.load("../../../emr/imgemrweb/xrw/SSMRC03100.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
  1468. // window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
  1469. // window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
  1470. // if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
  1471. // {
  1472. // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
  1473. // }
  1474. }
  1475. }
  1476. }
  1477. }
  1478. if ( btn_case2.selected == true ) {
  1479. var prcpdd = "";
  1480. var execprcpuniqno = "";
  1481. var instcd = "";
  1482. var flag = "";
  1483. // 진검, 병리,미생물, 핵체외 제외한 검사에 대해서 CDIS이미지 연동을 실시한다.
  1484. if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") != '0' ) {
  1485. var srchLength1 = model.instances(0).selectNodes( "/root/main/ordlist2/mainserious" ).length;
  1486. for ( var i = 1; i <= srchLength1; i++ ) {
  1487. if (model.getValue("/root/main/ordlist2/mainserious["+ i +"]/check") == "Y" ) {
  1488. prcpdd += model.getValue("/root/main/ordlist2/mainserious["+ i +"]/prcpdd").getTrim()+",";
  1489. execprcpuniqno += model.getValue("/root/main/ordlist2/mainserious["+ i +"]/execprcpuniqno").getTrim()+",";
  1490. instcd += getUserInfo("dutplceinstcd").getTrim()+",";
  1491. flag = "Y";
  1492. }
  1493. }
  1494. if ( flag == "Y" ) {
  1495. //alert('flag->Y');
  1496. // 44:,
  1497. var sprcpdd = aezfTrim(prcpdd, 44);
  1498. var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
  1499. var sinstcd = aezfTrim(instcd, 44);
  1500. model.setValue("/root/send/iemr/cmc_orddate", sprcpdd);
  1501. model.setValue("/root/send/iemr/cmc_orderseqno", sexecprcpuniqno);
  1502. model.setValue("/root/send/iemr/cmc_spcid", sinstcd);
  1503. // model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd"));
  1504. // model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno"));
  1505. if(window.children.item("imgemrviewer") == null)
  1506. {
  1507. window.load("../../../emr/imgemrweb/xrw/SSMRC03100.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
  1508. // window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
  1509. // window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
  1510. // if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
  1511. // {
  1512. // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
  1513. // }
  1514. }
  1515. }
  1516. }
  1517. //model.setValue("/root/send/iemr/cmc_orddate", model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd"));
  1518. //model.setValue("/root/send/iemr/cmc_orderseqno", model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno"));
  1519. }
  1520. /*
  1521. if(window.children.item("imgemrviewer") == null)
  1522. {
  1523. window.load("../../../emr/imgemrweb/xrw/SSMRC03100.xrw","modeless", "imgemrviewer", "", "/root/send/iemr", "/root/hidden/temp");
  1524. window.children.item("imgemrviewer").document.title = "Image EMR Viewer";
  1525. window.children.item("imgemrviewer").javaScript.searchChart("/root/hidden/temp");
  1526. //window.children.item("imgemrviewer").javaScript.downloadChart();
  1527. if (window.children.item("imgemrviewer").javaScript.downloadChart() == true)
  1528. {
  1529. window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
  1530. }
  1531. // window.children.item("imgemrviewer").javaScript.setupChart("ChartView");
  1532. }
  1533. */
  1534. }
  1535. }
  1536. /* @group : 결과조회
  1537. * @ver : 2007.06.14
  1538. * @by : 장준원
  1539. * @-----------------------------------
  1540. * @type : function
  1541. * @access : public
  1542. * @desc : Daily 및 Serious PACS Ord 결과 조회 Function, 사용안함
  1543. */
  1544. function fClickPACSOrdResultList(grdobj) {
  1545. //alert(grdobj.row)
  1546. if ( grdobj.row >= grdobj.fixedRows ) {
  1547. var rowidx = grdobj.row;
  1548. if ( btn_case1.selected == true ) {
  1549. if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == "" ||
  1550. model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == 0 ) {
  1551. messageBox("PACS Viewer와 연동할 수 없습니다.(유일번호가 0이거나 NULL입니다)","I999");
  1552. return;
  1553. }
  1554. var pacsorderid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
  1555. }
  1556. if ( btn_case2.selected == true ) {
  1557. if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == "" ||
  1558. model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == 0 ) {
  1559. messageBox("PACS Viewer와 연동할 수 없습니다.(유일번호가 0이거나 NULL입니다)","I999");
  1560. return;
  1561. }
  1562. var pacsorderid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
  1563. }
  1564. // PACS Viewer 호출
  1565. //zepfpacsOrderID("2007082725595");
  1566. //alert(pacsorderid);
  1567. zepfpacsOrderID(pacsorderid);
  1568. }
  1569. }
  1570. /* @group : 결과조회
  1571. * @ver : 2007.06.14
  1572. * @by : 장준원
  1573. * @-----------------------------------
  1574. * @type : function
  1575. * @access : public
  1576. * @desc : Daily 및 Serious PACS Pat 결과 조회 Function , 사용안함
  1577. */
  1578. function fClickPACSPatResultList(grdobj) {
  1579. //alert(grdobj.row)
  1580. var pid = model.getValue("/root/send/data/singdata/srchpid");
  1581. zepfpacsPatientID(pid);
  1582. /*
  1583. if ( grdobj.row >= grdobj.fixedRows ) {
  1584. var rowidx = grdobj.row;
  1585. if ( btn_case1.selected == true ) {
  1586. var pid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/pid");
  1587. }
  1588. if ( btn_case2.selected == true ) {
  1589. var pid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/pid");
  1590. }
  1591. // PACS Viewer 호출
  1592. //zepfpacsOrderID("2007082725595");
  1593. //alert(pid);
  1594. zepfpacsPatientID(pid);
  1595. }
  1596. */
  1597. }
  1598. /* @group : 결과조회
  1599. * @ver : 2007.06.14
  1600. * @by : 장준원
  1601. * @-----------------------------------
  1602. * @type : function
  1603. * @access : public
  1604. * @desc : Daily 및 Serious PACS OrdPat 결과 조회 Function
  1605. */
  1606. function fClickPACSOrdPatResultList(grdobj) {
  1607. //alert(grdobj.row)
  1608. if ( grdobj.rows >= grdobj.fixedRows ) {
  1609. var rowidx = grdobj.row;
  1610. if ( btn_case1.selected == true ) {
  1611. if ( model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == "" ||
  1612. model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno") == 0 ) {
  1613. messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
  1614. return;
  1615. }
  1616. var pacsorderid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
  1617. var pid = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/pid");
  1618. var prcpdd = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/prcpdd");
  1619. var execprcpuniqno = model.getValue("/root/main/ordlist1/maindailylist["+rowidx+"]/execprcpuniqno");
  1620. var instcd = model.getValue("/root/send/globalinstance/instance2");
  1621. }
  1622. if ( btn_case2.selected == true ) {
  1623. if ( model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == "" ||
  1624. model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno") == 0 ) {
  1625. messageBox("PACS Viewer와 연동된 검사가 아닙니다. (유일번호가 0이거나 NULL입니다)","I999");
  1626. return;
  1627. }
  1628. var pacsorderid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd")+model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
  1629. var pid = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/pid");
  1630. var prcpdd = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/prcpdd");
  1631. var execprcpuniqno = model.getValue("/root/main/ordlist2/mainserious["+rowidx+"]/execprcpuniqno");
  1632. var instcd = model.getValue("/root/send/globalinstance/instance2");
  1633. }
  1634. // PACS 맵핑테이블 조회, Old Key와 일치하면 Old Key Pacs View 호출
  1635. model.setValue("/root/pacssend/pacsdata/prcpdd", prcpdd);
  1636. model.setValue("/root/pacssend/pacsdata/execprcpuniqno", execprcpuniqno);
  1637. model.setValue("/root/pacssend/pacsdata/instcd", instcd);
  1638. model.setValue("/root/pacssend/pacsdata/pid", pid);
  1639. submit("TRAER00818");
  1640. var srchLength1 = model.instances(0).selectNodes( "/root/init/initpacskey/pacskey" ).length;
  1641. //alert('srchLength1->'+srchLength1);
  1642. //return;
  1643. alert('execprcpuniqno->'+execprcpuniqno);
  1644. if ( srchLength1 > 0 ) {
  1645. pacsorderid = model.getValue("/root/init/initpacskey/pacskey/oldprcpkey");
  1646. zepfpacsAll(execprcpuniqno, pid);
  1647. }else {
  1648. //zepfpacsPatientID(pid);
  1649. zepfpacsAll(execprcpuniqno, pid);
  1650. }
  1651. // PACS Viewer 호출
  1652. //zepfpacsOrderID("2007082725595");
  1653. //alert(pacsorderid+'----'+pid);
  1654. //zepfpacsAll(pacsorderid, pid);
  1655. //zepfpacsPatientID(pid);
  1656. //model.removeNodeset("/root/pacssend/pacsdata");
  1657. }
  1658. }
  1659. /* @group : 결과조회
  1660. * @ver : 2007.06.14
  1661. * @by : 장준원
  1662. * @-----------------------------------
  1663. * @type : function
  1664. * @access : public
  1665. * @desc : 결과 조회 Grid 펼치기 Function
  1666. */
  1667. function fGetWideListX1(tab1, grd1) {
  1668. var extnGrdWidht = 303;
  1669. var extnGrdWidht2 = 298;
  1670. tab1.attribute("width") = extnGrdWidht;
  1671. grd1.attribute("width") = extnGrdWidht2;
  1672. //alert('접기 switch width===>'+tab1.attribute("width"));
  1673. //alert('접기 grid width===>'+grd1.attribute("width"));
  1674. }
  1675. /* @group : 결과조회
  1676. * @ver : 2007.06.14
  1677. * @by : 장준원
  1678. * @-----------------------------------
  1679. * @type : function
  1680. * @access : public
  1681. * @desc : 결과 조회 Grid 접기 Function
  1682. */
  1683. function fGetWideListX2(tab1, grd1) {
  1684. if ( btn_case1.selected == true ) {
  1685. var extnGrdWidht = 700;
  1686. var extnGrdWidht2 = 690;
  1687. }
  1688. else if ( btn_case2.selected == true ) {
  1689. var extnGrdWidht = 450;
  1690. var extnGrdWidht2 = 440;
  1691. }
  1692. else if ( btn_case3.selected == true ) {
  1693. var extnGrdWidht = 600;
  1694. var extnGrdWidht2 = 590;
  1695. }else if ( btn_case4.selected == true ) {
  1696. var extnGrdWidht = 1190;
  1697. var extnGrdWidht2 = 1180;
  1698. }
  1699. tab1.attribute("width") = extnGrdWidht;
  1700. grd1.attribute("width") = extnGrdWidht2;
  1701. //alert('펼치기 switch width===>'+tab1.attribute("width"));
  1702. //alert('펼치기 grid width===>'+grd1.attribute("width"));
  1703. }
  1704. /* SET 관련 FUNCTION START */
  1705. function readfunc(){
  1706. submit("TRAER00813");
  1707. if (model.getValue("/root/send/setdata/setkindcd") == "P" || model.getValue("/root/send/setdata/setkindcd") == "D"){
  1708. cmb_deptset.disabled = true;
  1709. }
  1710. model.setValue("/root/send/setdata/foldernm", "");
  1711. model.setValue(trv_prmsprcpsetlist.attribute("ref"), "");
  1712. trv_prmsprcpsetlist.rebuild();
  1713. //model.removeNodeset("/root/main/rsltlist/row");
  1714. //model.resetInstanceNode("/root/main/rsltlist/row");
  1715. //model.refresh();
  1716. fInitDatagrid2();
  1717. }
  1718. function readPDfunc(){
  1719. submit("TRAER00817");
  1720. model.setValue("/root/send/setdata/foldernm", "");
  1721. //model.setValue(trv_prmsprcpsetlist.attribute("ref"), "");
  1722. //trv_prmsprcpsetlist.rebuild();
  1723. //model.removeNodeset("/root/main/rsltlist/row");
  1724. //model.resetInstanceNode("/root/main/rsltlist/row");
  1725. //model.refresh();
  1726. fInitDatagrid2();
  1727. }
  1728. function fInitDatagrid2() {
  1729. var cols = datagrid2.cols-datagrid2.fixedCols;
  1730. var rows = datagrid2.rows-datagrid2.fixedRows;
  1731. //alert(cols)
  1732. for( var i = 0; i < cols; i++ ) {
  1733. datagrid2.removeColumn(false);
  1734. }
  1735. for( var i = 0; i < rows; i++ ) {
  1736. datagrid2.removeRow(false);
  1737. }
  1738. model.removeNodeset("/root/main/rsltlist");
  1739. model.makeNode("/root/main/rsltlist/row");
  1740. model.refresh();
  1741. }
  1742. /* @group : 결과조회
  1743. * @ver : 2007.06.14
  1744. * @by : 장준원
  1745. * @-----------------------------------
  1746. * @type : function
  1747. * @access : public
  1748. * @desc : SET별누적조회 Function
  1749. */
  1750. function fGetNResultRef(){
  1751. var vText = model.getValue("/root/send/data/singdata/srchpid");
  1752. if(vText == "" ){
  1753. messageBox("등록번호를","C001","") ;
  1754. return;
  1755. }
  1756. if (trv_prmsprcpsetlist.selectedIndex < 0){
  1757. messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
  1758. return;
  1759. }
  1760. fInitDatagrid2();
  1761. var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
  1762. if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
  1763. else model.setvalue("/root/hidden/ref/testmdllist","");
  1764. model.copyNode("/root/send/data1" , "/root/hidden/ref");
  1765. var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
  1766. var rowpos = item.index + 1;
  1767. model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcpsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
  1768. // LIS Map File을 적용하기 위해 세팅한다.
  1769. model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
  1770. model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
  1771. model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
  1772. //submit("TRAER00816" , false);
  1773. submit("TRLLP01201" , false);
  1774. var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
  1775. if(gridCaption == "") return;
  1776. //ref 정보
  1777. var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
  1778. var gridColRefArray = gridColRef.split("^");
  1779. var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
  1780. var gridColTypeArray = gridColType.split("^");
  1781. for( var i = 0; i < gridColRefArray.length; i++ ) {
  1782. datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
  1783. }
  1784. datagrid2.colWidth(1) = 22;
  1785. datagrid2.colWidth(2) = 100;
  1786. datagrid2.colWidth(3) = 80;
  1787. datagrid2.colWidth(4) = 80;
  1788. datagrid2.rowHeight(0) = 35;
  1789. for( i = 5; i < datagrid2.cols; i++ ) {
  1790. datagrid2.colWidth(i) = 80;
  1791. }
  1792. datagrid2.caption = gridCaption;
  1793. var node = instance1.selectSingleNode("/root/main");
  1794. node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
  1795. datagrid2.fixedcellcheckbox(0,1)=true;
  1796. model.refresh();
  1797. fReMake();
  1798. }
  1799. /* @group : 결과조회
  1800. * @ver : 2007.06.14
  1801. * @by : 장준원
  1802. * @-----------------------------------
  1803. * @type : function
  1804. * @access : public
  1805. * @desc : SET전체항목조회 Function
  1806. */
  1807. function fGetPDResultRef(){
  1808. var vText = model.getValue("/root/send/data/singdata/srchpid");
  1809. if(vText == "" ){
  1810. messageBox("등록번호를","C001","") ;
  1811. return;
  1812. }
  1813. // if (trv_prmsprcpsetlist.selectedIndex < 0){
  1814. // messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
  1815. // return;
  1816. // }
  1817. fInitDatagrid2();
  1818. //alert(model.getvalue("/root/hidden/testmdllist"));
  1819. var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
  1820. if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
  1821. else model.setvalue("/root/hidden/ref/testmdllist","");
  1822. model.copyNode("/root/send/data1" , "/root/hidden/ref");
  1823. // var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
  1824. // var rowpos = item.index + 1;
  1825. var rowpos = grd_makedset.row;
  1826. //alert(rowpos);
  1827. // var rowpos = item.index + 1;
  1828. model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcppdsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
  1829. // LIS Map File을 적용하기 위해 세팅한다.
  1830. model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
  1831. model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
  1832. model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
  1833. //submit("TRAER00816" , false);
  1834. submit("TRLLP01201" , false);
  1835. var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
  1836. if(gridCaption == "") return;
  1837. //ref 정보
  1838. var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
  1839. var gridColRefArray = gridColRef.split("^");
  1840. var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
  1841. var gridColTypeArray = gridColType.split("^");
  1842. for( var i = 0; i < gridColRefArray.length; i++ ) {
  1843. datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
  1844. }
  1845. datagrid2.colWidth(1) = 22;
  1846. datagrid2.colWidth(2) = 100;
  1847. datagrid2.colWidth(3) = 100;
  1848. datagrid2.colWidth(4) = 100;
  1849. datagrid2.rowHeight(0) = 35;
  1850. for( i = 6; i < datagrid2.cols; i++ ) {
  1851. datagrid2.colWidth(i) = 80;
  1852. }
  1853. datagrid2.caption = gridCaption;
  1854. var node = instance1.selectSingleNode("/root/main");
  1855. node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
  1856. datagrid2.fixedcellcheckbox(0,1)=true;
  1857. model.refresh();
  1858. fReMake();
  1859. }
  1860. /* @group : 결과조회
  1861. * @ver : 2007.06.14
  1862. * @by : 장준원
  1863. * @-----------------------------------
  1864. * @type : function
  1865. * @access : public
  1866. * @desc : 진검분류별 누적 조회 Function
  1867. */
  1868. function fGetNSeriesResultRef(){
  1869. var vText = model.getValue("/root/send/data/singdata/srchpid");
  1870. if(vText == "" ){
  1871. messageBox("등록번호를","C001","") ;
  1872. return;
  1873. }
  1874. //if (trv_prmsprcpsetlist.selectedIndex < 0){
  1875. // messageBox("조회할 SET명을 선택한 후 조회하시기 바랍니다.", "E999", "");
  1876. // return;
  1877. //}
  1878. fInitDatagrid2();
  1879. /*
  1880. var vSelSlipcd = model.getvalue("/root/hidden/testmdllist");
  1881. if(vSelSlipcd != "") model.setvalue("/root/hidden/ref/testmdllist" , vSelSlipcd.substring(0,vSelSlipcd.length -1));
  1882. else model.setvalue("/root/hidden/ref/testmdllist","");
  1883. model.copyNode("/root/send/data1" , "/root/hidden/ref");
  1884. var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
  1885. var rowpos = item.index + 1;
  1886. model.setValue("/root/send/setdata/setno", model.getValue("/root/main/prmsprcpsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
  1887. */
  1888. //alert(cmb_mdl.value);
  1889. //return;
  1890. // 환자정보
  1891. fGetMainSrchPatInfo();
  1892. // LIS Map File을 적용하기 위해 세팅한다.
  1893. model.setValue("/root/send/setdata/startdd", model.getValue("/root/send/data/singdata/srchdate1"));
  1894. model.setValue("/root/send/setdata/enddd", model.getValue("/root/send/data/singdata/srchdate2"));
  1895. model.setValue("/root/send/setdata/pid", model.getValue("/root/send/data/singdata/srchpid"));
  1896. model.setValue("/root/send/setdata/setno", "");
  1897. model.setValue("/root/send/setdata/tclscdlist", cmb_mdl.value);
  1898. model.setValue("/root/send/setdata/workflag", "1");
  1899. //submit("TRAER00816" , false);
  1900. submit("TRLLP01201" , false);
  1901. var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
  1902. if(gridCaption == "") return;
  1903. //ref 정보
  1904. var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
  1905. var gridColRefArray = gridColRef.split("^");
  1906. var gridColType = model.getValue("/root/hidden/temp/rsltlist/header/type");
  1907. var gridColTypeArray = gridColType.split("^");
  1908. for( var i = 0; i < gridColRefArray.length; i++ ) {
  1909. datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
  1910. }
  1911. datagrid2.colWidth(1) = 22;
  1912. datagrid2.colWidth(2) = 100;
  1913. datagrid2.colWidth(3) = 80;
  1914. datagrid2.colWidth(4) = 80;
  1915. datagrid2.rowHeight(0) = 35;
  1916. for( i = 5; i < datagrid2.cols; i++ ) {
  1917. datagrid2.colWidth(i) = 80;
  1918. }
  1919. datagrid2.caption = gridCaption;
  1920. var node = instance1.selectSingleNode("/root/main");
  1921. node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
  1922. datagrid2.fixedcellcheckbox(0,1)=true;
  1923. model.refresh();
  1924. fReMake();
  1925. }
  1926. function fReMake(){
  1927. xx = 0;
  1928. //alert(model.getvalue("/root/main/rsltlist/row["+9+"]/judg0"))
  1929. for(i=1;i<datagrid2.rows;i++){
  1930. for(j=5;j<datagrid2.cols;j++){
  1931. var vJudg = model.getvalue("/root/main/rsltlist/row["+i+"]/judg" + xx);
  1932. if(vJudg == "H"){
  1933. // datagrid2.cellStyle("background-color",i,j,i,j) = "#f7a08b";
  1934. datagrid2.cellStyle("color",i,j,i,j) = "red";
  1935. }
  1936. else if(vJudg == "L"){
  1937. // datagrid2.cellStyle("background-color",i,j,i,j) = "#b9e5fb";
  1938. datagrid2.cellStyle("color",i,j,i,j) = "blue";
  1939. }
  1940. xx ++;
  1941. }
  1942. xx = 0
  1943. }
  1944. }
  1945. /* SET 관련 FUNCTION END */
  1946. /* @group : 결과조회
  1947. * @ver : 2007.06.14
  1948. * @by : 장준원
  1949. * @-----------------------------------
  1950. * @type : function
  1951. * @access : public
  1952. * @desc : 결과 조회 진단검사 연속보기 Function
  1953. */
  1954. function fGetHemoDailyList() {
  1955. model.SetValue("/root/send/data/singdata/chkcheck1", "A");
  1956. fcheckyn2('A');
  1957. fGetMainDistinctDailyList();
  1958. fGetMainDailyList();
  1959. }
  1960. /* @group : 결과조회
  1961. * @ver : 2007.06.14
  1962. * @by : 장준원
  1963. * @-----------------------------------
  1964. * @type : function
  1965. * @access : public
  1966. * @desc : 결과 조회 미생물 연속보기 Function
  1967. */
  1968. function fGetCellDailyList() {
  1969. model.SetValue("/root/send/data/singdata/chkcheck2", "B");
  1970. fcheckyn2('B');
  1971. fGetMainDistinctDailyList();
  1972. fGetMainDailyList();
  1973. }
  1974. /* @group : 결과조회
  1975. * @ver : 2007.06.14
  1976. * @by : 장준원
  1977. * @-----------------------------------
  1978. * @type : function
  1979. * @access : public
  1980. * @desc : 결과 조회 병리 연속보기 Function
  1981. */
  1982. function fGetPlgyDailyList() {
  1983. model.SetValue("/root/send/data/singdata/chkcheck3", "C");
  1984. fcheckyn2('C');
  1985. fGetMainDistinctDailyList();
  1986. fGetMainDailyList();
  1987. }
  1988. /* @group : 결과조회
  1989. * @ver : 2007.06.14
  1990. * @by : 장준원
  1991. * @-----------------------------------
  1992. * @type : function
  1993. * @access : public
  1994. * @desc : 결과 조회 핵체외 연속보기 Function
  1995. */
  1996. function fGetNuclDailyList() {
  1997. model.SetValue("/root/send/data/singdata/chkcheck4", "D");
  1998. fcheckyn2('D');
  1999. fGetMainDistinctDailyList();
  2000. fGetMainDailyList();
  2001. }
  2002. /* @group : 결과조회
  2003. * @ver : 2007.06.14
  2004. * @by : 장준원
  2005. * @-----------------------------------
  2006. * @type : function
  2007. * @access : public
  2008. * @desc : 결과 조회 영상 연속보기 Function
  2009. */
  2010. function fGetPhotDailyList() {
  2011. model.SetValue("/root/send/data/singdata/chkcheck5", "E");
  2012. fcheckyn2('E');
  2013. fGetMainDistinctDailyList();
  2014. fGetMainDailyList();
  2015. }
  2016. /* @group : 결과조회
  2017. * @ver : 2007.06.14
  2018. * @by : 장준원
  2019. * @-----------------------------------
  2020. * @type : function
  2021. * @access : public
  2022. * @desc : 결과 조회 내시경 연속보기 Function
  2023. */
  2024. function fGetColonyDailyList() {
  2025. model.SetValue("/root/send/data/singdata/chkcheck6", "F");
  2026. fcheckyn2('F');
  2027. fGetMainDistinctDailyList();
  2028. fGetMainDailyList();
  2029. }
  2030. /* @group : 결과조회
  2031. * @ver : 2007.06.14
  2032. * @by : 장준원
  2033. * @-----------------------------------
  2034. * @type : function
  2035. * @access : public
  2036. * @desc : 결과 조회 기능 연속보기 Function
  2037. */
  2038. function fGetFuncDailyList() {
  2039. model.SetValue("/root/send/data/singdata/chkcheck7", "G");
  2040. fcheckyn2('G');
  2041. fGetMainDistinctDailyList();
  2042. fGetMainDailyList();
  2043. }
  2044. /* @group : 결과조회
  2045. * @ver : 2007.06.14
  2046. * @by : 장준원
  2047. * @-----------------------------------
  2048. * @type : function
  2049. * @access : public
  2050. * @desc : 결과 조회 기능 연속보기 Function
  2051. */
  2052. function fGetHealExamDetailList() {
  2053. grp_makedset.visible = false;
  2054. datagrid2.visible = false;
  2055. grd_subresultdetail1.visible = true;
  2056. fGetWideListX1(switch1, grd_maindaily);
  2057. fInitial_subordlist();
  2058. // 조건 체크
  2059. var check = fGetMainListCondiCheck_Case1();
  2060. if ( check == "0" ) return true;
  2061. submit("TRAER00851");
  2062. /*
  2063. * 일자별 결과내역 그리드 세팅한다.
  2064. */
  2065. fSetSubDetailGrid();
  2066. model.refresh();
  2067. }
  2068. /* @group : 결과조회
  2069. * @ver : 2007.06.14
  2070. * @by : 장준원
  2071. * @-----------------------------------
  2072. * @type : function
  2073. * @access : public
  2074. * @desc : 결과 조회 팝업창 Void Function
  2075. */
  2076. function fPopupLine() {
  2077. return;
  2078. }
  2079. /* @group : 결과조회
  2080. * @ver : 2007.06.14
  2081. * @by : 장준원
  2082. * @-----------------------------------
  2083. * @type : function
  2084. * @access : public
  2085. * @desc : 결과 조회 디자인 결과내역 보기 Function
  2086. */
  2087. function fPopupXsltList() {
  2088. model.resetInstanceNode("/root/send/val");
  2089. model.resetInstanceNode("/root/send/formcd");
  2090. if ( model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/signno") == "") {
  2091. var signno = 0;
  2092. var formcd = "";
  2093. }else {
  2094. var signno = parseInt(model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/signno"));
  2095. var formcd = model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.row + "]/formcd");
  2096. }
  2097. //alert(signno+'-'+formcd);
  2098. //return;
  2099. if ( signno > 0 ) {
  2100. //alert(signno);
  2101. model.setValue("/root/send/val", signno);
  2102. model.setValue("/root/send/formcd", formcd);
  2103. if(submit("TRMRI00405"))
  2104. {
  2105. if ( model.getValue("/root/main/xslt/translist/trans") == "" ) {
  2106. messageBox("인증전 테이블과 관련된 서식디자인폼이 등록되지 않았습니다. 서식팀에 문의하시기 바랍니다.","I999");
  2107. }else {
  2108. if(window.children.item("SPAER00805") == null)
  2109. {
  2110. var xpt = 50;
  2111. var ypt = 50;
  2112. aezfTopMost("SPAER00805",2,xpt,ypt,"SPAER00805","/root/main/xslt/translist/trans","/root/main/xslt/translist/trans","",0,0);
  2113. }else {
  2114. copyNodesetType("/root/main/xslt/translist/trans", "/root/main/xslt/translist/trans", "replace" , window.children.item("SPAER00805").model, model);
  2115. window.children.item("SPAER00805").model.refresh();
  2116. window.children.item("SPAER00805").model.dispatch("xforms-ready");
  2117. }
  2118. }
  2119. }
  2120. }else {
  2121. //alert(signno);
  2122. model.setValue("/root/main/xslt/translist/trans", "");
  2123. if(window.children.item("SPAER00805") == null) {
  2124. }else {
  2125. // signno 가 0 일 경우는 null Value Instance가 전달됨.
  2126. copyNodesetType("/root/main/xslt/translist/trans", "/root/main/xslt/translist/trans", "replace" , window.children.item("SPAER00805").model, model);
  2127. window.children.item("SPAER00805").model.refresh();
  2128. window.children.item("SPAER00805").model.dispatch("xforms-ready");
  2129. }
  2130. }
  2131. }
  2132. /* @group : 결과조회
  2133. * @ver : 2007.06.14
  2134. * @by : 장준원
  2135. * @-----------------------------------
  2136. * @type : function
  2137. * @access : public
  2138. * @desc : 결과 조회 CDIS 연동내역 팝업 보기 Function
  2139. */
  2140. function fPopupCDISResultList() {
  2141. }
  2142. /* @group : 결과조회
  2143. * @ver : 2007.06.14
  2144. * @by : 장준원
  2145. * @-----------------------------------
  2146. * @type : function
  2147. * @access : public
  2148. * @desc : 결과 조회 대량조회를 위한 Grid Scroll 제어 Function
  2149. */
  2150. function fSubmitOnScroll() {
  2151. if ( grd_mainprogress.vscroll.attribute("max") == model.getValue("/root/send/data/singdata/pagesize") ) {
  2152. if(grd_mainprogress.vscroll.attribute("max") == grd_mainprogress.vscroll.attribute("pos")) {
  2153. // end of scroll
  2154. model.setValue("/root/send/data/singdata/offset",grd_mainprogress.rows-1); // grid의 header row는 제외
  2155. model.setValue("/root/send/data/singdata/tabflag","progress");
  2156. submit("TRAER00810");
  2157. grd_mainprogress.dispatch("onmouseup");
  2158. }
  2159. }
  2160. }
  2161. /* @group : 결과조회
  2162. * @ver : 2007.06.14
  2163. * @by : 장준원
  2164. * @-----------------------------------
  2165. * @type : function
  2166. * @access : public
  2167. * @desc : 환자정보 가져오는 Function
  2168. */
  2169. function fGetMainSrchPatInfo() {
  2170. if ( model.getValue("/root/main/patinfo/patinfolist/pid") == "" ) {
  2171. aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
  2172. }
  2173. }
  2174. /* @group : 결과조회
  2175. * @ver : 2007.06.14
  2176. * @by : 장준원
  2177. * @-----------------------------------
  2178. * @type : function
  2179. * @access : public
  2180. * @desc : 결과 조회 대량조회를 위한 Grid Scroll 제어 Function
  2181. */
  2182. /* function fGetSrchPatInfo(cond1, cond2, cond3, cond99, rtnXpath) {
  2183. // 환자정보 가져오기
  2184. //model.setValue ( "/root/init/srchcond1", "1"); // 등록번호로 조회
  2185. //model.setValue ( "/root/send/cond1", model.getValue ( "/root/init/srchcond1" ));
  2186. //model.setValue ( "/root/send/cond2", model.getValue ( "/root/send/data/singdata/srchpid" ));
  2187. //model.setValue ( "/root/send/cond3", getUserInfo("dutplceinstcd"));
  2188. //model.setValue ( "/root/send/cond99", "patchosinfo");
  2189. //alert("cond1->"+cond1+", cond2->"+cond2+", cond3->"+cond3+", cond99->"+cond99+", rtnXpath->"+rtnXpath);
  2190. model.setValue ( "/root/send/cond1", cond1 );
  2191. model.setValue ( "/root/send/cond2", cond2 );
  2192. model.setValue ( "/root/send/cond3", cond3 );
  2193. model.setValue ( "/root/send/cond99", cond99 );
  2194. if (!submit ( "TRMMO02501",false )) { //검색 시작 값이 없으면 clear 한다.
  2195. model.resetInstanceNode (rtnXpath );
  2196. model.refresh();
  2197. return "0";
  2198. }else {
  2199. return "1";
  2200. }
  2201. }
  2202. */
  2203. ]]>
  2204. </script>
  2205. </xhtml:head>
  2206. <xhtml:body guideline="1,1193;1,764;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  2207. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  2208. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">결과조회</caption>
  2209. </group>
  2210. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  2211. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:55px; vertical-align:top; ">
  2212. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:53px; background-color:#fffbf2; border-color:#ffd799; "/>
  2213. <input id="ipt_date1" ref="/root/send/data/singdata/srchdate1" class="input_default" inputtype="date" style="left:110px; top:6px; width:100px; height:19px; "/>
  2214. <input id="ipt_date2" ref="/root/send/data/singdata/srchdate2" class="input_default" inputtype="date" style="left:217px; top:6px; width:100px; height:19px; "/>
  2215. <caption id="caption3" class="search_name" style="left:385px; top:29px; width:86px; height:17px; color:#7F7F7F; ">등록번호</caption>
  2216. <input id="ipt_pid" ref="/root/send/data/singdata/srchpid" class="input_search" style="left:466px; top:29px; width:89px; height:19px; ">
  2217. <script type="javascript" ev:event="onkeyup">
  2218. <![CDATA[
  2219. if(event.keyCode == 13) {
  2220. setInputNodeCurText();
  2221. if ( btn_case1.selected == true ) {
  2222. // 환자정보 가져오기
  2223. var chk = aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
  2224. if ( chk == "0" ) {
  2225. return;
  2226. }
  2227. inputEnterKey("button10", "DOMActivate");
  2228. } else {
  2229. inputEnterKey("btn_srch", "DOMActivate");
  2230. }
  2231. }
  2232. ]]>
  2233. </script>
  2234. </input>
  2235. <line id="line13" class="line_4" style="x1:350px; y1:4px; x2:350px; y2:42px; "/>
  2236. <line id="line2" class="line_4" style="x1:1070px; y1:7px; x2:1070px; y2:45px; "/>
  2237. <button id="button13" class="btn1_letter4" visibility="hidden" style="left:1095px; top:12px; width:80px; height:22px; ">
  2238. <caption>환자조회</caption>
  2239. <script type="javascript" ev:event="DOMActivate">
  2240. <![CDATA[
  2241. fGetPatInfo();
  2242. // window.load( "SPAER00801_환자조회.xrw","new","patinfo", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
  2243. ]]>
  2244. </script>
  2245. </button>
  2246. <button id="btn_srch" class="btn1_letter4" style="left:1095px; top:17px; width:80px; height:22px; ">
  2247. <caption>결과조회</caption>
  2248. <script type="javascript" ev:event="DOMActivate">
  2249. <![CDATA[
  2250. // 환자정보 가져오기
  2251. var chk = aezfGetSrchPatInfo("1", model.getValue ( "/root/send/data/singdata/srchpid" ), getUserInfo("dutplceinstcd"), "patchosinfo", "/root/main/patinfo/patinfolist" );
  2252. if ( chk == "0" ) {
  2253. return;
  2254. }
  2255. if ( btn_case1.selected == true ) { // 일자별 조회
  2256. model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
  2257. fGetMainDistinctDailyList();
  2258. fGetMainDailyList();
  2259. }else if ( btn_case2.selected == true ) { // 검사분류별 조회
  2260. fGetMainSeriousList();
  2261. }else if ( btn_case3.selected == true ) { // SET별 조회
  2262. fGetMainSetList();
  2263. //fGetNResultRef();
  2264. }else if ( btn_case4.selected == true ) { // 진행상태별 조회
  2265. fGetMainProgressList();
  2266. }
  2267. ]]>
  2268. </script>
  2269. </button>
  2270. <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; ">
  2271. <choices>
  2272. <item>
  2273. <label>처방일</label>
  2274. <value>P</value>
  2275. </item>
  2276. <item>
  2277. <label>검사일</label>
  2278. <value>J</value>
  2279. </item>
  2280. <item>
  2281. <label>보고일</label>
  2282. <value>Z</value>
  2283. </item>
  2284. </choices>
  2285. <script type="javascript" ev:event="onclick">
  2286. <![CDATA[
  2287. ]]>
  2288. </script>
  2289. </select1>
  2290. <caption id="caption1" class="search_name" style="left:594px; top:7px; width:67px; height:17px; color:#7F7F7F; ">주치의</caption>
  2291. <caption id="caption4" class="search_name" style="left:385px; top:7px; width:70px; height:17px; color:#7F7F7F; ">진료과</caption>
  2292. <select1 id="cmb_orddr" ref="/root/send/data/singdata/drid" class="combo_search" appearance="minimal" style="left:664px; top:6px; width:91px; height:19px; ">
  2293. <choices>
  2294. <itemset nodeset="/root/init/cmb_orddr/initexecorddr">
  2295. <label ref="execorddrcdnm"/>
  2296. <value ref="execorddrcdid"/>
  2297. </itemset>
  2298. </choices>
  2299. </select1>
  2300. <select1 id="cmb_orddept" ref="/root/send/data/singdata/deptcd" class="combo_search" appearance="minimal" style="left:466px; top:6px; width:113px; height:19px; ">
  2301. <choices>
  2302. <itemset nodeset="/root/init/cmb_orddept/initexecorddept">
  2303. <label ref="execorddeptcdnm"/>
  2304. <value ref="execorddeptcdid"/>
  2305. </itemset>
  2306. </choices>
  2307. <script type="javascript" ev:event="xforms-value-changed">
  2308. <![CDATA[
  2309. fChngSrchDrId();
  2310. ]]>
  2311. </script>
  2312. </select1>
  2313. <caption id="caption2" class="search_name" visibility="hidden" style="left:774px; top:7px; width:86px; height:17px; color:#7F7F7F; ">병동</caption>
  2314. <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; ">
  2315. <choices>
  2316. <itemset nodeset="/root/init/cmb_room/initexecroom">
  2317. <label ref="execroomcdnm"/>
  2318. <value ref="execroomcdid"/>
  2319. </itemset>
  2320. </choices>
  2321. </select1>
  2322. <caption id="caption5" class="search_name" style="left:594px; top:29px; width:86px; height:17px; color:#7F7F7F; ">환자명</caption>
  2323. <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; ">
  2324. <choices>
  2325. <itemset nodeset="/root/init/cmb_ward/initexecward">
  2326. <label ref="execwardcdnm"/>
  2327. <value ref="execwardcdid"/>
  2328. </itemset>
  2329. </choices>
  2330. <script type="javascript" ev:event="xforms-value-changed">
  2331. <![CDATA[
  2332. fChngSrchRoomCd();
  2333. ]]>
  2334. </script>
  2335. </select1>
  2336. <caption id="caption10" class="search_name" style="left:12px; top:29px; width:86px; height:17px; color:#7F7F7F; ">조회기준</caption>
  2337. <caption id="caption11" class="search_name" style="left:12px; top:6px; width:86px; height:17px; color:#7F7F7F; ">조회기간</caption>
  2338. <input id="input1" ref="/root/main/patinfo/patinfolist/hngnm" class="input_search" style="left:664px; top:29px; width:89px; height:19px; ">
  2339. <script type="javascript" ev:event="onkeyup">
  2340. <![CDATA[
  2341. //model.setValue ( "/root/init/srchcond1", "2");
  2342. //inputEnterKey ( "btn_bfprcpsrch", "DOMActivate" )
  2343. ]]>
  2344. </script>
  2345. </input>
  2346. <button id="button5" class="icon_search" style="left:758px; top:30px; width:16px; height:16px; ">
  2347. <caption/>
  2348. <script type="javascript" ev:event="onclick">
  2349. <![CDATA[
  2350. fGetPatInfo();
  2351. ]]>
  2352. </script>
  2353. </button>
  2354. <input id="input2" ref="/root/main/patinfo/patinfolist/rrgstno1" class="input_search" disabled="true" style="left:780px; top:29px; width:60px; height:19px; "/>
  2355. <input id="input3" ref="/root/main/patinfo/patinfolist/sex" class="input_search" disabled="true" style="left:902px; top:29px; width:20px; height:19px; "/>
  2356. <input id="input4" ref="/root/main/patinfo/patinfolist/age" class="input_search" disabled="true" style="left:923px; top:29px; width:25px; height:19px; "/>
  2357. <input id="input5" ref="/root/main/patinfo/patinfolist/rrgstno2" class="input_search" disabled="true" style="left:841px; top:29px; width:60px; height:19px; "/>
  2358. </group>
  2359. <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; ">
  2360. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  2361. <col ref="reptrslt" style="font-family:굴림체; text-align:left; "/>
  2362. <col ref="judgmark"/>
  2363. <col ref="judgmark2"/>
  2364. <col ref="prcpcd"/>
  2365. <col ref="prcpnm"/>
  2366. <col ref="img"/>
  2367. <col ref="imgcnts"/>
  2368. <script type="javascript" ev:event="onkeydown">
  2369. <![CDATA[
  2370. if (event.ctrlKey == true && event.keyCode == 67)
  2371. {
  2372. aezfSendMarkBuf(grd_subresultdetail1, "reptrslt", "/root/main/subordlist1/subresultdetail1");
  2373. }
  2374. ]]>
  2375. </script>
  2376. <script type="javascript" ev:event="onscroll">
  2377. <![CDATA[
  2378. grd_subresultdetail1.frozenCols = 0;
  2379. ]]>
  2380. </script>
  2381. <script type="javascript" ev:event="onmouseup">
  2382. <![CDATA[
  2383. if ( (grd_subresultdetail1.row >= grd_subresultdetail1.fixedRows) && (grd_subresultdetail1.isCell(event.target))) {
  2384. if ( grd_subresultdetail1.row >0){
  2385. for ( var i =0 ; i< grd_subresultdetail1.selectedRows;i++){
  2386. /*
  2387. if (model.getValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check")== "N"){
  2388. model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "Y");
  2389. } else {
  2390. model.setValue("/root/main/subordlist1/subresultdetail1[" + grd_subresultdetail1.selectedRow(i) + "]/check", "N");
  2391. }
  2392. */
  2393. }
  2394. grd_subresultdetail1.frozenCols = 7;
  2395. model.refresh();
  2396. }
  2397. }
  2398. ]]>
  2399. </script>
  2400. </datagrid>
  2401. <line id="line8" class="line_1" style="x1:311px; y1:105px; x2:1190px; y2:105px; "/>
  2402. <caption id="caption22" class="tit_2" visibility="hidden" style="left:277px; top:26px; width:82px; height:13px; ">결과내역</caption>
  2403. <button id="btn_case1" class="btn_sw" group="tab" selected="true" style="left:7px; top:84px; width:50px; height:22px; ">
  2404. <caption>일자별</caption>
  2405. <toggle case="case1" ev:event="onclick"/>
  2406. <script type="javascript" ev:event="DOMActivate">
  2407. <![CDATA[
  2408. model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
  2409. fGetMainDistinctDailyList();
  2410. fGetMainDailyList();
  2411. ]]>
  2412. </script>
  2413. </button>
  2414. <button id="btn_case2" class="btn_sw" visibility="hidden" group="tab" style="left:50px; top:64px; width:75px; height:22px; ">
  2415. <caption>검사분류별</caption>
  2416. <toggle case="case2" ev:event="onclick"/>
  2417. <script type="javascript" ev:event="DOMActivate">
  2418. <![CDATA[
  2419. grp_makedset.visible = false;
  2420. // 접기
  2421. //fGetWideListX1(switch1, grd_mainset);
  2422. datagrid2.visible = false;
  2423. grd_subresultdetail1.visible = true;
  2424. fGetWideListX1(switch1, grd_mainprogress);
  2425. fGetMainSeriousList();
  2426. ]]>
  2427. </script>
  2428. </button>
  2429. <button id="btn_case3" class="btn_sw" group="tab" style="left:57px; top:84px; width:55px; height:22px; ">
  2430. <caption>SET별</caption>
  2431. <toggle case="case3" ev:event="onclick"/>
  2432. <script type="javascript" ev:event="DOMActivate">
  2433. <![CDATA[
  2434. fGetMainSetList();
  2435. // grp_makedset.visible = true;
  2436. // 접기
  2437. //fGetWideListX1(switch1, grd_mainprogress);
  2438. // 펼치기
  2439. //fGetWideListX2(switch1, grd_mainset);
  2440. //fGetMainSetList();
  2441. ]]>
  2442. </script>
  2443. </button>
  2444. <button id="btn_case4" class="btn_sw" group="tab" style="left:112px; top:84px; width:65px; height:22px; ">
  2445. <caption>진행상태</caption>
  2446. <toggle case="case4" ev:event="onclick"/>
  2447. <script type="javascript" ev:event="DOMActivate">
  2448. <![CDATA[
  2449. grp_makedset.visible = false;
  2450. // 접기
  2451. //fGetWideListX1(switch1, grd_mainset);
  2452. datagrid2.visible = false;
  2453. grd_subresultdetail1.visible = true;
  2454. // 펼치기
  2455. fGetWideListX2(switch1, grd_mainprogress);
  2456. fGetMainProgressList();
  2457. ]]>
  2458. </script>
  2459. </button>
  2460. <button id="button102" class="icon_left" style="left:252px; top:85px; width:26px; height:19px; ">
  2461. <caption/>
  2462. <script type="javascript" ev:event="onclick">
  2463. <![CDATA[
  2464. if ( btn_case1.selected == true ) fGetWideListX1(switch1, grd_maindaily);
  2465. if ( btn_case2.selected == true ) fGetWideListX1(switch1, grd_mainserious);
  2466. //if ( btn_case3.selected == true ) fGetWideListX1(switch1, grd_mainset);
  2467. if ( btn_case4.selected == true ) fGetWideListX1(switch1, grd_mainprogress);
  2468. ]]>
  2469. </script>
  2470. </button>
  2471. <button id="button103" class="icon_right" style="left:279px; top:85px; width:26px; height:19px; ">
  2472. <caption/>
  2473. <script type="javascript" ev:event="onclick">
  2474. <![CDATA[
  2475. if ( btn_case1.selected == true ) fGetWideListX2(switch1, grd_maindaily);
  2476. if ( btn_case2.selected == true ) fGetWideListX2(switch1, grd_mainserious);
  2477. //if ( btn_case3.selected == true ) fGetWideListX2(switch1, grd_mainset);
  2478. if ( btn_case4.selected == true ) fGetWideListX2(switch1, grd_mainprogress);
  2479. ]]>
  2480. </script>
  2481. </button>
  2482. <button id="button12" class="btn2_letter4" visibility="hidden" style="left:835px; top:30px; width:64px; height:19px; ">
  2483. <caption>누적조회</caption>
  2484. <script type="javascript" ev:event="DOMActivate">
  2485. <![CDATA[
  2486. //modal("SMLLP01000");
  2487. // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
  2488. if ( grd_subresultdetail1.visible == true ) {
  2489. fSetAddResult("1");
  2490. }else if ( datagrid2.visible == true ) {
  2491. fSetAddSPCResult("1");
  2492. }
  2493. ]]>
  2494. </script>
  2495. <hint>
  2496. <![CDATA[진검,미생물,핵의학체외에 대한 누적결과조회입니다]]>
  2497. </hint>
  2498. </button>
  2499. <button id="button3" class="btn2_letter4" visibility="hidden" style="left:770px; top:30px; width:64px; height:19px; ">
  2500. <caption>연속보기</caption>
  2501. <script type="javascript" ev:event="DOMActivate">
  2502. <![CDATA[
  2503. if ( btn_case3.selected == true || btn_case4.selected == true) {
  2504. messageBox("[연속보기] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
  2505. return true;
  2506. }
  2507. //alert(grd_maindaily.row);
  2508. // if ( grd_maindaily.row == 0 ) grd_maindaily.select(parseInt(1), parseInt(0), parseInt(1), parseInt(11)) = true ;
  2509. //return;
  2510. if ( grd_maindaily.row == 0 ) return;
  2511. if ( grd_mainserious.row == 0 ) return;
  2512. if ( grd_mainseriouslist.row == 0 ) return;
  2513. fClickResultContinueList();
  2514. ]]>
  2515. </script>
  2516. <hint>
  2517. <![CDATA[결과내역에 대한 연속보기 기능입니다]]>
  2518. </hint>
  2519. </button>
  2520. <group id="grp_searchset" style="left:445px; top:375px; width:427px; height:264px; ">
  2521. <datagrid id="datagrid6" caption="진료과^구분^SET명^검사항목" colsep="^" colwidth="67, 54, 94, 203" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:53px; width:424px; height:208px; ">
  2522. <col/>
  2523. <col/>
  2524. <col/>
  2525. <col/>
  2526. </datagrid>
  2527. <caption id="caption8" class="tit_1" style="left:25px; top:10px; width:106px; height:13px; ">SET 조회</caption>
  2528. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:3px; top:20px; width:420px; height:30px; "/>
  2529. <select1 id="combo5" class="combo_search" appearance="minimal" style="left:80px; top:26px; width:113px; height:19px; ">
  2530. <choices>
  2531. <item>
  2532. <label>combo1</label>
  2533. <value>combo1</value>
  2534. </item>
  2535. </choices>
  2536. </select1>
  2537. <caption id="caption7" class="search_name" style="left:10px; top:26px; width:70px; height:17px; ">진료과</caption>
  2538. <button id="button15" class="btn2_letter2" style="left:370px; top:26px; width:42px; height:19px; ">
  2539. <caption>닫기</caption>
  2540. <script type="javascript" ev:event="DOMActivate">
  2541. <![CDATA[
  2542. grp_searchset.visible = false;
  2543. ]]>
  2544. </script>
  2545. </button>
  2546. </group>
  2547. <switch id="switch1" style="left:5px; top:105px; width:305px; height:636px; ">
  2548. <case id="case1" selected="true">
  2549. <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; ">
  2550. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  2551. <col ref="lastreptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  2552. <col ref="prcpdd1" format="yyyy-mm-dd" style="text-align:center; "/>
  2553. <col ref="examnm" style="text-align:left; "/>
  2554. <col ref="spcnm" style="text-align:left; "/>
  2555. <col ref="statnm"/>
  2556. <col ref="prcpgenrflag" type="combo">
  2557. <choices>
  2558. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  2559. <label ref="cdnm"/>
  2560. <value ref="cdid"/>
  2561. </itemset>
  2562. </choices>
  2563. </col>
  2564. <col ref="drnm"/>
  2565. <col ref="examgubun"/>
  2566. <col ref="lastreptdd1" format="yyyy-mm-dd" style="text-align:center; "/>
  2567. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  2568. <col ref="bcno" visibility="hidden"/>
  2569. <col ref="testmdlcd" visibility="hidden"/>
  2570. <col ref="execprcpuniqno" visibility="hidden"/>
  2571. <col ref="pid" visibility="hidden"/>
  2572. <col ref="signno" visibility="hidden"/>
  2573. <col ref="formcd" visibility="hidden"/>
  2574. <script type="javascript" ev:event="onclick">
  2575. <![CDATA[
  2576. //if ( grd_maindaily.row == 0 ) return;
  2577. //alert(grd_maindaily.rows);
  2578. if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
  2579. var colidx = grd_maindaily.col;
  2580. //alert(colidx+'-'+rowidx);
  2581. // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
  2582. /*
  2583. if( colidx == 0)
  2584. {
  2585. }else {
  2586. fClickResultList(grd_maindaily);
  2587. }
  2588. */
  2589. }
  2590. ]]>
  2591. </script>
  2592. <script type="javascript" ev:event="onaftersort">
  2593. <![CDATA[
  2594. grd_maindaily.gridToInstance();
  2595. ]]>
  2596. </script>
  2597. <script type="javascript" ev:event="onmousedown">
  2598. <![CDATA[
  2599. if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
  2600. setPopupMenu("grd_maindaily", false, "/root/init/popupmenu/grid01/item", "name", "func");
  2601. }
  2602. ]]>
  2603. </script>
  2604. <script type="javascript" ev:event="onmouseup">
  2605. <![CDATA[
  2606. if ( (grd_maindaily.row >= grd_maindaily.fixedRows) && (grd_maindaily.isCell(event.target))) {
  2607. var colidx = grd_maindaily.col;
  2608. if ( grd_maindaily.row >0){
  2609. for ( var i =0 ; i< grd_maindaily.selectedRows;i++){
  2610. //alert(model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check"));
  2611. if (model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check")== "N" ||
  2612. model.getValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check")== ""){
  2613. if( colidx == 0) {
  2614. }else {
  2615. model.setValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check", "Y");
  2616. }
  2617. } else {
  2618. if( colidx == 0) {
  2619. }else {
  2620. model.setValue("/root/main/ordlist1/maindailylist[" + grd_maindaily.selectedRow(i) + "]/check", "N");
  2621. }
  2622. }
  2623. }
  2624. model.refresh();
  2625. }
  2626. }
  2627. ]]>
  2628. </script>
  2629. <script type="javascript" ev:event="DOMFocusOut">
  2630. <![CDATA[
  2631. initPopupMenu();
  2632. ]]>
  2633. </script>
  2634. </datagrid>
  2635. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:3px; top:6px; width:296px; height:39px; "/>
  2636. <button id="btn_dailysrch" class="btn2_letter2" visibility="hidden" style="left:250px; top:12px; width:42px; height:19px; ">
  2637. <caption>검색</caption>
  2638. <script type="javascript" ev:event="DOMActivate">
  2639. <![CDATA[
  2640. fGetMainDailyList();
  2641. ]]>
  2642. </script>
  2643. </button>
  2644. <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; ">
  2645. <choices>
  2646. <itemset nodeset="/root/main/ordlist6/maindistinctdailylist">
  2647. <label ref="refname"/>
  2648. <value ref="prcpdd"/>
  2649. </itemset>
  2650. </choices>
  2651. <script type="javascript" ev:event="xforms-value-changed">
  2652. <![CDATA[
  2653. model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
  2654. fGetMainDailyList();
  2655. ]]>
  2656. </script>
  2657. </select1>
  2658. <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; ">
  2659. <choices>
  2660. <item>
  2661. <label>텍스트결과조회</label>
  2662. <value>1</value>
  2663. </item>
  2664. <item>
  2665. <label>디자인결과조회</label>
  2666. <value>2</value>
  2667. </item>
  2668. <item>
  2669. <label>텍스트+디자인결과</label>
  2670. <value>3</value>
  2671. </item>
  2672. </choices>
  2673. </select1>
  2674. <button id="button38" class="btn2_letter6" style="left:12px; top:15px; width:86px; height:19px; ">
  2675. <caption>선택항목조회</caption>
  2676. <script type="javascript" ev:event="DOMActivate">
  2677. <![CDATA[
  2678. if ( btn_case3.selected == true || btn_case4.selected == true) {
  2679. messageBox("[연속보기] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
  2680. return true;
  2681. }
  2682. //alert(grd_maindaily.row);
  2683. // if ( grd_maindaily.row == 0 ) grd_maindaily.select(parseInt(1), parseInt(0), parseInt(1), parseInt(11)) = true ;
  2684. //return;
  2685. if ( grd_maindaily.rows == 0 ) return;
  2686. if ( grd_mainserious.rows == 0 ) return;
  2687. if ( grd_mainseriouslist.rows == 0 ) return;
  2688. fClickResultContinueList();
  2689. ]]>
  2690. </script>
  2691. </button>
  2692. </case>
  2693. <case id="case2">
  2694. <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; ">
  2695. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  2696. <col ref="prcpdd" style="text-align:center; "/>
  2697. <col ref="drnm"/>
  2698. <col ref="prcpgenrflag" type="combo" style="text-align:left; ">
  2699. <choices>
  2700. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  2701. <label ref="cdnm"/>
  2702. <value ref="cdid"/>
  2703. </itemset>
  2704. </choices>
  2705. </col>
  2706. <col ref="statnm"/>
  2707. <col ref="execprcpuniqno"/>
  2708. <col ref="pid"/>
  2709. <script type="javascript" ev:event="onclick">
  2710. <![CDATA[
  2711. if ( grd_mainserious.row == 0 ) return;
  2712. if ( (grd_mainserious.row >= grd_mainserious.fixedRows) && (grd_mainserious.isCell(event.target))) {
  2713. var colidx = grd_mainserious.col;
  2714. //alert(colidx+'-'+rowidx);
  2715. // 선택을 체크하면 조회가 아닌 선택체크를 해제만 한다.
  2716. if( colidx == 0)
  2717. {
  2718. }else {
  2719. fClickResultList(grd_mainserious);
  2720. }
  2721. }
  2722. ]]>
  2723. </script>
  2724. </datagrid>
  2725. <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; ">
  2726. <col ref="examnm"/>
  2727. <col ref="testmdlcd"/>
  2728. <col ref="examgubun"/>
  2729. <script type="javascript" ev:event="onclick">
  2730. <![CDATA[
  2731. if ( grd_mainseriouslist.row == 0 ) return;
  2732. if ( (grd_mainseriouslist.row >= grd_mainseriouslist.fixedRows) && (grd_mainseriouslist.isCell(event.target))) {
  2733. var rowidx = grd_mainseriouslist.row;
  2734. //alert(model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/testmdlcd"));
  2735. var mdlcd = model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/testmdlcd");
  2736. var examgubun = model.getValue("/root/main/ordlist5/mainseriouslist["+rowidx+"]/examgubun");
  2737. fGetMainSerious(mdlcd, examgubun);
  2738. }
  2739. ]]>
  2740. </script>
  2741. </datagrid>
  2742. </case>
  2743. <case id="case3">
  2744. <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; ">
  2745. <itemset nodeset="/root/main/prmsprcpsetinfo/prmsprcpsetlist">
  2746. <label ref="setnm"/>
  2747. <value ref="setno"/>
  2748. <depth ref="levl"/>
  2749. </itemset>
  2750. <script type="javascript" ev:event="xforms-select">
  2751. <![CDATA[
  2752. fGetNResultRef();
  2753. ]]>
  2754. </script>
  2755. </treeview>
  2756. <button id="btn_makedset" class="btn2_letter7" style="left:5px; top:10px; width:97px; height:19px; ">
  2757. <caption>SET수정/등록</caption>
  2758. <script type="javascript" ev:event="DOMActivate">
  2759. <![CDATA[
  2760. grp_makedset.visible = false;
  2761. //modal( "SMAER00801",100,10,"SMAER00801","","");
  2762. //ivw_prcp.src = "SPAER00803_SET수정등록.xrw";
  2763. var xpt = window.screenleft;
  2764. var ypt = window.screentop;
  2765. modal("SPAER00803", 1, xpt + 15, ypt+33);
  2766. //modal( "SPAER00803",100,10,"SPAER00803","","");
  2767. ]]>
  2768. </script>
  2769. </button>
  2770. <button id="btn_setsrch" class="btn2_letter8" style="left:103px; top:10px; width:108px; height:19px; ">
  2771. <caption>SET전체항목조회</caption>
  2772. <script type="javascript" ev:event="DOMActivate">
  2773. <![CDATA[
  2774. if ( grp_makedset.visible == true ) {
  2775. grp_makedset.visible = false;
  2776. return;
  2777. }
  2778. else {
  2779. grp_makedset.visible = true;
  2780. readPDfunc();
  2781. }
  2782. //grp_searchset.visible = true;
  2783. ]]>
  2784. </script>
  2785. </button>
  2786. <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:35px; width:295px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  2787. <button id="button2" class="btn2_letter2" style="left:219px; top:100px; width:42px; height:19px; ">
  2788. <caption>검색</caption>
  2789. <script type="javascript" ev:event="DOMActivate">
  2790. <![CDATA[
  2791. fSrchFolderNM();
  2792. ]]>
  2793. </script>
  2794. </button>
  2795. <input id="ipt_foldnm" ref="/root/send/setdata/foldernm" style="left:90px; top:100px; width:125px; height:19px; ">
  2796. <script type="javascript" ev:event="onkeypress">
  2797. <![CDATA[
  2798. inputEnterKey("btn_srch", "DOMActivate");
  2799. ]]>
  2800. </script>
  2801. </input>
  2802. <caption id="caption12" class="search_name" style="left:15px; top:101px; width:86px; height:17px; ">폴더명 :</caption>
  2803. <select1 id="cmb_deptset" ref="/root/send/setdata/deptsetcd" disabled="true" appearance="minimal" style="left:46px; top:74px; width:194px; height:19px; ">
  2804. <choices>
  2805. <itemset nodeset="/root/init/deptlist/deptlist">
  2806. <label ref="deptnm"/>
  2807. <value ref="deptcd"/>
  2808. </itemset>
  2809. </choices>
  2810. <script type="javascript" ev:event="xforms-value-changed">
  2811. <![CDATA[
  2812. //fSelectDeptCmb();
  2813. //model.setValue("/root/send/setdata/deptnm", cmb_deptset.label);
  2814. //readfunc();
  2815. combo1.dispatch("xforms-value-changed");
  2816. ]]>
  2817. </script>
  2818. </select1>
  2819. <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; ">
  2820. <choices>
  2821. <item>
  2822. <label>개인</label>
  2823. <value>P</value>
  2824. </item>
  2825. <item>
  2826. <label>과</label>
  2827. <value>D</value>
  2828. </item>
  2829. <item>
  2830. <label>타과</label>
  2831. <value>T</value>
  2832. </item>
  2833. </choices>
  2834. <script type="javascript" ev:event="onclick">
  2835. <![CDATA[
  2836. grp_makedset.visible = false; // SET전체항목조회 비활성화
  2837. if (model.getValue("/root/send/setdata/setkindcd") == "P" || model.getValue("/root/send/setdata/setkindcd") == "D"){
  2838. submit("TRAER00815");
  2839. readfunc();
  2840. cmb_deptset.disabled = true;
  2841. }else{
  2842. submit("TRAER00815");
  2843. cmb_deptset.disabled = false;
  2844. readfunc(); // 실제 조회 결과는 없음.
  2845. }
  2846. model.refresh();
  2847. ]]>
  2848. </script>
  2849. </select1>
  2850. <caption id="caption13" visibility="hidden" style="left:71px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; ">개인</caption>
  2851. <caption id="caption14" visibility="hidden" style="left:131px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; ">과</caption>
  2852. <caption id="caption15" visibility="hidden" style="left:177px; top:47px; width:43px; height:20px; font-weight:bold; color:#ff0000; border-color:transparent; ">타과</caption>
  2853. </case>
  2854. <case id="case4">
  2855. <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; ">
  2856. <col ref="prcpgenrflag" type="combo">
  2857. <choices>
  2858. <itemset nodeset="/root/init/baseinfo/initprcpgenrflagcd/M0010">
  2859. <label ref="cdnm"/>
  2860. <value ref="cdid"/>
  2861. </itemset>
  2862. </choices>
  2863. </col>
  2864. <col ref="prcpdt" format="yyyy-mm-dd hh:nn:ss"/>
  2865. <col ref="biznm"/>
  2866. <col ref="prcpnm"/>
  2867. <col ref="spcnm"/>
  2868. <col ref="drugmthdspccd"/>
  2869. <col ref="prcpstatnm"/>
  2870. <col ref="orddrnm"/>
  2871. <col ref="rsrvdt" format="yyyy-mm-dd hh:nn:ss"/>
  2872. <col ref="bcolldt" format="yyyy-mm-dd hh:nn:ss"/>
  2873. <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
  2874. <col ref="execdt" format="yyyy-mm-dd hh:nn:ss"/>
  2875. <col ref="reptdt" format="yyyy-mm-dd hh:nn:ss"/>
  2876. <col ref="prcpcd"/>
  2877. <script type="javascript" ev:event="onclick">
  2878. <![CDATA[
  2879. fClickResultList(grd_mainprogress);
  2880. ]]>
  2881. </script>
  2882. <script type="javascript" ev:event="onscroll">
  2883. <![CDATA[
  2884. fSubmitOnScroll();
  2885. ]]>
  2886. </script>
  2887. </datagrid>
  2888. </case>
  2889. </switch>
  2890. <button id="button1" class="btn2_letter4" visibility="visible" style="left:1125px; top:65px; width:64px; height:19px; ">
  2891. <caption>엑셀저장</caption>
  2892. <script type="javascript" ev:event="DOMActivate">
  2893. <![CDATA[
  2894. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  2895. if ( btn_case1.selected == true || btn_case2.selected == true || btn_case4.selected == true ) {
  2896. grd_subresultdetail1.saveExcel(file);
  2897. }else if (btn_case3.selected == true) {
  2898. datagrid2.saveExcel(file);
  2899. }
  2900. ]]>
  2901. </script>
  2902. </button>
  2903. <group id="grp_makedset" style="left:8px; top:212px; width:303px; height:488px; ">
  2904. <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; ">
  2905. <col ref="setkindnm"/>
  2906. <col ref="setnm"/>
  2907. <col ref="testcdnm"/>
  2908. <script type="javascript" ev:event="onclick">
  2909. <![CDATA[
  2910. if ( grd_makedset.row >= grd_makedset.fixedRows ) {
  2911. fGetPDResultRef();
  2912. }
  2913. ]]>
  2914. </script>
  2915. </datagrid>
  2916. <button id="button9" class="btn2_letter2" style="left:250px; top:4px; width:42px; height:19px; ">
  2917. <caption>닫기</caption>
  2918. <script type="javascript" ev:event="DOMActivate">
  2919. <![CDATA[
  2920. grp_makedset.visible = false;
  2921. ]]>
  2922. </script>
  2923. </button>
  2924. <caption id="caption9" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">SET 전체항목조회</caption>
  2925. </group>
  2926. <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; ">
  2927. <col checkvalue="true,false" ref="chk"/>
  2928. </datagrid>
  2929. <button id="button4" class="btn2_letter4" visibility="hidden" style="left:689px; top:30px; width:64px; height:19px; ">
  2930. <caption>CDIS연동</caption>
  2931. <script type="javascript" ev:event="DOMActivate">
  2932. <![CDATA[
  2933. if ( btn_case3.selected == true || btn_case4.selected == true) {
  2934. messageBox("[CDIS연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
  2935. return true;
  2936. }
  2937. //if ( grd_maindaily.row == 0 ) return;
  2938. //if ( grd_mainserious.row == 0 ) return;
  2939. //if ( grd_mainseriouslist.row == 0 ) return;
  2940. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  2941. messageBox("등록번호를 입력하세요.","I999");
  2942. return true;
  2943. }
  2944. if ( btn_case1.selected == true ) fClickCDISResultList(grd_maindaily);
  2945. if ( btn_case2.selected == true ) fClickCDISResultList(grd_mainserious);
  2946. ]]>
  2947. </script>
  2948. </button>
  2949. <button id="button11" class="btn2_letter3" visibility="hidden" style="left:900px; top:30px; width:53px; height:19px; ">
  2950. <caption>그래프</caption>
  2951. <hint>
  2952. <![CDATA[진검,미생물,핵의학체외에 대한 그래프결과조회입니다]]>
  2953. </hint>
  2954. <script type="javascript" ev:event="DOMActivate">
  2955. <![CDATA[
  2956. if ( grd_subresultdetail1.visible == true ) {
  2957. fSetAddResult("2");
  2958. }else if ( datagrid2.visible == true ) {
  2959. fSetAddSPCResult("2");
  2960. }
  2961. ]]>
  2962. </script>
  2963. </button>
  2964. <button id="button6" class="btn2_letter5" visibility="hidden" style="left:613px; top:30px; width:75px; height:19px; ">
  2965. <caption>PACS연동</caption>
  2966. <script type="javascript" ev:event="DOMActivate">
  2967. <![CDATA[
  2968. if ( btn_case3.selected == true || btn_case4.selected == true) {
  2969. messageBox("[PACS Ord 연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
  2970. return true;
  2971. }
  2972. if ( grd_maindaily.row == 0 ) return;
  2973. if ( grd_mainserious.row == 0 ) return;
  2974. if ( grd_mainseriouslist.row == 0 ) return;
  2975. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  2976. messageBox("등록번호를 입력하세요.","I999");
  2977. return true;
  2978. }
  2979. //if ( btn_case1.selected == true ) fClickPACSOrdResultList(grd_maindaily);
  2980. //if ( btn_case2.selected == true ) fClickPACSOrdResultList(grd_mainserious);
  2981. if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
  2982. if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
  2983. ]]>
  2984. </script>
  2985. </button>
  2986. <button id="button8" class="btn2_letter5" visibility="hidden" style="left:307px; top:25px; width:75px; height:19px; ">
  2987. <caption>PACS Pat</caption>
  2988. <script type="javascript" ev:event="DOMActivate">
  2989. <![CDATA[
  2990. if ( btn_case3.selected == true || btn_case4.selected == true) {
  2991. messageBox("[PACS Pat 연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
  2992. return true;
  2993. }
  2994. if ( grd_maindaily.row == 0 ) return;
  2995. if ( grd_mainserious.row == 0 ) return;
  2996. if ( grd_mainseriouslist.row == 0 ) return;
  2997. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  2998. messageBox("등록번호를 입력하세요.","I999");
  2999. return true;
  3000. }
  3001. if ( btn_case1.selected == true ) fClickPACSPatResultList(grd_maindaily);
  3002. if ( btn_case2.selected == true ) fClickPACSPatResultList(grd_mainserious);
  3003. //zepfpacsPatientID(PatientID)
  3004. ]]>
  3005. </script>
  3006. </button>
  3007. <button id="button16" class="btn2_letter8" visibility="hidden" style="left:385px; top:35px; width:108px; height:19px; ">
  3008. <caption>PACS Ord+Pat</caption>
  3009. <script type="javascript" ev:event="DOMActivate">
  3010. <![CDATA[
  3011. if ( btn_case3.selected == true || btn_case4.selected == true) {
  3012. messageBox("[PACS Ord 연동] 기능은 일자별/검사분류별 조회에서만 적용됩니다.","I999");
  3013. return true;
  3014. }
  3015. if ( grd_maindaily.row == 0 ) return;
  3016. if ( grd_mainserious.row == 0 ) return;
  3017. if ( grd_mainseriouslist.row == 0 ) return;
  3018. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  3019. messageBox("등록번호를 입력하세요.","I999");
  3020. return true;
  3021. }
  3022. if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
  3023. if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
  3024. //zepfpacsAll(OrderID, PatientID)
  3025. ]]>
  3026. </script>
  3027. </button>
  3028. <button id="button14" class="btn2_letter7" visibility="hidden" style="left:969px; top:30px; width:97px; height:19px; ">
  3029. <caption>미생물누적조회</caption>
  3030. <hint>
  3031. <![CDATA[미생물 검사에 대한 누적결과조회입니다]]>
  3032. </hint>
  3033. <script type="javascript" ev:event="DOMActivate">
  3034. <![CDATA[
  3035. fSetAddMicroResult();
  3036. ]]>
  3037. </script>
  3038. </button>
  3039. <object id="obj_imge" clsid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" style="left:635px; top:110px; width:500px; height:500px; background-color:transparent; "/>
  3040. <button id="button28" class="btn2_letter7" visibility="hidden" style="left:315px; top:5px; width:97px; height:19px; ">
  3041. <caption>내시경연속보기</caption>
  3042. <script type="javascript" ev:event="DOMActivate">
  3043. <![CDATA[
  3044. //if ( btn_case3.selected == true || btn_case4.selected == true) {
  3045. // messageBox("[내시경연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3046. // return true;
  3047. //}
  3048. fGetColonyDailyList();
  3049. ]]>
  3050. </script>
  3051. </button>
  3052. <button id="button29" class="btn2_letter6" visibility="hidden" style="left:412px; top:5px; width:86px; height:19px; ">
  3053. <caption>병리연속보기</caption>
  3054. <script type="javascript" ev:event="DOMActivate">
  3055. <![CDATA[
  3056. //if ( btn_case3.selected == true || btn_case4.selected == true) {
  3057. // messageBox("[병리연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3058. // return true;
  3059. //}
  3060. fGetPlgyDailyList();
  3061. ]]>
  3062. </script>
  3063. </button>
  3064. <button id="button26" class="btn2_letter7" visibility="hidden" style="left:498px; top:5px; width:97px; height:19px; ">
  3065. <caption>미생물연속보기</caption>
  3066. <script type="javascript" ev:event="DOMActivate">
  3067. <![CDATA[
  3068. //if ( btn_case3.selected == true || btn_case4.selected == true) {
  3069. // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3070. // return true;
  3071. //}
  3072. fGetCellDailyList();
  3073. ]]>
  3074. </script>
  3075. </button>
  3076. <button id="button27" class="btn2_letter6" visibility="hidden" style="left:595px; top:5px; width:86px; height:19px; ">
  3077. <caption>기능연속보기</caption>
  3078. <script type="javascript" ev:event="DOMActivate">
  3079. <![CDATA[
  3080. //if ( btn_case3.selected == true || btn_case4.selected == true) {
  3081. // messageBox("[기능(과검사)연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3082. // return true;
  3083. //}
  3084. fGetFuncDailyList();
  3085. ]]>
  3086. </script>
  3087. </button>
  3088. <button id="button31" class="btn2_letter6" style="left:826px; top:65px; width:86px; height:19px; ">
  3089. <caption>CDIS연속연동</caption>
  3090. <script type="javascript" ev:event="DOMActivate">
  3091. <![CDATA[
  3092. if ( btn_case3.selected == true || btn_case4.selected == true) {
  3093. messageBox("[CDIS연속연동] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3094. return true;
  3095. }
  3096. //if ( grd_maindaily.row == 0 ) return;
  3097. //if ( grd_mainserious.row == 0 ) return;
  3098. //if ( grd_mainseriouslist.row == 0 ) return;
  3099. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  3100. messageBox("등록번호를 입력하세요.","I999");
  3101. return true;
  3102. }
  3103. if ( btn_case1.selected == true ) fClickCDISResultList(grd_maindaily);
  3104. if ( btn_case2.selected == true ) fClickCDISResultList(grd_mainserious);
  3105. ]]>
  3106. </script>
  3107. </button>
  3108. <button id="button32" class="btn2_letter6" visibility="hidden" style="left:681px; top:5px; width:86px; height:19px; ">
  3109. <caption>영상연속보기</caption>
  3110. <script type="javascript" ev:event="DOMActivate">
  3111. <![CDATA[
  3112. //if ( btn_case3.selected == true || btn_case4.selected == true) {
  3113. // messageBox("[영상연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3114. // return true;
  3115. //}
  3116. fGetPhotDailyList();
  3117. ]]>
  3118. </script>
  3119. </button>
  3120. <button id="button30" class="btn5_letter4" disabled="false" style="left:890px; top:85px; width:64px; height:19px; ">
  3121. <caption>가로누적</caption>
  3122. <script type="javascript" ev:event="DOMActivate">
  3123. <![CDATA[
  3124. // 1 일경우에는 누적조회 버튼을 클릭했다는 의미, 2는 그래프버튼을 클릭했다는 의미
  3125. if ( grd_subresultdetail1.visible == true ) {
  3126. fSetAddResult("1");
  3127. }else if ( datagrid2.visible == true ) {
  3128. fSetAddSPCResult("1");
  3129. }
  3130. ]]>
  3131. </script>
  3132. <hint>
  3133. <![CDATA[진검,미생물,핵의학체외에 대한 누적결과조회입니다]]>
  3134. </hint>
  3135. </button>
  3136. <button id="button34" class="btn5_letter5" disabled="false" style="left:954px; top:85px; width:75px; height:19px; ">
  3137. <caption>Graph누적</caption>
  3138. <hint>
  3139. <![CDATA[진검,미생물,핵의학체외에 대한 그래프 누적결과조회입니다]]>
  3140. </hint>
  3141. <script type="javascript" ev:event="DOMActivate">
  3142. <![CDATA[
  3143. if ( grd_subresultdetail1.visible == true ) {
  3144. fSetAddResult("2");
  3145. }else if ( datagrid2.visible == true ) {
  3146. fSetAddSPCResult("2");
  3147. }
  3148. ]]>
  3149. </script>
  3150. </button>
  3151. <button id="button25" class="btn5_letter5" disabled="false" style="left:1029px; top:85px; width:75px; height:19px; ">
  3152. <caption>미생물누적</caption>
  3153. <hint>
  3154. <![CDATA[미생물 검사에 대한 누적결과조회입니다]]>
  3155. </hint>
  3156. <script type="javascript" ev:event="DOMActivate">
  3157. <![CDATA[
  3158. fSetAddMicroResult();
  3159. ]]>
  3160. </script>
  3161. </button>
  3162. <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; ">
  3163. <choices>
  3164. <itemset nodeset="/root/init/cmb_orddept/initexecorddept2">
  3165. <label ref="execorddeptcdnm"/>
  3166. <value ref="execorddeptcdid"/>
  3167. </itemset>
  3168. </choices>
  3169. <script type="javascript" ev:event="xforms-value-changed">
  3170. <![CDATA[
  3171. //alert(combo1.focusIndex);
  3172. var index = combo1.focusIndex+1;
  3173. model.setValue("/root/send/setdata/deptsetcd", model.getValue("/root/init/cmb_orddept/initexecorddept2["+index+"]/execorddeptcdid"));
  3174. model.setValue("/root/send/setdata/deptnm", model.getValue("/root/init/cmb_orddept/initexecorddept2["+index+"]/execorddeptcdnm"));
  3175. model.refresh();
  3176. //alert(model.getValue("/root/send/setdata/deptsetcd"));
  3177. //alert(model.getValue("/root/send/setdata/deptnm"));
  3178. btn_case3.selected = true;
  3179. model.toggle("case3");
  3180. //return;
  3181. fGetMainSetList();
  3182. model.setValue("/root/send/setdata/deptsetcd", "");
  3183. model.setValue("/root/send/setdata/deptnm", "");
  3184. model.refresh();
  3185. ]]>
  3186. </script>
  3187. </select1>
  3188. <button id="button33" class="btn2_letter6" style="left:912px; top:65px; width:86px; height:19px; ">
  3189. <caption>PACS연동</caption>
  3190. <script type="javascript" ev:event="DOMActivate">
  3191. <![CDATA[
  3192. if ( btn_case3.selected == true || btn_case4.selected == true) {
  3193. messageBox("[PACS 연동] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3194. return true;
  3195. }
  3196. if ( grd_maindaily.row == 0 ) return;
  3197. if ( grd_mainserious.row == 0 ) return;
  3198. if ( grd_mainseriouslist.row == 0 ) return;
  3199. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  3200. messageBox("등록번호를 입력하세요.","I999");
  3201. return true;
  3202. }
  3203. //if ( btn_case1.selected == true ) fClickPACSOrdResultList(grd_maindaily);
  3204. //if ( btn_case2.selected == true ) fClickPACSOrdResultList(grd_mainserious);
  3205. if ( btn_case1.selected == true ) fClickPACSOrdPatResultList(grd_maindaily);
  3206. if ( btn_case2.selected == true ) fClickPACSOrdPatResultList(grd_mainserious);
  3207. ]]>
  3208. </script>
  3209. </button>
  3210. <button id="button24" class="btn2_letter7" visibility="hidden" style="left:767px; top:5px; width:97px; height:19px; ">
  3211. <caption>진검연속보기</caption>
  3212. <script type="javascript" ev:event="DOMActivate">
  3213. <![CDATA[
  3214. //if ( btn_case3.selected == true || btn_case4.selected == true) {
  3215. // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3216. // return true;
  3217. //}
  3218. fGetHemoDailyList();
  3219. ]]>
  3220. </script>
  3221. </button>
  3222. <button id="button35" class="btn2_letter7" visibility="hidden" style="left:864px; top:5px; width:97px; height:19px; ">
  3223. <caption>핵체외연속보기</caption>
  3224. <script type="javascript" ev:event="DOMActivate">
  3225. <![CDATA[
  3226. //if ( btn_case3.selected == true || btn_case4.selected == true) {
  3227. // messageBox("[미생물연속보기] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3228. // return true;
  3229. //}
  3230. fGetNuclDailyList();
  3231. ]]>
  3232. </script>
  3233. </button>
  3234. <button id="btn_MyPatList" class="btn2_letter5" style="left:965px; top:40px; width:75px; height:19px; ">
  3235. <caption>대상자조회</caption>
  3236. <script type="javascript" ev:event="DOMActivate">
  3237. <![CDATA[
  3238. if(window.children.item("SPAER00802") == null)
  3239. {
  3240. var xpt = 1000;
  3241. var ypt = 0;
  3242. aezfTopMost("SPAER00802",1,xpt,ypt,"SPAER00802","/root/send/data/singdata","/root/send","",0,0);
  3243. }else {
  3244. copyNodesetType("/root/send", "/root/send/data/singdata", "replace" , window.children.item("SPAER00802").model, model);
  3245. window.children.item("SPAER00802").model.refresh();
  3246. window.children.item("SPAER00802").model.dispatch("xforms-ready");
  3247. }
  3248. ]]>
  3249. </script>
  3250. </button>
  3251. <button id="button7" class="btn2_letter7" style="left:998px; top:65px; width:97px; height:19px; ">
  3252. <caption>PACS-등록번호</caption>
  3253. <script type="javascript" ev:event="DOMActivate">
  3254. <![CDATA[
  3255. if ( btn_case3.selected == true || btn_case4.selected == true) {
  3256. messageBox("[PACS 연동-등록번호기준] 기능은 일자별 조회에서만 적용됩니다.","I999");
  3257. return true;
  3258. }
  3259. if ( grd_maindaily.row == 0 ) return;
  3260. if ( grd_mainserious.row == 0 ) return;
  3261. if ( grd_mainseriouslist.row == 0 ) return;
  3262. if ( model.getValue("/root/send/data/singdata/srchpid") == "" ) {
  3263. messageBox("등록번호를 입력하세요.","I999");
  3264. return true;
  3265. }
  3266. if ( btn_case1.selected == true ) fClickPACSPatResultList(grd_maindaily);
  3267. if ( btn_case2.selected == true ) fClickPACSPatResultList(grd_mainserious);
  3268. ]]>
  3269. </script>
  3270. </button>
  3271. <button id="button37" class="btn2_letter4" visibility="visible" style="left:1125px; top:85px; width:64px; height:19px; ">
  3272. <caption>메뉴얼</caption>
  3273. <script type="javascript" ev:event="DOMActivate">
  3274. <![CDATA[
  3275. //open("SMAZZ00101",1,0,0,"SMAZZ00101");
  3276. open("SMAZZ00101",1,0,0,"SMAZZ00101");
  3277. //open(id,monNo,xPos,yPos,wid,ref,resultref,userProp,prevPos)
  3278. ]]>
  3279. </script>
  3280. </button>
  3281. <button id="button17" class="btn2_letter3" style="left:366px; top:86px; width:53px; height:19px; ">
  3282. <caption>진검</caption>
  3283. <script type="javascript" ev:event="DOMActivate">
  3284. <![CDATA[
  3285. fGetHemoDailyList();
  3286. ]]>
  3287. </script>
  3288. </button>
  3289. <button id="button18" class="btn2_letter3" style="left:696px; top:86px; width:53px; height:19px; ">
  3290. <caption>미생물</caption>
  3291. <script type="javascript" ev:event="DOMActivate">
  3292. <![CDATA[
  3293. fGetCellDailyList();
  3294. ]]>
  3295. </script>
  3296. </button>
  3297. <button id="button19" class="btn2_letter3" style="left:421px; top:86px; width:53px; height:19px; ">
  3298. <caption>병리</caption>
  3299. <script type="javascript" ev:event="DOMActivate">
  3300. <![CDATA[
  3301. fGetPlgyDailyList();
  3302. ]]>
  3303. </script>
  3304. </button>
  3305. <button id="button20" class="btn2_letter3" style="left:531px; top:86px; width:53px; height:19px; ">
  3306. <caption>핵체외</caption>
  3307. <script type="javascript" ev:event="DOMActivate">
  3308. <![CDATA[
  3309. fGetNuclDailyList();
  3310. ]]>
  3311. </script>
  3312. </button>
  3313. <button id="button21" class="btn2_letter3" style="left:476px; top:86px; width:53px; height:19px; ">
  3314. <caption>영상</caption>
  3315. <script type="javascript" ev:event="DOMActivate">
  3316. <![CDATA[
  3317. fGetPhotDailyList();
  3318. ]]>
  3319. </script>
  3320. </button>
  3321. <button id="button10" class="btn2_letter3" style="left:311px; top:86px; width:53px; height:19px; ">
  3322. <caption>전체</caption>
  3323. <script type="javascript" ev:event="DOMActivate">
  3324. <![CDATA[
  3325. model.SetValue("/root/send/data/singdata/chkcheck", "ALL");
  3326. fGetMainDistinctDailyList();
  3327. fGetMainDailyList();
  3328. ]]>
  3329. </script>
  3330. </button>
  3331. <button id="button22" class="btn2_letter3" style="left:586px; top:86px; width:53px; height:19px; ">
  3332. <caption>내시경</caption>
  3333. <script type="javascript" ev:event="DOMActivate">
  3334. <![CDATA[
  3335. fGetColonyDailyList();
  3336. ]]>
  3337. </script>
  3338. </button>
  3339. <button id="button23" class="btn2_letter3" style="left:641px; top:86px; width:53px; height:19px; ">
  3340. <caption>기능</caption>
  3341. <script type="javascript" ev:event="DOMActivate">
  3342. <![CDATA[
  3343. fGetFuncDailyList();
  3344. ]]>
  3345. </script>
  3346. </button>
  3347. <button id="button39" class="btn5_letter4" disabled="false" style="left:826px; top:85px; width:64px; height:19px; ">
  3348. <caption>세로누적</caption>
  3349. <script type="javascript" ev:event="DOMActivate">
  3350. <![CDATA[
  3351. // "1" : 텍스트 결과 내역에서 호출 , "2" : 수치 누적결과 내역에서 호출
  3352. if ( grd_subresultdetail1.visible == true ) {
  3353. fSetVertAddResult("1");
  3354. }else if ( datagrid2.visible == true ) {
  3355. fSetVertAddResult("2");
  3356. }
  3357. //alert('개발진행중입니다.');
  3358. ]]>
  3359. </script>
  3360. <hint>
  3361. <![CDATA[검사항목(진검,미생물,핵의학체외) 1건에 대한 세로누적결과조회입니다]]>
  3362. </hint>
  3363. </button>
  3364. <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; ">
  3365. <choices>
  3366. <itemset nodeset="/root/init/LB0102">
  3367. <label ref="nm"/>
  3368. <value ref="cd"/>
  3369. </itemset>
  3370. </choices>
  3371. <script type="javascript" ev:event="xforms-select">
  3372. <![CDATA[
  3373. btn_case3.selected = true;
  3374. model.toggle("case3");
  3375. datagrid2.visible = true;
  3376. fGetNSeriesResultRef();
  3377. //진검분류별 기준자료 조회
  3378. cmb_mdl.selectedIndex = 0;
  3379. model.setValue("/root/send/setdata/setno", "");
  3380. model.setValue("/root/send/setdata/workflag", "");
  3381. model.refresh();
  3382. //alert('개발진행중입니다.');
  3383. ]]>
  3384. </script>
  3385. </select1>
  3386. <button id="button36" class="btn2_letter4" visibility="visible" style="left:751px; top:86px; width:64px; height:19px; ">
  3387. <caption>건진소견</caption>
  3388. <script type="javascript" ev:event="DOMActivate">
  3389. <![CDATA[
  3390. fGetHealExamDetailList();
  3391. ]]>
  3392. </script>
  3393. </button>
  3394. </group>
  3395. </xhtml:body>
  3396. </xhtml:html>