SMABO00100_BMT환자관리.xrw 132 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>BMT 환자관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <patinfolist>
  12. <pid/>
  13. <hngnm/>
  14. <rrgstno1/>
  15. <rrgstno2/>
  16. <sex/>
  17. <cntctel/>
  18. <mpphontel/>
  19. <zipcd1/>
  20. <zipcd2/>
  21. <zipcdseq/>
  22. <cntcaddr/>
  23. <email/>
  24. <age/>
  25. <addr/>
  26. <dethdd/>
  27. <indschacptstat/>
  28. <dethrgstyn/>
  29. <procernm/>
  30. <pcntctel/>
  31. </patinfolist>
  32. </patinfo>
  33. <hsctinfo>
  34. <patinfolist>
  35. <pid/>
  36. <hngnm/>
  37. <rrgstno1/>
  38. <rrgstno2/>
  39. <sex/>
  40. <cntctel/>
  41. <mpphontel/>
  42. <zipcd1/>
  43. <zipcd2/>
  44. <zipcdseq/>
  45. <cntcaddr/>
  46. <email/>
  47. <age/>
  48. <addr/>
  49. <dethdd/>
  50. <indschacptstat/>
  51. <dethrgstyn/>
  52. <procernm/>
  53. <pcntctel/>
  54. <cibmtrid/>
  55. <resrchyn/>
  56. <lostfudd/>
  57. </patinfolist>
  58. <trnptinfo>
  59. <trnptdg/>
  60. <diagcd1/>
  61. <diagcd2/>
  62. <totdg/>
  63. <autodg/>
  64. <allodg/>
  65. <allotrnptkinddg/>
  66. <trnptkind/>
  67. <trnptkindcd/>
  68. <scs/>
  69. <trnpttype/>
  70. <trnptdd/>
  71. <trnptage/>
  72. <trnptbfstat/>
  73. <trnptwardcd/>
  74. <trnptroomcd/>
  75. <insureqdd/>
  76. <insuaprvkind/>
  77. <insuaprvdd/>
  78. <pattrnptbfbtype/>
  79. <patbdwt/>
  80. <patbdht/>
  81. <patmaryyn/>
  82. <patprgcnt/>
  83. <patchldrncnt/>
  84. <patschol/>
  85. <patjob/>
  86. <patrelign/>
  87. <karnofskyyn/>
  88. <karnofskypnt/>
  89. <lanskyyn/>
  90. <lanskypnt/>
  91. <educyn/>
  92. <transfyn/>
  93. <execyn/>
  94. <execfailyn/>
  95. <insukind/>
  96. <regmcd/>
  97. <oldinstflag/>
  98. <dgcnfmyn/>
  99. <atdoctid/>
  100. <indd/>
  101. <cretno/>
  102. <atdoctnm/>
  103. <pattrnptafbtype/>
  104. <dayinfo/>
  105. <firstdayinfo/>
  106. <patmaryynnur/>
  107. <patscholnur/>
  108. <patjobnur/>
  109. <patrelignnur/>
  110. <patchldrncntnur/>
  111. <patprgcntnur/>
  112. <patbdwtnur/>
  113. <patbdhtnur/>
  114. </trnptinfo>
  115. <preworkinfo>
  116. <preworkflag/>
  117. <dent/>
  118. <ent/>
  119. <echo/>
  120. <pft/>
  121. <sono/>
  122. </preworkinfo>
  123. <orderhistory>
  124. <inlastdd/>
  125. <outlastdd/>
  126. <outfirstdd/>
  127. </orderhistory>
  128. <dnorinfo>
  129. <dnorid/>
  130. <dnorbtype/>
  131. <dnorbtypenew/>
  132. <dnorbdwt/>
  133. <dnorbdht/>
  134. <dnormaryyn/>
  135. <dnorprgcnt/>
  136. <dnorchldrncnt/>
  137. <dnorschol/>
  138. <dnorjob/>
  139. <dnorrelign/>
  140. <dnorrrgstno1/>
  141. <dnorrrgstno2/>
  142. <dnornm/>
  143. <dnorsex/>
  144. <dnorage/>
  145. <dnorpid/>
  146. <dnorrela/>
  147. <dnortnsyn/>
  148. <dnoraceleuseyn/>
  149. <dnorindd/>
  150. <dnorcretno/>
  151. <trnptdg/>
  152. <pid/>
  153. <dnorpidpam/>
  154. <dnormaryynnur/>
  155. <dnorscholnur/>
  156. <dnorjobnur/>
  157. <dnorrelignnur/>
  158. <dnorchldrncntnur/>
  159. <dnorprgcntnur/>
  160. <dnorbdwtnur/>
  161. <dnorbdhtnur/>
  162. </dnorinfo>
  163. <ubmtinfo>
  164. <boneassocd/>
  165. <dnorid/>
  166. <dnorsex/>
  167. <dnorage/>
  168. <dnorbtype/>
  169. <dnorbdwt/>
  170. <dnorbdht/>
  171. <dnortnsyn/>
  172. <dnoraceleuseyn/>
  173. <dnorextrinst/>
  174. <dnormaryyn/>
  175. <dnorprgcnt/>
  176. <dnorchldrncnt/>
  177. <dnorschol/>
  178. <dnorjob/>
  179. <dnorrelign/>
  180. <trnptflag/>
  181. </ubmtinfo>
  182. <cordinfo>
  183. <boneassocd/>
  184. <dnorid/>
  185. <dnorsex/>
  186. <dnorbtype/>
  187. <trnptflag/>
  188. </cordinfo>
  189. <cibmtrinfo>
  190. <cntsnm/>
  191. <statdd/>
  192. <cnfmdd/>
  193. <seqno/>
  194. </cibmtrinfo>
  195. <trnptaftddinfo>
  196. <day100dd/>
  197. <cntsnm01/>
  198. <cnfmyn01/>
  199. <cnfmdd01/>
  200. <row01/>
  201. <month6dd/>
  202. <cntsnm02/>
  203. <cnfmyn02/>
  204. <cnfmdd02/>
  205. <row02/>
  206. <year1dd/>
  207. <cntsnm03/>
  208. <cnfmyn03/>
  209. <cnfmdd03/>
  210. <row03/>
  211. <year2dd/>
  212. <cntsnm04/>
  213. <cnfmyn04/>
  214. <cnfmdd04/>
  215. <row04/>
  216. <year3dd/>
  217. <cntsnm05/>
  218. <cnfmyn05/>
  219. <cnfmdd05/>
  220. <row05/>
  221. <year4dd/>
  222. <cntsnm06/>
  223. <cnfmyn06/>
  224. <cnfmdd06/>
  225. <row06/>
  226. <year5dd/>
  227. <cntsnm07/>
  228. <cnfmyn07/>
  229. <cnfmdd07/>
  230. <row07/>
  231. </trnptaftddinfo>
  232. </hsctinfo>
  233. <popupendflag/>
  234. <trnptdg/>
  235. <codedata>
  236. <popupmenu>
  237. <item>
  238. <name>비혈연간조혈모세포이식진행정보</name>
  239. <func>fOpenPopupUBMTSearch</func>
  240. </item>
  241. <item>
  242. <name>Cord 진행정보</name>
  243. <func>fOpenPopupCordSearch</func>
  244. </item>
  245. </popupmenu>
  246. </codedata>
  247. <trnptsrchinfo>
  248. <srchdetlinfo>
  249. <a1/>
  250. <a2/>
  251. <b1/>
  252. <b2/>
  253. <cw1/>
  254. <cw2/>
  255. <drb11/>
  256. <drb12/>
  257. </srchdetlinfo>
  258. </trnptsrchinfo>
  259. </main>
  260. <send>
  261. <req>
  262. <pid/>
  263. <trnptdg/>
  264. <patdata>
  265. <patinfolist/>
  266. <trnptinfo/>
  267. <ubmtinfo/>
  268. <cibmtrinfo/>
  269. <dnorinfo/>
  270. </patdata>
  271. <donordata>
  272. <dnorinfo/>
  273. </donordata>
  274. </req>
  275. <insureqdata>
  276. <insureqinfo>
  277. <pid/>
  278. <reqdd/>
  279. <trnptdg/>
  280. </insureqinfo>
  281. </insureqdata>
  282. <lrggrupcd>DI</lrggrupcd>
  283. <hsctlrgcd/>
  284. <smsdata/>
  285. </send>
  286. <init>
  287. <cmbinfo>
  288. <trnptbfstat>
  289. <A0160>
  290. <cdid/>
  291. <cdnm/>
  292. </A0160>
  293. </trnptbfstat>
  294. <trnptkindcd>
  295. <A0161/>
  296. </trnptkindcd>
  297. <scs>
  298. <A0162>
  299. <cdid/>
  300. <cdnm/>
  301. </A0162>
  302. </scs>
  303. <dnorrela>
  304. <A0163>
  305. <cdid/>
  306. <cdnm/>
  307. </A0163>
  308. </dnorrela>
  309. <dnorbonebank>
  310. <A0164>
  311. <cdid/>
  312. <cdnm/>
  313. </A0164>
  314. </dnorbonebank>
  315. <dnorbank>
  316. <A0165/>
  317. </dnorbank>
  318. <trnptwardcd>
  319. <A0479>
  320. <cdid/>
  321. <cdnm/>
  322. </A0479>
  323. </trnptwardcd>
  324. <trnptroomcd>
  325. <A0480>
  326. <cdid/>
  327. <cdnm/>
  328. </A0480>
  329. </trnptroomcd>
  330. <schol>
  331. <M0069>
  332. <cdid/>
  333. <cdnm/>
  334. </M0069>
  335. </schol>
  336. <relign>
  337. <M0070>
  338. <cdid/>
  339. <cdnm/>
  340. </M0070>
  341. </relign>
  342. <job>
  343. <M0068>
  344. <cdid/>
  345. <cdnm/>
  346. </M0068>
  347. </job>
  348. <regimen>
  349. <item>
  350. <hsctmdlcd/>
  351. <hsctmdlnm/>
  352. </item>
  353. </regimen>
  354. <diag>
  355. <item>
  356. <icd10cd/>
  357. <icd10nm/>
  358. </item>
  359. </diag>
  360. <maryyn>
  361. <M0151>
  362. <cdid/>
  363. <cdnm/>
  364. </M0151>
  365. </maryyn>
  366. <sex>
  367. <P0313>
  368. <cdid/>
  369. <cdnm/>
  370. </P0313>
  371. </sex>
  372. <btype>
  373. <M0376>
  374. <cdid/>
  375. <cdnm/>
  376. </M0376>
  377. </btype>
  378. <lrglist>
  379. <item>
  380. <hsctlrgcd/>
  381. <hsctlrgnm/>
  382. </item>
  383. </lrglist>
  384. <mdllist>
  385. <item>
  386. <hsctmdlcd/>
  387. <hsctmdlnm/>
  388. </item>
  389. </mdllist>
  390. <bmtatdoctlist>
  391. <A0536>
  392. <cdid/>
  393. <cdnm/>
  394. </A0536>
  395. </bmtatdoctlist>
  396. <hosptellist>
  397. <HOSPTEL>
  398. <cdid/>
  399. <cdnm/>
  400. </HOSPTEL>
  401. </hosptellist>
  402. </cmbinfo>
  403. </init>
  404. <hidden>
  405. <pid>12356879</pid>
  406. <ret>
  407. <item/>
  408. </ret>
  409. <paminfolist>
  410. <pampatinfo>
  411. <pid/>
  412. <orddd/>
  413. <cretno/>
  414. <ioflag/>
  415. <instcd/>
  416. <seqno/>
  417. <dschdd/>
  418. </pampatinfo>
  419. </paminfolist>
  420. <recvrlist>
  421. <chk/>
  422. <recvrnm/>
  423. <recvrtelno/>
  424. </recvrlist>
  425. <hosptellist>
  426. <hosptel>
  427. <smsreplytelno/>
  428. </hosptel>
  429. </hosptellist>
  430. </hidden>
  431. <temp>
  432. <trnptdg>
  433. <item>
  434. <cd>1</cd>
  435. <nm>1차</nm>
  436. </item>
  437. </trnptdg>
  438. <trnptkindcd/>
  439. <patinfo>
  440. <pid/>
  441. </patinfo>
  442. <bmtpatientinfo>
  443. <trnptdg/>
  444. </bmtpatientinfo>
  445. <insureqdd/>
  446. <smsinfo>
  447. <smsreplytelno/>
  448. <smsreply/>
  449. <smsselpat/>
  450. <smsselprocer/>
  451. </smsinfo>
  452. <smsdata>
  453. <bizabbr/>
  454. <replytelno/>
  455. <rsrvyn/>
  456. <rsrvdate/>
  457. <rsrvtime/>
  458. <msgcnts/>
  459. <recvrlist>
  460. <chk/>
  461. <recvrnm/>
  462. <recvrtelno/>
  463. </recvrlist>
  464. <recvrlist>
  465. <chk/>
  466. <recvrnm/>
  467. <recvrtelno/>
  468. </recvrlist>
  469. </smsdata>
  470. <paminfo/>
  471. <mdllist>
  472. <item>
  473. <hsctmdlcd/>
  474. <hsctmdlnm/>
  475. </item>
  476. </mdllist>
  477. <bfPid/>
  478. <tempcodeinfo2/>
  479. <tempcodeinfo/>
  480. </temp>
  481. </root>
  482. </instance>
  483. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  484. <script type="javascript" src="../../../com/shortmsgweb/js/ZMS001.js"/>
  485. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  486. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  487. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  488. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  489. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  490. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  491. <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
  492. <submission id="TRABO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/hsctinfo"/>
  493. <submission id="TRABO00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/temp/trnptdg"/>
  494. <submission id="TRABO00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/hsctinfo/patinfolist" resultref="/root/hidden/paminfolist"/>
  495. <submission id="TRABO02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmbinfo/lrglist"/>
  496. <submission id="TRABO02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/mdllist"/>
  497. <submission id="TXABO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/patdata" replace="instance" resultref="/root/hidden/ret"/>
  498. <submission id="TXABO00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/donordata" replace="instance" resultref="/root/hidden/ret"/>
  499. <submission id="TXABO00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden/ret"/>
  500. <submission id="TXABO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden/ret"/>
  501. <submission id="TXABO00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insureqdata" replace="instance" resultref="/root/hidden/ret"/>
  502. <script type="javascript" ev:event="xforms-ready">
  503. <![CDATA[
  504. if(checkAuth("X") == true){
  505. // TOP정보를 초기화한다
  506. delPatientInfos();
  507. }
  508. // zbcfGetCodeList( new Array("A0160","A0161","A0162", "A0163", "A0164","A0165","M0069","M0070","M0068","M0074", "M0151", "P0313", "M0376", "A0479", "A0480", "A0536"),
  509. // new Array("/root/init/cmbinfo/trnptbfstat", "/root/init/cmbinfo/trnptkindcd", "/root/init/cmbinfo/scs",
  510. // "/root/init/cmbinfo/dnorrela", "/root/init/cmbinfo/dnorbonebank", "/root/init/cmbinfo/dnorbank",
  511. // "/root/init/cmbinfo/schol", "/root/init/cmbinfo/relign", "/root/init/cmbinfo/job",
  512. // "/root/init/cmbinfo/btype", "/root/init/cmbinfo/maryyn", "/root/init/cmbinfo/sex", "/root/init/cmbinfo/btype", "/root/init/cmbinfo/trnptwardcd", "/root/init/cmbinfo/trnptroomcd", "/root/init/cmbinfo/bmtatdoctlist") );
  513. zbcfGetCodeList( new Array("M0069","M0070","M0068","M0074", "M0151", "P0313", "M0376"),
  514. new Array("/root/init/cmbinfo/schol", "/root/init/cmbinfo/relign", "/root/init/cmbinfo/job",
  515. "/root/init/cmbinfo/btype", "/root/init/cmbinfo/maryyn", "/root/init/cmbinfo/sex", "/root/init/cmbinfo/btype") );
  516. // bmtcommon.js : BMT 진단대분류 조회 : 맨 앞에 공백을 추가해주기 위해서 함수로 변경
  517. abofGetBmtDIagLrgList();
  518. //Regimen 조회(aboGetCodeList()에서 같이 조회)
  519. //abofGetBmtCode("CC", "REGI", "/root/init/cmbinfo/regimen/item");
  520. //cmb_regimen.refresh();
  521. //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
  522. aboGetCodeList(new Array("A0160","A0161","A0162", "A0163", "A0164","A0165","A0479","A0480","A0536", "REGI", "HOSPTEL")
  523. , new Array("/root/init/cmbinfo/trnptbfstat", "/root/init/cmbinfo/trnptkindcd", "/root/init/cmbinfo/scs", "/root/init/cmbinfo/dnorrela","/root/init/cmbinfo/dnorbonebank", "/root/init/cmbinfo/dnorbank","t/root/init/cmbinfo/rnptwardcd", "/root/init/cmbinfo/trnptroomcd", "/root/init/cmbinfo/bmtatdoctlist", "/root/init/cmbinfo/regimen", "/root/init/cmbinfo/hosptellist"));
  524. // common.js : 화면 오픈시 파라미터 정보 체크
  525. if (checkOpener()) { //opener 검사
  526. var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  527. if(param != "") { // opener parameter value가 있는 경우
  528. condarray = param.split("▦");
  529. model.setValue("/root/main/hsctinfo/patinfolist/pid", condarray[0]);
  530. fGetPatientInfo();
  531. return;
  532. }
  533. }
  534. // Opener에서 받은 파라미터가 없으면 Top 정보를 참조한다.
  535. var paminfo = getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
  536. // Top정보가 없으면
  537. if(paminfo != "") {
  538. model.removeNodeset("/root/temp/paminfo"); //여러개의 instance발생을 막기 위해 removeNodeset을 해줘야 함.
  539. model.makeNode("/root/temp/paminfo");
  540. setCSVToNode("/root/temp/paminfo", paminfo);
  541. //상단 정보를 이용하여 프로그램 수행
  542. var pid = model.getValue("/root/temp/paminfo" + "/list/pid");
  543. model.setValue( "/root/main/hsctinfo/patinfolist/pid", pid);
  544. fGetPatientInfo();
  545. }
  546. //회신연락처 가져오기
  547. // model.makeValue("/root/hidden/hosptellist/hosptel/smsreplytelno", "");
  548. // submit("TRABO00108");
  549. // model.setValue("/root/temp/smsinfo/smsreplytelno", model.getValue("/root/hidden/hosptellist/hosptel/smsreplytelno"));
  550. //타부서에서는 버튼 비활성화
  551. btn_save.disabled = !checkAuth("X");
  552. btn_deldnor.disabled = !checkAuth("X");
  553. btn_delete.disabled = !checkAuth("X");
  554. button6.disabled = !checkAuth("X");
  555. model.setFocus("ipt_pid");
  556. ]]>
  557. </script>
  558. <script type="javascript">
  559. <![CDATA[
  560. /* @group : BMT 환자환자관리
  561. * @ver : 2007.11.20
  562. * @by : 남수현
  563. * @type : function
  564. * @access : public
  565. * @desc : BMT 환자 기본정보 및 이식정보 조회
  566. * @param :
  567. */
  568. function fGetPatientInfo() {
  569. // 이전 이식정보에 대한 인스턴스 초기화
  570. fSetInstanceInit();
  571. model.setValue ("/root/send/req/pid" , model.getValue("/root/main/hsctinfo/patinfolist/pid"));
  572. // 이식이력(차수) 조회 : 이 Map은 차수를 보여주는 곳에서 공통으로 사용하므로 수정할 경우 관련 화면을 모두 확인하자
  573. submit("TRABO00102");
  574. // 이식이력이 있을 경우 선택한 차수 정보를 표시한다. 단, 선택한 차수가 없는 경우 맨 마지막 차수정보를 표시한다.
  575. if ( cmb_trnptdg.length > 0 ) {
  576. if(model.getValue("/root/temp/bmtpatientinfo/trnptdg") == "") {
  577. cmb_trnptdg.selectedindex = parseInt(getNodesetCount("/root/temp/trnptdg/item")) - 1;
  578. } else {
  579. cmb_trnptdg.selectedindex = abofGetTrnptDgComboIndex(model.getValue("/root/temp/bmtpatientinfo/trnptdg"));
  580. model.resetInstanceNode("/root/temp/bmtpatientinfo");
  581. }
  582. //세션 정보에 PID 저장(상단정보가 없을 경우에 다른 화면에 PID를 넘기기 위해)
  583. setGlobalVariable("gv_pid", model.getValue("/root/main/hsctinfo/patinfolist/pid"), "A");
  584. fSetDisplay();
  585. // 가장 최근 수진정보 조회
  586. submit("TRABO00107");
  587. //조회된 수진정보를 이용하여 상단정보.
  588. if(!(instance1.selectSingleNode("/root/hidden/paminfolist/pampatinfo"))){
  589. if(checkAuth("X") == true){
  590. // TOP정보를 초기화한다
  591. delPatientInfos();
  592. }
  593. }else{
  594. var pat_info = "";
  595. // var pat_info = model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag")+"▦"+ model.getValue("/root/hidden/paminfolist/pampatinfo[1]/pid") +"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/orddd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/cretno")+"▦"+getUserInfo("dutplcecd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/orddd");
  596. // var pat_info = model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag")+"▦"+ model.getValue("/root/hidden/paminfolist/pampatinfo[1]/pid") +"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/orddd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/cretno")+"▦"+getUserInfo("dutplcecd")+"▦"+ getCurrentDate();
  597. // setParameter("condparam", pat_info);
  598. // modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  599. if(model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag") == "O"){
  600. pat_info = model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag")+"▦"+ model.getValue("/root/hidden/paminfolist/pampatinfo[1]/pid") +"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/orddd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/cretno")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/instcd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/dschdd");
  601. }else {
  602. pat_info = model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag")+"▦"+ model.getValue("/root/hidden/paminfolist/pampatinfo[1]/pid") +"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/orddd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/cretno")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/instcd")+"▦"+ model.getValue("/root/hidden/paminfolist/pampatinfo[1]/dschdd");
  603. }
  604. setParameter("condparam", pat_info);
  605. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  606. }
  607. abofGetBmtCode("DI", model.getValue("/root/main/hsctinfo/trnptinfo/diagcd1"), "/root/init/cmbinfo/mdllist/item")
  608. cmb_diag.refresh();
  609. }
  610. //SMS 단문메시지 보호자명, 보호자연락처, 회신연락처 디폴트 셋팅 , 싱글노드 에러 남(널일때 값이 없음)
  611. //예외 처리, 싱글노드에러
  612. if(!(instance1.selectSingleNode("/root/main/hsctinfo/patinfolist/procernm"))){
  613. model.makeValue ("/root/main/hsctinfo/patinfolist/procernm" , model.getValue("/root/main/hsctinfo/patinfolist/hngnm"));
  614. }else{
  615. model.setValue ("/root/main/hsctinfo/patinfolist/procernm" , model.getValue("/root/main/hsctinfo/patinfolist/hngnm"));
  616. }
  617. if(!(instance1.selectSingleNode("/root/main/hsctinfo/patinfolist/pcntctel"))){
  618. model.makeValue ("/root/main/hsctinfo/patinfolist/pcntctel" , model.getValue("/root/main/hsctinfo/patinfolist/mpphontel"));
  619. }else{
  620. model.setValue ("/root/main/hsctinfo/patinfolist/pcntctel" , model.getValue("/root/main/hsctinfo/patinfolist/mpphontel"));
  621. }
  622. var nodelist = instance1.selectNodes("/root/init/cmbinfo/hosptellist/HOSPTEL");
  623. var hosptel = "";
  624. for(var i = 1; i <= nodelist.length; i++){
  625. if(model.getValue("/root/init/cmbinfo/hosptellist/HOSPTEL[" + i + "]/cdid") == "01"){
  626. hosptel = model.getValue("/root/init/cmbinfo/hosptellist/HOSPTEL[" + i + "]/cdnm")
  627. }
  628. }
  629. if(!(instance1.selectSingleNode("/root/temp/smsinfo/smsreplytelno"))){
  630. model.makeNode ("/root/temp/smsinfo/smsreplytelno" , hosptel);
  631. }else{
  632. model.setValue ("/root/temp/smsinfo/smsreplytelno" , hosptel);
  633. }
  634. model.refresh();
  635. // model.setValue ("/root/temp/smsinfo/smsreplytelno" , model.getValue("/root/main/hsctinfo/patinfolist/pid"));
  636. }
  637. /* @group : BMT 환자환자관리
  638. * @ver : 2008.01.24
  639. * @by : 남수현
  640. * @-----------------------------------
  641. * @type : function
  642. * @access : public
  643. * @desc : 조회된 이식정보를 기준으로 화면을 표시
  644. */
  645. function fSetDisplay() {
  646. model.setValue ("/root/send/req/pid" , model.getValue("/root/main/hsctinfo/patinfolist/pid"));
  647. model.setValue ("/root/send/req/trnptdg", model.getValue( "/root/main/trnptdg"));
  648. // 환자의 기본정보, 이식정보, 공여자정보, 이식전검사결과 정보 등을 조회한다.
  649. if ( submit("TRABO00101") ) {
  650. var sdethdd = model.getValue("/root/main/hsctinfo/patinfolist/dethdd");
  651. var strnptdd = model.getValue("/root/main/hsctinfo/trnptinfo/trnptdd");
  652. var sindschacptstat = model.getValue("/root/main/hsctinfo/patinfolist/indschacptstat");
  653. var strnptkind = model.getValue("/root/main/hsctinfo/trnptinfo/trnptkind");
  654. var strnptkindcd = model.getValue("/root/main/hsctinfo/trnptinfo/trnptkindcd");
  655. // 이식종류가 지정 안되었거나 AUTO인 경우
  656. if ( strnptkind == "" || strnptkind == "-" || strnptkind == "1" ) {
  657. fSetDisabled("AUTO");
  658. } else if ( strnptkindcd == "07" || strnptkindcd == "08" ) {
  659. // Sub 이식종류가 Unrelated이면
  660. model.setValue("/root/main/hsctinfo/dnorinfo/dnorbtype" , model.getValue("/root/main/hsctinfo/ubmtinfo/dnorbtype"));
  661. model.setValue("/root/main/hsctinfo/dnorinfo/dnorbdwt" , model.getValue("/root/main/hsctinfo/ubmtinfo/dnorbdwt"));
  662. model.setValue("/root/main/hsctinfo/dnorinfo/dnorbdht" , model.getValue("/root/main/hsctinfo/ubmtinfo/dnorbdht"));
  663. model.setValue("/root/main/hsctinfo/dnorinfo/dnormaryyn" , model.getValue("/root/main/hsctinfo/ubmtinfo/dnormaryyn"));
  664. model.setValue("/root/main/hsctinfo/dnorinfo/dnorprgcnt" , model.getValue("/root/main/hsctinfo/ubmtinfo/dnorprgcnt"));
  665. model.setValue("/root/main/hsctinfo/dnorinfo/dnorchldrncnt", model.getValue("/root/main/hsctinfo/ubmtinfo/dnorchldrncnt"));
  666. model.setValue("/root/main/hsctinfo/dnorinfo/dnorschol" , model.getValue("/root/main/hsctinfo/ubmtinfo/dnorschol"));
  667. model.setValue("/root/main/hsctinfo/dnorinfo/dnorjob" , model.getValue("/root/main/hsctinfo/ubmtinfo/dnorjob"));
  668. model.setValue("/root/main/hsctinfo/dnorinfo/dnorrelign" , model.getValue("/root/main/hsctinfo/ubmtinfo/dnorrelign"));
  669. fSetDisabled("UBMT");
  670. } else if ( strnptkindcd == "09" || strnptkindcd == "10" ) {
  671. fSetDisabled("CORD");
  672. } else {
  673. fSetDisabled("ALLO");
  674. }
  675. // 이식종류를 변경할 때 이전에 공여자가 정리되지 않은 상태에서 변경할려고 할 때 변경하지 못하게 하기 위함.
  676. // 이때 Sub이식종류를 원래꺼로 돌리기 위해서 이전 정보를 백업한다.
  677. model.setValue("/root/temp/trnptkindcd", strnptkindcd);
  678. // 이식정보를 조회한 후에 진단명 대분류가 있을 경우 대분류에 대한 소분류 리스트를 가져온다.
  679. if ( model.getValue("/root/main/hsctinfo/trnptinfo/diagcd1") != "" || model.getValue("/root/main/hsctinfo/trnptinfo/diagcd1") != "-" ) {
  680. model.setValue("/root/send/hsctlrgcd", model.getValue("/root/main/hsctinfo/trnptinfo/diagcd1"));
  681. submit("TRABO02102");
  682. }
  683. // karnofsky와 lansky는 둘중에 하나만 작성해야 한다.
  684. if ( model.getValue("/root/main/hsctinfo/trnptinfo/karnofskyyn") == "Y" ) {
  685. btn_lansky.disabled = "true";
  686. bool_lansky.disabled = "true";
  687. btn_karnofsky.disabled = "false";
  688. bool_karnofsky.disabled = "false";
  689. } else if ( model.getValue("/root/main/hsctinfo/trnptinfo/lanskyyn") == "Y" ) {
  690. btn_lansky.disabled = "false";
  691. bool_lansky.disabled = "false";
  692. btn_karnofsky.disabled = "true";
  693. bool_karnofsky.disabled = "true";
  694. } else {
  695. btn_lansky.disabled = "false";
  696. bool_lansky.disabled = "true";
  697. btn_karnofsky.disabled = "false";
  698. bool_karnofsky.disabled = "true";
  699. }
  700. var strnptdd = model.getValue("/root/main/hsctinfo/trnptinfo/trnptdd");
  701. var scurrentdd = getCurrentDate().toDate().getAddDate(0,"M").getDateFormat("YYYYMMDD");
  702. // 이식일자가 지나면 환자의 이식전혈액형 정보는 비활성화시킨다.
  703. if ( strnptdd != "00000000" && strnptdd < scurrentdd ) {
  704. cmb_pattrnptbfbtype.disabled = "true";
  705. } else {
  706. cmb_pattrnptbfbtype.disabled = "false";
  707. }
  708. // 이식일자가 아직 결정되지 않았으면 CIBMTR 관련 정보[100 day, 6개월 등]는 모두 비활성화 시킨다.
  709. if ( strnptdd == "00000000" ) {
  710. bool_cnfmyn01.disabled = "true";
  711. bool_cnfmyn02.disabled = "true";
  712. bool_cnfmyn03.disabled = "true";
  713. bool_cnfmyn04.disabled = "true";
  714. bool_cnfmyn05.disabled = "true";
  715. bool_cnfmyn06.disabled = "true";
  716. bool_cnfmyn07.disabled = "true";
  717. } else {
  718. bool_cnfmyn01.disabled = "false";
  719. bool_cnfmyn02.disabled = "false";
  720. bool_cnfmyn03.disabled = "false";
  721. bool_cnfmyn04.disabled = "false";
  722. bool_cnfmyn05.disabled = "false";
  723. bool_cnfmyn06.disabled = "false";
  724. bool_cnfmyn07.disabled = "false";
  725. }
  726. // 환자이름 : 사망환자-빨간색, 이식후-파란색, 이식전-검은색으로 표시
  727. // 1. 정보조회시 기본 검은색으로 표시
  728. ipt_hngnm.attribute("color") = "black";
  729. // 환자의 사망정보가 없으면
  730. if (sdethdd == "00000000" || sdethdd == "") {
  731. if (sindschacptstat == "A") {
  732. // 이식후에 현재 입원중일 경우 이식일로부터의 일수를 표시한다.
  733. cap_days.attribute("text") = "이식일로부터 Day 수(입원중)";
  734. } else {
  735. // 이식후에 현재 입원중이 아니고, 마지막 외래 정보가 있을 경우 이식일로부터의 일수를 표시한다.
  736. cap_days.attribute("text") = "이식일로부터 마지막 외래일 Day수";
  737. }
  738. //이식후인 경우는 파란색으로 설정
  739. if ( strnptdd != "00000000" && strnptdd <= scurrentdd ) {
  740. ipt_hngnm.attribute("color") = "blue";
  741. }
  742. } else {
  743. // 이식후에 현재 사망했으면 이식일로부터의 사망일자까지의 일수를 표시한다.
  744. cap_days.attribute("text") = "이식일로부터 사망일까지";
  745. // 이식후에 현재 사망했으면 환자이름을 빨간색으로 표시한다.
  746. ipt_hngnm.attribute("color") = "red";
  747. }
  748. // 환자의 사망정보가 있을 때 BMT 쪽에 미등록되어 있으면 색상으로 표시해준다.
  749. if ( model.getValue("/root/main/hsctinfo/patinfolist/dethrgstyn") == "N" && sdethdd != "00000000" ) {
  750. opt_dethdd.attribute("border-color") = "red";
  751. } else {
  752. opt_dethdd.attribute("border-color") = "#c0c0c0";
  753. }
  754. // 환자의 체중을 간호기록에서 가져오는 경우 색상으로 표시해준다.
  755. if ( model.getValue("/root/main/hsctinfo/trnptinfo/patbdwtnur") == "Y" ) {
  756. ipt_patbdwt.attribute("border-color") = "red";
  757. } else {
  758. ipt_patbdwt.attribute("border-color") = "#c0c0c0";
  759. }
  760. // 환자의 신장을 간호기록에서 가져오는 경우 색상으로 표시해준다.
  761. if ( model.getValue("/root/main/hsctinfo/trnptinfo/patbdhtnur") == "Y" ) {
  762. ipt_patbdht.attribute("border-color") = "red";
  763. } else {
  764. ipt_patbdht.attribute("border-color") = "#c0c0c0";
  765. }
  766. // 환자의 결혼여부를 간호기록에서 가져오는 경우 색상으로 표시해준다.
  767. if ( model.getValue("/root/main/hsctinfo/trnptinfo/patmaryynnur") == "Y" ) {
  768. cmb_patmaryyn.attribute("border-color") = "red";
  769. } else {
  770. cmb_patmaryyn.attribute("border-color") = "#c0c0c0";
  771. }
  772. // 환자의 학력을 간호기록에서 가져오는 경우 색깔로 표시해준다.
  773. if ( model.getValue("/root/main/hsctinfo/trnptinfo/patscholnur") == "Y" ) {
  774. cmb_patschol.attribute("border-color") = "red";
  775. } else {
  776. cmb_patschol.attribute("border-color") = "#c0c0c0";
  777. }
  778. // 환자의 직업을 간호기록에서 가져오는 경우 색깔로 표시해준다.
  779. if ( model.getValue("/root/main/hsctinfo/trnptinfo/patjobnur") == "Y" ) {
  780. cmb_patjob.attribute("border-color") = "red";
  781. } else {
  782. cmb_patjob.attribute("border-color") = "#c0c0c0";
  783. }
  784. // 환자의 종교를 간호기록에서 가져오는 경우 색깔로 표시해준다.
  785. if ( model.getValue("/root/main/hsctinfo/trnptinfo/patrelignnur") == "Y" ) {
  786. cmb_patrelign.attribute("border-color") = "red";
  787. } else {
  788. cmb_patrelign.attribute("border-color") = "#c0c0c0";
  789. }
  790. // 환자의 임신횟수를 간호기록에서 가져오는 경우 색깔로 표시해준다.
  791. if ( model.getValue("/root/main/hsctinfo/trnptinfo/patprgcntnur") == "Y" ) {
  792. ipt_patprgcnt.attribute("border-color") = "red";
  793. } else {
  794. ipt_patprgcnt.attribute("border-color") = "#c0c0c0";
  795. }
  796. // 환자의 자녀수를 간호기록에서 가져오는 경우 색깔로 표시해준다.
  797. if ( model.getValue("/root/main/hsctinfo/trnptinfo/patchldrncntnur") == "Y" ) {
  798. ipt_patchldrncnt.attribute("border-color") = "red";
  799. } else {
  800. ipt_patchldrncnt.attribute("border-color") = "#c0c0c0";
  801. }
  802. // Related일 때 공여자등록번호를 원무환자기본정보에서 가져오는 경우 색깔로 표시해준다.
  803. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorpidpam") == "Y" ) {
  804. ipt_dnorpid.attribute("border-color") = "red";
  805. } else {
  806. ipt_dnorpid.attribute("border-color") = "#c0c0c0";
  807. }
  808. //Related일 때 공여자 등록번호가 있을 경우 공여자의 체중을 간호기록에서 가져오는 경우 색상으로 표시해준다.
  809. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorbdwtnur") == "Y" ) {
  810. ipt_dnorbdwt.attribute("border-color") = "red";
  811. } else {
  812. ipt_dnorbdwt.attribute("border-color") = "#c0c0c0";
  813. }
  814. // Related일 때 공여자 등록번호가 있을 경우 공여자의 신장을 간호기록에서 가져오는 경우 색상으로 표시해준다.
  815. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorbdhtnur") == "Y" ) {
  816. ipt_dnorbdht.attribute("border-color") = "red";
  817. } else {
  818. ipt_dnorbdht.attribute("border-color") = "#c0c0c0";
  819. }
  820. // Related일 때 공여자 등록번호가 있을 경우 공여자의 결혼여부를 간호기록에서 가져오는 경우 색깔로 표시해준다.
  821. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnormaryynnur") == "Y" ) {
  822. cmb_dnormaryyn.attribute("border-color") = "red";
  823. } else {
  824. cmb_dnormaryyn.attribute("border-color") = "#c0c0c0";
  825. }
  826. // Related일 때 공여자 등록번호가 있을 경우 공여자의 학력을 간호기록에서 가져오는 경우 색깔로 표시해준다.
  827. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorscholnur") == "Y" ) {
  828. cmb_dnorschol.attribute("border-color") = "red";
  829. } else {
  830. cmb_dnorschol.attribute("border-color") = "#c0c0c0";
  831. }
  832. // Related일 때 공여자 등록번호가 있을 경우 공여자의 직업을 간호기록에서 가져오는 경우 색깔로 표시해준다.
  833. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorjobnur") == "Y" ) {
  834. cmb_dnorjob.attribute("border-color") = "red";
  835. } else {
  836. cmb_dnorjob.attribute("border-color") = "#c0c0c0";
  837. }
  838. // Related일 때 공여자 등록번호가 있을 경우 공여자의 종교를 간호기록에서 가져오는 경우 색깔로 표시해준다.
  839. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorrelignnur") == "Y" ) {
  840. cmb_dnorrelign.attribute("border-color") = "red";
  841. } else {
  842. cmb_dnorrelign.attribute("border-color") = "#c0c0c0";
  843. }
  844. // Related일 때 공여자 등록번호가 있을 경우 공여자의 임신횟수를 간호기록에서 가져오는 경우 색깔로 표시해준다.
  845. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorprgcntnur") == "Y" ) {
  846. ipt_dnorprgcnt.attribute("border-color") = "red";
  847. } else {
  848. ipt_dnorprgcnt.attribute("border-color") = "#c0c0c0";
  849. }
  850. // Related일 때 공여자 등록번호가 있을 경우 공여자의 자녀수를 간호기록에서 가져오는 경우 색깔로 표시해준다.
  851. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorchldrncntnur") == "Y" ) {
  852. ipt_dnorchldrncnt.attribute("border-color") = "red";
  853. } else {
  854. ipt_dnorchldrncnt.attribute("border-color") = "#c0c0c0";
  855. }
  856. // Related일 때 공여자 등록번호가 있을 경우 공여자의 혈액형을 검사결과에서 가져오는 경우 색깔로 표시해준다.
  857. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorbtypenew") == "Y" ) {
  858. cmb_dnorbtype.attribute("border-color") = "red";
  859. } else {
  860. cmb_dnorbtype.attribute("border-color") = "#c0c0c0";
  861. }
  862. // 시행여부가 유일때만 실패를 선택할 수 있게 한다.
  863. if ( model.getValue("/root/main/hsctinfo/trnptinfo/execyn") == "Y" ) {
  864. bool_execfailyn.disabled = "false";
  865. } else {
  866. bool_execfailyn.disabled = "true";
  867. }
  868. // 보험요청을 할 때 같은일자로 보험요청을 할 경우 메시지를 표시하기 위해서
  869. model.setValue("/root/temp/insureqdd", model.getValue("/root/main/hsctinfo/trnptinfo/insureqdd"));
  870. }
  871. //환자 조회시 이전 조회한 환자와 현재 조회할 환자를 비교해서 다를 경우에는 이식 정보를 리셋시켜준기 위해서..
  872. //이식 정보가 남아 있으면 기존 이식차수로 조회를 하게 된다. (새로 조회하는 환자는 항상 최대차수로 조회)
  873. model.setValue("/root/temp/bfPid", model.getValue("/root/send/req/pid"));
  874. }
  875. /* @group : BMT 환자관리
  876. * @ver : 2008.01.24
  877. * @by : 남수현
  878. * @-----------------------------------
  879. * @type : function
  880. * @access : public
  881. * @desc : 긴급알림(SMS) 처리 Function
  882. */
  883. function fExeUgcyAlert() {
  884. if ( model.getValue("/root/temp/smsinfo/smsselpat") != "Y" && model.getValue("/root/temp/smsinfo/smsselprocer") != "Y" ) {
  885. return;
  886. }
  887. model.removeNodeset("/root/send/smsdata");
  888. model.copyNode("/root/send/smsdata", "/root/temp/smsdata");
  889. model.makeValue("/root/send/smsdata/bizabbr" , "emr");
  890. model.makeValue("/root/send/smsdata/replytelno", model.getValue("/root/temp/smsinfo/smsreplytelno"));
  891. model.makeValue("/root/send/smsdata/rsrvyn" , "0");
  892. model.makeValue("/root/send/smsdata/rsrvdate" , "");
  893. model.makeValue("/root/send/smsdata/rsrvtime" , "");
  894. model.makeValue("/root/send/smsdata/msgcnts" , model.getValue("/root/temp/smsinfo/smsreply"));
  895. if ( model.getValue("/root/temp/smsinfo/smsselpat") == "Y" ) {
  896. model.makeValue("/root/send/smsdata/recvrlist[" + 1 + "]/chk", "Y");
  897. model.makeValue("/root/send/smsdata/recvrlist[" + 1 + "]/recvrnm", model.getValue("/root/main/hsctinfo/patinfolist/hngnm"));
  898. model.makeValue("/root/send/smsdata/recvrlist[" + 1 + "]/recvrtelno", model.getValue("/root/main/hsctinfo/patinfolist/mpphontel").setReplaceWord("-", ""));
  899. if ( model.getValue("/root/temp/smsinfo/smsselprocer") == "Y" ) {
  900. model.makeValue("/root/send/smsdata/recvrlist[" + 2 + "]/chk", "Y");
  901. model.makeValue("/root/send/smsdata/recvrlist[" + 2 + "]/recvrnm", model.getValue("/root/main/hsctinfo/patinfolist/procernm"));
  902. model.makeValue("/root/send/smsdata/recvrlist[" + 2 + "]/recvrtelno", model.getValue("/root/main/hsctinfo/patinfolist/pcntctel").setReplaceWord("-", ""));
  903. } else {
  904. // 환자만 선택했을 경우에 2번째 Row는 삭제
  905. model.removeNodeset("/root/send/smsdata/recvrlist[" + 2 + "]");
  906. }
  907. } else if ( model.getValue("/root/temp/smsinfo/smsselprocer") == "Y" ) {
  908. model.makeValue("/root/send/smsdata/recvrlist[" + 1 + "]/chk", "Y");
  909. model.makeValue("/root/send/smsdata/recvrlist[" + 1 + "]/recvrnm", model.getValue("/root/main/hsctinfo/patinfolist/procernm"));
  910. model.makeValue("/root/send/smsdata/recvrlist[" + 1 + "]/recvrtelno", model.getValue("/root/main/hsctinfo/patinfolist/pcntctel").setReplaceWord("-", ""));
  911. // 보호자만 선택했을 경우에 2번째 Row는 삭제
  912. model.removeNodeset("/root/send/smsdata/recvrlist[" + 2 + "]");
  913. }
  914. //--------------------------------
  915. model.refresh();
  916. zmsfOpenSMS("/root/send/smsdata");
  917. }
  918. /* @group : BMT 환자관리
  919. * @ver : 2008.07.24
  920. * @by : 남수현
  921. * @-----------------------------------
  922. * @type : function
  923. * @access : public
  924. * @desc : 이식종류에 따라 컨트롤 활성화/비활성화 처리
  925. */
  926. function fSetDisabled(setFlag) {
  927. if ( setFlag == "AUTO" || setFlag == "CORD" ) {
  928. if ( setFlag == "AUTO" ) {
  929. model.toggle("case1"); // Related 버튼 선택
  930. case1.disabled = true; // 공여자정보는 모두 비활성화
  931. btn_related.selected = true; // Related 버튼 선택
  932. cmb_trnptkindcd.disabled = true; // Sub이식종류 콤보 비활성화
  933. } else if ( setFlag == "CORD" ) {
  934. model.toggle("case3");
  935. btn_cord.selected = true;
  936. cmb_trnptkindcd.disabled = false; // Sub이식종류 콤보 활성화
  937. }
  938. // 환자/공여자 정보 중 공여자 항목 모두 비활성화
  939. cmb_dnorbtype.disabled = true;
  940. ipt_dnorbdwt.disabled = true;
  941. ipt_dnorbdht.disabled = true;
  942. cmb_dnormaryyn.disabled = true;
  943. ipt_dnorprgcnt.disabled = true;
  944. ipt_dnorchldrncnt.disabled = true;
  945. cmb_dnorschol.disabled = true;
  946. cmb_dnorjob.disabled = true;
  947. cmb_dnorrelign.disabled = true;
  948. } else if ( setFlag == "ALLO" || setFlag == "UBMT" ) {
  949. if ( setFlag == "ALLO" ) {
  950. model.toggle("case1");
  951. case1.disabled = false;
  952. btn_related.selected = true;
  953. } else if ( setFlag == "UBMT" ) {
  954. model.toggle("case2");
  955. btn_unrelated.selected = true;
  956. }
  957. cmb_trnptkindcd.disabled = false; // Sub이식종류 콤보 활성화
  958. cmb_dnorbtype.disabled = false;
  959. ipt_dnorbdwt.disabled = false;
  960. ipt_dnorbdht.disabled = false;
  961. cmb_dnormaryyn.disabled = false;
  962. ipt_dnorprgcnt.disabled = false;
  963. ipt_dnorchldrncnt.disabled = false;
  964. cmb_dnorschol.disabled = false;
  965. cmb_dnorjob.disabled = false;
  966. cmb_dnorrelign.disabled = false;
  967. }
  968. }
  969. /* @group : BMT 환자관리
  970. * @ver : 2008.06.10
  971. * @by : 남수현
  972. * @type : function
  973. * @access : public
  974. * @desc : 비혈연간 조혈모세포이식 진행정보 오픈
  975. * @param : pid [등록번호]
  976. */
  977. function fOpenPopupUBMTSearch() {
  978. var pid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  979. var sflag = pid;
  980. setParameter("opener_parameter_id", sflag);
  981. modal("SMABO00200", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
  982. }
  983. /* @group : BMT 환자관리
  984. * @ver : 2008.06.10
  985. * @by : 남수현
  986. * @type : function
  987. * @access : public
  988. * @desc : CORD 진행정보 오픈
  989. * @param : pid [등록번호]
  990. */
  991. function fOpenPopupCordSearch() {
  992. var pid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  993. var sflag = pid;
  994. setParameter("opener_parameter_id", sflag);
  995. modal("SMABO00500", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
  996. }
  997. /* @group : BMT 환자관리
  998. * @ver : 2008.06.10
  999. * @by : 남수현
  1000. * @type : function
  1001. * @access : public
  1002. * @desc : 화면 초기화
  1003. * @param : paramAll [ A:전체초기화, P:부분초기화]
  1004. */
  1005. function fSetDisplayInit(paramAll) {
  1006. case1.disabled = true;
  1007. btn_related.selected = true;
  1008. model.toggle("case1");
  1009. cmb_pattrnptbfbtype.disabled = "false";
  1010. ipt_patbdwt.attribute("border-color") = "#c0c0c0";
  1011. ipt_patbdht.attribute("border-color") = "#c0c0c0";
  1012. cmb_patmaryyn.attribute("border-color") = "#c0c0c0";
  1013. ipt_patprgcnt.attribute("border-color") = "#c0c0c0";
  1014. ipt_patchldrncnt.attribute("border-color") = "#c0c0c0";
  1015. cmb_patschol.attribute("border-color") = "#c0c0c0";
  1016. cmb_patjob.attribute("border-color") = "#c0c0c0";
  1017. cmb_patrelign.attribute("border-color") = "#c0c0c0";
  1018. ipt_dnorpid.attribute("border-color") = "#c0c0c0";
  1019. cmb_dnorbtype.attribute("border-color") = "#c0c0c0";
  1020. ipt_dnorbdwt.attribute("border-color") = "#c0c0c0";
  1021. ipt_dnorbdht.attribute("border-color") = "#c0c0c0";
  1022. cmb_dnormaryyn.attribute("border-color") = "#c0c0c0";
  1023. ipt_dnorprgcnt.attribute("border-color") = "#c0c0c0";
  1024. ipt_dnorchldrncnt.attribute("border-color") = "#c0c0c0";
  1025. cmb_dnorschol.attribute("border-color") = "#c0c0c0";
  1026. cmb_dnorjob.attribute("border-color") = "#c0c0c0";
  1027. cmb_dnorrelign.attribute("border-color") = "#c0c0c0";
  1028. if ( paramAll == "A" ) {
  1029. // TOP정보를 초기화한다
  1030. delPatientInfos();
  1031. ipt_hngnm.attribute("color") = "black";
  1032. opt_dethdd.attribute("border-color") = "#c0c0c0";
  1033. model.reset();
  1034. }
  1035. }
  1036. /* @group : BMT 환자관리
  1037. * @ver : 2008.06.10
  1038. * @by : 남수현
  1039. * @type : function
  1040. * @access : public
  1041. * @desc : 선택한 환자의 현재 조회된 이식차수에 대한 인스턴스만 초기화
  1042. * @param :
  1043. */
  1044. function fSetInstanceInit() {
  1045. model.resetInstanceNode("/root/main/hsctinfo/trnptinfo");
  1046. model.resetInstanceNode("/root/main/hsctinfo/dnorinfo");
  1047. model.resetInstanceNode("/root/main/hsctinfo/ubmtinfo");
  1048. model.resetInstanceNode("/root/main/hsctinfo/cordinfo");
  1049. model.resetInstanceNode("/root/main/hsctinfo/cibmtrinfo");
  1050. model.resetInstanceNode("/root/main/hsctinfo/trnptaftddinfo");
  1051. model.resetInstanceNode("/root/send/req/patdata/patinfolist");
  1052. model.resetInstanceNode("/root/send/req/patdata/trnptinfo");
  1053. model.resetInstanceNode("/root/send/req/patdata/ubmtinfo");
  1054. model.resetInstanceNode("/root/send/req/patdata/cibmtrinfo");
  1055. model.resetInstanceNode("/root/send/req/patdata/dnorinfo");
  1056. // model.resetInstanceNode("/root/send/req/donordata/dnorinfo");
  1057. // CIBMTR F/U 관련 일자 확인은 모두 비활성화
  1058. bool_cnfmyn01.disabled = "true";
  1059. bool_cnfmyn02.disabled = "true";
  1060. bool_cnfmyn03.disabled = "true";
  1061. bool_cnfmyn04.disabled = "true";
  1062. bool_cnfmyn05.disabled = "true";
  1063. bool_cnfmyn06.disabled = "true";
  1064. bool_cnfmyn07.disabled = "true";
  1065. fSetDisplayInit("P");
  1066. }
  1067. /* @group : BMT 환자관리
  1068. * @ver : 2008.06.10
  1069. * @by : 남수현
  1070. * @type : function
  1071. * @access : public
  1072. * @desc : 데이터 저장
  1073. * @param :
  1074. */
  1075. function fSaveData() {
  1076. model.resetInstanceNode("/root/send/req/patdata/patinfolist");
  1077. model.resetInstanceNode("/root/send/req/patdata/trnptinfo");
  1078. model.copyNode ("/root/send/req/patdata/patinfolist", "/root/main/hsctinfo/patinfolist"); // BMT 환자기본정보
  1079. model.copyNode ("/root/send/req/patdata/trnptinfo" , "/root/main/hsctinfo/trnptinfo"); // BMT 환자 차수별 이식정보
  1080. model.setValue( "/root/send/req/patdata/trnptinfo/trnptdg",model.getValue( "/root/main/trnptdg"));
  1081. var strnptkindcd = model.getValue("/root/main/hsctinfo/trnptinfo/trnptkindcd");
  1082. if ( strnptkindcd == "07" || strnptkindcd == "08" ) {
  1083. // Unrelated 공여자의 추가정보
  1084. if ( model.getValue("/root/main/hsctinfo/ubmtinfo/dnorid") != "" ) {
  1085. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorprgcnt") != "") {
  1086. model.setValue("/root/main/hsctinfo/ubmtinfo/dnorprgcnt", model.getValue("/root/main/hsctinfo/dnorinfo/dnorprgcnt"));
  1087. }
  1088. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorchldrncnt") != "") {
  1089. model.setValue("/root/main/hsctinfo/ubmtinfo/dnorchldrncnt", model.getValue("/root/main/hsctinfo/dnorinfo/dnorchldrncnt"));
  1090. }
  1091. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorschol") != "") {
  1092. model.setValue("/root/main/hsctinfo/ubmtinfo/dnorschol", model.getValue("/root/main/hsctinfo/dnorinfo/dnorschol"));
  1093. }
  1094. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorjob") != "") {
  1095. model.setValue("/root/main/hsctinfo/ubmtinfo/dnorjob", model.getValue("/root/main/hsctinfo/dnorinfo/dnorjob"));
  1096. }
  1097. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorrelign") != "") {
  1098. model.setValue("/root/main/hsctinfo/ubmtinfo/dnorrelign", model.getValue("/root/main/hsctinfo/dnorinfo/dnorrelign"));
  1099. }
  1100. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnormaryyn") != "") {
  1101. model.setValue("/root/main/hsctinfo/ubmtinfo/dnormaryyn", model.getValue("/root/main/hsctinfo/dnorinfo/dnormaryyn"));
  1102. }
  1103. }
  1104. //Related 공여자관련 기존자료 초기화
  1105. model.removenode("/root/send/req/patdata/dnorinfo");
  1106. model.makeNode("/root/send/req/patdata/dnorinfo");
  1107. model.copyNode ( "/root/send/req/patdata/ubmtinfo" , "/root/main/hsctinfo/ubmtinfo");
  1108. } else if ( strnptkindcd == "" || (strnptkindcd >= "01" && strnptkindcd <= "06") ) {
  1109. // Related 공여자 정보 : Allo를 선택했으나 Sub 이식종류를 선택하지 않은 경우에 일단 Related로 생각하자
  1110. // UBMT공여자관련 기존자료 초기화
  1111. model.removenode("/root/send/req/patdata/ubmtinfo");
  1112. model.makeNode("/root/send/req/patdata/ubmtinfo");
  1113. model.copyNode( "/root/send/req/patdata/dnorinfo", "/root/main/hsctinfo/dnorinfo");
  1114. model.setValue( "/root/send/req/patdata/dnorinfo/pid", model.getValue("/root/main/hsctinfo/patinfolist/pid"));
  1115. model.setValue( "/root/send/req/patdata/dnorinfo/trnptdg", model.getValue("/root/main/trnptdg"));
  1116. }
  1117. model.setValue( "/root/send/req/patdata/cibmtrinfo", grd_trnptaftstat.getUpdateData()); // CIBMTR 관련 F/U 일자 저장
  1118. if ( submit("TXABO00101") ) {
  1119. // 저장한 후에는 저장시의 차수에 대한 정보를 보여주기 위해서 "/root/temp/bmtpatientinfo/trnptdg" 저장차수를 보관해두자
  1120. model.setValue("/root/temp/bmtpatientinfo/trnptdg", model.getValue("/root/main/trnptdg"));
  1121. // 신규로 차수로 생성할 수도 있으므로 차수정보도 다시 조회해오자
  1122. fGetPatientInfo();
  1123. };
  1124. }
  1125. function fCheckCibmtr(paramYN, paramStatddNode, paramCntsnmNode, paramRowNode) {
  1126. if ( paramYN == "Y" ) {
  1127. if ( model.getValue(paramRowNode) == "" ) {
  1128. grd_trnptaftstat.addRow(false, true);
  1129. model.setValue("/root/main/hsctinfo/cibmtrinfo[" + grd_trnptaftstat.row + "]/cntsnm" , model.getValue(paramCntsnmNode));
  1130. model.setValue("/root/main/hsctinfo/cibmtrinfo[" + grd_trnptaftstat.row + "]/statdd" , model.getValue(paramStatddNode));
  1131. model.setValue("/root/main/hsctinfo/cibmtrinfo[" + grd_trnptaftstat.row + "]/cnfmdd" , getCurrentDate());
  1132. model.setValue(paramRowNode, grd_trnptaftstat.row);
  1133. } else {
  1134. grd_trnptaftstat.rowStatus(model.getValue(paramRowNode)) = 0;
  1135. }
  1136. } else if ( paramYN == "N" ) {
  1137. if ( grd_trnptaftstat.rowStatus(model.getValue(paramRowNode)) == 1 ) {
  1138. grd_trnptaftstat.deleteItem(model.getValue(paramRowNode));
  1139. model.setValue(paramRowNode, "");
  1140. } else {
  1141. grd_trnptaftstat.rowStatus(model.getValue(paramRowNode)) = 4;
  1142. }
  1143. }
  1144. }
  1145. ]]>
  1146. </script>
  1147. <submission id="TRZBC00101"/>
  1148. <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
  1149. <submission id="TRABO00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/hosptellist"/>
  1150. </model>
  1151. </xhtml:head>
  1152. <xhtml:body guideline="1,1194;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1153. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  1154. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">BMT 환자관리</caption>
  1155. </group>
  1156. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  1157. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; font-family:돋움; vertical-align:middle; ">인적사항</caption>
  1158. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  1159. <button id="button33" class="icon_search" style="left:183px; top:33px; width:16px; height:16px; ">
  1160. <caption/>
  1161. <script type="javascript" ev:event="DOMActivate">
  1162. <![CDATA[
  1163. fSetDisplayInit("A");
  1164. if ( abofGetPamPatientSearch("/root/main/hsctinfo/patinfolist", "/root/main/patinfo/patinfolist", "A") ) {
  1165. fGetPatientInfo();
  1166. }
  1167. ]]>
  1168. </script>
  1169. </button>
  1170. <line id="line3" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
  1171. <button id="button37" class="icon_search" style="left:183px; top:57px; width:16px; height:16px; ">
  1172. <caption/>
  1173. <script type="javascript" ev:event="DOMActivate">
  1174. <![CDATA[
  1175. var rcv_zipcdhead_path = "/root/main/hsctinfo/patinfolist/zipcd1";
  1176. var rcv_zipcdfoot_path = "/root/main/hsctinfo/patinfolist/zipcd2";
  1177. var rcv_seqno_path = "/root/main/hsctinfo/patinfolist/zipcdseq";
  1178. var rcv_address_path = "/root/main/hsctinfo/patinfolist/addr";
  1179. var term = model.getValue("recv_zipcdhead_path");
  1180. zbcfOpenZipCodeList("address", term, rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
  1181. ]]>
  1182. </script>
  1183. </button>
  1184. <input id="input21" ref="/root/main/hsctinfo/patinfolist/zipcd1" class="input_default" disabled="true" style="left:93px; top:55px; width:30px; height:19px; text-align:center; "/>
  1185. <input id="input26" ref="/root/main/hsctinfo/patinfolist/zipcd2" class="input_default" disabled="true" style="left:143px; top:55px; width:37px; height:19px; text-align:center; "/>
  1186. <input id="input30" ref="/root/main/hsctinfo/patinfolist/addr" class="input_default" disabled="true" style="left:200px; top:55px; width:352px; height:19px; "/>
  1187. <input id="input35" ref="/root/main/hsctinfo/patinfolist/cntcaddr" class="input_default" style="left:93px; top:79px; width:459px; height:19px; "/>
  1188. <input id="input44" ref="/root/main/hsctinfo/patinfolist/age" class="input_default" disabled="true" style="left:499px; top:31px; width:53px; height:19px; text-align:center; "/>
  1189. <input id="input36" ref="/root/main/hsctinfo/patinfolist/rrgstno1" class="input_default" disabled="true" style="left:303px; top:31px; width:52px; height:19px; text-align:center; "/>
  1190. <input id="input20" ref="/root/main/hsctinfo/patinfolist/cntctel" class="input_default" style="left:653px; top:31px; width:115px; height:19px; text-align:center; "/>
  1191. <input id="input2" ref="/root/main/hsctinfo/patinfolist/mpphontel" class="input_default" style="left:869px; top:31px; width:110px; height:19px; text-align:center; "/>
  1192. <input id="input5" ref="/root/main/hsctinfo/patinfolist/email" class="input_default" style="left:1075px; top:31px; width:119px; height:19px; "/>
  1193. <line id="line4" class="line_1" style="x1:0px; y1:126px; x2:649px; y2:126px; "/>
  1194. <input id="input15" ref="/root/main/hsctinfo/trnptinfo/totdg" class="input_default" disabled="true" style="left:93px; top:228px; width:90px; height:19px; text-align:center; "/>
  1195. <select1 id="combo4" ref="/root/main/hsctinfo/trnptinfo/trnptbfstat" class="combo_default" appearance="minimal" style="left:279px; top:204px; width:90px; height:19px; ">
  1196. <choices>
  1197. <itemset nodeset="/root/init/cmbinfo/trnptbfstat/A0160">
  1198. <label ref="cdnm"/>
  1199. <value ref="cdid"/>
  1200. </itemset>
  1201. </choices>
  1202. </select1>
  1203. <select1 id="radio2" ref="/root/main/hsctinfo/trnptinfo/trnptkind" class="radio_default" appearance="full" cols="2" rows="1" overflow="visible" style="left:93px; top:156px; width:90px; height:20px; border-style:none; ">
  1204. <choices>
  1205. <item>
  1206. <label>자가</label>
  1207. <value>1</value>
  1208. </item>
  1209. <item>
  1210. <label>동종</label>
  1211. <value>2</value>
  1212. </item>
  1213. </choices>
  1214. <script type="javascript" ev:event="xforms-select">
  1215. <![CDATA[
  1216. // 자가일때는 공여자 정보 모두 비활성화
  1217. // 동종일 때 아래와 맞게 활성화/비활성화 시킨다
  1218. // Related : 01 Sibling Standard , 02 Sibling NST, 03 FMM Standard, 04 FMM NST, 05 FM Standard, 06 FM NST
  1219. // Unrelated : 07 Unrelated Standard, 08 Unrealted NST
  1220. // Cord : 09 Cord Standard , 10 Cord NST
  1221. if (model.getValue("/root/main/hsctinfo/trnptinfo/trnptkind") == "1") {
  1222. // 만약 이식종류를 변경할 때 관련 공여자 정보가 있을 경우 진행해서는 안된다.
  1223. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorid") != "" ||
  1224. model.getValue("/root/main/hsctinfo/ubmtinfo/dnorid") != "" ||
  1225. model.getValue("/root/main/hsctinfo/cordinfo[" + 1 + "]/dnorid") != "" ) {
  1226. messageBox("다른 이식종류로 이미 공여자가 등록되어 있으므로 이식종류를 변경 ", "E001");
  1227. model.setValue("/root/main/hsctinfo/trnptinfo/trnptkind", "2");
  1228. model.refresh();
  1229. return;
  1230. }
  1231. model.setValue("/root/main/hsctinfo/trnptinfo/trnpttype", "1");
  1232. model.setValue("/root/main/hsctinfo/trnptinfo/trnptkindcd", "");
  1233. model.refresh();
  1234. fSetDisabled("AUTO");
  1235. } else {
  1236. model.setValue("/root/main/hsctinfo/trnptinfo/trnpttype", "2");
  1237. fSetDisabled("ALLO");
  1238. }
  1239. ]]>
  1240. </script>
  1241. </select1>
  1242. <line id="line6" class="line_2" style="x1:0px; y1:153px; x2:649px; y2:153px; "/>
  1243. <line id="line7" class="line_2" style="x1:0px; y1:177px; x2:649px; y2:177px; "/>
  1244. <caption id="caption17" class="search_no_b" style="left:126px; top:57px; width:14px; height:17px; ">-</caption>
  1245. <select1 id="combo7" ref="/root/main/hsctinfo/trnptinfo/scs" class="combo_default" appearance="minimal" style="left:480px; top:156px; width:169px; height:19px; ">
  1246. <choices>
  1247. <itemset nodeset="/root/init/cmbinfo/scs/A0162">
  1248. <label ref="cdnm"/>
  1249. <value ref="cdid"/>
  1250. </itemset>
  1251. </choices>
  1252. </select1>
  1253. <input id="input16" ref="/root/main/hsctinfo/trnptinfo/trnptdd" class="input_default" disabled="true" inputtype="date" style="left:93px; top:180px; width:90px; height:19px; "/>
  1254. <input id="input24" ref="/root/main/hsctinfo/trnptinfo/insuaprvdd" class="input_default" disabled="true" inputtype="date" style="left:480px; top:252px; width:86px; height:19px; "/>
  1255. <caption id="caption79" class="tit_2" style="left:659px; top:111px; width:90px; height:13px; ">공여자정보</caption>
  1256. <line id="line5" class="line_1" style="x1:654px; y1:126px; x2:1194px; y2:126px; "/>
  1257. <switch id="switch1" style="left:654px; top:154px; width:540px; height:121px; ">
  1258. <case id="case1" disabled="true" selected="true">
  1259. <input id="input7" ref="/root/main/hsctinfo/dnorinfo/dnorrrgstno1" class="input_default" maxlength="6" format="999999" style="left:108px; top:31px; width:60px; height:19px; "/>
  1260. <button id="button4" class="icon_search" style="left:249px; top:33px; width:16px; height:16px; ">
  1261. <caption/>
  1262. <script type="javascript" ev:event="DOMActivate">
  1263. <![CDATA[
  1264. modal("SPPMC02500",0,100,150,"SPPMC02500","","");
  1265. if (model.getValue("/root/main/popupendflag") == "ok") {
  1266. var spid = model.getValue("/root/main/patinfo/patinfolist/pid");
  1267. if (spid == null || spid == "" || spid == " ") {
  1268. return false;
  1269. }
  1270. model.setValue("/root/main/hsctinfo/dnorinfo/dnorrrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
  1271. model.setValue("/root/main/hsctinfo/dnorinfo/dnorrrgstno2", model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
  1272. model.setValue("/root/main/hsctinfo/dnorinfo/dnornm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  1273. model.setValue("/root/main/hsctinfo/dnorinfo/dnorsex", model.getValue("/root/main/patinfo/patinfolist/sex"));
  1274. model.setValue("/root/main/hsctinfo/dnorinfo/dnorage", getFullAge( model.getValue("/root/main/patinfo/patinfolist/rrgstno1") + model.getValue("/root/main/patinfo/patinfolist/rrgstno2") ));
  1275. model.setValue("/root/main/hsctinfo/dnorinfo/dnorpid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  1276. model.refresh();
  1277. }
  1278. ]]>
  1279. </script>
  1280. </button>
  1281. <input id="input33" ref="/root/main/hsctinfo/dnorinfo/dnorage" class="input_default" style="left:322px; top:55px; width:65px; height:19px; text-align:center; "/>
  1282. <input id="input27" ref="/root/main/hsctinfo/dnorinfo/dnorrrgstno2" class="input_default" maxlength="7" format="9999999" style="left:186px; top:31px; width:60px; height:19px; "/>
  1283. <input id="input37" ref="/root/main/hsctinfo/dnorinfo/dnornm" class="input_default" style="left:108px; top:55px; width:138px; height:19px; "/>
  1284. <button id="button13" class="btn2_letter10" style="left:306px; top:5px; width:130px; height:19px; ">
  1285. <caption>Donor Report Form</caption>
  1286. <script type="javascript" ev:event="DOMActivate">
  1287. <![CDATA[
  1288. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorid") == "" ) {
  1289. messageBox("공여자가 등록되어 있지 않습니다. 공여자를 먼저 ", "C001");
  1290. return;
  1291. }
  1292. var spid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1293. var strnptdg = model.getValue("/root/main/trnptdg");
  1294. var sdnorid = model.getValue("/root/main/hsctinfo/dnorinfo/dnorid");
  1295. var sflag = "nu" + "▦" + spid + "▦" + strnptdg + "▦" + sdnorid;
  1296. setParameter("opener_parameter_id", sflag);
  1297. modal("SPABO61200",0,100,150,"SPABO61200","","");
  1298. ]]>
  1299. </script>
  1300. </button>
  1301. <line id="line54" class="line_1" style="x1:5px; y1:25px; x2:528px; y2:25px; "/>
  1302. <caption id="caption28" class="search_no_b" style="left:171px; top:33px; width:12px; height:17px; ">-</caption>
  1303. <button id="button2" class="btn2_letter7" style="left:439px; top:5px; width:97px; height:19px; ">
  1304. <caption>공여자결과조회</caption>
  1305. <script type="javascript" ev:event="DOMActivate">
  1306. <![CDATA[
  1307. if(model.getValue("/root/main/hsctinfo/dnorinfo/dnorpid") == ""){
  1308. messageBox("공여자 아이디가", "I004", "");
  1309. }
  1310. else{
  1311. modal("SMAER00800 ","","","","","/root/main/hsctinfo/dnorinfo/dnorpid","/root/send/data/singdata/srchpid");
  1312. }
  1313. ]]>
  1314. </script>
  1315. </button>
  1316. <select1 id="combo5" ref="/root/main/hsctinfo/dnorinfo/dnorrela" class="combo_default" appearance="minimal" style="left:108px; top:79px; width:138px; height:19px; ">
  1317. <choices>
  1318. <itemset nodeset="/root/init/cmbinfo/dnorrela/A0163">
  1319. <label ref="cdnm"/>
  1320. <value ref="cdid"/>
  1321. </itemset>
  1322. </choices>
  1323. </select1>
  1324. <select1 id="combo9" ref="/root/main/hsctinfo/dnorinfo/dnortnsyn" class="combo_default" appearance="minimal" style="left:322px; top:79px; width:65px; height:19px; ">
  1325. <choices>
  1326. <item>
  1327. <label>Y</label>
  1328. <value>Y</value>
  1329. </item>
  1330. <item>
  1331. <label>N</label>
  1332. <value>N</value>
  1333. </item>
  1334. </choices>
  1335. </select1>
  1336. <select1 id="combo10" ref="/root/main/hsctinfo/dnorinfo/dnoraceleuseyn" class="combo_default" appearance="minimal" style="left:463px; top:79px; width:65px; height:19px; ">
  1337. <choices>
  1338. <item>
  1339. <label>Y</label>
  1340. <value>Y</value>
  1341. </item>
  1342. <item>
  1343. <label>N</label>
  1344. <value>N</value>
  1345. </item>
  1346. </choices>
  1347. </select1>
  1348. <line id="line9" class="line_2" style="x1:5px; y1:52px; x2:528px; y2:52px; "/>
  1349. <line id="line16" class="line_2" style="x1:5px; y1:76px; x2:528px; y2:76px; "/>
  1350. <caption id="caption20" class="cell_1" style="left:5px; top:78px; width:100px; height:23px; vertical-align:middle; ">환자와의관계</caption>
  1351. <caption id="caption24" class="cell_1" style="left:249px; top:78px; width:70px; height:23px; vertical-align:middle; ">수혈</caption>
  1352. <caption id="caption27" class="cell_1" style="left:5px; top:30px; width:100px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  1353. <caption id="caption29" class="cell_1" style="left:5px; top:54px; width:100px; height:23px; vertical-align:middle; ">공여자정보</caption>
  1354. <caption id="caption25" class="cell_1" style="left:390px; top:78px; width:70px; height:23px; vertical-align:middle; ">촉진제</caption>
  1355. <line id="line8" class="line_3" style="x1:5px; y1:100px; x2:528px; y2:100px; "/>
  1356. <button id="btn_deldnor" class="btn5_letter10" style="left:173px; top:5px; width:130px; height:19px; text-align:center; ">
  1357. <caption>Related 공여자삭제</caption>
  1358. <script type="javascript" ev:event="DOMActivate">
  1359. <![CDATA[
  1360. if (isRequiredControls("ipt_pid") == false ){ return false; }
  1361. if (messageBox("해당 공여자정보를", "Q001") == 6){
  1362. model.setValue("/root/send/req/pid" , model.getValue("/root/main/hsctinfo/patinfolist/pid"));
  1363. model.setValue("/root/send/req/trnptdg", model.getValue( "/root/main/trnptdg"));
  1364. if ( submit("TXABO00104") ) {
  1365. fGetPatientInfo();
  1366. }
  1367. }
  1368. ]]>
  1369. </script>
  1370. </button>
  1371. <select1 id="combo3" ref="/root/main/hsctinfo/dnorinfo/dnorsex" class="combo_default" appearance="minimal" style="left:249px; top:55px; width:70px; height:19px; ">
  1372. <choices>
  1373. <itemset nodeset="/root/init/cmbinfo/sex/P0313">
  1374. <label ref="cdnm"/>
  1375. <value ref="cdid"/>
  1376. </itemset>
  1377. </choices>
  1378. </select1>
  1379. <output id="output7" ref="/root/main/hsctinfo/dnorinfo/dnorid" class="output_fix" visibility="visible" style="left:390px; top:31px; width:138px; height:19px; text-align:center; "/>
  1380. <input id="ipt_dnorpid" ref="/root/main/hsctinfo/dnorinfo/dnorpid" class="input_default" disabled="true" style="left:390px; top:55px; width:138px; height:19px; text-align:center; "/>
  1381. <button id="button9" class="btn2_letter8" style="left:62px; top:5px; width:108px; height:19px; ">
  1382. <caption>공여자 HLA지정</caption>
  1383. <script type="javascript" ev:event="DOMActivate">
  1384. <![CDATA[
  1385. // if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorid") == "" ) {
  1386. // messageBox("공여자가 등록되어 있지 않습니다. 공여자를 먼저 ", "C001");
  1387. // return;
  1388. // }
  1389. var sflag = "";
  1390. var spid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1391. sflag = spid + "▦" + "1" ;
  1392. setParameter("opener_parameter_id", sflag);
  1393. modal("SPABO61900", 1, "", "", "", "", "", "");
  1394. ]]>
  1395. </script>
  1396. </button>
  1397. </case>
  1398. <case id="case2">
  1399. <input id="input28" ref="/root/main/hsctinfo/ubmtinfo/dnorage" class="input_default" disabled="true" style="left:479px; top:31px; width:49px; height:19px; text-align:center; "/>
  1400. <input id="input29" ref="/root/main/hsctinfo/ubmtinfo/dnorsex" class="input_default" disabled="true" style="left:427px; top:31px; width:49px; height:19px; text-align:center; "/>
  1401. <input id="input31" ref="/root/main/hsctinfo/ubmtinfo/dnorid" class="input_default" disabled="true" style="left:334px; top:31px; width:90px; height:19px; text-align:center; "/>
  1402. <input id="input32" ref="/root/main/hsctinfo/ubmtinfo/dnorextrinst" class="input_default" style="left:108px; top:55px; width:420px; height:19px; "/>
  1403. <select1 id="combo11" ref="/root/main/hsctinfo/ubmtinfo/boneassocd" class="combo_default" disabled="true" appearance="minimal" style="left:108px; top:31px; width:120px; height:19px; ">
  1404. <choices>
  1405. <itemset nodeset="/root/init/cmbinfo/dnorbonebank/A0164">
  1406. <label ref="cdnm"/>
  1407. <value ref="cdid"/>
  1408. </itemset>
  1409. </choices>
  1410. </select1>
  1411. <line id="line10" class="line_1" style="x1:5px; y1:25px; x2:528px; y2:25px; "/>
  1412. <line id="line18" class="line_2" style="x1:5px; y1:52px; x2:528px; y2:52px; "/>
  1413. <caption id="caption42" class="cell_1" style="left:5px; top:30px; width:100px; height:23px; vertical-align:middle; ">골수은행</caption>
  1414. <caption id="caption43" class="cell_1" style="left:231px; top:30px; width:100px; height:23px; vertical-align:middle; ">골수 ID</caption>
  1415. <caption id="caption44" class="cell_1" style="left:5px; top:54px; width:100px; height:23px; vertical-align:middle; ">채취기관</caption>
  1416. <line id="line11" class="line_3" style="x1:5px; y1:101px; x2:528px; y2:101px; "/>
  1417. <caption id="caption3" class="cell_1" style="left:5px; top:78px; width:100px; height:23px; vertical-align:middle; ">수혈</caption>
  1418. <caption id="caption80" class="cell_1" style="left:268px; top:78px; width:100px; height:23px; vertical-align:middle; ">촉진제</caption>
  1419. <select1 id="combo1" ref="/root/main/hsctinfo/ubmtinfo/dnoraceleuseyn" class="combo_default" appearance="minimal" style="left:371px; top:79px; width:157px; height:19px; ">
  1420. <choices>
  1421. <item>
  1422. <label>Y</label>
  1423. <value>Y</value>
  1424. </item>
  1425. <item>
  1426. <label>N</label>
  1427. <value>N</value>
  1428. </item>
  1429. </choices>
  1430. </select1>
  1431. <select1 id="combo22" ref="/root/main/hsctinfo/ubmtinfo/dnortnsyn" class="combo_default" appearance="minimal" style="left:108px; top:79px; width:157px; height:19px; ">
  1432. <choices>
  1433. <item>
  1434. <label>Y</label>
  1435. <value>Y</value>
  1436. </item>
  1437. <item>
  1438. <label>N</label>
  1439. <value>N</value>
  1440. </item>
  1441. </choices>
  1442. </select1>
  1443. <button id="button3" class="btn2_letter10" style="left:398px; top:5px; width:130px; height:19px; ">
  1444. <caption>UBMT Report Form</caption>
  1445. <script type="javascript" ev:event="DOMActivate">
  1446. <![CDATA[
  1447. var spid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1448. var strnptdg = model.getValue("/root/main/trnptdg");
  1449. var sboneassocd = model.getValue("/root/main/hsctinfo/ubmtinfo/boneassocd");
  1450. var sdnorid = model.getValue("/root/main/hsctinfo/ubmtinfo/dnorid");
  1451. var sflag = spid + "▦" + strnptdg + "▦" + sboneassocd + "▦" + sdnorid;
  1452. setParameter("opener_parameter_id", sflag);
  1453. modal("SPABO61800",0,100,150,"SPABO61800","","");
  1454. ]]>
  1455. </script>
  1456. </button>
  1457. </case>
  1458. <case id="case3" disabled="true">
  1459. <line id="line12" class="line_1" style="x1:5px; y1:5px; x2:528px; y2:5px; "/>
  1460. <datagrid id="grd_cord" nodeset="/root/main/hsctinfo/cordinfo" caption="제대혈은행^ID^성별^혈액형" colsep="^" colwidth="175, 70, 55, 170" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:5px; top:10px; width:523px; height:105px; ">
  1461. <col disabled="true" ref="boneassocd" type="combo">
  1462. <choices>
  1463. <itemset nodeset="/root/init/cmbinfo/dnorbank/A0165">
  1464. <label ref="cdnm"/>
  1465. <value ref="cdid"/>
  1466. </itemset>
  1467. </choices>
  1468. </col>
  1469. <col disabled="true" ref="dnorid"/>
  1470. <col disabled="true" ref="dnorsex" type="combo">
  1471. <choices>
  1472. <itemset nodeset="/root/init/cmbinfo/sex/P0313">
  1473. <label ref="cdnm"/>
  1474. <value ref="cdid"/>
  1475. </itemset>
  1476. </choices>
  1477. </col>
  1478. <col disabled="true" ref="dnorbtype" type="combo">
  1479. <choices>
  1480. <itemset nodeset="/root/init/cmbinfo/btype/M0376">
  1481. <label ref="cdnm"/>
  1482. <value ref="cdid"/>
  1483. </itemset>
  1484. </choices>
  1485. </col>
  1486. </datagrid>
  1487. </case>
  1488. <script type="javascript" ev:event="onmousedown">
  1489. <![CDATA[
  1490. setPopupMenu("body", false, "/root/main/codedata/popupmenu/item", "name", "func");
  1491. ]]>
  1492. </script>
  1493. </switch>
  1494. <caption id="caption30" class="tit_2" style="left:5px; top:285px; width:125px; height:13px; ">환자/공여자 정보</caption>
  1495. <line id="line13" class="line_1" style="x1:0px; y1:300px; x2:1194px; y2:300px; "/>
  1496. <caption id="caption81" class="cell_1" style="left:334px; top:477px; width:160px; height:23px; vertical-align:middle; ">Lansky scale</caption>
  1497. <output id="output25" ref="/root/main/hsctinfo/trnptinfo/karnofskypnt" class="output_fix" appearance="output" style="left:186px; top:478px; width:145px; height:19px; "/>
  1498. <caption id="caption65" class="tit_2" style="left:5px; top:385px; width:100px; height:13px; ">이식전검사</caption>
  1499. <output id="output26" ref="/root/main/hsctinfo/trnptinfo/lanskypnt" class="output_fix" appearance="output" style="left:520px; top:478px; width:145px; height:19px; "/>
  1500. <caption id="caption31" class="cell_1" style="left:0px; top:477px; width:160px; height:23px; vertical-align:middle; ">Karnofsky scale</caption>
  1501. <line id="line14" class="line_1" style="x1:0px; y1:400px; x2:665px; y2:400px; "/>
  1502. <datagrid id="datagrid3" nodeset="/root/main/hsctinfo/preworkinfo" caption="^Dentistry^ENT.^Echocardiogram^PFT^Sonogram" colsep="^" colwidth="110, 110, 110, 110, 110, 110" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:0px; top:405px; width:665px; height:71px; ">
  1503. <col ref="preworkflag"/>
  1504. <col ref="dent" format="yyyy-mm-dd"/>
  1505. <col ref="ent" format="yyyy-mm-dd"/>
  1506. <col ref="echo" format="yyyy-mm-dd"/>
  1507. <col ref="pft" format="yyyy-mm-dd"/>
  1508. <col ref="sono" format="yyyy-mm-dd"/>
  1509. </datagrid>
  1510. <button id="button8" class="btn2_letter11" style="left:1052px; top:430px; width:75px; height:19px; ">
  1511. <caption>www.webmail.nmdp.org</caption>
  1512. <script type="javascript" ev:event="DOMActivate">
  1513. <![CDATA[
  1514. openHtml("https://webmail.nmdp.org", "", "");
  1515. ]]>
  1516. </script>
  1517. </button>
  1518. <select id="checkbox4" ref="/root/main/hsctinfo/trnptinfo/educyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:828px; top:406px; width:32px; height:20px; border-style:none; ">
  1519. <choices>
  1520. <item>
  1521. <label>유</label>
  1522. <value>Y</value>
  1523. </item>
  1524. </choices>
  1525. <script type="javascript" ev:event="xforms-value-changed">
  1526. <![CDATA[
  1527. if ( model.getValue("/root/main/hsctinfo/trnptinfo/educyn").indexOf("N") >-1 ||
  1528. model.getValue("/root/main/hsctinfo/trnptinfo/educyn").indexOf("-") >-1 ||
  1529. model.getValue("/root/main/hsctinfo/trnptinfo/educyn").indexOf("") >-1 ){
  1530. model.setValue("/root/main/hsctinfo/trnptinfo/educyn","Y");
  1531. model.refresh();
  1532. }
  1533. ]]>
  1534. </script>
  1535. </select>
  1536. <caption id="caption66" class="tit_2" style="left:675px; top:385px; width:140px; height:13px; ">정자, 난자 보관</caption>
  1537. <select id="checkbox5" ref="/root/main/hsctinfo/trnptinfo/transfyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:828px; top:430px; width:32px; height:20px; border-style:none; ">
  1538. <choices>
  1539. <item>
  1540. <label>유</label>
  1541. <value>Y</value>
  1542. </item>
  1543. </choices>
  1544. <script type="javascript" ev:event="xforms-value-changed">
  1545. <![CDATA[
  1546. if ( model.getValue("/root/main/hsctinfo/trnptinfo/transfyn").indexOf("N") >-1 ||
  1547. model.getValue("/root/main/hsctinfo/trnptinfo/transfyn").indexOf("-") >-1 ||
  1548. model.getValue("/root/main/hsctinfo/trnptinfo/transfyn").indexOf("") >-1 ){
  1549. model.setValue("/root/main/hsctinfo/trnptinfo/transfyn","Y");
  1550. model.refresh();
  1551. }
  1552. ]]>
  1553. </script>
  1554. </select>
  1555. <button id="button51" class="btn2_letter11" style="left:1052px; top:406px; width:142px; height:19px; ">
  1556. <caption>www.cibmtr.org</caption>
  1557. <script type="javascript" ev:event="DOMActivate">
  1558. <![CDATA[
  1559. openHtml("http://www.cibmtr.org/", "", "");
  1560. ]]>
  1561. </script>
  1562. </button>
  1563. <line id="line15" class="line_1" style="x1:670px; y1:400px; x2:895px; y2:400px; "/>
  1564. <button id="button10" class="btn2_letter6" style="left:187px; top:106px; width:86px; height:19px; ">
  1565. <caption>이식차수생성</caption>
  1566. <script type="javascript" ev:event="DOMActivate">
  1567. <![CDATA[
  1568. var i = parseInt(getNodesetCount("/root/temp/trnptdg/item")) + 1;
  1569. // 이식차수 생성여부를 확인한다.
  1570. if ( messageBox(ipt_hngnm.value + " 환자의 " + i + "차 이식차수를 생성합니다.", "Q004") == 6 ) {
  1571. model.makeNode ( "/root/temp/trnptdg/item["+ i +"]/cd");
  1572. model.makeNode ( "/root/temp/trnptdg/item["+ i +"]/nm");
  1573. model.setValue( "/root/temp/trnptdg/item["+ i +"]/cd",i);
  1574. model.setValue( "/root/temp/trnptdg/item["+ i +"]/nm",i +"차");
  1575. model.setValue("/root/main/trnptdg", i);
  1576. // 환자 기본정보 이외에 이전 이식차수에 대한 정보를 clear 한다.
  1577. fSetInstanceInit();
  1578. model.refresh();
  1579. }
  1580. ]]>
  1581. </script>
  1582. </button>
  1583. <input id="input8" ref="/root/main/hsctinfo/trnptinfo/allotrnptkinddg" class="input_default" disabled="true" style="left:569px; top:228px; width:80px; height:19px; text-align:center; "/>
  1584. <input id="input18" ref="/root/main/hsctinfo/trnptinfo/allodg" class="input_default" disabled="true" style="left:480px; top:228px; width:86px; height:19px; text-align:center; "/>
  1585. <input id="input19" ref="/root/main/hsctinfo/trnptinfo/autodg" class="input_default" disabled="true" style="left:279px; top:228px; width:90px; height:19px; text-align:center; "/>
  1586. <button id="button20" class="btn2_letter10" style="left:962px; top:5px; width:130px; height:19px; ">
  1587. <caption>세포보관/해동내역조회</caption>
  1588. <script type="javascript" ev:event="DOMActivate">
  1589. <![CDATA[
  1590. var pid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1591. var sflag = pid;
  1592. setParameter("opener_parameter_id", sflag);
  1593. modal("SMABC00300",0,10,150,"SMABC00300","","");
  1594. ]]>
  1595. </script>
  1596. </button>
  1597. <button id="button21" class="btn2_letter8" style="left:851px; top:5px; width:108px; height:19px; ">
  1598. <caption>세포처리결과조회</caption>
  1599. <script type="javascript" ev:event="DOMActivate">
  1600. <![CDATA[
  1601. var spid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1602. var shngnm = model.getValue("/root/main/hsctinfo/patinfolist/hngnm");
  1603. var sflag = spid + "▦" + shngnm;
  1604. setParameter("opener_parameter_id", sflag);
  1605. modal("SMABC00900",0,10,150,"SMABC00900","","");
  1606. ]]>
  1607. </script>
  1608. </button>
  1609. <button id="button22" class="btn2_letter7" style="left:1095px; top:5px; width:97px; height:19px; ">
  1610. <caption>이식후추후관리</caption>
  1611. <script type="javascript" ev:event="DOMActivate">
  1612. <![CDATA[
  1613. var spid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1614. var strnptdg = model.getValue("/root/main/trnptdg");
  1615. var sflag = spid + "▦" + strnptdg;
  1616. setParameter("opener_parameter_id", sflag);
  1617. modal("SMABO02200",0,10,150,"SMABO02200","","");
  1618. ]]>
  1619. </script>
  1620. </button>
  1621. <button id="button23" class="btn2_letter6" style="left:762px; top:5px; width:86px; height:19px; ">
  1622. <caption>항암치료과정</caption>
  1623. <script type="javascript" ev:event="DOMActivate">
  1624. <![CDATA[
  1625. if ( model.getValue("/root/main/hsctinfo/patinfolist/pid") == "" ) {
  1626. messageBox("환자가 선택되어 있어야 합니다. 환자를를 먼저 ", "C001");
  1627. return;
  1628. }
  1629. var spid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1630. var shngnm = model.getValue("/root/main/hsctinfo/patinfolist/hngnm");
  1631. var ssex = model.getValue("/root/main/hsctinfo/patinfolist/sex");
  1632. var sage = model.getValue("/root/main/hsctinfo/patinfolist/age");
  1633. var sflag = spid + "▦" + shngnm + "▦" + ssex + "▦" + sage;
  1634. setParameter("opener_parameter_id", sflag);
  1635. modal("SPABO62000",0,200,150,"SPABO62000","","");
  1636. ]]>
  1637. </script>
  1638. </button>
  1639. <button id="button24" class="btn2_letter4" style="left:695px; top:5px; width:64px; height:19px; ">
  1640. <caption>결과조회</caption>
  1641. <script type="javascript" ev:event="DOMActivate">
  1642. <![CDATA[
  1643. modal("SMAER00800 ","","","","","/root/main/hsctinfo/patinfolist/pid","/root/send/req/singdata/srchpid");
  1644. ]]>
  1645. </script>
  1646. </button>
  1647. <output id="output1" ref="/root/main/hsctinfo/orderhistory/inlastdd" class="output_fix" format="yyyy-mm-dd" style="left:653px; top:55px; width:115px; height:19px; text-align:center; "/>
  1648. <output id="output2" ref="/root/main/hsctinfo/orderhistory/outfirstdd" class="output_fix" format="yyyy-mm-dd" style="left:1075px; top:55px; width:119px; height:19px; text-align:center; "/>
  1649. <output id="output3" ref="/root/main/hsctinfo/orderhistory/outlastdd" class="output_fix" format="yyyy-mm-dd" style="left:869px; top:55px; width:110px; height:19px; text-align:center; "/>
  1650. <output id="output6" ref="/root/main/hsctinfo/trnptinfo/trnptage" class="output_fix" visibility="visible" style="left:93px; top:204px; width:90px; height:19px; text-align:center; "/>
  1651. <select1 id="combo6" ref="/root/main/hsctinfo/trnptinfo/insuaprvkind" class="combo_default" disabled="true" appearance="minimal" style="left:279px; top:252px; width:90px; height:19px; ">
  1652. <choices>
  1653. <item>
  1654. <label>급여</label>
  1655. <value>1</value>
  1656. </item>
  1657. <item>
  1658. <label>비급여</label>
  1659. <value>2</value>
  1660. </item>
  1661. <item>
  1662. <label>사후승인</label>
  1663. <value>3</value>
  1664. </item>
  1665. </choices>
  1666. </select1>
  1667. <line id="line2" class="line_2" style="x1:0px; y1:201px; x2:649px; y2:201px; "/>
  1668. <button id="button26" class="btn2_letter11" style="left:1052px; top:478px; width:75px; height:19px; ">
  1669. <caption>marrow.konos.go.kr</caption>
  1670. <script type="javascript" ev:event="DOMActivate">
  1671. <![CDATA[
  1672. openHtml("http://marrow.konos.go.kr", "", "");
  1673. ]]>
  1674. </script>
  1675. </button>
  1676. <button id="button27" class="btn2_letter11" style="left:1052px; top:454px; width:75px; height:19px; ">
  1677. <caption>www.kbmtr.org</caption>
  1678. <script type="javascript" ev:event="DOMActivate">
  1679. <![CDATA[
  1680. openHtml("http://www.kbmtr.org/", "", "");
  1681. ]]>
  1682. </script>
  1683. </button>
  1684. <button id="button29" class="btn2_letter4" visibility="hidden" style="left:484px; top:5px; width:64px; height:19px; ">
  1685. <caption>영상뷰어</caption>
  1686. </button>
  1687. <button id="button30" class="btn2_letter8" style="left:541px; top:106px; width:108px; height:19px; ">
  1688. <caption>보험여부 History</caption>
  1689. <script type="javascript" ev:event="DOMActivate">
  1690. <![CDATA[
  1691. var sPid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  1692. var sHngNm = model.getValue("/root/main/hsctinfo/patinfolist/hngnm");
  1693. var sSex = model.getValue("/root/main/hsctinfo/patinfolist/sex");
  1694. var sAge = model.getValue("/root/main/hsctinfo/patinfolist/age");
  1695. var sFlag = sPid + "▦" + sHngNm + "▦" + sSex + "▦" + sAge;
  1696. setParameter("opener_parameter_id", sFlag);
  1697. modal("SPABO61600",0,100,150,"SPABO61600","","");
  1698. ]]>
  1699. </script>
  1700. </button>
  1701. <line id="line19" class="line_3" style="x1:0px; y1:499px; x2:665px; y2:499px; "/>
  1702. <line id="line20" class="line_2" style="x1:670px; y1:427px; x2:895px; y2:427px; "/>
  1703. <line id="line21" class="line_2" style="x1:670px; y1:451px; x2:895px; y2:451px; "/>
  1704. <line id="line22" class="line_2" style="x1:670px; y1:475px; x2:895px; y2:475px; "/>
  1705. <caption id="caption7" class="tit_2" style="left:905px; top:385px; width:135px; height:13px; ">외부기관 연계/링크</caption>
  1706. <line id="line23" class="line_1" style="x1:900px; y1:400px; x2:1194px; y2:400px; "/>
  1707. <select1 id="combo12" ref="/root/main/hsctinfo/trnptinfo/trnptwardcd" class="combo_default" disabled="true" appearance="minimal" style="left:480px; top:204px; width:86px; height:19px; ">
  1708. <choices>
  1709. <itemset nodeset="/root/init/cmbinfo/trnptwardcd/A0479">
  1710. <label ref="cdnm"/>
  1711. <value ref="cdid"/>
  1712. </itemset>
  1713. </choices>
  1714. </select1>
  1715. <select1 id="combo13" ref="/root/main/hsctinfo/trnptinfo/trnptroomcd" class="combo_default" disabled="true" appearance="minimal" style="left:569px; top:204px; width:80px; height:19px; ">
  1716. <choices>
  1717. <itemset nodeset="/root/init/cmbinfo/trnptroomcd/A0480">
  1718. <label ref="cdnm"/>
  1719. <value ref="cdid"/>
  1720. </itemset>
  1721. </choices>
  1722. </select1>
  1723. <caption id="caption55" style="left:404px; top:331px; width:20px; height:17px; ">Kg</caption>
  1724. <caption id="caption56" style="left:404px; top:355px; width:20px; height:17px; ">Kg</caption>
  1725. <caption id="caption57" style="left:502px; top:331px; width:20px; height:17px; ">Cm</caption>
  1726. <caption id="caption58" style="left:502px; top:355px; width:20px; height:17px; ">Cm</caption>
  1727. <caption id="caption59" style="left:703px; top:331px; width:20px; height:17px; ">회</caption>
  1728. <caption id="caption60" style="left:703px; top:355px; width:20px; height:17px; ">회</caption>
  1729. <caption id="caption61" style="left:806px; top:355px; width:20px; height:17px; ">명</caption>
  1730. <caption id="caption62" style="left:806px; top:331px; width:20px; height:17px; ">명</caption>
  1731. <line id="line24" class="line_2" style="x1:0px; y1:327px; x2:1194px; y2:327px; "/>
  1732. <line id="line25" class="line_2" style="x1:0px; y1:351px; x2:1194px; y2:351px; "/>
  1733. <caption id="caption40" class="cell_1" style="left:0px; top:329px; width:90px; height:23px; vertical-align:middle; ">Recipient</caption>
  1734. <caption id="caption41" class="cell_1" style="left:0px; top:353px; width:90px; height:23px; vertical-align:middle; ">Donor</caption>
  1735. <caption id="caption38" class="cell_1" style="left:0px; top:305px; width:90px; height:23px; vertical-align:middle; "/>
  1736. <line id="line26" class="line_3" style="x1:0px; y1:375px; x2:1194px; y2:375px; text-align:right; "/>
  1737. <caption id="caption70" class="cell_2" style="left:829px; top:305px; width:109px; height:23px; vertical-align:middle; ">학력</caption>
  1738. <caption id="caption71" class="cell_2" style="left:941px; top:305px; width:140px; height:23px; vertical-align:middle; ">직업</caption>
  1739. <caption id="caption74" class="cell_2" style="left:329px; top:305px; width:95px; height:23px; vertical-align:middle; ">체중</caption>
  1740. <caption id="caption63" class="cell_2" style="left:623px; top:305px; width:100px; height:23px; vertical-align:middle; ">임신횟수(회)</caption>
  1741. <caption id="caption75" class="cell_2" style="left:427px; top:305px; width:95px; height:23px; vertical-align:middle; ">신장</caption>
  1742. <caption id="caption64" class="cell_2" style="left:726px; top:305px; width:100px; height:23px; vertical-align:middle; ">자녀수(명)</caption>
  1743. <caption id="caption76" class="cell_2" style="left:525px; top:305px; width:95px; height:23px; vertical-align:middle; ">결혼여부</caption>
  1744. <caption id="caption45" class="cell_2" style="left:93px; top:305px; width:115px; height:23px; vertical-align:middle; ">이식전 혈액형</caption>
  1745. <caption id="caption46" class="cell_2" style="left:211px; top:305px; width:115px; height:23px; vertical-align:middle; ">혈액형</caption>
  1746. <input id="input23" ref="/root/main/hsctinfo/patinfolist/rrgstno2" class="input_default" disabled="true" style="left:364px; top:31px; width:60px; height:19px; text-align:center; "/>
  1747. <caption id="caption78" style="left:355px; top:30px; width:10px; height:20px; ">-</caption>
  1748. <select1 id="cmb_trnptdg" ref="/root/main/trnptdg" class="combo_default" appearance="minimal" style="left:97px; top:105px; width:87px; height:19px; ">
  1749. <choices>
  1750. <itemset nodeset="/root/temp/trnptdg/item">
  1751. <label ref="nm"/>
  1752. <value ref="cd"/>
  1753. </itemset>
  1754. </choices>
  1755. <script type="javascript" ev:event="xforms-select">
  1756. <![CDATA[
  1757. // 이식차수를 선택했을 때는 차수정보를 조회할 필요가 없으므로 해당 차수의 이식 정보만 조회한다.
  1758. fSetDisplay();
  1759. ]]>
  1760. </script>
  1761. </select1>
  1762. <input id="ipt_pid" ref="/root/main/hsctinfo/patinfolist/pid" class="input_essential" editable="true" inputtype="button" maxlength="10" style="left:93px; top:31px; width:87px; height:19px; text-align:center; ">
  1763. <script type="javascript" ev:event="onkeyup">
  1764. <![CDATA[
  1765. inputEnterKey("btn_search", "DOMActivate");
  1766. ]]>
  1767. </script>
  1768. <script type="javascript" ev:event="xforms-next">
  1769. <![CDATA[
  1770. model.setFocus( "ipt_pid");
  1771. ]]>
  1772. </script>
  1773. <script type="javascript" ev:event="onbuttonclick">
  1774. <![CDATA[
  1775. if ( abofGetBmtPatientSearch("/root/main/hsctinfo/patinfolist", "/root/temp/bmtpatientinfo") ) {
  1776. fGetPatientInfo();
  1777. }
  1778. ]]>
  1779. </script>
  1780. </input>
  1781. <select1 id="cmb_diag" ref="/root/main/hsctinfo/trnptinfo/diagcd2" class="combo_default" appearance="minimal" style="left:234px; top:132px; width:415px; height:19px; ">
  1782. <choices>
  1783. <itemset nodeset="/root/init/cmbinfo/mdllist/item">
  1784. <label ref="hsctmdlnm"/>
  1785. <value ref="hsctmdlcd"/>
  1786. </itemset>
  1787. </choices>
  1788. </select1>
  1789. <input id="input39" ref="/root/main/hsctinfo/trnptinfo/atdoctid" class="input_default" visibility="hidden" style="left:870px; top:105px; width:71px; height:19px; "/>
  1790. <select1 id="combo30" ref="/root/main/hsctinfo/trnptinfo/diagcd1" class="combo_default" appearance="minimal" style="left:93px; top:132px; width:138px; height:19px; ">
  1791. <choices>
  1792. <itemset nodeset="/root/init/cmbinfo/lrglist/item">
  1793. <label ref="hsctlrgnm"/>
  1794. <value ref="hsctlrgcd"/>
  1795. </itemset>
  1796. </choices>
  1797. <script type="javascript" ev:event="xforms-select">
  1798. <![CDATA[
  1799. abofGetBmtCode("DI", model.getValue("/root/main/hsctinfo/trnptinfo/diagcd1"), "/root/init/cmbinfo/mdllist/item")
  1800. cmb_diag.refresh();
  1801. ]]>
  1802. </script>
  1803. </select1>
  1804. <select id="checkbox1" ref="/root/main/hsctinfo/trnptinfo/educyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:863px; top:406px; width:32px; height:20px; border-style:none; ">
  1805. <choices>
  1806. <item>
  1807. <label>무</label>
  1808. <value>N</value>
  1809. </item>
  1810. </choices>
  1811. <script type="javascript" ev:event="xforms-value-changed">
  1812. <![CDATA[
  1813. if ( model.getValue("/root/main/hsctinfo/trnptinfo/educyn").indexOf("Y") >-1 ||
  1814. model.getValue("/root/main/hsctinfo/trnptinfo/educyn").indexOf("-") >-1 ||
  1815. model.getValue("/root/main/hsctinfo/trnptinfo/educyn").indexOf("") >-1 ){
  1816. model.setValue("/root/main/hsctinfo/trnptinfo/educyn","N");
  1817. model.refresh();
  1818. }
  1819. ]]>
  1820. </script>
  1821. </select>
  1822. <select id="checkbox2" ref="/root/main/hsctinfo/trnptinfo/transfyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:863px; top:430px; width:32px; height:20px; border-style:none; ">
  1823. <choices>
  1824. <item>
  1825. <label>무</label>
  1826. <value>N</value>
  1827. </item>
  1828. </choices>
  1829. <script type="javascript" ev:event="xforms-value-changed">
  1830. <![CDATA[
  1831. if ( model.getValue("/root/main/hsctinfo/trnptinfo/transfyn").indexOf("Y") >-1 ||
  1832. model.getValue("/root/main/hsctinfo/trnptinfo/transfyn").indexOf("-") >-1 ||
  1833. model.getValue("/root/main/hsctinfo/trnptinfo/transfyn").indexOf("") >-1 ){
  1834. model.setValue("/root/main/hsctinfo/trnptinfo/transfyn","N");
  1835. model.refresh();
  1836. }
  1837. ]]>
  1838. </script>
  1839. </select>
  1840. <select1 id="combo31" ref="/root/main/hsctinfo/trnptinfo/insukind" class="combo_default" disabled="true" appearance="minimal" style="left:569px; top:252px; width:80px; height:19px; ">
  1841. <choices>
  1842. <item>
  1843. <label>급여</label>
  1844. <value>1</value>
  1845. </item>
  1846. <item>
  1847. <label>비급여</label>
  1848. <value>2</value>
  1849. </item>
  1850. </choices>
  1851. </select1>
  1852. <select1 id="cmb_regimen" ref="/root/main/hsctinfo/trnptinfo/regmcd" class="combo_default" appearance="minimal" style="left:480px; top:180px; width:169px; height:19px; ">
  1853. <choices>
  1854. <itemset nodeset="/root/init/cmbinfo/regimen/REGI">
  1855. <label ref="cdnm"/>
  1856. <value ref="cdid"/>
  1857. </itemset>
  1858. </choices>
  1859. </select1>
  1860. <input id="input17" class="input_default" disabled="true" style="left:93px; top:354px; width:115px; height:19px; text-align:center; "/>
  1861. <line id="line27" class="line_2" style="x1:900px; y1:427px; x2:1194px; y2:427px; "/>
  1862. <line id="line28" class="line_2" style="x1:900px; y1:451px; x2:1194px; y2:451px; "/>
  1863. <line id="line29" class="line_2" style="x1:900px; y1:475px; x2:1194px; y2:475px; "/>
  1864. <input id="ipt_hngnm" ref="/root/main/hsctinfo/patinfolist/hngnm" class="input_default" style="left:200px; top:31px; width:100px; height:19px; font-weight:bold; text-align:center; "/>
  1865. <line id="line31" class="line_2" style="x1:0px; y1:225px; x2:649px; y2:225px; "/>
  1866. <line id="line32" class="line_2" style="x1:0px; y1:249px; x2:649px; y2:249px; "/>
  1867. <caption id="caption10" class="cell_1" style="left:0px; top:155px; width:90px; height:23px; vertical-align:middle; ">이식종류</caption>
  1868. <caption id="caption33" class="cell_1" style="left:0px; top:203px; width:90px; height:23px; vertical-align:middle; ">이식당시나이</caption>
  1869. <caption id="caption22" class="cell_1" style="left:0px; top:179px; width:90px; height:23px; vertical-align:middle; ">이식일</caption>
  1870. <caption id="caption11" class="cell_1" style="left:0px; top:131px; width:90px; height:23px; vertical-align:middle; ">진단명</caption>
  1871. <caption id="caption12" class="cell_1" style="left:0px; top:251px; width:90px; height:23px; vertical-align:middle; ">보험요청일자</caption>
  1872. <caption id="caption14" class="cell_1" style="left:0px; top:227px; width:90px; height:23px; vertical-align:middle; ">Total차수</caption>
  1873. <caption id="caption34" class="cell_1" style="left:186px; top:227px; width:90px; height:23px; vertical-align:middle; ">AUTO차수</caption>
  1874. <caption id="caption23" class="cell_1" style="left:186px; top:251px; width:90px; height:23px; vertical-align:middle; ">승인구분</caption>
  1875. <caption id="caption4" class="cell_1" style="left:186px; top:203px; width:90px; height:23px; vertical-align:middle; ">이식전상태</caption>
  1876. <caption id="caption16" class="cell_1" style="left:186px; top:179px; width:90px; height:23px; vertical-align:middle; ">주치의</caption>
  1877. <caption id="caption21" class="cell_1" style="left:372px; top:179px; width:105px; height:23px; vertical-align:middle; ">Regimen</caption>
  1878. <caption id="caption26" class="cell_1" style="left:372px; top:227px; width:105px; height:23px; vertical-align:middle; ">ALLO차수</caption>
  1879. <caption id="caption15" class="cell_1" style="left:372px; top:155px; width:105px; height:23px; vertical-align:middle; ">StemCellSource</caption>
  1880. <caption id="caption9" class="cell_1" style="left:372px; top:251px; width:105px; height:23px; vertical-align:middle; ">승인일자/급여</caption>
  1881. <caption id="caption67" class="cell_1" style="left:670px; top:405px; width:155px; height:23px; vertical-align:middle; ">교육 여부</caption>
  1882. <caption id="caption68" class="cell_1" style="left:670px; top:429px; width:155px; height:23px; vertical-align:middle; ">의뢰 여부</caption>
  1883. <caption id="caption69" class="cell_1" style="left:670px; top:453px; width:155px; height:47px; vertical-align:middle; ">시행 여부</caption>
  1884. <line id="line34" class="line_3" style="x1:670px; y1:499px; x2:895px; y2:499px; "/>
  1885. <caption id="caption72" class="cell_1" style="left:900px; top:429px; width:149px; height:23px; vertical-align:middle; ">NMDP LINK</caption>
  1886. <caption id="caption32" class="cell_1" style="left:900px; top:405px; width:149px; height:23px; vertical-align:middle; ">CIBMTR LINK</caption>
  1887. <caption id="caption37" class="cell_1" style="left:900px; top:477px; width:149px; height:23px; vertical-align:middle; ">KONOS, Link, Upload</caption>
  1888. <caption id="caption39" class="cell_1" style="left:900px; top:453px; width:149px; height:23px; vertical-align:middle; ">KBMTR, Link, Upload</caption>
  1889. <line id="line30" class="line_3" style="x1:900px; y1:499px; x2:1194px; y2:499px; "/>
  1890. <select1 id="combo2" ref="/root/main/hsctinfo/patinfolist/sex" class="combo_default" disabled="true" appearance="minimal" style="left:427px; top:31px; width:69px; height:19px; ">
  1891. <choices>
  1892. <itemset nodeset="/root/init/cmbinfo/sex/P0313">
  1893. <label ref="cdnm"/>
  1894. <value ref="cdid"/>
  1895. </itemset>
  1896. </choices>
  1897. </select1>
  1898. <line id="line33" class="line_3" style="x1:0px; y1:273px; x2:649px; y2:273px; "/>
  1899. <select1 id="combo15" ref="/root/main/hsctinfo/trnptinfo/pattrnptafbtype" class="combo_default" navindex="2" appearance="minimal" style="left:211px; top:330px; width:115px; height:19px; ">
  1900. <choices>
  1901. <itemset nodeset="/root/init/cmbinfo/btype/M0376">
  1902. <label ref="cdnm"/>
  1903. <value ref="cdid"/>
  1904. </itemset>
  1905. </choices>
  1906. </select1>
  1907. <button id="btn_related" class="btn_sw" disabled="true" group="tab" selected="true" style="left:654px; top:131px; width:80px; height:22px; ">
  1908. <caption>Related</caption>
  1909. <toggle case="case1" ev:event="DOMActivate"/>
  1910. </button>
  1911. <button id="button1" class="btn2_letter6" style="left:2px; top:253px; width:86px; height:19px; ">
  1912. <caption>보험요청일자</caption>
  1913. <script type="javascript" ev:event="DOMActivate">
  1914. <![CDATA[
  1915. if ( model.getValue("/root/main/hsctinfo/trnptinfo/insureqdd") == "" ) {
  1916. messageBox("보험요청일자는 ", "I003");
  1917. return false;
  1918. }
  1919. if ( model.getValue("/root/temp/insureqdd") == model.getValue("/root/main/hsctinfo/trnptinfo/insureqdd")) {
  1920. messageBox(model.getValue("/root/temp/insureqdd") + "일자로 이미 보험요청이 되어, 같은 일자로 요청할 수 ", "I004");
  1921. return false;
  1922. }
  1923. if (messageBox(model.getValue("/root/main/hsctinfo/trnptinfo/insureqdd") + " 일자로 " + ipt_hngnm.value + " 환자의 보험의뢰를 ", "Q002")==6){
  1924. model.setValue("/root/send/insureqdata/insureqinfo/pid" , model.getValue("/root/main/hsctinfo/patinfolist/pid"));
  1925. model.setValue("/root/send/insureqdata/insureqinfo/reqdd" , model.getValue("/root/main/hsctinfo/trnptinfo/insureqdd"));
  1926. model.setValue("/root/send/insureqdata/insureqinfo/trnptdg", model.getValue("/root/main/trnptdg"));
  1927. model.refresh();
  1928. // 정상적으로 보험의뢰가 저장되면 기존의 승인정보는 초기화 한다.
  1929. if ( submit("TXABO00105") ) {
  1930. model.setValue("/root/main/hsctinfo/trnptinfo/insuaprvkind", "-");
  1931. model.setValue("/root/main/hsctinfo/trnptinfo/insukind" , "-");
  1932. model.setValue("/root/main/hsctinfo/trnptinfo/insuaprvdd" , "00000000");
  1933. btn_save.dispatch("onclick");
  1934. }
  1935. }
  1936. ]]>
  1937. </script>
  1938. </button>
  1939. <input id="ipt_reqdd" ref="/root/main/hsctinfo/trnptinfo/insureqdd" class="input_default" inputtype="date" style="left:93px; top:252px; width:90px; height:19px; "/>
  1940. <select1 id="cmb_trnptkindcd" ref="/root/main/hsctinfo/trnptinfo/trnptkindcd" class="combo_default" appearance="minimal" style="left:186px; top:156px; width:183px; height:19px; ">
  1941. <choices>
  1942. <itemset nodeset="/root/init/cmbinfo/trnptkindcd/A0161">
  1943. <label ref="cdnm"/>
  1944. <value ref="cdid"/>
  1945. </itemset>
  1946. </choices>
  1947. <script type="javascript" ev:event="xforms-select">
  1948. <![CDATA[
  1949. var strnptkindcd = model.getValue("/root/main/hsctinfo/trnptinfo/trnptkindcd");
  1950. if ( strnptkindcd == "09" || strnptkindcd == "10") {
  1951. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorid") != "" ||
  1952. model.getValue("/root/main/hsctinfo/ubmtinfo/dnorid") != "" ) {
  1953. messageBox("다른 이식종류로 공여자가 등록되어 있으므로 Sub 이식종류를 변경 ", "E001");
  1954. model.setValue("/root/main/hsctinfo/trnptinfo/trnptkindcd", model.getValue("/root/temp/trnptkindcd"));
  1955. model.refresh();
  1956. return;
  1957. }
  1958. model.setValue("/root/main/hsctinfo/trnptinfo/trnpttype", "4");
  1959. fSetDisabled("CORD");
  1960. } else if ( strnptkindcd == "07" || strnptkindcd == "08") {
  1961. if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorid") != "" ||
  1962. model.getValue("/root/main/hsctinfo/cordinfo[" + 1 + "]/dnorid") != "" ) {
  1963. messageBox("다른 이식종류로 공여자가 등록되어 있으므로 Sub 이식종류를 변경 ", "E001");
  1964. model.setValue("/root/main/hsctinfo/trnptinfo/trnptkindcd", model.getValue("/root/temp/trnptkindcd"));
  1965. model.refresh();
  1966. return;
  1967. }
  1968. model.setValue("/root/main/hsctinfo/trnptinfo/trnpttype", "3");
  1969. fSetDisabled("UBMT");
  1970. } else {
  1971. if ( model.getValue("/root/main/hsctinfo/ubmtinfo/dnorid") != "" ||
  1972. model.getValue("/root/main/hsctinfo/cordinfo[" + 1 + "]/dnorid") != "" ) {
  1973. messageBox("다른 이식종류로 공여자가 등록되어 있으므로 Sub 이식종류를 변경 ", "E001");
  1974. model.setValue("/root/main/hsctinfo/trnptinfo/trnptkindcd", model.getValue("/root/temp/trnptkindcd"));
  1975. model.refresh();
  1976. return;
  1977. }
  1978. model.setValue("/root/main/hsctinfo/trnptinfo/trnpttype", "2");
  1979. fSetDisabled("ALLO");
  1980. }
  1981. // 이식종류를 변경할 때 이전에 공여자가 정리되지 않은 상태에서 변경할려고 할 때 변경하지 못하게 하기 위함.
  1982. // 이때 Sub이식종류를 원래꺼로 돌리기 위해서 이전 정보를 백업한다.
  1983. model.setValue("/root/temp/trnptkindcd", model.getValue("/root/main/hsctinfo/trnptinfo/trnptkindcd"));
  1984. ]]>
  1985. </script>
  1986. </select1>
  1987. <button id="btn_unrelated" class="btn_sw" disabled="true" group="tab" selected="false" style="left:733px; top:131px; width:91px; height:22px; ">
  1988. <caption>Unrelated</caption>
  1989. <toggle case="case2" ev:event="onclick"/>
  1990. </button>
  1991. <button id="btn_cord" class="btn_sw" disabled="true" group="tab" selected="false" style="left:823px; top:131px; width:56px; height:22px; ">
  1992. <caption>Cord</caption>
  1993. <toggle case="case3" ev:event="onclick"/>
  1994. </button>
  1995. <button id="button6" class="sms_send" style="left:966px; top:507px; width:62px; height:21px; ">
  1996. <caption/>
  1997. <script type="javascript" ev:event="DOMActivate">
  1998. <![CDATA[
  1999. fExeUgcyAlert();
  2000. ]]>
  2001. </script>
  2002. </button>
  2003. <caption id="caption83" class="tit_2" style="left:703px; top:514px; width:120px; height:13px; ">SMS 단문메시지</caption>
  2004. <line id="line17" class="line_1" style="x1:698px; y1:529px; x2:1194px; y2:529px; "/>
  2005. <input id="input4" ref="/root/main/hsctinfo/patinfolist/procernm" class="input_default" style="left:821px; top:535px; width:120px; height:19px; text-align:center; "/>
  2006. <input id="input13" ref="/root/main/hsctinfo/patinfolist/pcntctel" class="input_default" style="left:1067px; top:535px; width:120px; height:19px; text-align:center; "/>
  2007. <input id="input25" ref="/root/temp/smsinfo/smsreplytelno" class="input_default" style="left:821px; top:559x; width:120px; height:19px; text-align:center; "/>
  2008. <select id="checkbox8" ref="/root/temp/smsinfo/smsselpat" overflow="visible" appearance="full" cols="2" rows="1" style="left:840px; top:508px; width:60px; height:20px; border-style:none; ">
  2009. <choices>
  2010. <item>
  2011. <label>환자</label>
  2012. <value>Y</value>
  2013. </item>
  2014. </choices>
  2015. </select>
  2016. <select id="checkbox9" ref="/root/temp/smsinfo/smsselprocer" overflow="visible" appearance="full" cols="2" rows="1" style="left:903px; top:508px; width:60px; height:20px; border-style:none; ">
  2017. <choices>
  2018. <item>
  2019. <label>보호자</label>
  2020. <value>Y</value>
  2021. </item>
  2022. </choices>
  2023. </select>
  2024. <line id="line35" class="line_2" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
  2025. <caption id="caption88" class="cell_1" style="left:0px; top:78px; width:90px; height:23px; text-align:left; vertical-align:middle; ">상세주소</caption>
  2026. <caption id="cap_pid" class="cell_1" style="left:0px; top:30px; width:90px; height:23px; text-align:left; vertical-align:middle; ">등록번호</caption>
  2027. <caption id="caption18" class="cell_1" style="left:0px; top:54px; width:90px; height:23px; text-align:left; vertical-align:middle; ">우편번호</caption>
  2028. <caption id="caption1" class="cell_1" style="left:555px; top:30px; width:95px; height:23px; text-align:left; vertical-align:middle; ">연락처</caption>
  2029. <caption id="caption35" class="cell_1" style="left:555px; top:54px; width:95px; height:23px; text-align:left; vertical-align:middle; ">마지막입원일</caption>
  2030. <caption id="caption36" class="cell_1" style="left:555px; top:78px; width:95px; height:23px; text-align:left; vertical-align:middle; ">사망일</caption>
  2031. <caption id="caption13" class="cell_1" style="left:771px; top:54px; width:95px; height:23px; text-align:left; vertical-align:middle; ">마지막외래일</caption>
  2032. <caption id="caption5" class="cell_1" style="left:982px; top:30px; width:90px; height:23px; text-align:left; vertical-align:middle; ">E-Mail</caption>
  2033. <caption id="caption6" class="cell_1" style="left:771px; top:30px; width:95px; height:23px; text-align:left; vertical-align:middle; ">HP</caption>
  2034. <caption id="caption8" class="cell_1" style="left:982px; top:54px; width:90px; height:23px; text-align:left; vertical-align:middle; ">외래예약일</caption>
  2035. <line id="line127" class="line_3" style="left:0px; width:90px; x1:0px; y1:100px; x2:1194px; y2:100px; "/>
  2036. <caption id="caption89" class="cell_1" style="left:372px; top:203px; width:105px; height:23px; vertical-align:middle; ">Unit/병실</caption>
  2037. <caption id="caption52" class="cell_2" style="left:1084px; top:305px; width:110px; height:23px; vertical-align:middle; ">종교</caption>
  2038. <button id="btn_karnofsky" class="btn2_letter8" style="left:4px; top:478px; width:108px; height:19px; ">
  2039. <caption>Karnofsky scale</caption>
  2040. <script type="javascript" ev:event="DOMActivate">
  2041. <![CDATA[
  2042. modal("SPABO60200",0,100,150,"SPABO60200","","");
  2043. if (model.getValue("/root/main/popupendflag") == "ok") {
  2044. model.setValue("/root/main/hsctinfo/trnptinfo/karnofskyyn","Y");
  2045. // karnofsky와 lansky는 둘중에 하나만 작성해야 한다.
  2046. btn_lansky.disabled = "true";
  2047. bool_lansky.disabled = "true";
  2048. bool_karnofsky.disabled = "false";
  2049. model.refresh();
  2050. }
  2051. ]]>
  2052. </script>
  2053. </button>
  2054. <button id="btn_lansky" class="btn2_letter8" style="left:340px; top:478px; width:108px; height:19px; ">
  2055. <caption>Lansky scale</caption>
  2056. <script type="javascript" ev:event="DOMActivate">
  2057. <![CDATA[
  2058. modal("SPABO60300",0,100,150,"SPABO60300","","");
  2059. if (model.getValue("/root/main/popupendflag") == "ok") {
  2060. model.setValue("/root/main/hsctinfo/trnptinfo/lanskyyn","Y");
  2061. // karnofsky와 lansky는 둘중에 하나만 작성해야 한다.
  2062. btn_karnofsky.disabled = "true";
  2063. bool_karnofsky.disabled = "true";
  2064. bool_lansky.disabled = "false";
  2065. model.refresh();
  2066. }
  2067. ]]>
  2068. </script>
  2069. </button>
  2070. <bool id="bool_lansky" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptinfo/lanskyyn" style="left:495px; top:478px; width:25px; height:20px; ">
  2071. <script type="javascript" ev:event="xforms-deselect">
  2072. <![CDATA[
  2073. model.setValue("/root/main/hsctinfo/trnptinfo/lanskypnt","");
  2074. // karnofsky와 lansky는 둘중에 하나만 작성해야 한다.
  2075. btn_karnofsky.disabled = "false";
  2076. bool_lansky.disabled = "true";
  2077. ]]>
  2078. </script>
  2079. </bool>
  2080. <bool id="bool_karnofsky" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptinfo/karnofskyyn" style="left:160px; top:478px; width:25px; height:20px; ">
  2081. <script type="javascript" ev:event="xforms-deselect">
  2082. <![CDATA[
  2083. model.setValue("/root/main/hsctinfo/trnptinfo/karnofskypnt","");
  2084. // karnofsky와 lansky는 둘중에 하나만 작성해야 한다.
  2085. btn_lansky.disabled = "false";
  2086. bool_karnofsky.disabled = "true";
  2087. ]]>
  2088. </script>
  2089. </bool>
  2090. <output id="opt_dayinfo" ref="/root/main/hsctinfo/trnptinfo/firstdayinfo" class="output_fix" style="left:1075px; top:79px; width:119px; height:19px; text-align:center; "/>
  2091. <button id="button7" class="btn2_letter11" style="left:551px; top:5px; width:141px; height:19px; ">
  2092. <caption>Pre BMT Report Form</caption>
  2093. <script type="javascript" ev:event="DOMActivate">
  2094. <![CDATA[
  2095. // 공여자가 등록되어 있지 않으면 작성을 못하게 한다.
  2096. // if ( model.getValue("/root/main/hsctinfo/dnorinfo/dnorid") == "" ) {
  2097. // messageBox("공여자가 등록되어 있지 않습니다. 공여자를 먼저 ", "C001");
  2098. // return;
  2099. // }
  2100. var pid = model.getValue("/root/main/hsctinfo/patinfolist/pid");
  2101. var trnptdg = model.getValue("/root/main/trnptdg");
  2102. var sflag = pid + "▦" + trnptdg;
  2103. setParameter("opener_parameter_id", sflag);
  2104. modal("SPABO61500",0,100,150,"SPABO61500","","");
  2105. ]]>
  2106. </script>
  2107. </button>
  2108. <select1 id="cmb_dnorbtype" ref="/root/main/hsctinfo/dnorinfo/dnorbtype" class="combo_default" navindex="11" appearance="minimal" style="left:211px; top:354px; width:115px; height:19px; ">
  2109. <choices>
  2110. <itemset nodeset="/root/init/cmbinfo/btype/M0376">
  2111. <label ref="cdnm"/>
  2112. <value ref="cdid"/>
  2113. </itemset>
  2114. </choices>
  2115. </select1>
  2116. <select1 id="cmb_dnormaryyn" ref="/root/main/hsctinfo/dnorinfo/dnormaryyn" class="combo_default" navindex="14" appearance="minimal" style="left:525px; top:354px; width:95px; height:19px; ">
  2117. <choices>
  2118. <itemset nodeset="/root/init/cmbinfo/maryyn/M0151">
  2119. <label ref="cdnm"/>
  2120. <value ref="cdid"/>
  2121. </itemset>
  2122. </choices>
  2123. </select1>
  2124. <select1 id="cmb_dnorschol" ref="/root/main/hsctinfo/dnorinfo/dnorschol" class="combo_default" navindex="17" appearance="minimal" style="left:829px; top:354px; width:109px; height:19px; ">
  2125. <choices>
  2126. <itemset nodeset="/root/init/cmbinfo/schol/M0069">
  2127. <label ref="cdnm"/>
  2128. <value ref="cdid"/>
  2129. </itemset>
  2130. </choices>
  2131. </select1>
  2132. <select1 id="cmb_dnorjob" ref="/root/main/hsctinfo/dnorinfo/dnorjob" class="combo_default" navindex="18" appearance="minimal" style="left:941px; top:354px; width:140px; height:19px; ">
  2133. <choices>
  2134. <itemset nodeset="/root/init/cmbinfo/job/M0068">
  2135. <label ref="cdnm"/>
  2136. <value ref="cdid"/>
  2137. </itemset>
  2138. </choices>
  2139. </select1>
  2140. <select1 id="cmb_dnorrelign" ref="/root/main/hsctinfo/dnorinfo/dnorrelign" class="combo_default" navindex="19" appearance="minimal" style="left:1084px; top:354px; width:110px; height:19px; ">
  2141. <choices>
  2142. <itemset nodeset="/root/init/cmbinfo/relign/M0070">
  2143. <label ref="cdnm"/>
  2144. <value ref="cdid"/>
  2145. </itemset>
  2146. </choices>
  2147. </select1>
  2148. <input id="ipt_dnorbdwt" ref="/root/main/hsctinfo/dnorinfo/dnorbdwt" class="input_default" navindex="12" style="left:329px; top:354px; width:72px; height:19px; text-align:right; "/>
  2149. <input id="ipt_dnorbdht" ref="/root/main/hsctinfo/dnorinfo/dnorbdht" class="input_default" navindex="13" style="left:427px; top:354px; width:72px; height:19px; text-align:right; "/>
  2150. <input id="ipt_dnorprgcnt" ref="/root/main/hsctinfo/dnorinfo/dnorprgcnt" class="input_default" navindex="15" style="left:623px; top:354px; width:77px; height:19px; text-align:center; "/>
  2151. <input id="ipt_dnorchldrncnt" ref="/root/main/hsctinfo/dnorinfo/dnorchldrncnt" class="input_default" navindex="16" style="left:726px; top:354px; width:77px; height:19px; text-align:center; "/>
  2152. <output id="output5" ref="/root/main/hsctinfo/trnptinfo/dayinfo" class="output_fix" style="left:276px; top:105px; width:154px; height:19px; text-align:center; "/>
  2153. <select1 id="cmb_patmaryyn" ref="/root/main/hsctinfo/trnptinfo/patmaryyn" class="combo_default" navindex="5" appearance="minimal" style="left:525px; top:330px; width:95px; height:19px; ">
  2154. <choices>
  2155. <itemset nodeset="/root/init/cmbinfo/maryyn/M0151">
  2156. <label ref="cdnm"/>
  2157. <value ref="cdid"/>
  2158. </itemset>
  2159. </choices>
  2160. </select1>
  2161. <select1 id="cmb_patschol" ref="/root/main/hsctinfo/trnptinfo/patschol" class="combo_default" navindex="8" appearance="minimal" style="left:829px; top:330px; width:109px; height:19px; border-color:#c0c0c0; ">
  2162. <choices>
  2163. <itemset nodeset="/root/init/cmbinfo/schol/M0069">
  2164. <label ref="cdnm"/>
  2165. <value ref="cdid"/>
  2166. </itemset>
  2167. </choices>
  2168. </select1>
  2169. <select1 id="cmb_patjob" ref="/root/main/hsctinfo/trnptinfo/patjob" class="combo_default" navindex="9" appearance="minimal" style="left:941px; top:330px; width:140px; height:19px; ">
  2170. <choices>
  2171. <itemset nodeset="/root/init/cmbinfo/job/M0068">
  2172. <label ref="cdnm"/>
  2173. <value ref="cdid"/>
  2174. </itemset>
  2175. </choices>
  2176. </select1>
  2177. <select1 id="cmb_patrelign" ref="/root/main/hsctinfo/trnptinfo/patrelign" class="combo_default" navindex="10" appearance="minimal" style="left:1084px; top:330px; width:110px; height:19px; ">
  2178. <choices>
  2179. <itemset nodeset="/root/init/cmbinfo/relign/M0070">
  2180. <label ref="cdnm"/>
  2181. <value ref="cdid"/>
  2182. </itemset>
  2183. </choices>
  2184. </select1>
  2185. <select1 id="cmb_pattrnptbfbtype" ref="/root/main/hsctinfo/trnptinfo/pattrnptbfbtype" class="combo_default" navindex="1" appearance="minimal" style="left:93px; top:330px; width:115px; height:19px; ">
  2186. <choices>
  2187. <itemset nodeset="/root/init/cmbinfo/btype/M0376">
  2188. <label ref="cdnm"/>
  2189. <value ref="cdid"/>
  2190. </itemset>
  2191. </choices>
  2192. </select1>
  2193. <input id="ipt_patbdwt" ref="/root/main/hsctinfo/trnptinfo/patbdwt" class="input_default" navindex="3" style="left:329px; top:330px; width:72px; height:19px; text-align:right; "/>
  2194. <output id="opt_dethdd" ref="/root/main/hsctinfo/patinfolist/dethdd" class="output_fix" format="yyyy-mm-dd" style="left:653px; top:79px; width:115px; height:19px; text-align:center; "/>
  2195. <select1 id="cmb_bmtdr" ref="/root/main/hsctinfo/trnptinfo/atdoctid" class="combo_default" appearance="minimal" style="left:280px; top:180px; width:90px; height:19px; ">
  2196. <choices>
  2197. <itemset nodeset="/root/init/cmbinfo/bmtatdoctlist/A0536">
  2198. <label ref="cdnm"/>
  2199. <value ref="cdid"/>
  2200. </itemset>
  2201. </choices>
  2202. <script type="javascript" ev:event="xforms-value-changed">
  2203. <![CDATA[
  2204. model.setValue("/root/main/hsctinfo/trnptinfo/atdoctnm", cmb_bmtdr.label);
  2205. model.refresh();
  2206. ]]>
  2207. </script>
  2208. </select1>
  2209. <select id="chk_execyny" ref="/root/main/hsctinfo/trnptinfo/execyn" overflow="visible" appearance="full" cols="3" rows="1" style="left:828px; top:454px; width:32px; height:20px; border-style:none; ">
  2210. <choices>
  2211. <item>
  2212. <label>유</label>
  2213. <value>Y</value>
  2214. </item>
  2215. </choices>
  2216. <script type="javascript" ev:event="xforms-value-changed">
  2217. <![CDATA[
  2218. if ( model.getValue("/root/main/hsctinfo/trnptinfo/execyn").indexOf("N") >-1 ||
  2219. model.getValue("/root/main/hsctinfo/trnptinfo/execyn").indexOf("-") >-1 ||
  2220. model.getValue("/root/main/hsctinfo/trnptinfo/execyn").indexOf("") >-1 ){
  2221. // 시행여부가 유이어야 실패를 체크할 수 있다.
  2222. bool_execfailyn.disabled = "false";
  2223. model.setValue("/root/main/hsctinfo/trnptinfo/execyn","Y");
  2224. model.refresh();
  2225. }
  2226. ]]>
  2227. </script>
  2228. </select>
  2229. <select id="chk_execynn" ref="/root/main/hsctinfo/trnptinfo/execyn" overflow="visible" appearance="full" cols="3" rows="1" style="left:863px; top:454px; width:32px; height:20px; border-style:none; ">
  2230. <choices>
  2231. <item>
  2232. <label>무</label>
  2233. <value>N</value>
  2234. </item>
  2235. </choices>
  2236. <script type="javascript" ev:event="xforms-value-changed">
  2237. <![CDATA[
  2238. if ( model.getValue("/root/main/hsctinfo/trnptinfo/execyn").indexOf("Y") >-1 ||
  2239. model.getValue("/root/main/hsctinfo/trnptinfo/execyn").indexOf("-") >-1 ||
  2240. model.getValue("/root/main/hsctinfo/trnptinfo/execyn").indexOf("") >-1 ) {
  2241. // 시행여부가 무이면 실패를 체크할 수 없다.
  2242. model.setValue("/root/main/hsctinfo/trnptinfo/execfailyn", "N");
  2243. bool_execfailyn.disabled = "true";
  2244. model.setValue("/root/main/hsctinfo/trnptinfo/execyn","N");
  2245. model.refresh();
  2246. }
  2247. ]]>
  2248. </script>
  2249. </select>
  2250. <caption id="caption47" style="left:850px; top:480px; width:40px; height:20px; ">실패</caption>
  2251. <bool id="bool_execfailyn" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptinfo/execfailyn" style="left:828px; top:478px; width:25px; height:20px; "/>
  2252. <input id="ipt_patprgcnt" ref="/root/main/hsctinfo/trnptinfo/patprgcnt" class="input_default" navindex="6" style="left:623px; top:330px; width:77px; height:19px; text-align:center; "/>
  2253. <input id="ipt_patchldrncnt" ref="/root/main/hsctinfo/trnptinfo/patchldrncnt" class="input_default" navindex="7" style="left:726px; top:330px; width:77px; height:19px; text-align:center; "/>
  2254. <caption id="caption48" class="tit_2" style="left:5px; top:514px; width:155px; height:13px; ">CIBMTR 등록 정보</caption>
  2255. <line id="line36" class="line_1" style="x1:0px; y1:529px; x2:693px; y2:529px; "/>
  2256. <select id="checkbox3" ref="/root/main/hsctinfo/patinfolist/resrchyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:415px; top:536px; width:46px; height:19px; border-style:none; ">
  2257. <choices>
  2258. <item>
  2259. <label>No</label>
  2260. <value>N</value>
  2261. </item>
  2262. </choices>
  2263. <script type="javascript" ev:event="xforms-value-changed">
  2264. <![CDATA[
  2265. if ( model.getValue("/root/main/hsctinfo/patinfolist/resrchyn").indexOf("Y") >-1 ||
  2266. model.getValue("/root/main/hsctinfo/patinfolist/resrchyn").indexOf("-") >-1 ||
  2267. model.getValue("/root/main/hsctinfo/patinfolist/resrchyn").indexOf("") >-1 ){
  2268. model.setValue("/root/main/hsctinfo/patinfolist/resrchyn","N");
  2269. model.refresh();
  2270. }
  2271. ]]>
  2272. </script>
  2273. </select>
  2274. <select id="checkbox6" ref="/root/main/hsctinfo/patinfolist/resrchyn" overflow="visible" appearance="full" cols="2" rows="1" style="left:361px; top:536px; width:51px; height:19px; border-style:none; ">
  2275. <choices>
  2276. <item>
  2277. <label>Yes</label>
  2278. <value>Y</value>
  2279. </item>
  2280. </choices>
  2281. <script type="javascript" ev:event="xforms-value-changed">
  2282. <![CDATA[
  2283. if ( model.getValue("/root/main/hsctinfo/patinfolist/resrchyn").indexOf("N") >-1 ||
  2284. model.getValue("/root/main/hsctinfo/patinfolist/resrchyn").indexOf("-") >-1 ||
  2285. model.getValue("/root/main/hsctinfo/patinfolist/resrchyn").indexOf("") >-1 ){
  2286. model.setValue("/root/main/hsctinfo/patinfolist/resrchyn","Y");
  2287. model.refresh();
  2288. }
  2289. ]]>
  2290. </script>
  2291. </select>
  2292. <input id="input1" ref="/root/main/hsctinfo/patinfolist/cibmtrid" class="input_default" style="left:129px; top:535px; width:100px; height:19px; text-align:center; "/>
  2293. <input id="input3" ref="/root/main/hsctinfo/patinfolist/lostfudd" class="input_default" inputtype="date" style="left:593px; top:535px; width:100px; height:19px; "/>
  2294. <button id="button5" class="btn2_letter7" style="left:1097px; top:509px; width:97px; height:19px; ">
  2295. <caption>SMS 전송이력</caption>
  2296. <script type="javascript" ev:event="DOMActivate">
  2297. <![CDATA[
  2298. modal("SMZMS00300",0,100,150,"SMZMS00300","","");
  2299. ]]>
  2300. </script>
  2301. </button>
  2302. <textarea id="tar_qestcnts" ref="/root/temp/smsinfo/smsreply" style="left:821px; top:583px; width:373px; height:76px; "/>
  2303. <line id="line41" class="line_2" style="x1:698px; y1:556px; x2:1194px; y2:556px; "/>
  2304. <line id="line42" class="line_2" style="x1:698px; y1:580px; x2:1194px; y2:580px; "/>
  2305. <caption id="caption87" class="cell_1" style="left:698px; top:582px; width:120px; height:80px; vertical-align:middle; ">발신 내용</caption>
  2306. <caption id="caption54" ref="/root/main/hsctinfo/trnptaftddinfo/cntsnm01" class="cell_2" style="left:59px; top:591px; width:88px; height:23px; vertical-align:middle; ">100 days</caption>
  2307. <caption id="caption50" class="cell_1" style="left:232px; top:534px; width:126px; height:23px; vertical-align:middle; ">Research 채택여부</caption>
  2308. <caption id="caption51" class="cell_1" style="left:464px; top:534px; width:126px; height:23px; vertical-align:middle; ">Lost F/U</caption>
  2309. <caption id="caption49" class="cell_1" style="left:0px; top:534px; width:126px; height:23px; vertical-align:middle; ">CIBMTR ID</caption>
  2310. <caption id="caption53" ref="/root/main/hsctinfo/trnptaftddinfo/cntsnm02" class="cell_2" style="left:150px; top:591px; width:88px; height:23px; vertical-align:middle; ">6 month</caption>
  2311. <caption id="caption73" ref="/root/main/hsctinfo/trnptaftddinfo/cntsnm03" class="cell_2" style="left:241px; top:591px; width:88px; height:23px; vertical-align:middle; ">1 year</caption>
  2312. <caption id="caption82" ref="/root/main/hsctinfo/trnptaftddinfo/cntsnm04" class="cell_2" style="left:332px; top:591px; width:88px; height:23px; vertical-align:middle; ">2 year</caption>
  2313. <caption id="caption90" ref="/root/main/hsctinfo/trnptaftddinfo/cntsnm05" class="cell_2" style="left:423px; top:591px; width:88px; height:23px; vertical-align:middle; ">3 year</caption>
  2314. <caption id="caption91" ref="/root/main/hsctinfo/trnptaftddinfo/cntsnm06" class="cell_2" style="left:514px; top:591px; width:88px; height:23px; vertical-align:middle; ">4 year</caption>
  2315. <caption id="caption92" ref="/root/main/hsctinfo/trnptaftddinfo/cntsnm07" class="cell_2" style="left:605px; top:591px; width:88px; height:23px; vertical-align:middle; ">5 year</caption>
  2316. <button id="button11" class="icon_eraser" style="left:567px; top:534px; width:23px; height:23px; ">
  2317. <caption/>
  2318. <script type="javascript" ev:event="DOMActivate">
  2319. <![CDATA[
  2320. if (messageBox("Lost F/U 일자의 초기화 작업을", "Q004") == 6) {
  2321. model.setValue("/root/main/hsctinfo/patinfolist/lostfudd", "00000000");
  2322. model.refresh();
  2323. }
  2324. ]]>
  2325. </script>
  2326. <hint>
  2327. <![CDATA[종결일자를 지정한 후에 다시 취소할 경우 사용]]>
  2328. </hint>
  2329. </button>
  2330. <line id="line37" class="line_2" style="x1:0px; y1:613px; x2:693px; y2:613px; "/>
  2331. <line id="line39" class="line_3" style="x1:698px; y1:661px; x2:1194px; y2:661px; "/>
  2332. <output id="opt_statdd01" ref="/root/main/hsctinfo/trnptaftddinfo/day100dd" class="output_fix" format="yyyy-mm-dd" style="left:59px; top:616px; width:88px; height:19px; text-align:center; "/>
  2333. <output id="opt_statdd02" ref="/root/main/hsctinfo/trnptaftddinfo/month6dd" class="output_fix" format="yyyy-mm-dd" style="left:150px; top:616px; width:88px; height:19px; text-align:center; "/>
  2334. <output id="opt_statdd03" ref="/root/main/hsctinfo/trnptaftddinfo/year1dd" class="output_fix" format="yyyy-mm-dd" style="left:241px; top:616px; width:88px; height:19px; text-align:center; "/>
  2335. <output id="opt_statdd04" ref="/root/main/hsctinfo/trnptaftddinfo/year2dd" class="output_fix" format="yyyy-mm-dd" style="left:332px; top:616px; width:88px; height:19px; text-align:center; "/>
  2336. <output id="opt_statdd05" ref="/root/main/hsctinfo/trnptaftddinfo/year3dd" class="output_fix" format="yyyy-mm-dd" style="left:423px; top:616px; width:88px; height:19px; text-align:center; "/>
  2337. <output id="opt_statdd06" ref="/root/main/hsctinfo/trnptaftddinfo/year4dd" class="output_fix" format="yyyy-mm-dd" style="left:514px; top:616px; width:88px; height:19px; text-align:center; "/>
  2338. <output id="opt_statdd07" ref="/root/main/hsctinfo/trnptaftddinfo/year5dd" class="output_fix" format="yyyy-mm-dd" style="left:605px; top:616px; width:88px; height:19px; text-align:center; "/>
  2339. <bool id="bool_cnfmyn01" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmyn01" style="left:59px; top:640px; width:18px; height:20px; ">
  2340. <script type="javascript" ev:event="xforms-select">
  2341. <![CDATA[
  2342. fCheckCibmtr("Y", "/root/main/hsctinfo/trnptaftddinfo/day100dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm01", "/root/main/hsctinfo/trnptaftddinfo/row01");
  2343. ]]>
  2344. </script>
  2345. <script type="javascript" ev:event="xforms-deselect">
  2346. <![CDATA[
  2347. fCheckCibmtr("N", "/root/main/hsctinfo/trnptaftddinfo/day100dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm01", "/root/main/hsctinfo/trnptaftddinfo/row01");
  2348. ]]>
  2349. </script>
  2350. </bool>
  2351. <bool id="bool_cnfmyn02" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmyn02" style="left:150px; top:640px; width:18px; height:20px; ">
  2352. <script type="javascript" ev:event="xforms-select">
  2353. <![CDATA[
  2354. fCheckCibmtr("Y", "/root/main/hsctinfo/trnptaftddinfo/month6dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm02", "/root/main/hsctinfo/trnptaftddinfo/row02");
  2355. ]]>
  2356. </script>
  2357. <script type="javascript" ev:event="xforms-deselect">
  2358. <![CDATA[
  2359. fCheckCibmtr("N", "/root/main/hsctinfo/trnptaftddinfo/month6dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm02", "/root/main/hsctinfo/trnptaftddinfo/row02");
  2360. ]]>
  2361. </script>
  2362. </bool>
  2363. <bool id="bool_cnfmyn03" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmyn03" style="left:241px; top:640px; width:18px; height:20px; ">
  2364. <script type="javascript" ev:event="xforms-select">
  2365. <![CDATA[
  2366. fCheckCibmtr("Y", "/root/main/hsctinfo/trnptaftddinfo/year1dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm03", "/root/main/hsctinfo/trnptaftddinfo/row03");
  2367. ]]>
  2368. </script>
  2369. <script type="javascript" ev:event="xforms-deselect">
  2370. <![CDATA[
  2371. fCheckCibmtr("N", "/root/main/hsctinfo/trnptaftddinfo/year1dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm03", "/root/main/hsctinfo/trnptaftddinfo/row03");
  2372. ]]>
  2373. </script>
  2374. </bool>
  2375. <bool id="bool_cnfmyn04" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmyn04" style="left:332px; top:640px; width:18px; height:20px; ">
  2376. <script type="javascript" ev:event="xforms-select">
  2377. <![CDATA[
  2378. fCheckCibmtr("Y", "/root/main/hsctinfo/trnptaftddinfo/year2dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm04", "/root/main/hsctinfo/trnptaftddinfo/row04");
  2379. ]]>
  2380. </script>
  2381. <script type="javascript" ev:event="xforms-deselect">
  2382. <![CDATA[
  2383. fCheckCibmtr("N", "/root/main/hsctinfo/trnptaftddinfo/year2dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm04", "/root/main/hsctinfo/trnptaftddinfo/row04");
  2384. ]]>
  2385. </script>
  2386. </bool>
  2387. <bool id="bool_cnfmyn05" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmyn05" style="left:423px; top:640px; width:18px; height:20px; ">
  2388. <script type="javascript" ev:event="xforms-select">
  2389. <![CDATA[
  2390. fCheckCibmtr("Y", "/root/main/hsctinfo/trnptaftddinfo/year3dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm05", "/root/main/hsctinfo/trnptaftddinfo/row05");
  2391. ]]>
  2392. </script>
  2393. <script type="javascript" ev:event="xforms-deselect">
  2394. <![CDATA[
  2395. fCheckCibmtr("N", "/root/main/hsctinfo/trnptaftddinfo/year3dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm05", "/root/main/hsctinfo/trnptaftddinfo/row05");
  2396. ]]>
  2397. </script>
  2398. </bool>
  2399. <bool id="bool_cnfmyn06" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmyn06" style="left:514px; top:640px; width:18px; height:20px; ">
  2400. <script type="javascript" ev:event="xforms-select">
  2401. <![CDATA[
  2402. fCheckCibmtr("Y", "/root/main/hsctinfo/trnptaftddinfo/year4dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm06", "/root/main/hsctinfo/trnptaftddinfo/row06");
  2403. ]]>
  2404. </script>
  2405. <script type="javascript" ev:event="xforms-deselect">
  2406. <![CDATA[
  2407. fCheckCibmtr("N", "/root/main/hsctinfo/trnptaftddinfo/year4dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm06", "/root/main/hsctinfo/trnptaftddinfo/row06");
  2408. ]]>
  2409. </script>
  2410. </bool>
  2411. <bool id="bool_cnfmyn07" disabled="true" checkvalue="Y,N" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmyn07" style="left:605px; top:640px; width:18px; height:20px; ">
  2412. <script type="javascript" ev:event="xforms-select">
  2413. <![CDATA[
  2414. fCheckCibmtr("Y", "/root/main/hsctinfo/trnptaftddinfo/year5dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm07", "/root/main/hsctinfo/trnptaftddinfo/row07");
  2415. ]]>
  2416. </script>
  2417. <script type="javascript" ev:event="xforms-deselect">
  2418. <![CDATA[
  2419. fCheckCibmtr("N", "/root/main/hsctinfo/trnptaftddinfo/year5dd", "/root/main/hsctinfo/trnptaftddinfo/cntsnm07", "/root/main/hsctinfo/trnptaftddinfo/row07");
  2420. ]]>
  2421. </script>
  2422. </bool>
  2423. <datagrid id="grd_trnptaftstat" nodeset="/root/main/hsctinfo/cibmtrinfo" visibility="hidden" caption="내 용^날짜^확인일자^seqno^caption3" colsep="^" colwidth="52, 72, 53, 52" dataheight="23" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:755px; top:360px; width:115px; height:50px; ">
  2424. <col ref="cntsnm" type="input" style="text-align:center; "/>
  2425. <col ref="statdd" type="output" style="text-align:center; "/>
  2426. <col ref="cnfmdd"/>
  2427. <col ref="seqno" visibility="hidden"/>
  2428. </datagrid>
  2429. <input id="ipt_patbdht" ref="/root/main/hsctinfo/trnptinfo/patbdht" class="input_default" navindex="4" style="left:427px; top:330px; width:72px; height:19px; text-align:right; "/>
  2430. <caption id="cap_trnptdg" class="tit_2" style="left:5px; top:111px; width:72px; height:13px; ">이식차수</caption>
  2431. <caption id="cap_days" class="cell_1" style="left:771px; top:78px; width:301px; height:23px; text-align:left; vertical-align:middle; ">이식일로부터 마지막외래일 Day수</caption>
  2432. <caption id="caption77" class="tit_2" style="left:5px; top:571px; width:155px; height:13px; ">CIBMTR F/U일자</caption>
  2433. <line id="line38" class="line_3" style="x1:0px; y1:556px; x2:693px; y2:556px; "/>
  2434. <line id="line43" class="line_1" style="x1:0px; y1:586px; x2:693px; y2:586px; "/>
  2435. <line id="line44" class="line_2" style="x1:0px; y1:637px; x2:693px; y2:637px; "/>
  2436. <output id="output4" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmdd05" class="output_fix" format="yyyy-mm-dd" style="left:441px; top:640px; width:70px; height:19px; text-align:center; "/>
  2437. <output id="output8" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmdd06" class="output_fix" format="yyyy-mm-dd" style="left:532px; top:640px; width:70px; height:19px; text-align:center; "/>
  2438. <output id="output9" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmdd07" class="output_fix" format="yyyy-mm-dd" style="left:623px; top:640px; width:70px; height:19px; text-align:center; "/>
  2439. <output id="output10" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmdd01" class="output_fix" format="yyyy-mm-dd" style="left:77px; top:640px; width:70px; height:19px; text-align:center; "/>
  2440. <output id="output11" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmdd02" class="output_fix" format="yyyy-mm-dd" style="left:168px; top:640px; width:70px; height:19px; text-align:center; "/>
  2441. <output id="output12" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmdd03" class="output_fix" format="yyyy-mm-dd" style="left:259px; top:640px; width:70px; height:19px; text-align:center; "/>
  2442. <output id="output13" ref="/root/main/hsctinfo/trnptaftddinfo/cnfmdd04" class="output_fix" format="yyyy-mm-dd" style="left:350px; top:640px; width:70px; height:19px; text-align:center; "/>
  2443. <caption id="caption84" class="cell_1" style="left:698px; top:534px; width:120px; height:23px; vertical-align:middle; ">보호자명</caption>
  2444. <caption id="caption85" class="cell_1" style="left:944px; top:534px; width:120px; height:23px; vertical-align:middle; ">보호자연락처</caption>
  2445. <caption id="caption86" class="cell_1" style="left:698px; top:558px; width:120px; height:23px; vertical-align:middle; ">회신연락처</caption>
  2446. <caption id="caption93" class="cell_1" style="left:0px; top:615px; width:56px; height:23px; vertical-align:middle; ">F/U일자</caption>
  2447. <caption id="caption94" class="cell_1" style="left:0px; top:639px; width:56px; height:23px; vertical-align:middle; ">확인일자</caption>
  2448. <line id="line40" class="line_3" style="x1:0px; y1:661px; x2:693px; y2:661px; "/>
  2449. <caption id="caption95" class="cell_1" style="left:0px; top:591px; width:56px; height:23px; vertical-align:middle; "/>
  2450. </group>
  2451. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  2452. <button id="btn_save" class="btn4_letter2" style="left:1008px; top:5px; width:56px; height:22px; ">
  2453. <caption>저장</caption>
  2454. <script type="javascript" ev:event="DOMActivate">
  2455. <![CDATA[
  2456. if (model.getValue("/root/main/hsctinfo/patinfolist/pid") == ""){
  2457. messageBox("등록번호는 ", "I003")
  2458. return false;
  2459. }
  2460. if (model.getValue("/root/main/trnptdg") == ""){
  2461. messageBox("이식차수는 ", "I003")
  2462. return false;
  2463. }
  2464. fSaveData();
  2465. ]]>
  2466. </script>
  2467. </button>
  2468. <button id="btn_delete" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
  2469. <caption>삭제</caption>
  2470. <script type="javascript" ev:event="DOMActivate">
  2471. <![CDATA[
  2472. if (model.getValue("/root/main/hsctinfo/patinfolist/pid") == ""){
  2473. messageBox("등록번호는 ", "I003")
  2474. return false;
  2475. }
  2476. if (model.getValue("/root/main/trnptdg") == ""){
  2477. messageBox("이식차수는 ", "I003")
  2478. return false;
  2479. }
  2480. if (messageBox("해당 차수의 BMT환자정보를", "Q001")==6){
  2481. model.setValue("/root/send/req/trnptdg", model.getValue( "/root/main/trnptdg"));
  2482. if ( submit("TXABO00103") ) {
  2483. // 삭제시에는 선택한 차수가 삭제되므로 모든 정보를 다시 조회하고 마지막 차수에 대한 정보를 표시한다.
  2484. fGetPatientInfo();
  2485. }
  2486. }
  2487. ]]>
  2488. </script>
  2489. </button>
  2490. <button id="btn_search" class="btn4_letter2" style="left:945px; top:5px; width:56px; height:22px; ">
  2491. <caption>조회</caption>
  2492. <script type="javascript" ev:event="DOMActivate">
  2493. <![CDATA[
  2494. // 조회할 때 환자를 입력하지 않으면 조회하지 말자
  2495. if (model.getValue("/root/main/hsctinfo/patinfolist/pid") == ""){
  2496. return;
  2497. }
  2498. //조회할 환자번호와 이전 조회한 환자 번호가 다르면 이식차수를 리셋.(새로 조회시 MAX차수를 가져오기 위해..)
  2499. if(model.getValue("/root/temp/bfPid") != model.getValue("/root/main/hsctinfo/patinfolist/pid")){
  2500. model.resetInstanceNode("/root/main/trnptdg");
  2501. model.resetInstanceNode("/root/temp/bmtpatientinfo/trnptdg");
  2502. }
  2503. // 조회 시 기 선택된 환자의 차수에 대한 정보가 있을 경우에는 해당 차수정보를 다시 조회하기 위해서
  2504. if ( model.getValue("/root/main/trnptdg") != "" ) {
  2505. // 이식차수를 선택했을 때는 차수정보를 조회할 필요가 없으므로 해당 차수의 이식 정보만 조회한다.
  2506. fSetDisplay();
  2507. } else {
  2508. // 기 선택된 차수정보가 없을 경우에는 환자의 차수정보를 다시 조회하고 마지막 차수 정보를 표시한다.
  2509. fGetPatientInfo();
  2510. }
  2511. ]]>
  2512. </script>
  2513. </button>
  2514. <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  2515. <caption>초기화</caption>
  2516. <script type="javascript" ev:event="DOMActivate">
  2517. <![CDATA[
  2518. fSetDisplayInit("A");
  2519. ]]>
  2520. </script>
  2521. </button>
  2522. </group>
  2523. <script type="javascript" ev:event="DOMFocusOut">
  2524. <![CDATA[
  2525. initPopupMenu();
  2526. ]]>
  2527. </script>
  2528. </xhtml:body>
  2529. </xhtml:html>