SMAOE01000_과거검사결과.xrw 88 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAOE01000.xrw
  4. * 설 명 : 과거검사결과(MAIN)
  5. * 설 계 자 : 손승현
  6. * 작 성 자 : 손승현
  7. * 작 성 일 : 2011.01.10
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>과거 검사결과 관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <examlist>
  20. <item>
  21. <orddd/>
  22. <rsltdd/>
  23. <table_nm/>
  24. <uodesc/>
  25. <table_cd/>
  26. <pid/>
  27. <ccrno/>
  28. <obtime/>
  29. <uopno/>
  30. <title_name/>
  31. <filedata/>
  32. <filename/>
  33. </item>
  34. </examlist>
  35. <patinfo>
  36. <item>
  37. <obdrname/>
  38. <obdeptname/>
  39. <inoutmode/>
  40. <age/>
  41. <psex/>
  42. <pname/>
  43. <pid/>
  44. <pandrname/>
  45. <wardname/>
  46. <result_title/>
  47. <rsltdd/>
  48. <obtime/>
  49. <result_text/>
  50. <uodesc/>
  51. </item>
  52. </patinfo>
  53. <traoe_01011>
  54. <item>
  55. <obdrname/>
  56. <obdeptname/>
  57. <inoutmode/>
  58. <age/>
  59. <psex/>
  60. <pname/>
  61. <pid/>
  62. <pandrname/>
  63. <obpathnote/>
  64. <rlongresult/>
  65. <clongresult/>
  66. </item>
  67. </traoe_01011>
  68. <traoe_01021>
  69. <item>
  70. <pid/>
  71. <psex/>
  72. <pname/>
  73. <age/>
  74. <obdeptname/>
  75. <wardname/>
  76. <obdrname/>
  77. <obtime/>
  78. <proctime/>
  79. <pantime/>
  80. <scale/>
  81. <camera/>
  82. <edesc/>
  83. <result1/>
  84. <result2/>
  85. <pandrname/>
  86. </item>
  87. </traoe_01021>
  88. <traoe_01031>
  89. <item>
  90. <neuro_no/>
  91. <pid/>
  92. <pname/>
  93. <age/>
  94. <psex/>
  95. <obdeptname/>
  96. <neurodate/>
  97. <comments/>
  98. <procedures/>
  99. <findings/>
  100. <conclusions/>
  101. <etc_comment/>
  102. <technician/>
  103. <pandrname/>
  104. </item>
  105. </traoe_01031>
  106. <traoe_01041>
  107. <item>
  108. <eegdate/>
  109. <eeg_no/>
  110. <oldeeg_no/>
  111. <oldeegdate/>
  112. <pid/>
  113. <pname/>
  114. <age/>
  115. <psex/>
  116. <obdeptname/>
  117. <wardname/>
  118. <imp/>
  119. <impresult/>
  120. <summary/>
  121. <recommendation/>
  122. <pandrname/>
  123. </item>
  124. </traoe_01041>
  125. <traoe_01051>
  126. <item>
  127. <eeg_no/>
  128. <oldeegno/>
  129. <eegdate/>
  130. <pid/>
  131. <pname/>
  132. <psex/>
  133. <age/>
  134. <obdeptname/>
  135. <wardname/>
  136. <electrodes/>
  137. <impresult/>
  138. <pandrname/>
  139. </item>
  140. </traoe_01051>
  141. <traoe_01061>
  142. <item2>
  143. <pid/>
  144. <pname/>
  145. <age/>
  146. <psex/>
  147. <pnrn/>
  148. <phphone/>
  149. <handphone/>
  150. <uopno/>
  151. <deptname/>
  152. <drname/>
  153. <clinicalhx/>
  154. <diag_1/>
  155. <diag_2/>
  156. <diag_3/>
  157. <diag_4/>
  158. <interpretation/>
  159. <conclusion/>
  160. </item2>
  161. </traoe_01061>
  162. <traoe_01071>
  163. <item>
  164. <pid/>
  165. <uopno/>
  166. <obdeptname/>
  167. <obdrname/>
  168. <pname/>
  169. <age/>
  170. <sex/>
  171. <tel/>
  172. <pantime/>
  173. <pandrname/>
  174. <lcomment/>
  175. </item>
  176. </traoe_01071>
  177. <traoe_01081>
  178. <item>
  179. <pid/>
  180. <uopno/>
  181. <obdeptname/>
  182. <obdrname/>
  183. <pname/>
  184. <age/>
  185. <psex/>
  186. <tel/>
  187. <pantime/>
  188. <pandrname/>
  189. <lcomment/>
  190. </item>
  191. </traoe_01081>
  192. <traoe_01091>
  193. <item>
  194. <pname/>
  195. <psex/>
  196. <page/>
  197. <pid/>
  198. <inoutmode/>
  199. <examdate/>
  200. <obdeptname/>
  201. <dia/>
  202. <dmr/>
  203. <dml/>
  204. <dmb/>
  205. <smr/>
  206. <sml/>
  207. <smb/>
  208. <dbr/>
  209. <dbl/>
  210. <dbb/>
  211. <sbr/>
  212. <sbl/>
  213. <sbb/>
  214. <ds/>
  215. <ss/>
  216. </item>
  217. </traoe_01091>
  218. <traoe_01101>
  219. <item>
  220. <tno/>
  221. <pid/>
  222. <pname/>
  223. <psex/>
  224. <page/>
  225. <addr/>
  226. <phone/>
  227. <deptname/>
  228. <drname/>
  229. <wardname/>
  230. <mdate/>
  231. <symp/>
  232. <disease/>
  233. <obtime/>
  234. <inser/>
  235. <endo/>
  236. <tx1/>
  237. <tx2/>
  238. <tx3/>
  239. <sedation/>
  240. <imp/>
  241. <reflux/>
  242. <barrett/>
  243. <activeuker/>
  244. <gastrifis/>
  245. <normal/>
  246. <recom/>
  247. <pro/>
  248. <urname/>
  249. </item>
  250. </traoe_01101>
  251. <traoe_01102>
  252. <item>
  253. <tno/>
  254. <pid/>
  255. <pname/>
  256. <psex/>
  257. <page/>
  258. <addr/>
  259. <phone/>
  260. <deptname/>
  261. <drname/>
  262. <wardname/>
  263. <mdate/>
  264. <symp/>
  265. <disease/>
  266. <obtime/>
  267. <inser/>
  268. <endo/>
  269. <lumen/>
  270. <cont/>
  271. <ileum/>
  272. <colon/>
  273. <anorec/>
  274. <sedation/>
  275. <imp/>
  276. <pro/>
  277. <recom/>
  278. <urname/>
  279. </item>
  280. </traoe_01102>
  281. <traoe_01103>
  282. <item>
  283. <tno/>
  284. <pid/>
  285. <pname/>
  286. <psex/>
  287. <age/>
  288. <addr/>
  289. <phone/>
  290. <obdeptname/>
  291. <obdrname/>
  292. <wardname/>
  293. <mdate/>
  294. <symp/>
  295. <disease/>
  296. <obtime/>
  297. <inser/>
  298. <endo/>
  299. <esophagus/>
  300. <stomach/>
  301. <pancreato/>
  302. <sedation/>
  303. <imp/>
  304. <pro/>
  305. <recom/>
  306. <urname/>
  307. </item>
  308. </traoe_01103>
  309. <traoe_01104>
  310. <item>
  311. <tno/>
  312. <pid/>
  313. <pname/>
  314. <psex/>
  315. <age/>
  316. <addr/>
  317. <phone/>
  318. <obdeptname/>
  319. <obdrname/>
  320. <wardname/>
  321. <mdate/>
  322. <symp/>
  323. <disease/>
  324. <modedesc/>
  325. <rfacnt/>
  326. <prerfa/>
  327. <ascitesflag/>
  328. <ascites/>
  329. <pleuralflag/>
  330. <pleural/>
  331. <intra_abd/>
  332. <intra_abd_y/>
  333. <bbiopsyflag/>
  334. <nodulecnt/>
  335. <conclusion/>
  336. <urname/>
  337. </item>
  338. <item2>
  339. <cno/>
  340. <site/>
  341. <size1/>
  342. <surface/>
  343. <biopsy/>
  344. <abl/>
  345. <intra_les/>
  346. <devicename/>
  347. <tissue/>
  348. <vessel/>
  349. </item2>
  350. </traoe_01104>
  351. <traoe_01105>
  352. <item>
  353. <tno/>
  354. <pid/>
  355. <pname/>
  356. <psex/>
  357. <age/>
  358. <addr/>
  359. <phone/>
  360. <obdeptname/>
  361. <obdrname/>
  362. <wardname/>
  363. <mdate/>
  364. <symp/>
  365. <disease/>
  366. <obtime/>
  367. <inser/>
  368. <endo/>
  369. <sdp/>
  370. <soao/>
  371. <aov/>
  372. <duo/>
  373. <mbd/>
  374. <cyd/>
  375. <bif/>
  376. <sedation/>
  377. <imp/>
  378. <pro/>
  379. <recom/>
  380. <urname/>
  381. </item>
  382. </traoe_01105>
  383. <traoe_01111>
  384. <item>
  385. <pid/>
  386. <pname/>
  387. <psex/>
  388. <age/>
  389. <obtime/>
  390. <wardname/>
  391. <totaldate/>
  392. <total_ige_no/>
  393. <obdeptname/>
  394. <result1/>
  395. </item>
  396. </traoe_01111>
  397. <traoe_01112>
  398. <item>
  399. <pid/>
  400. <pname/>
  401. <psex/>
  402. <age/>
  403. <obtime/>
  404. <wardname/>
  405. <totaldate/>
  406. <total_ige_no/>
  407. <obdeptname/>
  408. <result1/>
  409. </item>
  410. </traoe_01112>
  411. <traoe_01113>
  412. <item>
  413. <pid/>
  414. <pname/>
  415. <psex/>
  416. <age/>
  417. <obtime/>
  418. <wardname/>
  419. <ccrno/>
  420. <obdeptname/>
  421. </item>
  422. </traoe_01113>
  423. <traoe_01115>
  424. <item>
  425. <pid/>
  426. <pname/>
  427. <psex/>
  428. <age/>
  429. <obdeptname/>
  430. <wardname/>
  431. <inhalantdate/>
  432. <inhalant_no/>
  433. </item>
  434. </traoe_01115>
  435. <traoe_01117>
  436. <item>
  437. <pid/>
  438. <pname/>
  439. <psex/>
  440. <age/>
  441. <obdeptname/>
  442. <wardname/>
  443. <inhalantdate/>
  444. <food_no/>
  445. </item>
  446. </traoe_01117>
  447. <traoe_01121>
  448. <item>
  449. <pid/>
  450. <pname/>
  451. <psex/>
  452. <age/>
  453. <obdeptname/>
  454. <wardname/>
  455. <inhalantdate/>
  456. <inhalant_no/>
  457. </item>
  458. </traoe_01121>
  459. <traoe_01123>
  460. <item>
  461. <pid/>
  462. <pname/>
  463. <psex/>
  464. <age/>
  465. <obdeptname/>
  466. <wardname/>
  467. <fooddate/>
  468. <food_no/>
  469. </item>
  470. </traoe_01123>
  471. <traoe_01131>
  472. <item>
  473. <accession_no/>
  474. <pid/>
  475. <pname/>
  476. <patient_residency/>
  477. <observation_dt/>
  478. <patient_height/>
  479. <patient_weight/>
  480. <physician/>
  481. <technician/>
  482. <conclusion/>
  483. </item>
  484. </traoe_01131>
  485. <traoe_01141>
  486. <item>
  487. <brondate/>
  488. <pid/>
  489. <pname/>
  490. <psex/>
  491. <age/>
  492. <obtime/>
  493. <bron_no/>
  494. </item>
  495. </traoe_01141>
  496. <traoe_01151>
  497. <item>
  498. <pid/>
  499. <pname/>
  500. <age/>
  501. <psex/>
  502. <pnrn/>
  503. <phphone/>
  504. <handphone/>
  505. <uopno/>
  506. <height/>
  507. <kg/>
  508. <pantime/>
  509. <deptname/>
  510. <obtime/>
  511. <jongjuk/>
  512. <simsa1/>
  513. <simsa2/>
  514. <simsa2/>
  515. <foresimsa1/>
  516. <foresimsa2/>
  517. <foresimsa2/>
  518. <femursimsa1/>
  519. <femursimsa2/>
  520. <femursimsa2/>
  521. <forelcheck/>
  522. <extracheck/>
  523. <lcheck/>
  524. <lcomment/>
  525. <panname/>
  526. </item>
  527. </traoe_01151>
  528. <traoe_01161>
  529. <item>
  530. <pid/>
  531. <pname/>
  532. <psex/>
  533. <age/>
  534. <obdeptname/>
  535. <wardname/>
  536. <obdrname/>
  537. </item>
  538. </traoe_01161>
  539. <traoe_01181>
  540. <item>
  541. <pid/>
  542. <pname/>
  543. <psex/>
  544. <age/>
  545. <obdeptname/>
  546. <wardname/>
  547. </item>
  548. </traoe_01181>
  549. <traoe_01191>
  550. <item>
  551. <pid/>
  552. <pname/>
  553. <psex/>
  554. <age/>
  555. <obdeptname/>
  556. <inoutmode/>
  557. </item>
  558. </traoe_01191>
  559. <traoe_01201>
  560. <item>
  561. <pid/>
  562. <pname/>
  563. <psex/>
  564. <age/>
  565. <obdeptname/>
  566. <wardname/>
  567. <pandrname/>
  568. </item>
  569. </traoe_01201>
  570. <traoe_01211>
  571. <item>
  572. <pid/>
  573. <panno/>
  574. <pname/>
  575. <phphone/>
  576. <age/>
  577. <psex/>
  578. <pnrn/>
  579. <obtime/>
  580. <obdeptname/>
  581. <obdrname/>
  582. <pqtxstatus/>
  583. <pqcashin/>
  584. <inoutmode/>
  585. <pandate/>
  586. <pandrname/>
  587. <dentresult/>
  588. <dentimp1/>
  589. <dentimp2/>
  590. <dentimp3/>
  591. <recommand1/>
  592. <recommand2/>
  593. <recommand3/>
  594. </item>
  595. </traoe_01211>
  596. <traoe_01221>
  597. <item>
  598. <pid/>
  599. <obdeptname/>
  600. <sdate/>
  601. <sno/>
  602. <pname/>
  603. <psex/>
  604. <age/>
  605. <obdrname/>
  606. <trus_en/>
  607. <tresize/>
  608. <tintact/>
  609. <calculi/>
  610. <edd/>
  611. <special_find1/>
  612. <special_find2/>
  613. <special_find3/>
  614. <dre_en/>
  615. <dresize/>
  616. <nodule/>
  617. <consistancy1/>
  618. <mfo/>
  619. <conclusion1/>
  620. <conclusion2/>
  621. <recomment/>
  622. </item>
  623. </traoe_01221>
  624. <traoe_01231>
  625. <item>
  626. <pid/>
  627. <pname/>
  628. <psex/>
  629. <age/>
  630. <cathdate/>
  631. <cineno/>
  632. <address/>
  633. <handtel/>
  634. <hometel/>
  635. <cl_diag1/>
  636. <cl_diag2/>
  637. <cl_diag3/>
  638. <at_time/>
  639. <er_time/>
  640. <ca_time/>
  641. <art_time/>
  642. <ball_time/>
  643. <stbta1/>
  644. <stbta2/>
  645. <dtbta1/>
  646. <dtbta2/>
  647. <art_punc1/>
  648. <art_punc2/>
  649. <cag_cal1/>
  650. <cag_cal2/>
  651. <cag_car1/>
  652. <cag_car2/>
  653. <coro_angio1/>
  654. <coro_angio2/>
  655. <coro_angio3/>
  656. </item>
  657. </traoe_01231>
  658. <traoe_01241>
  659. <item>
  660. <pid/>
  661. <pname/>
  662. <psex/>
  663. <age/>
  664. <ctdataflag/>
  665. <verfilmflag/>
  666. <simulatiorflag/>
  667. <mouldroomflag/>
  668. <physicsflag/>
  669. </item>
  670. </traoe_01241>
  671. <traoe_01251>
  672. <item>
  673. <pid/>
  674. <pname/>
  675. <psex/>
  676. <age/>
  677. </item>
  678. </traoe_01251>
  679. <traoe_01261>
  680. <item>
  681. <pid/>
  682. <pname/>
  683. <psex/>
  684. <age/>
  685. <computeplan/>
  686. <physics/>
  687. </item>
  688. </traoe_01261>
  689. <traoe_01271>
  690. <item>
  691. <pid/>
  692. <pname/>
  693. <psex/>
  694. <age/>
  695. </item>
  696. </traoe_01271>
  697. <datagrid>
  698. <item>
  699. <col1/>
  700. <col2/>
  701. <col3/>
  702. <col4/>
  703. <col5/>
  704. <col6/>
  705. <col7/>
  706. <col8/>
  707. <col9/>
  708. <col10/>
  709. <col11/>
  710. <col12/>
  711. <col13/>
  712. <col14/>
  713. <col15/>
  714. </item>
  715. </datagrid>
  716. <srchlist>
  717. <item>
  718. <pid/>
  719. <hngnm/>
  720. <rrgstno/>
  721. <telno/>
  722. <sex/>
  723. <age/>
  724. </item>
  725. </srchlist>
  726. <blobdata/>
  727. </main>
  728. <send>
  729. <srchpid/>
  730. <srchhngnm/>
  731. <srchccrno/>
  732. <srchobtime/>
  733. <srchuopno/>
  734. <srchtable_cd/>
  735. <srchcode/>
  736. <srchfilename/>
  737. </send>
  738. <hidden>
  739. <filelist>
  740. <attfilecnts/>
  741. </filelist>
  742. </hidden>
  743. <init>
  744. </init>
  745. <temp>
  746. <templst>
  747. <item>
  748. <pid/>
  749. <hngnm/>
  750. </item>
  751. </templst>
  752. </temp>
  753. </root>
  754. </instance>
  755. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  756. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  757. <submission id="TRAOE01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/examlist"/>
  758. <submission id="TRAOE01011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01011"/>
  759. <submission id="TRAOE01021" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01021"/>
  760. <submission id="TRAOE01031" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01031"/>
  761. <submission id="TRAOE01041" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01041"/>
  762. <submission id="TRAOE01051" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01051"/>
  763. <submission id="TRAOE01061" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01061"/>
  764. <submission id="TRAOE01071" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01071"/>
  765. <submission id="TRAOE01081" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01081"/>
  766. <submission id="TRAOE01091" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01091"/>
  767. <submission id="TRAOE01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01101"/>
  768. <submission id="TRAOE01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01102"/>
  769. <submission id="TRAOE01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01103"/>
  770. <submission id="TRAOE01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01104"/>
  771. <submission id="TRAOE01105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01105"/>
  772. <submission id="TRAOE01111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01111"/>
  773. <submission id="TRAOE01112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01112"/>
  774. <submission id="TRAOE01113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01113"/>
  775. <submission id="TRAOE01114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/datagrid"/>
  776. <submission id="TRAOE01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01115"/>
  777. <submission id="TRAOE01116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/datagrid"/>
  778. <submission id="TRAOE01117" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01117"/>
  779. <submission id="TRAOE01118" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/datagrid"/>
  780. <submission id="TRAOE01121" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01121"/>
  781. <submission id="TRAOE01122" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/datagrid"/>
  782. <submission id="TRAOE01123" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01123"/>
  783. <submission id="TRAOE01124" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/datagrid"/>
  784. <submission id="TRAOE01131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01131"/>
  785. <submission id="TRAOE01141" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01141"/>
  786. <submission id="TRAOE01151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01151"/>
  787. <submission id="TRAOE01161" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01161"/>
  788. <submission id="TRAOE01162" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/datagrid"/>
  789. <submission id="TRAOE01181" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01181"/>
  790. <submission id="TRAOE01191" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01191"/>
  791. <submission id="TRAOE01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01201"/>
  792. <submission id="TRAOE01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01211"/>
  793. <submission id="TRAOE01221" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01221"/>
  794. <submission id="TRAOE01231" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01231"/>
  795. <submission id="TRAOE01241" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01241"/>
  796. <submission id="TRAOE01251" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01251"/>
  797. <submission id="TRAOE01261" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01261"/>
  798. <submission id="TRAOE01271" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/traoe_01271"/>
  799. <submission id="TRAVT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/srchlist"/>
  800. <!--
  801. <submission id="TRAOE01002" mediatype="multipart/form-data" method="form-data-post" resultref="/root/send/filelist"/>
  802. <submission id="TRAOE01003" mediatype="multipart/form-data" method="form-data-post" resultref="/root/send/filelist"/>
  803. <submission id="TRAOE01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  804. -->
  805. <submission id="TRAOE01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send1" resultref="/root/hidden"/>
  806. <script type="javascript" ev:event="xforms-ready">
  807. <![CDATA[
  808. //스위치 초기화
  809. btn_sw1.visible=false;
  810. btn_sw2.visible=false;
  811. btn_sw3.visible=false;
  812. datagrid1.visible=false;
  813. btn_sw1.selected=true;
  814. if(checkOpener()) {//opener 검사
  815. model.setValue("/root/send/srchpid", opener.javascript.getParameter("SMMMI00100_pid") ); //opener parameter value를 get
  816. model.setValue("/root/send/srchhngnm", opener.javascript.getParameter("SMMMI00100_hngnm") ); //opener parameter value를 get
  817. model.refresh();
  818. }
  819. //alert("test");
  820. ]]>
  821. </script>
  822. </model>
  823. </xhtml:head>
  824. <xhtml:body guideline="1,1195;2,783;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  825. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  826. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">과거검사결과</caption>
  827. </group>
  828. <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:767px; ">
  829. <group id="group6" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  830. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  831. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  832. <caption>조회</caption>
  833. <script type="javascript" ev:event="DOMActivate">
  834. <![CDATA[
  835. model.resetInstanceNode("/root/main");
  836. //submit("TRAVT00102");
  837. iviewer1.visible=false;
  838. datagrid1.visible=false;
  839. btn_sw1.selected=true;
  840. submit("TRAOE01001");
  841. model.refresh();
  842. ]]>
  843. </script>
  844. </button>
  845. <line id="line18" class="line_4" style="x1:1115px; y1:5px; x2:1115px; y2:27px; border-left-style:solid; "/>
  846. <button id="btn_search1" class="icon_search" style="left:194px; top:10px; width:16px; height:16px; ">
  847. <caption/>
  848. <script type="javascript" ev:event="DOMActivate">
  849. <![CDATA[
  850. // 선택화면 Call
  851. modal("SPAVT00100");
  852. // 정상인 경우 가져온값 setting
  853. if (model.getValue("/root/temp/okflag") == "ok") {
  854. // 조회조건에 값넣기
  855. model.setValue("/root/send/srchpid", model.getValue("/root/temp/templst/item/pid" ) );
  856. model.setValue("/root/send/srchhngnm", model.getValue("/root/temp/templst/item/hngnm" ) );
  857. // 임시 Node 삭제
  858. model.removenode("/root/temp/okflag");
  859. model.removenode("/root/temp/templst/item");
  860. // model.removenode("/root/main");
  861. model.resetInstanceNode("/root/main/examlist");
  862. model.resetInstanceNode("/root/main/patinfo");
  863. model.removeNode("/root/main/traoe_01011");
  864. model.removeNode("/root/main/traoe_01021");
  865. model.removeNode("/root/main/traoe_01031");
  866. model.removeNode("/root/main/traoe_01041");
  867. model.removeNode("/root/main/traoe_01051");
  868. model.removeNode("/root/main/traoe_01061");
  869. model.removeNode("/root/main/traoe_01071");
  870. model.removeNode("/root/main/traoe_01081");
  871. model.removeNode("/root/main/traoe_01091");
  872. model.removeNode("/root/main/traoe_01101");
  873. model.removeNode("/root/main/traoe_01102");
  874. model.removeNode("/root/main/traoe_01103");
  875. model.removeNode("/root/main/traoe_01104");
  876. model.removeNode("/root/main/traoe_01105");
  877. model.removeNode("/root/main/traoe_01111");
  878. model.removeNode("/root/main/traoe_01112");
  879. model.removeNode("/root/main/traoe_01113");
  880. model.removeNode("/root/main/traoe_01115");
  881. model.removeNode("/root/main/traoe_01117");
  882. model.removeNode("/root/main/traoe_01121");
  883. model.removeNode("/root/main/traoe_01123");
  884. model.removeNode("/root/main/traoe_01131");
  885. model.removeNode("/root/main/traoe_01141");
  886. model.removeNode("/root/main/traoe_01151");
  887. model.removeNode("/root/main/traoe_01161");
  888. model.removeNode("/root/main/traoe_01181");
  889. model.removeNode("/root/main/traoe_01191");
  890. model.removeNode("/root/main/traoe_01191");
  891. model.removeNode("/root/main/traoe_01191");
  892. model.removeNode("/root/main/traoe_01201");
  893. model.removeNode("/root/main/traoe_01211");
  894. model.removeNode("/root/main/traoe_01221");
  895. model.removeNode("/root/main/traoe_01231");
  896. model.removeNode("/root/main/traoe_01241");
  897. model.removeNode("/root/main/traoe_01251");
  898. model.removeNode("/root/main/traoe_01261");
  899. model.removeNode("/root/main/traoe_01271");
  900. model.removeNode("/root/main/datagrid");
  901. model.toggle("case1");
  902. submit("TRAOE01001");
  903. model.refresh();
  904. }
  905. ]]>
  906. </script>
  907. </button>
  908. <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" style="left:110px; top:8px; width:80px; height:19px; ">
  909. <script type="javascript" ev:event="xforms-value-changed">
  910. <![CDATA[
  911. // if (ipt_srchpid.value == "") {
  912. // opt_srchhngnm.value = "";
  913. // }
  914. // opt_srchhngnm.value = "";
  915. ]]>
  916. </script>
  917. <script type="javascript" ev:event="onkeypress">
  918. <![CDATA[
  919. // model.resetInstanceNode("/root/main");
  920. model.setValue("/root/send/srchcode", "SMAOE01000");
  921. inputEnterKey("button1", "DOMActivate");
  922. ]]>
  923. </script>
  924. </input>
  925. <caption id="lbl_srchpid" class="search_name" style="left:21px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  926. <output id="opt_srchhngnm" ref="/root/main/srchlist/item/hngnm" class="output_search" style="left:214px; top:8px; width:100px; height:19px; "/>
  927. <button id="button1" class="btn1_letter2" visibility="hidden" style="left:330px; top:5px; width:56px; height:22px; ">
  928. <caption>조회</caption>
  929. <script type="javascript" ev:event="DOMActivate">
  930. <![CDATA[
  931. if ( ( model.getValue("/root/send/srchpid") == "" )) {
  932. alert("검색 조건 입력은 필수입니다.");
  933. if(model.getValue("/root/send/srch/srchpid") == ""){
  934. model.setFocus("ipt_srchpid");
  935. }
  936. }
  937. else{
  938. if( submit("TRAVT00102") ){
  939. btn_search.dispatch("DOMActivate");
  940. model.refresh();
  941. }
  942. }
  943. ]]>
  944. </script>
  945. </button>
  946. <button id="button2" class="btn2_letter2" style="left:1065px; top:7px; width:42px; height:19px; ">
  947. <caption>출력</caption>
  948. <script type="javascript" ev:event="DOMActivate">
  949. <![CDATA[
  950. //진료과명 가져오기 2011.05.06 by kya
  951. if (btn_sw1.selected== true) {
  952. if( model.getValue("/root/main/patinfo/item/result_text") != null ) {
  953. exeReportPreview("RPAOE01001", "XMLSTR", "", "", "false","","","","","false");
  954. } else {
  955. messageBox("검사결과출력", "E013");
  956. }
  957. } else if (btn_sw2.selected== true) {
  958. if( model.getValue("/root/main/datagrid/item/col1") != null ) {
  959. exeReportPreview("RPAOE01002", "XMLSTR", "", "", "false","","","","","false");
  960. } else {
  961. messageBox("검사결과출력", "E013");
  962. }
  963. } else {
  964. //2012.07.04 by kya
  965. //iviewer 를 메인 인스턴스 로 복사하기
  966. model.resetInstanceNode("/root/tmp");
  967. model.makeNode("/root/tmp");
  968. var srcPath = iviewer1.model.instance1.selectSingleNode("/root/main");
  969. if(srcPath != null){
  970. model.copyNode("/root/tmp", srcPath);
  971. }
  972. if( model.getValue("/root/send/srchtable_cd") == "ELECTRORT1" ) {
  973. exeReportPreview("RPAOE01003", "XMLSTR", "", "", "false","","","","","false");
  974. } else if( model.getValue("/root/send/srchtable_cd") == "ELECTRORT2" ) {
  975. exeReportPreview("RPAOE01004", "XMLSTR", "", "", "false","","","","","false");
  976. } else if( model.getValue("/root/send/srchtable_cd") == "ELECTRORT2" ) {
  977. exeReportPreview("RPAOE01004", "XMLSTR", "", "", "false","","","","","false");
  978. } else if( model.getValue("/root/send/srchtable_cd") == "ELECTRORT_SEC" ) {
  979. exeReportPreview("RPAOE01005", "XMLSTR", "", "", "false","","","","","false");
  980. exeReportPreview("RPAOE01006", "XMLSTR", "", "", "false","","","","","false");
  981. exeReportPreview("RPAOE01007", "XMLSTR", "", "", "false","","","","","false");
  982. exeReportPreview("RPAOE01008", "XMLSTR", "", "", "false","","","","","false");
  983. // 2012.07.12 by kya 순환기내과 CORON_MASTER
  984. } else if( model.getValue("/root/send/srchtable_cd") == "CORON_MASTER" ) {
  985. exeReportPreview("RPAOE01009", "XMLSTR", "", "", "false","","","","","false");
  986. } else if( model.getValue("/root/send/srchtable_cd") == "ECHOREPORT" ) {
  987. exeReportPreview("RPAOE01010", "XMLSTR", "", "", "false","","","","","false");
  988. } else {
  989. messageBox("검사결과출력", "E013");
  990. }
  991. }
  992. ]]>
  993. </script>
  994. </button>
  995. </group>
  996. <line id="line7" class="line_1" style="x1:0px; y1:47px; x2:425px; y2:47px; "/>
  997. <datagrid id="grd_examlist" nodeset="/root/main/examlist/item" caption="처방일자^결과일자^결과유형^검사명^table_cd^pid^ccrno^obtime^uopno^title_name^earnclscd^dietconstyn" colsep="^" colwidth="70, 70, 120, 120, 85, 60, 60, 60, 60, 60, 0, 0, 100" ellipsis="true" explorerbar="sortshow" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:55px; width:425px; height:707px; ">
  998. <col ref="orddd" format="yyyy-mm-dd"/>
  999. <col ref="rsltdd" format="yyyy-mm-dd"/>
  1000. <col ref="table_nm"/>
  1001. <col ref="uodesc"/>
  1002. <col ref="table_cd" visibility="hidden"/>
  1003. <col ref="pid" visibility="hidden"/>
  1004. <col ref="ccrno" visibility="hidden"/>
  1005. <col ref="obtime" visibility="hidden"/>
  1006. <col ref="uopno" visibility="hidden"/>
  1007. <col ref="title_name" visibility="hidden"/>
  1008. <col ref="earnclscd" visibility="hidden"/>
  1009. <col ref="dietconstyn" visibility="hidden"/>
  1010. <col ref="filedata" visibility="hidden"/>
  1011. <col ref="filename" visibility="hidden"/>
  1012. </datagrid>
  1013. <script type="javascript" ev:event="ondblclick">
  1014. <![CDATA[
  1015. var row = grd_examlist.row;
  1016. if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="TXRESULTFILE" ){
  1017. //alert(getActionURL("TRAOE01002"));
  1018. //매개변수전달
  1019. var pid = model.getValue("/root/main/examlist/item[" + row + "]/pid");
  1020. var ccrno = model.getValue("/root/main/examlist/item[" + row + "]/ccrno");
  1021. var obtime = model.getValue("/root/main/examlist/item[" + row + "]/obtime");
  1022. var uopno = model.getValue("/root/main/examlist/item[" + row + "]/uopno");
  1023. var filenm = model.getValue("/root/main/examlist/item[" + row + "]/filename");
  1024. var fileext = filenm.lastIndexOf(".");
  1025. //alert("77 filenm :"+filenm+", fileext:"+fileext );
  1026. var ext = filenm.substring(fileext +1);
  1027. //파일을 다운로드 하기 위해 저장할 창을 띄움
  1028. //var localfile = window.fileDialog("save","|",false,filenm,ext,"All Files(*.*)|*.*");
  1029. var localfile = "C:\\Program Files\\himed\\" + filenm
  1030. var realfile = getActionURL("TRAOE01002") + "&srchpid=" + pid + "&srchccrno=" +ccrno+ "&srchobtime=" +obtime + "&srchuopno=" +uopno ;
  1031. model.download( realfile, localfile);
  1032. var objWSH = new ActiveXObject("WScript.Shell");
  1033. //objWSH.Run("rundll32.exe system32\shell32.dll,ShellExec_RunDLL " + localfile ,1,false); -- 노트패드
  1034. var runstr = "rundll32.exe system32\\shell32.dll,ShellExec_RunDLL " + localfile
  1035. objWSH.Run( runstr , 1, false); // 노트패드
  1036. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="RISRESULT" ){
  1037. //model.resetInstanceNode("/root/main/patinfo/item");
  1038. send_node_set(row);
  1039. submit("TRAOE01011");
  1040. init_node_set(row);
  1041. var result_target="/root/main/patinfo/item/";
  1042. var result_source="/root/main/traoe_01011/item/";
  1043. result_node_set(result_target, result_source);
  1044. var result = "";
  1045. result = "\n"+"[ 임상소견 및 의뢰사유 ]" + "\n" + "\n";
  1046. result = result + model.getValue("/root/main/traoe_01011/item/obpathnote")+ "\n" + "\n"+ "[ 소 견 ]"+ "\n";
  1047. result=result + model.getValue("/root/main/traoe_01011/item/rlongresult") + "\n" + "\n"+ "[ 결 론 ]"+ "\n";
  1048. result= result + model.getValue("/root/main/traoe_01011/item/clongresult");
  1049. model.setValue("/root/main/patinfo/item/result_text", result);
  1050. btn_sw1.selected=true;
  1051. model.toggle("case1");
  1052. model.refresh();
  1053. //TRAOE01021
  1054. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="SCANRESULT" ){
  1055. //model.resetInstanceNode("/root/main/patinfo/item");
  1056. send_node_set(row);
  1057. submit("TRAOE01021");
  1058. init_node_set(row);
  1059. var result_target="/root/main/patinfo/item/";
  1060. var result_source="/root/main/traoe_01021/item/";
  1061. result_node_set(result_target, result_source);
  1062. var result = "";
  1063. result = "\n"+"[ Findings ]" + "\n" + "\n";
  1064. result = result + model.getValue("/root/main/traoe_01021/item/result1")+ "\n" + "\n"+ "[ Conclusions ]"+ "\n";
  1065. result=result + model.getValue("/root/main/traoe_01021/item/result2");
  1066. model.setValue("/root/main/patinfo/item/result_text", result);
  1067. btn_sw1.selected=true;
  1068. model.toggle("case1");
  1069. model.refresh();
  1070. //TRAOE01031
  1071. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="NEURORESULT" ){
  1072. //model.resetInstanceNode("/root/main/patinfo/item");
  1073. send_node_set(row);
  1074. submit("TRAOE01031");
  1075. init_node_set(row);
  1076. var result_target="/root/main/patinfo/item/";
  1077. var result_source="/root/main/traoe_01031/item/";
  1078. result_node_set(result_target, result_source);
  1079. var result = "";
  1080. result = "\n"+"[ Patient Comments ]" + "\n" + "\n";
  1081. result = result + model.getValue("/root/main/traoe_01031/item/comments")+ "\n" + "\n"+ "[ Procedure(s) ]"+ "\n";
  1082. result=result + model.getValue("/root/main/traoe_01031/item/procedures") + "\n" + "\n"+ "[ Findings ]"+ "\n";
  1083. result=result + model.getValue("/root/main/traoe_01031/item/findings") + "\n" + "\n"+ "[ Conclusions ]"+ "\n";
  1084. result=result + model.getValue("/root/main/traoe_01031/item/conclusions") + "\n" + "\n"+ "[ Coments ]"+ "\n";
  1085. result=result + model.getValue("/root/main/traoe_01031/item/etc_comment") + "\n" + "\n"+ "[ Technician ]"+ "\n";
  1086. result=result + model.getValue("/root/main/traoe_01031/item/technician") + "\n" + "\n"+ "[ Dr.Name ]"+ "\n";
  1087. result=result + model.getValue("/root/main/traoe_01031/item/pandrname");
  1088. model.setValue("/root/main/patinfo/item/result_text", result);
  1089. btn_sw1.selected=true;
  1090. model.toggle("case1");
  1091. model.refresh();
  1092. //TRAOE01041
  1093. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="NEEGRESULT" ){
  1094. //model.resetInstanceNode("/root/main/patinfo/item");
  1095. send_node_set(row);
  1096. submit("TRAOE01041");
  1097. init_node_set(row);
  1098. var result_target="/root/main/patinfo/item/";
  1099. var result_source="/root/main/traoe_01041/item/";
  1100. result_node_set(result_target, result_source);
  1101. var result = "";
  1102. result = "\n"+"[ E.E.G. No ]" + "\n";
  1103. result = result + model.getValue("/root/main/traoe_01041/item/eeg_no")+ "\n"+"\n"+ "[ Previous E.E.G. No ]"+ "\n";
  1104. result=result + model.getValue("/root/main/traoe_01041/item/oldeeg_no") + "\n"+"\n"+ "[ Date of Previous E.E.G. ]"+ "\n";
  1105. result=result + model.getValue("/root/main/traoe_01041/item/oldeegdate") + "\n"+"\n"+ "[ Impression ]"+ "\n";
  1106. result=result + model.getValue("/root/main/traoe_01041/item/imp") + "\n" +"\n"+ "[ Clinical Diagnosis ]" + "\n";
  1107. result=result + model.getValue("/root/main/traoe_01041/item/impresult") + "\n"+"\n"+ "[ Summary Of Findings ]"+ "\n";
  1108. result=result + model.getValue("/root/main/traoe_01041/item/summary") + "\n"+ "\n"+"[ Recommendation ]" + "\n";
  1109. result=result + model.getValue("/root/main/traoe_01041/item/recommendation") + "\n"+"\n"+ "[ Signature ]"+ "\n";
  1110. result=result + model.getValue("/root/main/traoe_01041/item/pandrname") + "\n";
  1111. model.setValue("/root/main/patinfo/item/result_text", result);
  1112. btn_sw1.selected=true;
  1113. model.toggle("case1");
  1114. model.refresh();
  1115. //TRAOE01051
  1116. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="EEGRESULT" ){
  1117. //model.resetInstanceNode("/root/main/patinfo/item");
  1118. send_node_set(row);
  1119. submit("TRAOE01051");
  1120. init_node_set(row);
  1121. var result_target="/root/main/patinfo/item/";
  1122. var result_source="/root/main/traoe_01051/item/";
  1123. result_node_set(result_target, result_source);
  1124. var result = "";
  1125. result = "\n"+"[ E.E.G. No ]" + "\n";
  1126. result = result + model.getValue("/root/main/traoe_01051/item/eeg_no")+ "\n"+"\n"+ "[ Previous E.E.G. No ]"+ "\n";
  1127. result=result + model.getValue("/root/main/traoe_01051/item/oldeegno") + "\n" +"\n"+ "[ Electrodes ]" + "\n";
  1128. result=result + model.getValue("/root/main/traoe_01051/item/electrodes") + "\n"+"\n"+ "[ Impresult ]"+ "\n";
  1129. result=result + model.getValue("/root/main/traoe_01051/item/impresult") + "\n" +"\n"+ "[ Dr. ]" + "\n";
  1130. result=result + model.getValue("/root/main/traoe_01051/item/pandrname");
  1131. model.setValue("/root/main/patinfo/item/result_text", result);
  1132. btn_sw1.selected=true;
  1133. model.toggle("case1");
  1134. model.refresh();
  1135. //TRAOE01061
  1136. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="ELECTRORT_SEC" ){
  1137. send_node_set(row);
  1138. submit("TRAOE01061");
  1139. init_node_set(row);
  1140. var result_target="/root/main/patinfo/item/";
  1141. var result_source="/root/main/traoe_01061/item2/";
  1142. result_node_set(result_target, result_source);
  1143. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01061_신경과근전도검사.xrw";
  1144. // iviewer1.window.javascript.fInitDasplay();
  1145. // iviewer1.visible=true;
  1146. iviewer1.model.toggle("case_1");
  1147. btn_sw3.selected=true;
  1148. model.toggle("case3");
  1149. model.refresh();
  1150. //TRAOE01071
  1151. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="ELECTRORT1" ){
  1152. send_node_set(row);
  1153. submit("TRAOE01071");
  1154. init_node_set(row);
  1155. var result_target="/root/main/patinfo/item/";
  1156. var result_source="/root/main/traoe_01071/item/";
  1157. result_node_set(result_target, result_source);
  1158. //2012.07.04 by kya
  1159. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01071_신경과근전도검사.xrw";
  1160. iviewer1.model.toggle("case_1");
  1161. btn_sw3.selected=true;
  1162. model.toggle("case3");
  1163. model.refresh();
  1164. model.makeNode("/root/tmp");
  1165. var srcPath = iviewer1.model.instance1.selectSingleNode("/root/main");
  1166. if(srcPath != null){
  1167. model.copyNode("/root/tmp", srcPath);
  1168. }
  1169. //TRAOE01081
  1170. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="ELECTRORT2" ){
  1171. send_node_set(row);
  1172. submit("TRAOE01081");
  1173. init_node_set(row);
  1174. var result_target="/root/main/patinfo/item/";
  1175. var result_source="/root/main/traoe_01081/item/";
  1176. result_node_set(result_target, result_source);
  1177. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01081_신경과근전도검사.xrw";
  1178. iviewer1.model.toggle("case_1");
  1179. btn_sw3.selected=true;
  1180. model.toggle("case3");
  1181. model.refresh();
  1182. //TRAOE01091
  1183. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="DSHMASTER1" ){
  1184. send_node_set(row);
  1185. submit("TRAOE01091");
  1186. init_node_set(row);
  1187. var result_target="/root/main/patinfo/item/";
  1188. var result_source="/root/main/traoe_01091/item/";
  1189. result_node_set(result_target, result_source);
  1190. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01091_뇌혈류검사실.xrw";
  1191. iviewer1.model.toggle("case_1");
  1192. btn_sw3.selected=true;
  1193. model.toggle("case3");
  1194. model.refresh();
  1195. //TRAOE01101
  1196. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="WE" ){
  1197. send_node_set(row);
  1198. submit("TRAOE01101");
  1199. init_node_set(row);
  1200. var result_target="/root/main/patinfo/item/";
  1201. var result_source="/root/main/traoe_01101/item/";
  1202. result_node_set(result_target, result_source);
  1203. var result = "";
  1204. result = "\n"+"[ 검사번호 ]" + "\n";
  1205. result = result + model.getValue("/root/main/traoe_01101/item/tno")+ "\n"+"\n"+ "[ 주소 ]"+ "\n";
  1206. result = result + model.getValue("/root/main/traoe_01101/item/addr")+ "\n"+"\n"+ "[ 전화번호 ]"+ "\n";
  1207. result=result + model.getValue("/root/main/traoe_01101/item/phone") + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1208. result=result + model.getValue("/root/main/traoe_01101/item/mdate") + "\n"+"\n"+ "[ 술전 진단명 ]"+ "\n";
  1209. result=result + model.getValue("/root/main/traoe_01101/item/symp") + "\n" +"\n"+ "[ 주증상 ]" + "\n";
  1210. result=result + model.getValue("/root/main/traoe_01101/item/disease") + "\n" +"\n"+ "[ Levl of insertion ]" + "\n";
  1211. result=result + model.getValue("/root/main/traoe_01101/item/inser") + "\n" +"\n"+ "[ Model of endoscope ]" + "\n";
  1212. result=result + model.getValue("/root/main/traoe_01101/item/endo") + "\n" +"\n"+ "[ Esophagus ]" + "\n";
  1213. result=result + model.getValue("/root/main/traoe_01101/item/tx1") + "\n" +"\n"+ "[ Stomach ]" + "\n";
  1214. result=result + model.getValue("/root/main/traoe_01101/item/tx2") + "\n" +"\n"+ "[ Duodenum ]" + "\n";
  1215. result=result + model.getValue("/root/main/traoe_01101/item/tx3") + "\n" +"\n"+ "[ Sedation ]" + "\n";
  1216. result=result + model.getValue("/root/main/traoe_01101/item/sedation") + "\n" +"\n"+ "[ Impression ]" + "\n";
  1217. result=result + model.getValue("/root/main/traoe_01101/item/imp") + "\n" +"\n";
  1218. if(model.getValue("/root/main/traoe_01101/item/reflux")=='Y') {
  1219. result=result + "(V)Reflux esophagitis" +"\n";
  1220. }else{
  1221. result=result + "( )Reflux esophagitis" +"\n";
  1222. }
  1223. if(model.getValue("/root/main/traoe_01101/item/barrett")=='Y') {
  1224. result=result + "(V)Barrett's esophagus" +"\n";
  1225. }else{
  1226. result=result + "( )Barrett's esophagus" +"\n";
  1227. }
  1228. if(model.getValue("/root/main/traoe_01101/item/activeuker")=='Y') {
  1229. result=result + "(V)Active or healing ulcer" +"\n";
  1230. }else{
  1231. result=result + "( )Active or healing ulcer" +"\n";
  1232. }
  1233. if(model.getValue("/root/main/traoe_01101/item/gastrifis")=='Y') {
  1234. result=result + "(V)Gastritis or duodentis" +"\n";
  1235. }else{
  1236. result=result + "( )Gastritis or duodentis" +"\n";
  1237. }
  1238. if(model.getValue("/root/main/traoe_01101/item/normal")=='Y') {
  1239. result=result + "(V)기타" + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1240. }else{
  1241. result=result + "( )기타" + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1242. }
  1243. result=result + model.getValue("/root/main/traoe_01101/item/pro") + "\n" +"\n"+ "[ Recommendation ]" + "\n";
  1244. result=result + model.getValue("/root/main/traoe_01101/item/recom") + "\n" +"\n"+ "[ 시술자 ]" + "\n";
  1245. result=result + model.getValue("/root/main/traoe_01101/item/urname") + "\n";
  1246. model.setValue("/root/main/patinfo/item/result_text", result);
  1247. btn_sw1.selected=true;
  1248. model.toggle("case1");
  1249. model.refresh();
  1250. //TRAOE01102
  1251. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="WE_LOWER" ){
  1252. send_node_set(row);
  1253. submit("TRAOE01102");
  1254. init_node_set(row);
  1255. var result_target="/root/main/patinfo/item/";
  1256. var result_source="/root/main/traoe_01102/item/";
  1257. result_node_set(result_target, result_source);
  1258. var result = "";
  1259. result = "\n"+"[ 검사번호 ]" + "\n";
  1260. result = result + model.getValue("/root/main/traoe_01102/item/tno") + "\n" +"\n"+ "[ 주소 ]"+ "\n";
  1261. result = result + model.getValue("/root/main/traoe_01102/item/addr") + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  1262. result = result + model.getValue("/root/main/traoe_01102/item/phone") + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1263. result = result + model.getValue("/root/main/traoe_01102/item/mdate") + "\n" +"\n"+ "[ 술전 진단명 ]"+ "\n";
  1264. result = result + model.getValue("/root/main/traoe_01102/item/symp") + "\n" +"\n"+ "[ 주증상 ]" + "\n";
  1265. result = result + model.getValue("/root/main/traoe_01102/item/disease") + "\n" +"\n"+ "[ Level of inserttion ]" + "\n";
  1266. result = result + model.getValue("/root/main/traoe_01102/item/inser") + "\n" +"\n"+ "[ Model of endoscope ]" + "\n";
  1267. result = result + model.getValue("/root/main/traoe_01102/item/endo") + "\n" +"\n"+ "[ Lumen ]" + "\n";
  1268. result = result + model.getValue("/root/main/traoe_01102/item/lumen") + "\n" +"\n"+ "[ Content ]" + "\n";
  1269. result = result + model.getValue("/root/main/traoe_01102/item/cont") + "\n" +"\n"+ "[ Terminal ileum ]" + "\n";
  1270. result = result + model.getValue("/root/main/traoe_01102/item/ileum") + "\n" +"\n"+ "[ Colon ]" + "\n";
  1271. result = result + model.getValue("/root/main/traoe_01102/item/colon") + "\n" +"\n"+ "[ Anorectum ]" + "\n";
  1272. result = result + model.getValue("/root/main/traoe_01102/item/anorec") + "\n" +"\n"+ "[ Sedation ]" + "\n";
  1273. result = result + model.getValue("/root/main/traoe_01102/item/sedation") + "\n" +"\n"+ "[ Impression ]" + "\n";
  1274. result = result + model.getValue("/root/main/traoe_01102/item/imp") + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1275. result = result + model.getValue("/root/main/traoe_01102/item/pro") + "\n" +"\n"+ "[ Recommendation ]" + "\n";
  1276. result = result + model.getValue("/root/main/traoe_01102/item/recom") + "\n" +"\n"+ "[ 시술자 ]" + "\n";
  1277. result = result + model.getValue("/root/main/traoe_01102/item/urname") + "\n";
  1278. model.setValue("/root/main/patinfo/item/result_text", result);
  1279. btn_sw1.selected=true;
  1280. model.toggle("case1");
  1281. model.refresh();
  1282. //TRAOE01103
  1283. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="WE_CHO" ){
  1284. send_node_set(row);
  1285. submit("TRAOE01103");
  1286. init_node_set(row);
  1287. var result_target="/root/main/patinfo/item/";
  1288. var result_source="/root/main/traoe_01103/item/";
  1289. result_node_set(result_target, result_source);
  1290. var result = "";
  1291. result = "\n"+"[ 검사번호 ]" + "\n";
  1292. result = result + model.getValue("/root/main/traoe_01103/item/tno") + "\n" +"\n"+ "[ 주소 ]"+ "\n";
  1293. result = result + model.getValue("/root/main/traoe_01103/item/addr") + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  1294. result = result + model.getValue("/root/main/traoe_01103/item/phone") + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1295. result = result + model.getValue("/root/main/traoe_01103/item/mdate") + "\n" +"\n"+ "[ 술전 진단명 ]"+ "\n";
  1296. result = result + model.getValue("/root/main/traoe_01103/item/symp") + "\n" +"\n"+ "[ 주증상 ]" + "\n";
  1297. result = result + model.getValue("/root/main/traoe_01103/item/disease") + "\n" +"\n"+ "[ Level of insertion ]" + "\n";
  1298. result = result + model.getValue("/root/main/traoe_01103/item/inser") + "\n" +"\n"+ "[ Model of endoscope ]" + "\n";
  1299. result = result + model.getValue("/root/main/traoe_01103/item/endo") + "\n" +"\n"+ "[ Esophagus ]" + "\n";
  1300. result = result + model.getValue("/root/main/traoe_01103/item/esophagus") + "\n" +"\n"+ "[ Stomach ]" + "\n";
  1301. result = result + model.getValue("/root/main/traoe_01103/item/stomach") + "\n" +"\n"+ "[ Pancresto-Biliary ]" + "\n";
  1302. result = result + model.getValue("/root/main/traoe_01103/item/pancreato") + "\n" +"\n"+ "[ Sedation ]" + "\n";
  1303. result = result + model.getValue("/root/main/traoe_01103/item/sedation") + "\n" +"\n"+ "[ Impression ]" + "\n";
  1304. result = result + model.getValue("/root/main/traoe_01103/item/imp") + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1305. result = result + model.getValue("/root/main/traoe_01103/item/pro") + "\n" +"\n"+ "[ Recommendation ]" + "\n";
  1306. result = result + model.getValue("/root/main/traoe_01103/item/recom") + "\n" +"\n"+ "[ 시술자 ]" + "\n";
  1307. result = result + model.getValue("/root/main/traoe_01103/item/urname") + "\n";
  1308. model.setValue("/root/main/patinfo/item/result_text", result);
  1309. btn_sw1.selected=true;
  1310. model.toggle("case1");
  1311. model.refresh();
  1312. //TRAOE01104
  1313. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="WE_RFA" ){
  1314. send_node_set(row);
  1315. submit("TRAOE01104");
  1316. init_node_set(row);
  1317. var result_target="/root/main/patinfo/item/";
  1318. var result_source="/root/main/traoe_01104/item/";
  1319. result_node_set(result_target, result_source);
  1320. var result = "";
  1321. result = "\n"+"[ 검사번호 ]" + "\n";
  1322. result = result + model.getValue("/root/main/traoe_01104/item/tno") + "\n" +"\n"+ "[ 주소 ]"+ "\n";
  1323. result = result + model.getValue("/root/main/traoe_01104/item/addr") + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  1324. result = result + model.getValue("/root/main/traoe_01104/item/phone") + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1325. result = result + model.getValue("/root/main/traoe_01104/item/mdate") + "\n" +"\n"+ "[ 술전 진단명 ]"+ "\n";
  1326. result = result + model.getValue("/root/main/traoe_01104/item/symp") + "\n" +"\n"+ "[ Reason ]" + "\n";
  1327. result = result + model.getValue("/root/main/traoe_01104/item/disease") + "\n" +"\n"+ "[ Mode ]" + "\n";
  1328. result = result + model.getValue("/root/main/traoe_01104/item/modedesc") + "\n" +"\n"+ "[ Pre-RFA INFORMATION ]" + "\n" + "\n";
  1329. result = result + "RFA 시술이 몇 번째인가? " + model.getValue("/root/main/traoe_01104/item/rfacnt") + " "+ "Pre RFA TACE? "
  1330. + model.getValue("/root/main/traoe_01104/item/prerfa") + "\n";
  1331. result = result + "Ascites? " + model.getValue("/root/main/traoe_01104/item/ascitesflag") + " "+ model.getValue("/root/main/traoe_01104/item/ascites");
  1332. result = result + " " + "Pleural effusion? " + model.getValue("/root/main/traoe_01104/item/pleuralflag") + " "
  1333. + model.getValue("/root/main/traoe_01104/item/pleural") + "\n";
  1334. result = result + "IP Saline? " + model.getValue("/root/main/traoe_01104/item/intra_abd") + " "+ model.getValue("/root/main/traoe_01104/item/intra_abd_y");
  1335. result = result + " "+ "Background biopsy? " + model.getValue("/root/main/traoe_01104/item/bbiopsyflag") + "\n";
  1336. result = result + "Number of Nodule? " + model.getValue("/root/main/traoe_01104/item/nodulecnt") + " "+ "Model of Device? " + "\n";
  1337. for(var i=1 ; i<=5 && model.getValue("/root/main/traoe_01104/item2[" + i + "]/cno")!=""; i++){
  1338. result=result + model.getValue("/root/main/traoe_01104/item2[" + i + "]/cno") + " 1) Site(위치) : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/site")
  1339. + "\n" +" 2) Size : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/size1") + "\n";
  1340. result=result +" 3) Surface : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/surface") + "\n"
  1341. +" 4) Biopsy : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/biopsy") + "\n";
  1342. result=result +" 5) Ablation 횟수 : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/abl") + "\n"
  1343. +" 6) Intra : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/intra_les") + "\n";
  1344. result=result+" 7) DeviceName : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/devicename") + "\n"
  1345. +" 8) Tissue : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/tissue") + "\n";
  1346. result=result+" 9) Vessel : " + model.getValue("/root/main/traoe_01104/item2[" + i + "]/vessel") + "\n"+ "\n";
  1347. }
  1348. result = result + "[ Conclusion ]" + model.getValue("/root/main/traoe_01104/item/conclusion") + "\n" + "\n";
  1349. result = result + "[ 시술자 ]" + model.getValue("/root/main/traoe_01104/item/urname") + "\n";
  1350. model.setValue("/root/main/patinfo/item/result_text", result);
  1351. btn_sw1.selected=true;
  1352. model.toggle("case1");
  1353. model.refresh();
  1354. //TRAOE01105
  1355. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="WE_ERCP" ){
  1356. send_node_set(row);
  1357. submit("TRAOE01105");
  1358. init_node_set(row);
  1359. var result_target="/root/main/patinfo/item/";
  1360. var result_source="/root/main/traoe_01105/item/";
  1361. result_node_set(result_target, result_source);
  1362. var result = "";
  1363. result = "\n"+"[ 검사번호 ]" + "\n";
  1364. result = result + model.getValue("/root/main/traoe_01105/item/tno") + "\n" +"\n"+ "[ 주소 ]"+ "\n";
  1365. result = result + model.getValue("/root/main/traoe_01105/item/addr") + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  1366. result = result + model.getValue("/root/main/traoe_01105/item/phone") + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1367. result = result + model.getValue("/root/main/traoe_01105/item/mdate") + "\n" +"\n"+ "[ 술전 진단명 ]"+ "\n";
  1368. result = result + model.getValue("/root/main/traoe_01105/item/symp") + "\n" +"\n"+ "[ 주증상 ]" + "\n";
  1369. result = result + model.getValue("/root/main/traoe_01105/item/disease") + "\n" +"\n"+ "[ Visualizatioin ]" + "\n";
  1370. result = result + model.getValue("/root/main/traoe_01105/item/inser") + "\n" +"\n"+ "[ Model of endoscope ]" + "\n";
  1371. result = result + model.getValue("/root/main/traoe_01105/item/endo") + "\n" +"\n"+ "[ Endoscopic Findings ]" + "\n" + "[ Duodenal wall ] " + "\n";
  1372. result = result + model.getValue("/root/main/traoe_01105/item/sdp") + "\n" +"\n"+ "[ Papilla major ]" + "\n";
  1373. result = result + model.getValue("/root/main/traoe_01105/item/soao") + "\n" +"\n"+ "[ Papilla minor ]" + "\n";
  1374. result = result + model.getValue("/root/main/traoe_01105/item/aov") + "\n" +"\n"+ "[ ERCP Findings ]" + "\n" + "[ Cholangiogram ]" + "\n";
  1375. result = result + model.getValue("/root/main/traoe_01105/item/duo") + "\n" +"\n"+ "[ GB ]" + "\n";
  1376. result = result + model.getValue("/root/main/traoe_01105/item/mbd") + "\n" +"\n"+ "[ Pancreatogram ]" + "\n";
  1377. result = result + model.getValue("/root/main/traoe_01105/item/cyd") + "\n" +"\n"+ "[ Others ]" + "\n";
  1378. result = result + model.getValue("/root/main/traoe_01105/item/bif") + "\n" +"\n"+ "[ Sedation ]" + "\n";
  1379. result = result + model.getValue("/root/main/traoe_01105/item/sedation") + "\n" +"\n"+ "[ Impression ]" + "\n";
  1380. result = result + model.getValue("/root/main/traoe_01105/item/imp") + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1381. result = result + model.getValue("/root/main/traoe_01105/item/pro") + "\n" +"\n"+ "[ Recommendation ]" + "\n";
  1382. result = result + model.getValue("/root/main/traoe_01105/item/recom") + "\n" +"\n"+ "[ 시술자 : Dr. ]" + "\n";
  1383. result = result + model.getValue("/root/main/traoe_01105/item/urname") + "\n";
  1384. model.setValue("/root/main/patinfo/item/result_text", result);
  1385. btn_sw1.selected=true;
  1386. model.toggle("case1");
  1387. model.refresh();
  1388. //TRAOE01111
  1389. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="ECP" ){
  1390. send_node_set(row);
  1391. submit("TRAOE01111");
  1392. init_node_set(row);
  1393. var result_target="/root/main/patinfo/item/";
  1394. var result_source="/root/main/traoe_01111/item/";
  1395. result_node_set(result_target, result_source);
  1396. var result = "";
  1397. result = "\n"+"[ Date ]" + "\n";
  1398. result = result + model.getValue("/root/main/traoe_01111/item/totaldate") + "\n" +"\n"+ "[ No ]"+ "\n";
  1399. result = result + model.getValue("/root/main/traoe_01111/item/total_ige_no") + "\n" +"\n"+ " ECP ";
  1400. result = result + model.getValue("/root/main/traoe_01111/item/result1") + " Ug/l" + "\n";
  1401. model.setValue("/root/main/patinfo/item/result_text", result);
  1402. btn_sw1.selected=true;
  1403. model.toggle("case1");
  1404. model.refresh();
  1405. //TRAOE01112
  1406. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="TOTAL_IGE" ){
  1407. send_node_set(row);
  1408. submit("TRAOE01112");
  1409. init_node_set(row);
  1410. var result_target="/root/main/patinfo/item/";
  1411. var result_source="/root/main/traoe_01112/item/";
  1412. result_node_set(result_target, result_source);
  1413. var result = "";
  1414. result = "\n"+"[ Date ]" + "\n";
  1415. result = result + model.getValue("/root/main/traoe_01112/item/totaldate") + "\n" +"\n"+ "[ No ]"+ "\n";
  1416. result = result + model.getValue("/root/main/traoe_01112/item/total_ige_no") + "\n" +"\n"+ " Total Ige(EA) ";
  1417. result = result + model.getValue("/root/main/traoe_01112/item/result1") + " Ku/l " + "\n";
  1418. model.setValue("/root/main/patinfo/item/result_text", result);
  1419. btn_sw1.selected=true;
  1420. model.toggle("case1");
  1421. model.refresh();
  1422. //TRAOE01113 TRAOE01114
  1423. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="MAST3RESULT" ){
  1424. datagrid_init()
  1425. send_node_set(row);
  1426. submit("TRAOE01113");
  1427. init_node_set(row);
  1428. var result_target="/root/main/patinfo/item/";
  1429. var result_source="/root/main/traoe_01113/item/";
  1430. result_node_set(result_target, result_source);
  1431. submit("TRAOE01114");
  1432. btn_sw2.selected=true;
  1433. model.toggle("case2");
  1434. //datagrid 제어
  1435. datagrid1.caption="일련번호^Control^ALLERGENITEM^ALLERGENITEM^IU/ML^CLASS";
  1436. datagrid1.colWidth(0)=108;
  1437. datagrid1.colWidth(1)=113;
  1438. datagrid1.colWidth(2)=124;
  1439. datagrid1.colWidth(3)=126;
  1440. datagrid1.colWidth(4)=111;
  1441. datagrid1.colWidth(5)=119;
  1442. for(var i=14; i>5; i--){
  1443. datagrid1.colHidden(i)=true;
  1444. }
  1445. datagrid1.visible=true;
  1446. model.refresh();
  1447. //TRAOE01115
  1448. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="MAST1RESULT" ){
  1449. datagrid_init()
  1450. send_node_set(row);
  1451. submit("TRAOE01115");
  1452. init_node_set(row);
  1453. var result_target="/root/main/patinfo/item/";
  1454. var result_source="/root/main/traoe_01115/item/";
  1455. result_node_set(result_target, result_source);
  1456. submit("TRAOE01116");
  1457. btn_sw2.selected=true;
  1458. model.toggle("case2");
  1459. //datagrid 제어
  1460. datagrid1.caption="Allergen^Allergen^Class^Allergen^Allergen^Class";
  1461. datagrid1.colWidth(0)=115;
  1462. datagrid1.colWidth(1)=113;
  1463. datagrid1.colWidth(2)=124;
  1464. datagrid1.colWidth(3)=135;
  1465. datagrid1.colWidth(4)=112;
  1466. datagrid1.colWidth(5)=119;
  1467. model.setValue("/root/main/datagrid/item[" + 18 + "]/col6", "");
  1468. for(var i=14; i>5; i--){
  1469. datagrid1.colHidden(i)=true;
  1470. }
  1471. datagrid1.visible=true;
  1472. model.refresh();
  1473. //TRAOE01117
  1474. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="MAST2RESULT" ){
  1475. datagrid_init()
  1476. send_node_set(row);
  1477. submit("TRAOE01117");
  1478. init_node_set(row);
  1479. var result_target="/root/main/patinfo/item/";
  1480. var result_source="/root/main/traoe_01117/item/";
  1481. result_node_set(result_target, result_source);
  1482. submit("TRAOE01118");
  1483. btn_sw2.selected=true;
  1484. model.toggle("case2");
  1485. //datagrid 제어
  1486. datagrid1.caption="Allergen^Allergen^Class^Allergen^Allergen^Class";
  1487. datagrid1.colWidth(0)=115;
  1488. datagrid1.colWidth(1)=113;
  1489. datagrid1.colWidth(2)=124;
  1490. datagrid1.colWidth(3)=135;
  1491. datagrid1.colWidth(4)=112;
  1492. datagrid1.colWidth(5)=119;
  1493. model.setValue("/root/main/datagrid/item[" + 18 + "]/col6", "");
  1494. for(var i=14; i>5; i--){
  1495. datagrid1.colHidden(i)=true;
  1496. }
  1497. datagrid1.visible=true;
  1498. model.refresh();
  1499. //TRAOE01121
  1500. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="RASTINHALANT" ){
  1501. datagrid_init()
  1502. send_node_set(row);
  1503. submit("TRAOE01121");
  1504. init_node_set(row);
  1505. var result_target="/root/main/patinfo/item/";
  1506. var result_source="/root/main/traoe_01121/item/";
  1507. result_node_set(result_target, result_source);
  1508. submit("TRAOE01122");
  1509. btn_sw2.selected=true;
  1510. model.toggle("case2");
  1511. //datagrid 제어
  1512. datagrid1.caption="^Allergen^Allergen^Class^KU/l^기준치";
  1513. datagrid1.colWidth(0)=98;
  1514. datagrid1.colWidth(1)=130;
  1515. datagrid1.colWidth(2)=124;
  1516. datagrid1.colWidth(3)=135;
  1517. datagrid1.colWidth(4)=81;
  1518. datagrid1.colWidth(5)=150;
  1519. for(var i=14; i>5; i--){
  1520. datagrid1.colHidden(i)=true;
  1521. }
  1522. datagrid1.visible=true;
  1523. model.refresh();
  1524. //TRAOE01123
  1525. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="RASTFOOD" ){
  1526. datagrid_init()
  1527. send_node_set(row);
  1528. submit("TRAOE01123");
  1529. init_node_set(row);
  1530. var result_target="/root/main/patinfo/item/";
  1531. var result_source="/root/main/traoe_01123/item/";
  1532. result_node_set(result_target, result_source);
  1533. submit("TRAOE01124");
  1534. btn_sw2.selected=true;
  1535. model.toggle("case2");
  1536. //datagrid 제어
  1537. datagrid1.caption="^Allergen^Allergen^Class^KU/l^기준치";
  1538. datagrid1.colWidth(0)=98;
  1539. datagrid1.colWidth(1)=130;
  1540. datagrid1.colWidth(2)=124;
  1541. datagrid1.colWidth(3)=135;
  1542. datagrid1.colWidth(4)=81;
  1543. datagrid1.colWidth(5)=150;
  1544. for(var i=14; i>5; i--){
  1545. datagrid1.colHidden(i)=true;
  1546. }
  1547. datagrid1.visible=true;
  1548. model.refresh();
  1549. //TRAOE01131
  1550. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="PFLRTINFO" ){
  1551. send_node_set(row);
  1552. submit("TRAOE01131");
  1553. init_node_set(row);
  1554. var result_target="/root/main/patinfo/item/";
  1555. var result_source="/root/main/traoe_01131/item/";
  1556. result_node_set(result_target, result_source);
  1557. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01131_호흡기능검사.xrw";
  1558. iviewer1.model.toggle("case_1");
  1559. btn_sw3.selected=true;
  1560. model.toggle("case3");
  1561. model.refresh();
  1562. //TRAOE01141
  1563. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="BRONRESULT" ){
  1564. send_node_set(row);
  1565. submit("TRAOE01141");
  1566. init_node_set(row);
  1567. var result_target="/root/main/patinfo/item/";
  1568. var result_source="/root/main/traoe_01141/item/";
  1569. result_node_set(result_target, result_source);
  1570. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01141_BRONCOSCOPY_RECORD.xrw";
  1571. iviewer1.model.toggle("case_1");
  1572. btn_sw3.selected=true;
  1573. model.toggle("case3");
  1574. model.refresh();
  1575. //TRAOE01151
  1576. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="PACKMT" ){
  1577. send_node_set(row);
  1578. submit("TRAOE01151");
  1579. init_node_set(row);
  1580. var result_target="/root/main/patinfo/item/";
  1581. var result_source="/root/main/traoe_01151/item/";
  1582. result_node_set(result_target, result_source);
  1583. var result = "";
  1584. result = "\n"+"[ 주민번호 ]" + "\n";
  1585. result = result + model.getValue("/root/main/traoe_01151/item/pnrn") + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  1586. result = result + model.getValue("/root/main/traoe_01151/item/phphone") + "\n" +"\n"+ "[ 핸드폰 ]"+ "\n";
  1587. result = result + model.getValue("/root/main/traoe_01151/item/handphone") + "\n" +"\n"+ "[ 검사 No ]"+ "\n";
  1588. result = result + model.getValue("/root/main/traoe_01151/item/uopno") + "\n" +"\n"+ "[ 신 장 ]"+ "\n";
  1589. result = result + model.getValue("/root/main/traoe_01151/item/height") + "cm"+ "\n" +"\n"+ "[ 체중 ]"+ "\n";
  1590. result = result + model.getValue("/root/main/traoe_01151/item/kg") + "kg" + "\n" +"\n"+ "[ Ethnic ]"+ "\n";
  1591. result = result + model.getValue("/root/main/traoe_01151/item/jongjuk") + "\n" +"\n"+ "[ L-SPINE BME ]"+ "\n";
  1592. result = result + " 제일 낮은부위: "+ model.getValue("/root/main/traoe_01151/item/simsa1") + " 수치:" + model.getValue("/root/main/traoe_01151/item/simsa2")
  1593. +"입니다." ;
  1594. if(model.getValue("/root/main/traoe_01151/item/simsa2") <= -3){
  1595. result = result + " (Y) -3.0이하";
  1596. }else{
  1597. result = result + " ( ) -3.0이하";
  1598. }
  1599. result = result + "\n" +"\n"+ "[ Prox.Femur BMD ]"+ "\n";
  1600. result = result + " 제일 낮은부위: "+ model.getValue("/root/main/traoe_01151/item/femursimsa1") + " 수치:" + model.getValue("/root/main/traoe_01151/item/femursimsa2")
  1601. +"입니다." ;
  1602. if(model.getValue("/root/main/traoe_01151/item/femursimsa2") <= -3){
  1603. result = result + " (Y) -3.0이하";
  1604. }else{
  1605. result = result + " ( ) -3.0이하";
  1606. }
  1607. result = result + "\n" +"\n"+ "[ FOREARM BMD ]"+ "\n";
  1608. result = result + " 제일 낮은부위: "+ model.getValue("/root/main/traoe_01151/item/foresimsa1") + " 수치:" + model.getValue("/root/main/traoe_01151/item/foresimsa2")
  1609. +"입니다." ;
  1610. if(model.getValue("/root/main/traoe_01151/item/foresimsa2") <= -3){
  1611. result = result + " (Y) -3.0이하";
  1612. }else{
  1613. result = result + " ( ) -3.0이하";
  1614. }
  1615. if(model.getValue("/root/main/traoe_01151/item/forelcheck") =='Y'){
  1616. result = result + "\n" +"\n"+ "50세 이상의 남성으로 T-score가 -3.0경우"+ " (Y)" + "\n"+ "\n";
  1617. }else{
  1618. result = result + "\n" +"\n"+ "50세 이상의 남성으로 T-score가 -3.0경우"+ " ( )" + "\n" + "\n";
  1619. }
  1620. if(model.getValue("/root/main/traoe_01151/item/extracheck") =='Y'){
  1621. result=result + "골밀도검사에서 상기 4개의 항목에 해당되지 않으니" + "\n";
  1622. result=result + "단순 X-ray상 골다공증성 골절이 확실이 있는 경우" + "\n";
  1623. result=result + "(단순방사선 사진이나, 그 외의 영상사진에서 확인되는 경우)" + " (Y)" + "\n" + "\n";
  1624. }else{
  1625. result=result + "골밀도검사에서 상기 4개의 항목에 해당되지 않으니" + "\n";
  1626. result=result + "단순 X-ray상 골다공증성 골절이 확실이 있는 경우" + "\n";
  1627. result=result + "(단순방사선 사진이나, 그 외의 영상사진에서 확인되는 경우)" + " ( )" + "\n" + "\n";
  1628. }
  1629. if(model.getValue("/root/main/traoe_01151/item/lcheck") =='Y'){
  1630. result=result + "골다공증 전문치료약제 보험인정가능. (단, 2개이상 약제의 병합치료는 1가지만 보험인정됨)" + "\n";
  1631. result=result + "보험인정가능(Y)" + "\n" + "\n";
  1632. }else{
  1633. result=result + "골다공증 전문치료약제 보험인정가능. (단, 2개이상 약제의 병합치료는 1가지만 보험인정됨)" + "\n";
  1634. result=result + "보험인정가능( )" + "\n" + "\n";
  1635. }
  1636. result = result + "[ Comment ]" + "\n" + model.getValue("/root/main/traoe_01151/item/lcomment") + "\n" +"\n"+ "[ 판독의 ]"+ "\n";
  1637. result = result + model.getValue("/root/main/traoe_01151/item/pandrname")+ "\n";
  1638. model.setValue("/root/main/patinfo/item/result_text", result);
  1639. btn_sw1.selected=true;
  1640. model.toggle("case1");
  1641. model.refresh();
  1642. //TRAOE01161
  1643. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="NURECPROGRESS" ){
  1644. datagrid_init();
  1645. send_node_set(row);
  1646. submit("TRAOE01161");
  1647. init_node_set(row);
  1648. var result_target="/root/main/patinfo/item/";
  1649. var result_source="/root/main/traoe_01161/item/";
  1650. result_node_set(result_target, result_source);
  1651. submit("TRAOE01162");
  1652. btn_sw2.selected=true;
  1653. model.toggle("case2");
  1654. //datagrid 제어
  1655. datagrid1.caption="검사내역^결과치^참고치^단위^판정일";
  1656. datagrid1.colWidth(0)=150;
  1657. datagrid1.colWidth(1)=130;
  1658. datagrid1.colWidth(2)=150;
  1659. datagrid1.colWidth(3)=120;
  1660. datagrid1.colWidth(4)=150;
  1661. for(var i=1; i<=getNodesetCount("/root/main/datagrid/item"); i++){
  1662. model.setValue("/root/main/datagrid/item[" + i + "]/col3", model.getValue("/root/main/datagrid/item[" + i + "]/col3") + " ~ " +model.getValue("/root/main/datagrid/item[" + i + "]/col4") );
  1663. model.setValue("/root/main/datagrid/item[" + i + "]/col4", model.getValue("/root/main/datagrid/item[" + i + "]/col5"));
  1664. model.setValue("/root/main/datagrid/item[" + i + "]/col5", model.getValue("/root/main/datagrid/item[" + i + "]/col6"));
  1665. }
  1666. for(var i=14; i>4; i--){
  1667. datagrid1.colHidden(i)=true;
  1668. }
  1669. datagrid1.visible=true;
  1670. model.refresh();
  1671. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="ECHOREPORT" ){
  1672. send_node_set(row);
  1673. submit("TRAOE01181");
  1674. init_node_set(row);
  1675. var result_target="/root/main/patinfo/item/";
  1676. var result_source="/root/main/traoe_01181/item/";
  1677. result_node_set(result_target, result_source);
  1678. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01181_심장검사실.xrw";
  1679. iviewer1.model.toggle("case_1");
  1680. btn_sw3.selected=true;
  1681. model.toggle("case3");
  1682. model.refresh();
  1683. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="DSHMASTER2" ){
  1684. send_node_set(row);
  1685. submit("TRAOE01191");
  1686. init_node_set(row);
  1687. var result_target="/root/main/patinfo/item/";
  1688. var result_source="/root/main/traoe_01191/item/";
  1689. result_node_set(result_target, result_source);
  1690. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01191_뇌혈류검사실(EDS).xrw";
  1691. iviewer1.model.toggle("case_1");
  1692. btn_sw3.selected=true;
  1693. model.toggle("case3");
  1694. model.refresh();
  1695. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="ECGTEST" ){
  1696. send_node_set(row);
  1697. submit("TRAOE01201");
  1698. init_node_set(row);
  1699. var result_target="/root/main/patinfo/item/";
  1700. var result_source="/root/main/traoe_01201/item/";
  1701. result_node_set(result_target, result_source);
  1702. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01201_Execrcise_Ecg_Test.xrw";
  1703. iviewer1.model.toggle("case_1");
  1704. btn_sw3.selected=true;
  1705. model.toggle("case3");
  1706. model.refresh();
  1707. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="EXTRAORAL" ){
  1708. send_node_set(row);
  1709. submit("TRAOE01211");
  1710. init_node_set(row);
  1711. var result_target="/root/main/patinfo/item/";
  1712. var result_source="/root/main/traoe_01211/item/";
  1713. result_node_set(result_target, result_source);
  1714. var result = "";
  1715. result="\n" + "[ 상태 ]" + "\n" + model.getValue("/root/main/traoe_01211/item/pqtxstatus") + "\n"+"\n";
  1716. result=result + "[ 수납 ]" + "\n" + model.getValue("/root/main/traoe_01211/item/pqcashin") + "\n";
  1717. result=result + "\n"+"[ EXTRAORAL RADIOGRAPHIC FINDINGS ]" + "\n";
  1718. result = result + model.getValue("/root/main/traoe_01211/item/dentresult") + "\n" +"\n"+ "[ IMPRESSION ]"+ "\n";
  1719. if(model.getValue("/root/main/traoe_01211/item/dentimp1")!=""){
  1720. result = result + "1. " + model.getValue("/root/main/traoe_01211/item/dentimp1") + "\n";
  1721. }
  1722. if(model.getValue("/root/main/traoe_01211/item/dentimp2")!=""){
  1723. result = result + "2. " + model.getValue("/root/main/traoe_01211/item/dentimp2") + "\n";
  1724. }
  1725. if(model.getValue("/root/main/traoe_01211/item/dentimp3")!=""){
  1726. result = result + "3. " + model.getValue("/root/main/traoe_01211/item/dentimp3") + "\n";
  1727. }
  1728. result = result + "\n" + "[ RECOMMENDATION ]" + "\n";
  1729. if(model.getValue("/root/main/traoe_01211/item/recommand1")!=""){
  1730. result = result + "1. " + model.getValue("/root/main/traoe_01211/item/recommand1") + "\n";
  1731. }
  1732. if(model.getValue("/root/main/traoe_01211/item/recommand2")!=""){
  1733. result = result + "1. " + model.getValue("/root/main/traoe_01211/item/recommand2") + "\n";
  1734. }
  1735. if(model.getValue("/root/main/traoe_01211/item/recommand3")!=""){
  1736. result = result + "1. " + model.getValue("/root/main/traoe_01211/item/recommand3") + "\n";
  1737. }
  1738. model.setValue("/root/main/patinfo/item/result_text", result);
  1739. btn_sw1.selected=true;
  1740. model.toggle("case1");
  1741. model.refresh();
  1742. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="SOISUKRESULT" ){
  1743. send_node_set(row);
  1744. submit("TRAOE01221");
  1745. init_node_set(row);
  1746. var result_target="/root/main/patinfo/item/";
  1747. var result_source="/root/main/traoe_01221/item/";
  1748. result_node_set(result_target, result_source);
  1749. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01221_쇄석실검사.xrw";
  1750. iviewer1.model.toggle("case_1");
  1751. btn_sw3.selected=true;
  1752. model.toggle("case3");
  1753. model.refresh();
  1754. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="CORON_MASTER" ){
  1755. send_node_set(row);
  1756. submit("TRAOE01231");
  1757. init_node_set(row);
  1758. var result_target="/root/main/patinfo/item/";
  1759. var result_source="/root/main/traoe_01231/item/";
  1760. result_node_set(result_target, result_source);
  1761. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01231_순환기내과.xrw";
  1762. iviewer1.model.toggle("case_1");
  1763. btn_sw3.selected=true;
  1764. model.toggle("case3");
  1765. model.refresh();
  1766. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="RTACTIVITY" ){
  1767. send_node_set(row);
  1768. submit("TRAOE01241");
  1769. init_node_set(row);
  1770. var result_target="/root/main/patinfo/item/";
  1771. var result_source="/root/main/traoe_01241/item/";
  1772. result_node_set(result_target, result_source);
  1773. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01241_방사선종양.xrw";
  1774. // iviewer1.model.toggle("case_1");
  1775. btn_sw3.selected=true;
  1776. model.toggle("case3");
  1777. model.refresh();
  1778. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="RTTREATROOMWOMAN" ){
  1779. send_node_set(row);
  1780. submit("TRAOE01251");
  1781. init_node_set(row);
  1782. var result_target="/root/main/patinfo/item/";
  1783. var result_source="/root/main/traoe_01251/item/";
  1784. result_node_set(result_target, result_source);
  1785. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01251_내부치료실.xrw";
  1786. // iviewer1.model.toggle("case_1");
  1787. btn_sw3.selected=true;
  1788. model.toggle("case3");
  1789. model.refresh();
  1790. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="RTCOMPUTEPLAN" ){
  1791. send_node_set(row);
  1792. submit("TRAOE01261");
  1793. init_node_set(row);
  1794. var result_target="/root/main/patinfo/item/";
  1795. var result_source="/root/main/traoe_01261/item/";
  1796. result_node_set(result_target, result_source);
  1797. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01261_전산화계획.xrw";
  1798. // iviewer1.model.toggle("case_1");
  1799. btn_sw3.selected=true;
  1800. model.toggle("case3");
  1801. model.refresh();
  1802. }else if( isDataCell() && row > 0 && model.getValue("/root/main/examlist/item[" + row + "]/table_cd")=="RTDESCRIPTION" ){
  1803. send_node_set(row);
  1804. submit("TRAOE01271");
  1805. init_node_set(row);
  1806. var result_target="/root/main/patinfo/item/";
  1807. var result_source="/root/main/traoe_01271/item/";
  1808. result_node_set(result_target, result_source);
  1809. iviewer1.src = "../../../ast/oldexamresultweb/xrw/SMAOE01271_치료계획.xrw";
  1810. // iviewer1.model.toggle("case_1");
  1811. btn_sw3.selected=true;
  1812. model.toggle("case3");
  1813. iviewer1.model.toggle("case_1");
  1814. iviewer1.but_1.selected=true;
  1815. model.refresh();
  1816. }
  1817. ]]>
  1818. </script>
  1819. <script type="javascript">
  1820. <![CDATA[
  1821. function send_node_set(row){
  1822. var send_target="/root/send/";
  1823. var send_source="/root/main/examlist/";
  1824. // model.resetInstanceNode("/root/send");
  1825. // model.setValue(send_target+"srchpid", model.getValue(send_source+"item[" +row + "]/pid"));
  1826. // model.setValue(send_target+"srchhngnm", );
  1827. model.setValue(send_target+"srchccrno", model.getValue(send_source+"item[" + row + "]/ccrno"));
  1828. model.setValue(send_target+"srchobtime", model.getValue(send_source+"item[" + row + "]/obtime"));
  1829. model.setValue(send_target+"srchuopno", model.getValue(send_source+"item[" +row + "]/uopno"));
  1830. model.setValue(send_target+"srchtable_cd", model.getValue(send_source+"item[" +row + "]/table_cd"));
  1831. }
  1832. function init_node_set(row){
  1833. var init_target="/root/main/patinfo/item/";
  1834. var init_source="/root/main/examlist/";
  1835. if(model.getValue(init_source+"item[" +row + "]/table_cd")=="ELECTRORT_SEC"){
  1836. iviewer1.visible=true;
  1837. model.resetInstanceNode("/root/main/patinfo/item");
  1838. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="ELECTRORT1"){
  1839. iviewer1.visible=true;
  1840. model.resetInstanceNode("/root/main/patinfo/item");
  1841. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="ELECTRORT2"){
  1842. iviewer1.visible=true;
  1843. model.resetInstanceNode("/root/main/patinfo/item");
  1844. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="DSHMASTER1"){
  1845. iviewer1.visible=true;
  1846. model.resetInstanceNode("/root/main/patinfo/item");
  1847. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="PFLRTINFO"){
  1848. iviewer1.visible=true;
  1849. model.resetInstanceNode("/root/main/patinfo/item");
  1850. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="BRONRESULT"){
  1851. iviewer1.visible=true;
  1852. model.resetInstanceNode("/root/main/patinfo/item");
  1853. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="ECHOREPORT"){
  1854. iviewer1.visible=true;
  1855. model.resetInstanceNode("/root/main/patinfo/item");
  1856. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="DSHMASTER2"){
  1857. iviewer1.visible=true;
  1858. model.resetInstanceNode("/root/main/patinfo/item");
  1859. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="ECGTEST"){
  1860. iviewer1.visible=true;
  1861. model.resetInstanceNode("/root/main/patinfo/item");
  1862. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="SOISUKRESULT"){
  1863. iviewer1.visible=true;
  1864. model.resetInstanceNode("/root/main/patinfo/item");
  1865. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="CORON_MASTER"){
  1866. iviewer1.visible=true;
  1867. model.resetInstanceNode("/root/main/patinfo/item");
  1868. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="RTACTIVITY"){
  1869. iviewer1.visible=true;
  1870. model.resetInstanceNode("/root/main/patinfo/item");
  1871. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="RTTREATROOMWOMAN"){
  1872. iviewer1.visible=true;
  1873. model.resetInstanceNode("/root/main/patinfo/item");
  1874. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="RTCOMPUTEPLAN"){
  1875. iviewer1.visible=true;
  1876. model.resetInstanceNode("/root/main/patinfo/item");
  1877. }else if(model.getValue(init_source+"item[" +row + "]/table_cd")=="RTDESCRIPTION"){
  1878. iviewer1.visible=true;
  1879. model.resetInstanceNode("/root/main/patinfo/item");
  1880. }else{
  1881. iviewer1.visible=false;
  1882. }
  1883. model.setValue(init_target+"result_title", model.getValue(init_source+"item[" +row + "]/title_name"));
  1884. model.setValue(init_target+"obtime", model.getValue(init_source+"item["+row + "]/orddd"));
  1885. model.setValue(init_target+"rsltdd", model.getValue(init_source+"item[" +row + "]/rsltdd"));
  1886. model.setValue(init_target+"uodesc", model.getValue(init_source+"item[" +row + "]/uodesc"));
  1887. // model.setValue("/root/send/srchhngnm", model.getValue(init_source+"item[" +row + "]/pname"));
  1888. }
  1889. function result_node_set(result_target, result_source){
  1890. model.setValue(result_target+"pid", model.getValue(result_source+"pid"));
  1891. model.setValue(result_target+"pname", model.getValue(result_source+"pname"));
  1892. model.setValue(result_target+"psex", model.getValue(result_source+"psex"));
  1893. model.setValue(result_target+"age", model.getValue(result_source+"age"));
  1894. model.setValue(result_target+"inoutmode", model.getValue(result_source+"inoutmode"));
  1895. model.setValue(result_target+"obdeptname", model.getValue(result_source+"obdeptname"));
  1896. model.setValue(result_target+"obdrname", model.getValue(result_source+"obdrname"));
  1897. model.setValue(result_target+"pandrname", model.getValue(result_source+"pandrname"));
  1898. model.setValue(result_target+"wardname", model.getValue(result_source+"wardname"));
  1899. // model.setValue("/root/send/srchhngnm", model.getValue(result_source+"pname"));
  1900. }
  1901. function datagrid_init(){
  1902. for(var i=1; i<15; i++){
  1903. datagrid1.colHidden(i)=false;
  1904. }
  1905. datagrid1.visible=false;
  1906. }
  1907. ]]>
  1908. </script>
  1909. <output id="result_title" ref="/root/main/patinfo/item/result_title" style="left:430px; top:55px; width:745px; height:35px; font-family:돋움; font-size:14pt; font-weight:bold; color:#993300; text-align:center; vertical-align:middle; "/>
  1910. <shape id="rectangle1" appearance="rectangle" style="left:430px; top:95px; width:745px; height:85px; "/>
  1911. <caption id="caption1" class="search_name" style="left:435px; top:105px; width:95px; height:17px; ">등록번호 :</caption>
  1912. <output id="opt_pid" ref="/root/main/patinfo/item/pid" style="left:525px; top:105px; width:65px; height:19px; "/>
  1913. <caption id="caption2" class="search_name" style="left:600px; top:105px; width:70px; height:17px; ">성명 :</caption>
  1914. <output id="opt_name" ref="/root/main/patinfo/item/pname" style="left:665px; top:105px; width:60px; height:19px; "/>
  1915. <caption id="caption3" class="search_name" style="left:735px; top:105px; width:65px; height:17px; ">성별 :</caption>
  1916. <output id="opt_sex" ref="/root/main/patinfo/item/psex" style="left:805px; top:105px; width:15px; height:19px; "/>
  1917. <caption id="caption4" class="search_name" style="left:1010px; top:105px; width:95px; height:17px; ">처방일자 :</caption>
  1918. <output id="opt_obtime" ref="/root/main/patinfo/item/obtime" format="yyyy-mm-dd" style="left:1100px; top:105px; width:65px; height:19px; "/>
  1919. <caption id="caption5" class="search_name" style="left:910px; top:105px; width:70px; height:17px; ">입/외 :</caption>
  1920. <output id="opt_inoutmode" ref="/root/main/patinfo/item/inoutmode" style="left:980px; top:105px; width:25px; height:19px; "/>
  1921. <caption id="caption7" class="search_name" style="left:825px; top:105px; width:65px; height:17px; ">나이 :</caption>
  1922. <output id="opt_age" ref="/root/main/patinfo/item/age" style="left:890px; top:105px; width:15px; height:19px; "/>
  1923. <caption id="caption10" class="search_name" style="left:540px; top:130px; width:70px; height:17px; ">진료과:</caption>
  1924. <output id="opt_obdeptname" ref="/root/main/patinfo/item/obdeptname" style="left:610px; top:130px; width:75px; height:19px; "/>
  1925. <caption id="caption8" class="search_name" style="left:685px; top:130px; width:70px; height:17px; ">진료의:</caption>
  1926. <output id="opt_obdrname" ref="/root/main/patinfo/item/obdrname" style="left:755px; top:130px; width:50px; height:19px; "/>
  1927. <caption id="caption9" class="search_name" style="left:805px; top:130px; width:81px; height:17px; ">결과일자:</caption>
  1928. <output id="opt_rsltdd" ref="/root/main/patinfo/item/rsltdd" format="yyyy-mm-dd" style="left:890px; top:130px; width:65px; height:19px; "/>
  1929. <caption id="caption11" class="search_name" style="left:960px; top:130px; width:75px; height:17px; ">판독의 :</caption>
  1930. <output id="opt_pandrname" ref="/root/main/patinfo/item/pandrname" style="left:1035px; top:130px; width:135px; height:19px; "/>
  1931. <caption id="caption12" class="search_name" style="left:435px; top:155px; width:95px; height:17px; ">처 방 명 :</caption>
  1932. <output id="opt_obpathnote" ref="/root/main/patinfo/item/uodesc" style="left:525px; top:155px; width:620px; height:19px; "/>
  1933. <caption id="caption13" class="search_name" style="left:435px; top:130px; width:70px; height:17px; ">병동:</caption>
  1934. <output id="opt_room" ref="/root/main/patinfo/item/wardname" style="left:490px; top:130px; width:50px; height:19px; "/>
  1935. <button id="btn_sw1" class="btn_sw" group="tab" selected="true" style="left:430px; top:190px; width:159px; height:22px; font-size:8pt; ">
  1936. <caption>서 술 형</caption>
  1937. <script type="javascript">
  1938. <![CDATA[
  1939. model.toggle("case1");
  1940. ]]>
  1941. </script>
  1942. </button>
  1943. <button id="btn_sw2" class="btn_sw" group="tab" selected="false" style="left:590px; top:190px; width:159px; height:22px; font-size:8pt; ">
  1944. <caption>그 리 드 형</caption>
  1945. <script type="javascript">
  1946. <![CDATA[
  1947. model.toggle("case2");
  1948. ]]>
  1949. </script>
  1950. </button>
  1951. <button id="btn_sw3" class="btn_sw" group="tab" selected="false" style="left:750px; top:190px; width:159px; height:22px; font-size:8pt; ">
  1952. <caption>기 타</caption>
  1953. <script type="javascript">
  1954. <![CDATA[
  1955. model.toggle("case3");
  1956. ]]>
  1957. </script>
  1958. </button>
  1959. <switch id="switch1" style="left:430px; top:210px; width:743px; height:550px; ">
  1960. <case id="case1">
  1961. <textarea id="tar_sw1" ref="/root/main/patinfo/item/result_text" scroll="autovscroll" editable="false" style="left:5px; top:5px; width:731px; height:534px; word-wrap:word; "/>
  1962. </case>
  1963. <case id="case2">
  1964. <datagrid id="datagrid1" nodeset="/root/main/datagrid/item" caption="^^^^^^^^^^^" colsep="^" colwidth="47,47,47,47,47,47,47,47,47,47,47,47,47,47,47" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:10px; width:720px; height:525px; text-align:center; ">
  1965. <col ref="col1"/>
  1966. <col ref="col2"/>
  1967. <col ref="col3"/>
  1968. <col ref="col4"/>
  1969. <col ref="col5"/>
  1970. <col ref="col6"/>
  1971. <col ref="col7"/>
  1972. <col ref="col8"/>
  1973. <col ref="col9"/>
  1974. <col ref="col10"/>
  1975. <col ref="col11"/>
  1976. <col ref="col12"/>
  1977. <col ref="col13"/>
  1978. <col ref="col14"/>
  1979. <col ref="col15"/>
  1980. </datagrid>
  1981. </case>
  1982. <case id="case3" selected="true">
  1983. <iviewer id="iviewer1" style="left:5px; top:5px; width:730px; height:535px; word-wrap:word; "/>
  1984. </case>
  1985. </switch>
  1986. </group>
  1987. </xhtml:body>
  1988. </xhtml:html>