SPADC60900_ADR의뢰.xrw 66 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784
  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>ADR 의뢰</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <pid/>
  12. <hngnm/>
  13. <prcpflag/>
  14. <reqdeptnm/>
  15. <requsernm/>
  16. <roomcd/>
  17. <sna/>
  18. <recvdeptnm/>
  19. <recvusernm/>
  20. </patinfo>
  21. <cnstinfo>
  22. <cnstkind>2</cnstkind>
  23. <cnstseqno/>
  24. <cretno/>
  25. <formrecseq/>
  26. <formcd>0000000693</formcd>
  27. <cnststat/>
  28. <reqdd/>
  29. <reqhm/>
  30. <chosflag/>
  31. <orddd/>
  32. <eryn>N</eryn>
  33. <reqdeptcd/>
  34. <requserid/>
  35. <cnstcnts1/>
  36. <cnstcnts2/>
  37. <cnstcnts3/>
  38. <cnstcnts4/>
  39. <cnstcnts5/>
  40. <cnstcnts6/>
  41. <cnstcnts7/>
  42. <cnstcnts8/>
  43. <cnstcnts9/>
  44. <cnstcnts10/>
  45. <cnstcnts11/>
  46. <cnstcnts12/>
  47. <cnstcnts13/>
  48. <cnstcnts14/>
  49. <cnstcnts15/>
  50. <cnstcnts16/>
  51. <cnstcnts17/>
  52. <cnstcnts18/>
  53. <cnstcnts19/>
  54. <cnstcnts20/>
  55. <cnstcnts21/>
  56. <cnstcnts22/>
  57. <cnstcnts23/>
  58. <cnstcnts24/>
  59. <cnstcnts25/>
  60. <cnstcnts26/>
  61. <cnstcnts27/>
  62. <cnstcnts28/>
  63. <cnstcnts29/>
  64. <cnstcnts30/>
  65. <cnstflag>3</cnstflag>
  66. <recvdeptcd>3240000000</recvdeptcd>
  67. <reqdrugnm/>
  68. <pastreqdrugnm/>
  69. </cnstinfo>
  70. </main>
  71. <send>
  72. <srchdata>
  73. <srchcode>
  74. <srchformcd/>
  75. <srchcdgrupid/>
  76. </srchcode>
  77. </srchdata>
  78. <srchinfo/>
  79. <srchreqidinfo>
  80. <pid/>
  81. </srchreqidinfo>
  82. <srchpaminfo>
  83. <pid/>
  84. </srchpaminfo>
  85. <reqdata>
  86. <drugcd/>
  87. </reqdata>
  88. </send>
  89. <init>
  90. <codelist>
  91. <lrggrupcd>
  92. <cdnm/>
  93. <cdid/>
  94. </lrggrupcd>
  95. <smlcd1>
  96. <cdnm/>
  97. <cdid/>
  98. </smlcd1>
  99. <smlcd2>
  100. <cdnm/>
  101. <cdid/>
  102. </smlcd2>
  103. <smlcd3>
  104. <cdnm/>
  105. <cdid/>
  106. </smlcd3>
  107. <smlcd4>
  108. <cdnm/>
  109. <cdid/>
  110. </smlcd4>
  111. <smlcd5>
  112. <cdnm/>
  113. <cdid/>
  114. </smlcd5>
  115. <smlcd6>
  116. <cdnm/>
  117. <cdid/>
  118. </smlcd6>
  119. <smlcd7>
  120. <cdnm/>
  121. <cdid/>
  122. </smlcd7>
  123. <smlcd8>
  124. <cdnm/>
  125. <cdid/>
  126. </smlcd8>
  127. <smlcd9>
  128. <cdnm/>
  129. <cdid/>
  130. </smlcd9>
  131. <smlcd10>
  132. <cdnm/>
  133. <cdid/>
  134. </smlcd10>
  135. <smlcd11>
  136. <cdnm/>
  137. <cdid/>
  138. </smlcd11>
  139. <smlcd12>
  140. <cdnm/>
  141. <cdid/>
  142. </smlcd12>
  143. <smlcd13>
  144. <cdnm/>
  145. <cdid/>
  146. </smlcd13>
  147. <smlcd14>
  148. <cdnm/>
  149. <cdid/>
  150. </smlcd14>
  151. </codelist>
  152. <baseinfo>
  153. <initprcpclscd/>
  154. <initcnst/>
  155. </baseinfo>
  156. </init>
  157. <hidden>
  158. <codelist>
  159. <lrggrupcd>
  160. <cdnm/>
  161. <cdid/>
  162. </lrggrupcd>
  163. <lrggrupcd>
  164. <cdnm>
  165. <![CDATA[Cardiovascular Cardiovascular]]>
  166. </cdnm>
  167. <cdid>1</cdid>
  168. </lrggrupcd>
  169. <lrggrupcd>
  170. <cdnm>Dermatological</cdnm>
  171. <cdid>2</cdid>
  172. </lrggrupcd>
  173. <lrggrupcd>
  174. <cdnm>Endocrine/metabolic</cdnm>
  175. <cdid>3</cdid>
  176. </lrggrupcd>
  177. <lrggrupcd>
  178. <cdnm>ENT/oral</cdnm>
  179. <cdid>4</cdid>
  180. </lrggrupcd>
  181. <lrggrupcd>
  182. <cdnm>Reproductive</cdnm>
  183. <cdid>5</cdid>
  184. </lrggrupcd>
  185. <lrggrupcd>
  186. <cdnm>Electrolyte homeostasis</cdnm>
  187. <cdid>6</cdid>
  188. </lrggrupcd>
  189. <lrggrupcd>
  190. <cdnm>Gastrointestinal</cdnm>
  191. <cdid>7</cdid>
  192. </lrggrupcd>
  193. <lrggrupcd>
  194. <cdnm>Generalized</cdnm>
  195. <cdid>8</cdid>
  196. </lrggrupcd>
  197. <lrggrupcd>
  198. <cdnm>Hematological</cdnm>
  199. <cdid>9</cdid>
  200. </lrggrupcd>
  201. <lrggrupcd>
  202. <cdnm>Hepatic</cdnm>
  203. <cdid>10</cdid>
  204. </lrggrupcd>
  205. <lrggrupcd>
  206. <cdnm>Musculoskeletal</cdnm>
  207. <cdid>11</cdid>
  208. </lrggrupcd>
  209. <lrggrupcd>
  210. <cdnm>Neurological</cdnm>
  211. <cdid>12</cdid>
  212. </lrggrupcd>
  213. <lrggrupcd>
  214. <cdnm>Renal</cdnm>
  215. <cdid>13</cdid>
  216. </lrggrupcd>
  217. <lrggrupcd>
  218. <cdnm>Respiratory</cdnm>
  219. <cdid>14</cdid>
  220. </lrggrupcd>
  221. <smlcd1>
  222. <cdnm>arrhythmia (부정맥)</cdnm>
  223. <cdid>01</cdid>
  224. </smlcd1>
  225. <smlcd1>
  226. <cdnm>angina (협심증)</cdnm>
  227. <cdid>02</cdid>
  228. </smlcd1>
  229. <smlcd1>
  230. <cdnm>hypertension (고혈압)</cdnm>
  231. <cdid>03</cdid>
  232. </smlcd1>
  233. <smlcd1>
  234. <cdnm>hypotesion (저혈압)</cdnm>
  235. <cdid>04</cdid>
  236. </smlcd1>
  237. <smlcd1>
  238. <cdnm>bradycardia (서맥)</cdnm>
  239. <cdid>05</cdid>
  240. </smlcd1>
  241. <smlcd1>
  242. <cdnm>techycardia (빈맥)</cdnm>
  243. <cdid>06</cdid>
  244. </smlcd1>
  245. <smlcd1>
  246. <cdnm>기타</cdnm>
  247. <cdid>99</cdid>
  248. </smlcd1>
  249. <smlcd2>
  250. <cdnm>rash (발진)</cdnm>
  251. <cdid>01</cdid>
  252. </smlcd2>
  253. <smlcd2>
  254. <cdnm>itching (가려움증)</cdnm>
  255. <cdid>02</cdid>
  256. </smlcd2>
  257. <smlcd2>
  258. <cdnm>erythema (홍반)</cdnm>
  259. <cdid>03</cdid>
  260. </smlcd2>
  261. <smlcd2>
  262. <cdnm>hives (두드러기)</cdnm>
  263. <cdid>04</cdid>
  264. </smlcd2>
  265. <smlcd2>
  266. <cdnm>phlebitis (정맥염)</cdnm>
  267. <cdid>05</cdid>
  268. </smlcd2>
  269. <smlcd2>
  270. <cdnm>bruising (멍,타박상)</cdnm>
  271. <cdid>06</cdid>
  272. </smlcd2>
  273. <smlcd2>
  274. <cdnm>petechia (점출혈)</cdnm>
  275. <cdid>07</cdid>
  276. </smlcd2>
  277. <smlcd2>
  278. <cdnm>ecchymosis (반상출혈)</cdnm>
  279. <cdid>08</cdid>
  280. </smlcd2>
  281. <smlcd2>
  282. <cdnm>기타</cdnm>
  283. <cdid>99</cdid>
  284. </smlcd2>
  285. <smlcd3>
  286. <cdnm>hyperglycemia (고혈당증)</cdnm>
  287. <cdid>01</cdid>
  288. </smlcd3>
  289. <smlcd3>
  290. <cdnm>hypoglycemia (저혈당증)</cdnm>
  291. <cdid>02</cdid>
  292. </smlcd3>
  293. <smlcd3>
  294. <cdnm>sexual dysfunction (성기능장애)</cdnm>
  295. <cdid>03</cdid>
  296. </smlcd3>
  297. <smlcd3>
  298. <cdnm>hypothyroidism (갑상선저하증)</cdnm>
  299. <cdid>04</cdid>
  300. </smlcd3>
  301. <smlcd3>
  302. <cdnm>기타</cdnm>
  303. <cdid>99</cdid>
  304. </smlcd3>
  305. <smlcd4>
  306. <cdnm>altered taste(미각변화)</cdnm>
  307. <cdid>01</cdid>
  308. </smlcd4>
  309. <smlcd4>
  310. <cdnm>stomatitis (구내염)</cdnm>
  311. <cdid>02</cdid>
  312. </smlcd4>
  313. <smlcd4>
  314. <cdnm>thrush (아구창)</cdnm>
  315. <cdid>03</cdid>
  316. </smlcd4>
  317. <smlcd4>
  318. <cdnm>tinnitus (이명)</cdnm>
  319. <cdid>04</cdid>
  320. </smlcd4>
  321. <smlcd4>
  322. <cdnm>hearing loss (난청)</cdnm>
  323. <cdid>05</cdid>
  324. </smlcd4>
  325. <smlcd4>
  326. <cdnm>rhinorrhea (콧물)</cdnm>
  327. <cdid>06</cdid>
  328. </smlcd4>
  329. <smlcd4>
  330. <cdnm>기타</cdnm>
  331. <cdid>99</cdid>
  332. </smlcd4>
  333. <smlcd5>
  334. <cdnm>fetomaternal hemorrhage (태아산모출혈)</cdnm>
  335. <cdid>01</cdid>
  336. </smlcd5>
  337. <smlcd5>
  338. <cdnm>fetal respiratory (태아호흡억제제)</cdnm>
  339. <cdid>02</cdid>
  340. </smlcd5>
  341. <smlcd5>
  342. <cdnm>teratogenesis (기형발생)</cdnm>
  343. <cdid>03</cdid>
  344. </smlcd5>
  345. <smlcd5>
  346. <cdnm>기타</cdnm>
  347. <cdid>99</cdid>
  348. </smlcd5>
  349. <smlcd6>
  350. <cdnm>hyperkalemia (고칼륨혈증)</cdnm>
  351. <cdid>01</cdid>
  352. </smlcd6>
  353. <smlcd6>
  354. <cdnm>hypokalemia (저칼륨혈증)</cdnm>
  355. <cdid>02</cdid>
  356. </smlcd6>
  357. <smlcd6>
  358. <cdnm>hypernatremia (고나트륨혈증)</cdnm>
  359. <cdid>03</cdid>
  360. </smlcd6>
  361. <smlcd6>
  362. <cdnm>hypocalcemia (저칼슘혈증)</cdnm>
  363. <cdid>04</cdid>
  364. </smlcd6>
  365. <smlcd6>
  366. <cdnm>기타</cdnm>
  367. <cdid>99</cdid>
  368. </smlcd6>
  369. <smlcd7>
  370. <cdnm>diarrhea (설사)</cdnm>
  371. <cdid>01</cdid>
  372. </smlcd7>
  373. <smlcd7>
  374. <cdnm>constipation (변비)</cdnm>
  375. <cdid>02</cdid>
  376. </smlcd7>
  377. <smlcd7>
  378. <cdnm>nausea (구역)</cdnm>
  379. <cdid>03</cdid>
  380. </smlcd7>
  381. <smlcd7>
  382. <cdnm>vomiting (구토)</cdnm>
  383. <cdid>04</cdid>
  384. </smlcd7>
  385. <smlcd7>
  386. <cdnm>gastrointestinal (위창자출혈)</cdnm>
  387. <cdid>05</cdid>
  388. </smlcd7>
  389. <smlcd7>
  390. <cdnm>기타</cdnm>
  391. <cdid>99</cdid>
  392. </smlcd7>
  393. <smlcd8>
  394. <cdnm>diarrhea (설사)</cdnm>
  395. <cdid>01</cdid>
  396. </smlcd8>
  397. <smlcd8>
  398. <cdnm>anaphylaxis (아나필락시스)</cdnm>
  399. <cdid>02</cdid>
  400. </smlcd8>
  401. <smlcd8>
  402. <cdnm>fever (발열)</cdnm>
  403. <cdid>03</cdid>
  404. </smlcd8>
  405. <smlcd8>
  406. <cdnm>skin reaction (피부반응)</cdnm>
  407. <cdid>04</cdid>
  408. </smlcd8>
  409. <smlcd8>
  410. <cdnm>angioedema (혈관부종)</cdnm>
  411. <cdid>05</cdid>
  412. </smlcd8>
  413. <smlcd8>
  414. <cdnm>flush (홍조)</cdnm>
  415. <cdid>06</cdid>
  416. </smlcd8>
  417. <smlcd8>
  418. <cdnm>shock (쇼크)</cdnm>
  419. <cdid>07</cdid>
  420. </smlcd8>
  421. <smlcd8>
  422. <cdnm>기타</cdnm>
  423. <cdid>99</cdid>
  424. </smlcd8>
  425. <smlcd9>
  426. <cdnm>bleeding 출혈 (increased eosinophils)</cdnm>
  427. <cdid>01</cdid>
  428. </smlcd9>
  429. <smlcd9>
  430. <cdnm>increased PT,PTT</cdnm>
  431. <cdid>02</cdid>
  432. </smlcd9>
  433. <smlcd9>
  434. <cdnm>decreased WBC</cdnm>
  435. <cdid>03</cdid>
  436. </smlcd9>
  437. <smlcd9>
  438. <cdnm>decreased RBC</cdnm>
  439. <cdid>04</cdid>
  440. </smlcd9>
  441. <smlcd9>
  442. <cdnm>decreased HCT</cdnm>
  443. <cdid>05</cdid>
  444. </smlcd9>
  445. <smlcd9>
  446. <cdnm>decreased platelets</cdnm>
  447. <cdid>06</cdid>
  448. </smlcd9>
  449. <smlcd9>
  450. <cdnm>기타</cdnm>
  451. <cdid>99</cdid>
  452. </smlcd9>
  453. <smlcd10>
  454. <cdnm>hepatitis (간염)</cdnm>
  455. <cdid>01</cdid>
  456. </smlcd10>
  457. <smlcd10>
  458. <cdnm>jaundice (황달)</cdnm>
  459. <cdid>02</cdid>
  460. </smlcd10>
  461. <smlcd10>
  462. <cdnm>increased AST</cdnm>
  463. <cdid>03</cdid>
  464. </smlcd10>
  465. <smlcd10>
  466. <cdnm>increased ALT</cdnm>
  467. <cdid>04</cdid>
  468. </smlcd10>
  469. <smlcd10>
  470. <cdnm>increased LDH</cdnm>
  471. <cdid>05</cdid>
  472. </smlcd10>
  473. <smlcd10>
  474. <cdnm>기타</cdnm>
  475. <cdid>99</cdid>
  476. </smlcd10>
  477. <smlcd11>
  478. <cdnm>arthritis (관절염)</cdnm>
  479. <cdid>01</cdid>
  480. </smlcd11>
  481. <smlcd11>
  482. <cdnm>joint pain (관절통)</cdnm>
  483. <cdid>02</cdid>
  484. </smlcd11>
  485. <smlcd11>
  486. <cdnm>myalgia (근육통)</cdnm>
  487. <cdid>03</cdid>
  488. </smlcd11>
  489. <smlcd11>
  490. <cdnm>기타</cdnm>
  491. <cdid>99</cdid>
  492. </smlcd11>
  493. <smlcd12>
  494. <cdnm>headache (두통)</cdnm>
  495. <cdid>01</cdid>
  496. </smlcd12>
  497. <smlcd12>
  498. <cdnm>tremor (떨림)</cdnm>
  499. <cdid>02</cdid>
  500. </smlcd12>
  501. <smlcd12>
  502. <cdnm>seizure (발작)</cdnm>
  503. <cdid>03</cdid>
  504. </smlcd12>
  505. <smlcd12>
  506. <cdnm>drowsiness/somnolence (졸음)</cdnm>
  507. <cdid>04</cdid>
  508. </smlcd12>
  509. <smlcd12>
  510. <cdnm>vertigo (현기증)</cdnm>
  511. <cdid>05</cdid>
  512. </smlcd12>
  513. <smlcd12>
  514. <cdnm>altered vision (시력변경)</cdnm>
  515. <cdid>06</cdid>
  516. </smlcd12>
  517. <smlcd12>
  518. <cdnm>movement disorder(e.g.,dyskinesia, akathesia, tardive dyskinesia) (운동이상)</cdnm>
  519. <cdid>07</cdid>
  520. </smlcd12>
  521. <smlcd12>
  522. <cdnm>depression (우울증)</cdnm>
  523. <cdid>08</cdid>
  524. </smlcd12>
  525. <smlcd12>
  526. <cdnm>confusion (혼돈)</cdnm>
  527. <cdid>09</cdid>
  528. </smlcd12>
  529. <smlcd12>
  530. <cdnm>agitation (초조)</cdnm>
  531. <cdid>10</cdid>
  532. </smlcd12>
  533. <smlcd12>
  534. <cdnm>psychosis (정신병)</cdnm>
  535. <cdid>11</cdid>
  536. </smlcd12>
  537. <smlcd12>
  538. <cdnm>hallucination (환각)</cdnm>
  539. <cdid>12</cdid>
  540. </smlcd12>
  541. <smlcd12>
  542. <cdnm>기타</cdnm>
  543. <cdid>99</cdid>
  544. </smlcd12>
  545. <smlcd13>
  546. <cdnm>bladder spasm (방광연축)</cdnm>
  547. <cdid>01</cdid>
  548. </smlcd13>
  549. <smlcd13>
  550. <cdnm>oliguria (소변감소증)</cdnm>
  551. <cdid>02</cdid>
  552. </smlcd13>
  553. <smlcd13>
  554. <cdnm>renal failure (신부전)</cdnm>
  555. <cdid>03</cdid>
  556. </smlcd13>
  557. <smlcd13>
  558. <cdnm>increased BUN or Creatinine</cdnm>
  559. <cdid>04</cdid>
  560. </smlcd13>
  561. <smlcd13>
  562. <cdnm>기타</cdnm>
  563. <cdid>99</cdid>
  564. </smlcd13>
  565. <smlcd14>
  566. <cdnm>wheezing (쌕쌕거림)</cdnm>
  567. <cdid>01</cdid>
  568. </smlcd14>
  569. <smlcd14>
  570. <cdnm>dyspnea (호흡곤란)</cdnm>
  571. <cdid>02</cdid>
  572. </smlcd14>
  573. <smlcd14>
  574. <cdnm>dyspnea(transitional) (일시적 호흡곤란)</cdnm>
  575. <cdid>03</cdid>
  576. </smlcd14>
  577. <smlcd14>
  578. <cdnm>cough (기침)</cdnm>
  579. <cdid>04</cdid>
  580. </smlcd14>
  581. <smlcd14>
  582. <cdnm>increased respiration</cdnm>
  583. <cdid>05</cdid>
  584. </smlcd14>
  585. <smlcd14>
  586. <cdnm>decreased respiration</cdnm>
  587. <cdid>06</cdid>
  588. </smlcd14>
  589. <smlcd14>
  590. <cdnm>기타</cdnm>
  591. <cdid>99</cdid>
  592. </smlcd14>
  593. </codelist>
  594. <paminfolist/>
  595. <resultref>
  596. <info>
  597. <hngnm/>
  598. </info>
  599. </resultref>
  600. <cnststatinfo/>
  601. </hidden>
  602. <paminfo>
  603. </paminfo>
  604. <temp>
  605. <cnstinfo/>
  606. <srchgrupid>
  607. <initgrupid/>
  608. <drugcd/>
  609. </srchgrupid>
  610. <receivedata>
  611. <receiveref/>
  612. <receivedrugpnm/>
  613. <receivedrugflag/>
  614. <receivedrugcom/>
  615. </receivedata>
  616. <reqdata>
  617. <send>
  618. <receiveref/>
  619. </send>
  620. </reqdata>
  621. </temp>
  622. </root>
  623. </instance>
  624. <script type="javascript">
  625. <![CDATA[
  626. var sReqUseYN = "N"
  627. function finit(){
  628. input1.visible = false;
  629. if(fCnstType()){
  630. model.toggle("case2");
  631. fSetPatinfo();
  632. //fSetCmbData();
  633. btn_cnst.disabled = true;
  634. btn_reqcncl.visible = true;
  635. }else{
  636. //ADR보고서 화면에서 의뢰를 위하여 오픈 하였을 경우.
  637. if (checkOpener()) { //opener 검사
  638. //약국 ADR의뢰 메뉴에서 화면을 오픈 하였을 경우
  639. if(model.getValue("/root/properties/menu/menuparam") == "MENU") {
  640. sReqUseYN = "Y";
  641. } else {
  642. sReqUseYN = opener.javascript.getParameter("SPADC60900_USEYN");
  643. }
  644. } else {
  645. sReqUseYN = "N";
  646. }
  647. model.toggle("case1");
  648. if( sReqUseYN != "Y") {
  649. output4.visible = true;
  650. input1.visible = false;
  651. btn_reqcncl.visible = false;
  652. fGetPatInfo();
  653. } else {
  654. output4.visible = false;
  655. input1.visible = true;
  656. btn_cnst.disabled = true;
  657. btn_reqcncl.visible = false;
  658. }
  659. }
  660. pharmacyGetCodeList( new Array("P030"), new Array("/root/temp/srchgrupid/initgrupid") );
  661. submit("TRADB00001");
  662. fComboSet();
  663. model.refresh();
  664. }
  665. function fCnstType(){
  666. if(model.getValue("/root/temp/cnstinfo/formrecseq") == ""){
  667. return false;
  668. }else return true;
  669. }
  670. function fSetPatinfo(){
  671. model.setValue("/root/main/patinfo/pid", model.getValue("/root/temp/cnstinfo/pid"));
  672. model.setValue("/root/main/patinfo/hngnm", model.getValue("/root/temp/cnstinfo/pidnm"));
  673. model.setValue("/root/main/patinfo/reqdeptnm", model.getValue("/root/temp/cnstinfo/reqdeptnm"));
  674. model.setValue("/root/main/patinfo/requsernm", model.getValue("/root/temp/cnstinfo/requsernm"));
  675. model.setValue("/root/main/patinfo/recvdeptnm", model.getValue("/root/temp/cnstinfo/recvdeptnm"));
  676. model.setValue("/root/main/patinfo/recvusernm", model.getValue("/root/temp/cnstinfo/recvusernm"));
  677. model.copyNode("/root/send/srchinfo", "/root/temp/cnstinfo");
  678. submit("TRADC61701");
  679. }
  680. function fSetCmbData(){
  681. cmb_cnstcnts2.dispatch("xforms-select");
  682. cmb_cnstcnts3.dispatch("xforms-select");
  683. cmb_cnstcnts4.dispatch("xforms-select");
  684. cmb_cnstcnts5.dispatch("xforms-select");
  685. cmb_cnstcnts6.dispatch("xforms-select");
  686. cmb_cnstcnts7.dispatch("xforms-select");
  687. cmb_cnstcnts8.dispatch("xforms-select");
  688. cmb_cnstcnts9.dispatch("xforms-select");
  689. cmb_cnstcnts10.dispatch("xforms-select");
  690. cmb_cnstcnts16.dispatch("xforms-select");
  691. cmb_cnstcnts17.dispatch("xforms-select");
  692. cmb_cnstcnts18.dispatch("xforms-select");
  693. cmb_cnstcnts19.dispatch("xforms-select");
  694. cmb_cnstcnts20.dispatch("xforms-select");
  695. cmb_cnstcnts21.dispatch("xforms-select");
  696. }
  697. // 현재시간 구하기 : 시간 분
  698. function astgetCurrentTime()
  699. {
  700. var sDate = getNewDate();
  701. rtnTime = (( sDate.getHours() > 9 ) ? sDate.getHours() : "0" + sDate.getHours());
  702. rtnTime = rtnTime.toString() + (( sDate.getMinutes() > 9 ) ? sDate.getMinutes() : "0" + sDate.getMinutes());
  703. return rtnTime;
  704. }
  705. function fComboSet(){
  706. var iname = "";
  707. var icode = "";
  708. if (model.getValue("/root/main/cnstinfo/cnstcnts2") != ""){
  709. cmb_cnstcnts3.visible = true;
  710. }else{
  711. cmb_cnstcnts3.visible = false;
  712. }
  713. iname = model.getValue("/root/main/cnstinfo/cnstcnts2");
  714. icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  715. if (icode != ""){
  716. model.removeNodeset("/root/init/baseinfo/initcnst");
  717. model.makeNode("/root/init/baseinfo/initcnst");
  718. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  719. submit("TRZBC00101", false);
  720. copyNodesetType("/root/init/codelist/smlcd1", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  721. }
  722. if (model.getValue("/root/main/cnstinfo/cnstcnts4") != ""){
  723. cmb_cnstcnts5.visible = true;
  724. }else{
  725. cmb_cnstcnts5.visible = false;
  726. }
  727. iname = model.getValue("/root/main/cnstinfo/cnstcnts4");
  728. icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  729. if (icode != ""){
  730. model.removeNodeset("/root/init/baseinfo/initcnst");
  731. model.makeNode("/root/init/baseinfo/initcnst");
  732. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  733. submit("TRZBC00101", false);
  734. copyNodesetType("/root/init/codelist/smlcd2", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  735. }
  736. if (model.getValue("/root/main/cnstinfo/cnstcnts6") != ""){
  737. cmb_cnstcnts7.visible = true;
  738. }else{
  739. cmb_cnstcnts7.visible = false;
  740. }
  741. iname = model.getValue("/root/main/cnstinfo/cnstcnts6");
  742. icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  743. if (icode != ""){
  744. model.removeNodeset("/root/init/baseinfo/initcnst");
  745. model.makeNode("/root/init/baseinfo/initcnst");
  746. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  747. submit("TRZBC00101", false);
  748. copyNodesetType("/root/init/codelist/smlcd3", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  749. }
  750. if (model.getValue("/root/main/cnstinfo/cnstcnts8") != ""){
  751. cmb_cnstcnts9.visible = true;
  752. }else{
  753. cmb_cnstcnts9.visible = false;
  754. }
  755. iname = model.getValue("/root/main/cnstinfo/cnstcnts8");
  756. icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  757. if (icode != ""){
  758. model.removeNodeset("/root/init/baseinfo/initcnst");
  759. model.makeNode("/root/init/baseinfo/initcnst");
  760. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  761. submit("TRZBC00101", false);
  762. copyNodesetType("/root/init/codelist/smlcd4", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  763. }
  764. if (model.getValue("/root/main/cnstinfo/cnstcnts10") != ""){
  765. cmb_cnstcnts11.visible = true;
  766. }else{
  767. cmb_cnstcnts11.visible = false;
  768. }
  769. iname = model.getValue("/root/main/cnstinfo/cnstcnts10");
  770. icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  771. if (icode != ""){
  772. model.removeNodeset("/root/init/baseinfo/initcnst");
  773. model.makeNode("/root/init/baseinfo/initcnst");
  774. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  775. submit("TRZBC00101", false);
  776. copyNodesetType("/root/init/codelist/smlcd5", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  777. }
  778. if (model.getValue("/root/main/cnstinfo/cnstcnts16") != ""){
  779. cmb_cnstcnts17.visible = true;
  780. }else{
  781. cmb_cnstcnts17.visible = false;
  782. }
  783. iname = model.getValue("/root/main/cnstinfo/cnstcnts16");
  784. icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  785. if (icode != ""){
  786. model.removeNodeset("/root/init/baseinfo/initcnst");
  787. model.makeNode("/root/init/baseinfo/initcnst");
  788. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  789. submit("TRZBC00101", false);
  790. copyNodesetType("/root/init/codelist/smlcd6", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  791. }
  792. if (model.getValue("/root/main/cnstinfo/cnstcnts18") != ""){
  793. cmb_cnstcnts19.visible = true;
  794. }else{
  795. cmb_cnstcnts19.visible = false;
  796. }
  797. iname = model.getValue("/root/main/cnstinfo/cnstcnts18");
  798. icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  799. if (icode != ""){
  800. model.removeNodeset("/root/init/baseinfo/initcnst");
  801. model.makeNode("/root/init/baseinfo/initcnst");
  802. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  803. submit("TRZBC00101", false);
  804. copyNodesetType("/root/init/codelist/smlcd7", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  805. }
  806. if (model.getValue("/root/main/cnstinfo/cnstcnts20") != ""){
  807. cmb_cnstcnts21.visible = true;
  808. }else{
  809. cmb_cnstcnts21.visible = false;
  810. }
  811. iname = model.getValue("/root/main/cnstinfo/cnstcnts20");
  812. icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  813. if (icode != ""){
  814. model.removeNodeset("/root/init/baseinfo/initcnst");
  815. model.makeNode("/root/init/baseinfo/initcnst");
  816. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  817. submit("TRZBC00101", false);
  818. copyNodesetType("/root/init/codelist/smlcd8", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  819. }
  820. model.refresh();
  821. if (cmb_cnstcnts3.label == "기타"){
  822. ipt_cnstcnts22.visible = true;
  823. }else{
  824. ipt_cnstcnts22.visible = false;
  825. }
  826. if (cmb_cnstcnts5.label == "기타"){
  827. ipt_cnstcnts23.visible = true;
  828. }else{
  829. ipt_cnstcnts23.visible = false;
  830. }
  831. if (cmb_cnstcnts7.label == "기타"){
  832. ipt_cnstcnts24.visible = true;
  833. }else{
  834. ipt_cnstcnts24.visible = false;
  835. }
  836. if (cmb_cnstcnts9.label == "기타"){
  837. ipt_cnstcnts25.visible = true;
  838. }else{
  839. ipt_cnstcnts25.visible = false;
  840. }
  841. if (cmb_cnstcnts11.label == "기타"){
  842. ipt_cnstcnts26.visible = true;
  843. }else{
  844. ipt_cnstcnts26.visible = false;
  845. }
  846. if (cmb_cnstcnts17.label == "기타"){
  847. ipt_cnstcnts27.visible = true;
  848. }else{
  849. ipt_cnstcnts27.visible = false;
  850. }
  851. if (cmb_cnstcnts19.label == "기타"){
  852. ipt_cnstcnts28.visible = true;
  853. }else{
  854. ipt_cnstcnts28.visible = false;
  855. }
  856. if (cmb_cnstcnts21.label == "기타"){
  857. ipt_cnstcnts29.visible = true;
  858. }else{
  859. ipt_cnstcnts29.visible = false;
  860. }
  861. model.refresh();
  862. }
  863. function fSaveCnst(){
  864. if(model.getValue("/root/main/patinfo/pid") != ""){
  865. model.makeNode("/root/main/cnstinfo/pid");
  866. model.setValue("/root/main/cnstinfo/pid", model.getValue("/root/main/patinfo/pid"));
  867. submit("TXADC61701");
  868. model.refresh();
  869. }
  870. }
  871. // src 콤보 선택값 변경시 dst 콤보 값 동적 변경 - 2008-09-08 김귀남
  872. // src콤보 비교값은 공통코드 goupid 값
  873. // dst콤보 노드셋은 /root/init/codelist/smlcd[] 값
  874. // 임시 노드셋 /root/hidden/codelist/smlcd[]
  875. function fLrgComboChg(dst_combo){
  876. var src_combo = document.all(event.currentTarget).value;
  877. var chgnodeset = document.controls(dst_combo);
  878. if( src_combo== '1'){
  879. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd1";
  880. chgnodeset.refresh();
  881. }else if(src_combo == '2'){
  882. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd2";
  883. chgnodeset.refresh();
  884. }else if(src_combo == '3'){
  885. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd3";
  886. chgnodeset.refresh();
  887. }else if(src_combo == '4'){
  888. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd4";
  889. chgnodeset.refresh();
  890. }else if(src_combo == '5'){
  891. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd5";
  892. chgnodeset.refresh();
  893. }else if(src_combo == '6'){
  894. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd6";
  895. chgnodeset.refresh();
  896. }else if(src_combo == '7'){
  897. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd7";
  898. chgnodeset.refresh();
  899. }else if(src_combo == '8'){
  900. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd8";
  901. chgnodeset.refresh();
  902. }else if(src_combo == '9'){
  903. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd9";
  904. chgnodeset.refresh();
  905. }else if(src_combo == '10'){
  906. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd10";
  907. chgnodeset.refresh();
  908. }else if(src_combo == '11'){
  909. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd11";
  910. chgnodeset.refresh();
  911. }else if(src_combo == '12'){
  912. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd12";
  913. chgnodeset.refresh();
  914. }else if(src_combo == '13'){
  915. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd13";
  916. chgnodeset.refresh();
  917. }else if(src_combo == '14'){
  918. chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd14";
  919. chgnodeset.refresh();
  920. }
  921. if (src_combo != ""){
  922. chgnodeset.attribute("visibility") = "visible";
  923. }else{
  924. chgnodeset.attribute("visibility") = "hidden";
  925. var node = chgnodeset.attribute("ref");
  926. model.setValue(node,"");
  927. }
  928. }
  929. function fSmlComboChg(trg_control){
  930. var src_combo = document.all(event.currentTarget).label;
  931. var etc_control = document.controls(trg_control);
  932. if(src_combo == "기타"){
  933. etc_control.attribute("visibility") = "visible";
  934. }else {
  935. etc_control.attribute("visibility") = "hidden";
  936. var node = etc_control.attribute("ref");
  937. model.setValue(node,"");
  938. }
  939. model.refresh();
  940. }
  941. function fChgDisable(CtrlID1, CtrlID2, lastCmb){
  942. if(CtrlID1.value != "" || CtrlID1.value != null){
  943. CtrlID1.value = "";
  944. CtrlID1.dispatch("xforms-select");
  945. }
  946. if(lastCmb == "" || lastCmb == null){
  947. if(CtrlID2.value != "" || CtrlID2.value != null){
  948. CtrlID2.value = "";
  949. CtrlID2.disabled = true;
  950. CtrlID2.dispatch("xforms-select");
  951. }
  952. }
  953. }
  954. function fGetPatInfo() {
  955. var pamInfoCvs = getGlobalVariable("paminfo");
  956. if(!isNull(pamInfoCvs)){ //cvs가 null이 아닌 경우에만 처리함.
  957. model.removeNodeSet ( "/root/paminfo/list" ); //상단화면 정보 초기화
  958. setCSVToNode ( "/root/paminfo", pamInfoCvs );
  959. model.setValue("/root/main/patinfo/pid",model.getValue("/root/paminfo/list/pid"));
  960. var sna = model.getValue("/root/paminfo/list/sex") +"/"+ model.getValue("/root/paminfo/list/age");
  961. model.setValue("/root/main/patinfo/sna", sna);
  962. model.setValue("/root/main/patinfo/hngnm", model.getValue("/root/paminfo/list/hngnm"));
  963. model.setValue("/root/main/patinfo/roomcd", model.getValue("/root/paminfo/list/roomcd"));
  964. model.setValue("/root/main/patinfo/reqdeptnm", model.getValue("/root/paminfo/list/orddeptnm"));
  965. model.setValue("/root/main/cnstinfo/reqdeptcd", model.getValue("/root/paminfo/list/orddeptcd"));
  966. // model.setValue("/root/main/patinfo/reqdeptnm", getUserInfo("dutplcenm"));
  967. // model.setValue("/root/main/cnstinfo/reqdeptcd", getUserInfo("dutplcecd"));
  968. model.setValue("/root/main/patinfo/requsernm", getUserName());
  969. model.setValue("/root/main/cnstinfo/requserid", getUserId());
  970. var prcpflag ="";
  971. var ioflag = model.getValue("/root/paminfo/list/ioflag");
  972. if(ioflag == "O" || ioflag == "S"){
  973. prcpflag = "외래";
  974. model.setValue("/root/main/cnstinfo/orddd", model.getValue("/root/paminfo/list/orddd"));
  975. }else {
  976. prcpflag = "입원";
  977. model.setValue("/root/main/cnstinfo/orddd", model.getValue("/root/paminfo/list/indd"));
  978. }
  979. if(model.getValue("/root/paminfo/list/fsexamflag") == "F"){
  980. prcpflag += "/초진";
  981. }else if(model.getValue("/root/paminfo/list/fsexamflag") =="R"){
  982. prcpflag += "/재진";
  983. }
  984. model.setValue("/root/main/patinfo/prcpflag", prcpflag);
  985. model.setValue("/root/main/cnstinfo/chosflag", model.getValue("/root/paminfo/list/ioflag"));
  986. model.setValue("/root/main/cnstinfo/cretno", model.getValue("/root/paminfo/list/cretno"));
  987. }else{
  988. var msg = messageBox("환자를 ", "C002");
  989. return false;
  990. }
  991. }
  992. ]]>
  993. </script>
  994. <script type="javascript" ev:event="xforms-ready">
  995. <![CDATA[
  996. finit();
  997. ]]>
  998. </script>
  999. <submission id="TXADC61701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cnstinfo" replace="instance" resultref="/root/hidden"/>
  1000. <submission id="TRADC61701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main"/>
  1001. <submission id="TRADC60902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata/srchcode" replace="instance" resultref="/root/init/codelist/smlgrup"/>
  1002. <submission id="TRADC60901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata/srchcode" replace="instance" resultref="/root/init/codelist/"/>
  1003. <submission id="TRZBC00101"/>
  1004. <submission id="TRADB00001"/>
  1005. <submission id="TRABO00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchpaminfo" resultref="/root/hidden/paminfolist"/>
  1006. <submission id="TRASB01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/resultref"/>
  1007. <submission id="TRADC62202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cnstinfo" replace="instance" resultref="/root/hidden/cnststatinfo"/>
  1008. <submission id="TXADC61702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/hidden"/>
  1009. <script type="javascript" ev:event="xforms-close">
  1010. <![CDATA[
  1011. if(sReqUseYN == "Y") {
  1012. delPatientInfos();
  1013. opener.model.resetInstanceNode("/root/main/baseinfo");
  1014. opener.model.resetInstanceNode("/root/temp/cnstinfo");
  1015. opener.model.resetInstanceNode("/root/popdata/poplist");
  1016. opener.model.resetInstanceNode("/root/send");
  1017. opener.model.refresh();
  1018. }
  1019. ]]>
  1020. </script>
  1021. </model>
  1022. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  1023. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  1024. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  1025. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  1026. <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/>
  1027. </xhtml:head>
  1028. <xhtml:body pagewidth="660" pageheight="560" guideline="2,13;1,1194;2,784;2,757;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  1029. <line id="line4" class="line_2" style="x1:0px; y1:421px; x2:640px; y2:421px; "/>
  1030. <line id="line1" class="line_2" style="x1:0px; y1:447px; x2:640px; y2:447px; "/>
  1031. <line id="line11" class="line_2" style="x1:0px; y1:472px; x2:640px; y2:472px; "/>
  1032. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:215px; height:13px; ">ADR의뢰</caption>
  1033. <line id="line15" class="line_1" style="x1:0px; y1:395px; x2:640px; y2:395px; "/>
  1034. <caption id="caption29" class="tit_2" style="left:5px; top:380px; width:295px; height:13px; ">과거발생유해반응</caption>
  1035. <caption id="caption10" class="cell_1" style="left:0px; top:449px; width:145px; height:23px; vertical-align:middle; ">3)유해증상</caption>
  1036. <caption id="caption7" class="cell_1" style="left:0px; top:424px; width:145px; height:23px; vertical-align:middle; ">2)과거유해반응 원인약물</caption>
  1037. <caption id="caption8" class="cell_1" style="left:0px; top:399px; width:145px; height:23px; vertical-align:middle; ">1)과거유해반응 여부</caption>
  1038. <line id="line3" class="line_2" style="x1:0px; y1:182px; x2:640px; y2:182px; "/>
  1039. <line id="line5" class="line_1" style="x1:0px; y1:105px; x2:640px; y2:105px; "/>
  1040. <line id="line6" class="line_2" style="x1:0px; y1:157px; x2:640px; y2:157px; "/>
  1041. <line id="line7" class="line_2" style="x1:0px; y1:205px; x2:640px; y2:205px; "/>
  1042. <caption id="caption17" class="cell_1" style="left:0px; top:134px; width:91px; height:23px; vertical-align:middle; ">2)유해증상</caption>
  1043. <caption id="caption18" class="cell_1" style="left:0px; top:109px; width:91px; height:23px; vertical-align:middle; ">1)의심약물</caption>
  1044. <line id="line8" class="line_2" style="x1:0px; y1:131px; x2:640px; y2:131px; "/>
  1045. <caption id="caption20" class="tit_2" style="left:5px; top:90px; width:295px; height:13px; ">현재발생유해반응</caption>
  1046. <button id="button12" class="btn2_letter4" style="left:297px; top:110px; width:64px; height:19px; ">
  1047. <caption>약품조회</caption>
  1048. <script type="javascript" ev:event="DOMActivate">
  1049. <![CDATA[
  1050. //model.makeValue("/root/temp/receivedata/receiveref", "/root/main/cnstinfo/cnstcnts1");
  1051. model.makeValue("/root/temp/reqdata/send/receiveref", "/root/temp/receivedata/receiveref");
  1052. model.makeValue("/root/temp/reqdata/send/receivedrugpnm", "/root/temp/receivedata/receivedrugpnm");
  1053. model.makeValue("/root/temp/reqdata/send/receivedrugflag", "/root/temp/receivedata/receivedrugflag");
  1054. model.makeValue("/root/temp/reqdata/send/receivedrugcom", "/root/temp/receivedata/receivedrugcom");
  1055. model.resetInstanceNode("/root/temp/receivedata");
  1056. modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/reqdata/send","/root/temp/receivedata");
  1057. //modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/receivedata","/root/temp/receivedata");
  1058. if( instance1.selectSingleNode("/root/temp/receivedata/receiveref") ){
  1059. if( !isNull(model.getValue("/root/temp/receivedata/receiveref")) ){
  1060. var drugcd = model.getValue("/root/temp/receivedata/receiveref");
  1061. var drugcdnm = model.getValue("/root/temp/receivedata/receivedrugpnm");
  1062. var sReceivedrugflag = model.getValue("/root/temp/receivedata/receivedrugflag");
  1063. //model.removeNodeset("/root/send/reqdata");
  1064. model.makeValue("/root/main/cnstinfo/cnstcnts1", drugcd);
  1065. if(sReceivedrugflag != "") {
  1066. model.makeValue("/root/main/cnstinfo/comflag", sReceivedrugflag);
  1067. } else {
  1068. model.makeValue("/root/main/cnstinfo/comflag", "C");
  1069. }
  1070. if(drugcdnm == "") {
  1071. model.makeValue("/root/send/reqdata/drugcd", drugcd);
  1072. submit("TRASB01402");
  1073. model.makeValue("/root/main/cnstinfo/reqdrugnm", model.getValue("/root/hidden/resultref/info/hngnm"));
  1074. } else {
  1075. model.makeValue("/root/main/cnstinfo/reqdrugnm", drugcdnm);
  1076. }
  1077. }
  1078. }
  1079. model.refresh();
  1080. ]]>
  1081. </script>
  1082. </button>
  1083. <line id="line9" class="line_2" style="x1:0px; y1:230px; x2:640px; y2:230px; "/>
  1084. <line id="line10" class="line_2" style="x1:0px; y1:255px; x2:640px; y2:255px; "/>
  1085. <line id="line12" class="line_2" style="x1:0px; y1:280px; x2:640px; y2:280px; "/>
  1086. <line id="line13" class="line_2" style="x1:0px; y1:305px; x2:640px; y2:305px; "/>
  1087. <caption id="caption14" class="cell_1" style="left:0px; top:258px; width:91px; height:23px; vertical-align:middle; ">3)증상발현일</caption>
  1088. <caption id="caption15" class="cell_1" style="left:0px; top:283px; width:640px; height:23px; vertical-align:middle; ">5)유해사례의 내용(*유해사례와 관련된 환자의 진행사항 및 진행과정, 특이사항을 서술하여 주십시오.)</caption>
  1089. <line id="line14" class="line_3" style="x1:0px; y1:370px; x2:640px; y2:370px; "/>
  1090. <input id="ipt_cnstcnts12" ref="/root/main/cnstinfo/cnstcnts12" class="input_essential" inputtype="date" style="left:95px; top:259px; width:100px; height:19px; "/>
  1091. <button id="button3" class="btn2_letter2" visibility="hidden" style="left:495px; top:260px; width:42px; height:19px; ">
  1092. <caption>조회</caption>
  1093. </button>
  1094. <input id="ipt_cnstcnts13" ref="/root/main/cnstinfo/cnstcnts13" class="input_default" inputtype="date" style="left:390px; top:259px; width:100px; height:19px; "/>
  1095. <caption id="caption16" class="cell_1" style="left:295px; top:258px; width:91px; height:23px; vertical-align:middle; ">4)종료일</caption>
  1096. <line id="line2" class="line_3" style="x1:0px; y1:520px; x2:640px; y2:520px; "/>
  1097. <line id="line17" class="line_2" style="x1:0px; y1:495px; x2:640px; y2:495px; "/>
  1098. <button id="button4" class="btn2_letter4" style="left:355px; top:425px; width:64px; height:19px; ">
  1099. <caption>약품조회</caption>
  1100. <script type="javascript" ev:event="DOMActivate">
  1101. <![CDATA[
  1102. //model.makeValue("/root/temp/receivedata/receiveref", "/root/main/cnstinfo/cnstcnts1");
  1103. model.makeValue("/root/temp/reqdata/send/receiveref", "/root/temp/receivedata/receiveref");
  1104. model.makeValue("/root/temp/reqdata/send/receivedrugpnm", "/root/temp/receivedata/receivedrugpnm");
  1105. model.makeValue("/root/temp/reqdata/send/receivedrugflag", "/root/temp/receivedata/receivedrugflag");
  1106. model.makeValue("/root/temp/reqdata/send/receivedrugcom", "/root/temp/receivedata/receivedrugcom");
  1107. model.resetInstanceNode("/root/temp/receivedata");
  1108. //modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/reqdata/send/receiveref","/root/temp/receivedata/receiveref");
  1109. //modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/receivedata","/root/temp/receivedata");
  1110. modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/reqdata/send","/root/temp/receivedata");
  1111. if( instance1.selectSingleNode("/root/temp/receivedata/receiveref") ){
  1112. if( !isNull(model.getValue("/root/temp/receivedata/receiveref")) ){
  1113. var drugcd = model.getValue("/root/temp/receivedata/receiveref");
  1114. var drugcdnm = model.getValue("/root/temp/receivedata/receivedrugpnm");
  1115. //model.removeNodeset("/root/send/reqdata");
  1116. model.makeValue("/root/main/cnstinfo/cnstcnts15", drugcd);
  1117. if(drugcdnm == "") {
  1118. model.makeValue("/root/send/reqdata/drugcd", drugcd);
  1119. submit("TRASB01402");
  1120. model.makeValue("/root/main/cnstinfo/pastreqdrugnm", model.getValue("/root/hidden/resultref/info/hngnm"));
  1121. } else {
  1122. model.makeValue("/root/main/cnstinfo/pastreqdrugnm", drugcdnm);
  1123. }
  1124. }
  1125. }
  1126. model.refresh();
  1127. ]]>
  1128. </script>
  1129. </button>
  1130. <button id="btn_sea" class="btn2_letter2" visibility="hidden" style="left:200px; top:260px; width:64px; height:19px; ">
  1131. <caption>조회</caption>
  1132. </button>
  1133. <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:375px; top:525px; width:56px; height:22px; ">
  1134. <caption>저장</caption>
  1135. <script type="javascript" ev:event="DOMActivate">
  1136. <![CDATA[
  1137. model.setValue("/root/main/cnstinfo/cnststat", "11");
  1138. fSaveCnst();
  1139. ]]>
  1140. </script>
  1141. </button>
  1142. <button id="btn_cls" class="btn4_letter2" style="left:585px; top:525px; width:56px; height:22px; ">
  1143. <caption>닫기</caption>
  1144. <script type="javascript" ev:event="DOMActivate">
  1145. <![CDATA[
  1146. model.close();
  1147. ]]>
  1148. </script>
  1149. </button>
  1150. <button id="btn_cnst" class="btn4_letter2" style="left:525px; top:525px; width:56px; height:22px; ">
  1151. <caption>의뢰</caption>
  1152. <script type="javascript" ev:event="DOMActivate">
  1153. <![CDATA[
  1154. if (ipt_cnstcnts1.label == "" || ipt_cnstcnts1.label == null){
  1155. messageBox("의심약물은","I003");
  1156. return;
  1157. }
  1158. if (ipt_cnstcnts12.label == "" || ipt_cnstcnts12.label == null){
  1159. messageBox("증상발현일은","I003");
  1160. return;
  1161. }
  1162. if ((cmb_cnstcnts2.label == "" || cmb_cnstcnts2.label == null) || (cmb_cnstcnts3.label == "" || cmb_cnstcnts3.label == null)) {
  1163. messageBox("유해증상(세부항목 포함)은","I003");
  1164. return;
  1165. }
  1166. if (rdo_cnstcnts14.label== "" || rdo_cnstcnts14.label == null) {
  1167. messageBox("과거유해반응 여부는","I003");
  1168. return;
  1169. }
  1170. if(rdo_cnstcnts14.value == "1"){
  1171. if ((cmb_cnstcnts16.label == "" || cmb_cnstcnts16.label == null) || (cmb_cnstcnts17.label == "" || cmb_cnstcnts17.label == null)){
  1172. messageBox("과거유해증상(세부항목 포함)은","I003");
  1173. return;
  1174. }
  1175. }
  1176. if ( messageBox("의뢰내용을","Q002")==6 ){
  1177. model.setValue("/root/main/cnstinfo/cnststat", "12");
  1178. model.setValue("/root/main/cnstinfo/reqdd", getCurrentDate());
  1179. model.setValue("/root/main/cnstinfo/reqhm", astgetCurrentTime());
  1180. fSaveCnst();
  1181. model.close();
  1182. }
  1183. ]]>
  1184. </script>
  1185. </button>
  1186. <input id="ipt_cnstcnts1" ref="/root/main/cnstinfo/reqdrugnm" class="input_default" editable="false" maxlength="33" style="left:95px; top:110px; width:200px; height:19px; ">
  1187. <script type="javascript" ev:event="onmaxlength">
  1188. <![CDATA[
  1189. messageBox("입력가능한 글자수를", "E003");
  1190. ]]>
  1191. </script>
  1192. </input>
  1193. <select1 id="cmb_cnstcnts2" ref="/root/main/cnstinfo/cnstcnts2" class="combo_essential" appearance="minimal" style="left:95px; top:135px; width:170px; height:19px; ">
  1194. <choices>
  1195. <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
  1196. <label ref="cdnm"/>
  1197. <value ref="cdid"/>
  1198. </itemset>
  1199. </choices>
  1200. <script type="javascript" ev:event="xforms-select">
  1201. <![CDATA[
  1202. if (model.getValue("/root/main/cnstinfo/cnstcnts2") != ""){
  1203. cmb_cnstcnts3.visible = true;
  1204. cmb_cnstcnts4.disabled = false;
  1205. }else{
  1206. cmb_cnstcnts3.visible = false;
  1207. cmb_cnstcnts3.value = "";
  1208. cmb_cnstcnts3.dispatch("xforms-select");
  1209. fChgDisable(cmb_cnstcnts3, cmb_cnstcnts4);
  1210. }
  1211. //model.setValue("/root/main/cnstinfo/cnstcnts3", "");
  1212. var iname = model.getValue("/root/main/cnstinfo/cnstcnts2");
  1213. var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  1214. if (icode != ""){
  1215. model.removeNodeset("/root/init/baseinfo/initcnst");
  1216. model.makeNode("/root/init/baseinfo/initcnst");
  1217. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  1218. submit("TRZBC00101");
  1219. copyNodesetType("/root/init/codelist/smlcd1", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  1220. }
  1221. model.refresh();
  1222. /*
  1223. fLrgComboChg("cmb_cnstcnts3");
  1224. model.refresh();
  1225. */
  1226. ]]>
  1227. </script>
  1228. </select1>
  1229. <select1 id="cmb_cnstcnts4" ref="/root/main/cnstinfo/cnstcnts4" class="combo_default" disabled="true" appearance="minimal" style="left:95px; top:160px; width:170px; height:19px; ">
  1230. <choices>
  1231. <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
  1232. <label ref="cdnm"/>
  1233. <value ref="cdid"/>
  1234. </itemset>
  1235. </choices>
  1236. <script type="javascript" ev:event="xforms-select">
  1237. <![CDATA[
  1238. if (model.getValue("/root/main/cnstinfo/cnstcnts4") != ""){
  1239. cmb_cnstcnts5.visible = true;
  1240. cmb_cnstcnts6.disabled = false;
  1241. }else{
  1242. cmb_cnstcnts5.visible = false;
  1243. fChgDisable(cmb_cnstcnts5, cmb_cnstcnts6);
  1244. }
  1245. //model.setValue("/root/main/cnstinfo/cnstcnts5", "");
  1246. var iname = model.getValue("/root/main/cnstinfo/cnstcnts4");
  1247. var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  1248. if (icode != ""){
  1249. model.removeNodeset("/root/init/baseinfo/initcnst");
  1250. model.makeNode("/root/init/baseinfo/initcnst");
  1251. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  1252. submit("TRZBC00101");
  1253. copyNodesetType("/root/init/codelist/smlcd2", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  1254. }
  1255. model.refresh();
  1256. /*
  1257. fLrgComboChg("cmb_cnstcnts5");
  1258. model.refresh();
  1259. */
  1260. ]]>
  1261. </script>
  1262. </select1>
  1263. <select1 id="cmb_cnstcnts6" ref="/root/main/cnstinfo/cnstcnts6" class="combo_default" disabled="true" appearance="minimal" style="left:95px; top:185px; width:170px; height:19px; ">
  1264. <choices>
  1265. <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
  1266. <label ref="cdnm"/>
  1267. <value ref="cdid"/>
  1268. </itemset>
  1269. </choices>
  1270. <script type="javascript" ev:event="xforms-select">
  1271. <![CDATA[
  1272. if (model.getValue("/root/main/cnstinfo/cnstcnts6") != ""){
  1273. cmb_cnstcnts7.visible = true;
  1274. cmb_cnstcnts8.disabled = false;
  1275. }else{
  1276. cmb_cnstcnts7.visible = false;
  1277. fChgDisable(cmb_cnstcnts7,cmb_cnstcnts8);
  1278. }
  1279. //model.setValue("/root/main/cnstinfo/cnstcnts7", "");
  1280. var iname = model.getValue("/root/main/cnstinfo/cnstcnts6");
  1281. var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  1282. if (icode != ""){
  1283. model.removeNodeset("/root/init/baseinfo/initcnst");
  1284. model.makeNode("/root/init/baseinfo/initcnst");
  1285. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  1286. submit("TRZBC00101");
  1287. copyNodesetType("/root/init/codelist/smlcd3", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  1288. }
  1289. model.refresh();
  1290. /*
  1291. fLrgComboChg("cmb_cnstcnts7");
  1292. model.refresh();
  1293. */
  1294. ]]>
  1295. </script>
  1296. </select1>
  1297. <select1 id="cmb_cnstcnts8" ref="/root/main/cnstinfo/cnstcnts8" class="combo_default" disabled="true" appearance="minimal" style="left:95px; top:210px; width:170px; height:19px; ">
  1298. <choices>
  1299. <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
  1300. <label ref="cdnm"/>
  1301. <value ref="cdid"/>
  1302. </itemset>
  1303. </choices>
  1304. <script type="javascript" ev:event="xforms-select">
  1305. <![CDATA[
  1306. if (model.getValue("/root/main/cnstinfo/cnstcnts8") != ""){
  1307. cmb_cnstcnts9.visible = true;
  1308. cmb_cnstcnts10.disabled = false;
  1309. }else{
  1310. cmb_cnstcnts9.visible = false;
  1311. fChgDisable(cmb_cnstcnts9,cmb_cnstcnts10);
  1312. }
  1313. //model.setValue("/root/main/cnstinfo/cnstcnts9", "");
  1314. var iname = model.getValue("/root/main/cnstinfo/cnstcnts8");
  1315. var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  1316. if (icode != ""){
  1317. model.removeNodeset("/root/init/baseinfo/initcnst");
  1318. model.makeNode("/root/init/baseinfo/initcnst");
  1319. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  1320. submit("TRZBC00101");
  1321. copyNodesetType("/root/init/codelist/smlcd4", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  1322. }
  1323. model.refresh();
  1324. /*
  1325. fLrgComboChg("cmb_cnstcnts9");
  1326. model.refresh();
  1327. */
  1328. ]]>
  1329. </script>
  1330. </select1>
  1331. <select1 id="cmb_cnstcnts10" ref="/root/main/cnstinfo/cnstcnts10" class="combo_default" disabled="true" appearance="minimal" style="left:95px; top:235px; width:170px; height:19px; ">
  1332. <choices>
  1333. <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
  1334. <label ref="cdnm"/>
  1335. <value ref="cdid"/>
  1336. </itemset>
  1337. </choices>
  1338. <script type="javascript" ev:event="xforms-select">
  1339. <![CDATA[
  1340. if (model.getValue("/root/main/cnstinfo/cnstcnts10") != ""){
  1341. cmb_cnstcnts11.visible = true;
  1342. }else{
  1343. cmb_cnstcnts11.visible = false;
  1344. fChgDisable(cmb_cnstcnts11,"","Y");
  1345. }
  1346. //model.setValue("/root/main/cnstinfo/cnstcnts11", "");
  1347. var iname = model.getValue("/root/main/cnstinfo/cnstcnts10");
  1348. var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  1349. if (icode != ""){
  1350. model.removeNodeset("/root/init/baseinfo/initcnst");
  1351. model.makeNode("/root/init/baseinfo/initcnst");
  1352. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  1353. submit("TRZBC00101");
  1354. copyNodesetType("/root/init/codelist/smlcd5", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  1355. }
  1356. model.refresh();
  1357. /*
  1358. fLrgComboChg("cmb_cnstcnts11");
  1359. model.refresh();
  1360. */
  1361. ]]>
  1362. </script>
  1363. </select1>
  1364. <textarea id="tar_cnstcnts30" ref="/root/main/cnstinfo/cnstcnts30" scroll="auto" maxlength="170" style="left:0px; top:310px; width:640px; height:55px; ">
  1365. <script type="javascript" ev:event="onmaxlength">
  1366. <![CDATA[
  1367. messageBox("입력가능한 글자수를", "E003");
  1368. ]]>
  1369. </script>
  1370. </textarea>
  1371. <select1 id="rdo_cnstcnts14" ref="/root/main/cnstinfo/cnstcnts14" appearance="full" cols="3" rows="1" overflow="visible" style="left:150px; top:400px; width:200px; height:20px; border-style:none; ">
  1372. <choices>
  1373. <item>
  1374. <label>유</label>
  1375. <value>1</value>
  1376. </item>
  1377. <item>
  1378. <label>무</label>
  1379. <value>2</value>
  1380. </item>
  1381. <item>
  1382. <label>확인불가</label>
  1383. <value>3</value>
  1384. </item>
  1385. </choices>
  1386. </select1>
  1387. <input id="ipt_cnstcnts15" ref="/root/main/cnstinfo/pastreqdrugnm" class="input_default" style="left:150px; top:425px; width:200px; height:19px; ">
  1388. <script type="javascript" ev:event="xforms-value-changed">
  1389. <![CDATA[
  1390. model.makeValue("/root/main/cnstinfo/cnstcnts15", model.getValue("/root/main/cnstinfo/pastreqdrugnm"));
  1391. ]]>
  1392. </script>
  1393. </input>
  1394. <select1 id="cmb_cnstcnts16" ref="/root/main/cnstinfo/cnstcnts16" class="combo_essential" appearance="minimal" style="left:150px; top:450px; width:170px; height:19px; ">
  1395. <choices>
  1396. <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
  1397. <label ref="cdnm"/>
  1398. <value ref="cdid"/>
  1399. </itemset>
  1400. </choices>
  1401. <script type="javascript" ev:event="xforms-select">
  1402. <![CDATA[
  1403. if (model.getValue("/root/main/cnstinfo/cnstcnts16") != ""){
  1404. cmb_cnstcnts17.visible = true;
  1405. cmb_cnstcnts18.disabled = false;
  1406. }else{
  1407. cmb_cnstcnts17.visible = false;
  1408. fChgDisable(cmb_cnstcnts17,cmb_cnstcnts18);
  1409. }
  1410. //model.setValue("/root/main/cnstinfo/cnstcnts17", "");
  1411. var iname = model.getValue("/root/main/cnstinfo/cnstcnts16");
  1412. var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  1413. if (icode != ""){
  1414. model.removeNodeset("/root/init/baseinfo/initcnst");
  1415. model.makeNode("/root/init/baseinfo/initcnst");
  1416. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  1417. submit("TRZBC00101");
  1418. copyNodesetType("/root/init/codelist/smlcd6", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  1419. }
  1420. model.refresh();
  1421. /*
  1422. fLrgComboChg("cmb_cnstcnts17");
  1423. model.refresh();
  1424. */
  1425. ]]>
  1426. </script>
  1427. </select1>
  1428. <select1 id="cmb_cnstcnts18" ref="/root/main/cnstinfo/cnstcnts18" class="combo_default" disabled="true" appearance="minimal" style="left:150px; top:475px; width:170px; height:19px; ">
  1429. <choices>
  1430. <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
  1431. <label ref="cdnm"/>
  1432. <value ref="cdid"/>
  1433. </itemset>
  1434. </choices>
  1435. <script type="javascript" ev:event="xforms-select">
  1436. <![CDATA[
  1437. if (model.getValue("/root/main/cnstinfo/cnstcnts18") != ""){
  1438. cmb_cnstcnts19.visible = true;
  1439. cmb_cnstcnts20.disabled = false;
  1440. }else{
  1441. cmb_cnstcnts19.visible = false;
  1442. fChgDisable(cmb_cnstcnts19,cmb_cnstcnts20);
  1443. }
  1444. //model.setValue("/root/main/cnstinfo/cnstcnts19", "");
  1445. var iname = model.getValue("/root/main/cnstinfo/cnstcnts18");
  1446. var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  1447. if (icode != ""){
  1448. model.removeNodeset("/root/init/baseinfo/initcnst");
  1449. model.makeNode("/root/init/baseinfo/initcnst");
  1450. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  1451. submit("TRZBC00101");
  1452. copyNodesetType("/root/init/codelist/smlcd7", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  1453. }
  1454. model.refresh();
  1455. /*
  1456. fLrgComboChg("cmb_cnstcnts19");
  1457. model.refresh();
  1458. */
  1459. ]]>
  1460. </script>
  1461. </select1>
  1462. <select1 id="cmb_cnstcnts20" ref="/root/main/cnstinfo/cnstcnts20" class="combo_default" disabled="true" appearance="minimal" style="left:150px; top:500px; width:170px; height:19px; ">
  1463. <choices>
  1464. <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
  1465. <label ref="cdnm"/>
  1466. <value ref="cdid"/>
  1467. </itemset>
  1468. </choices>
  1469. <script type="javascript" ev:event="xforms-select">
  1470. <![CDATA[
  1471. if (model.getValue("/root/main/cnstinfo/cnstcnts20") != ""){
  1472. cmb_cnstcnts21.visible = true;
  1473. }else{
  1474. cmb_cnstcnts21.visible = false;
  1475. fChgDisable(cmb_cnstcnts21,"","Y");
  1476. }
  1477. //model.setValue("/root/main/cnstinfo/cnstcnts21", "");
  1478. var iname = model.getValue("/root/main/cnstinfo/cnstcnts20");
  1479. var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
  1480. if (icode != ""){
  1481. model.removeNodeset("/root/init/baseinfo/initcnst");
  1482. model.makeNode("/root/init/baseinfo/initcnst");
  1483. zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
  1484. submit("TRZBC00101");
  1485. copyNodesetType("/root/init/codelist/smlcd8", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
  1486. }
  1487. model.refresh();
  1488. /*
  1489. fLrgComboChg("cmb_cnstcnts21");
  1490. model.refresh();
  1491. */
  1492. ]]>
  1493. </script>
  1494. </select1>
  1495. <select1 id="cmb_cnstcnts3" ref="/root/main/cnstinfo/cnstcnts3" class="combo_essential" visibility="hidden" appearance="minimal" style="left:270px; top:135px; width:180px; height:19px; ">
  1496. <choices>
  1497. <itemset nodeset="/root/init/codelist/smlcd1">
  1498. <label ref="cdnm"/>
  1499. <value ref="cdid"/>
  1500. </itemset>
  1501. </choices>
  1502. <script type="javascript" ev:event="xforms-select">
  1503. <![CDATA[
  1504. fSmlComboChg("ipt_cnstcnts22");
  1505. ]]>
  1506. </script>
  1507. </select1>
  1508. <select1 id="cmb_cnstcnts5" ref="/root/main/cnstinfo/cnstcnts5" class="combo_default" visibility="hidden" appearance="minimal" style="left:270px; top:160px; width:180px; height:19px; ">
  1509. <choices>
  1510. <itemset nodeset="/root/init/codelist/smlcd2">
  1511. <label ref="cdnm"/>
  1512. <value ref="cdid"/>
  1513. </itemset>
  1514. </choices>
  1515. <script type="javascript" ev:event="xforms-select">
  1516. <![CDATA[
  1517. fSmlComboChg("ipt_cnstcnts23");
  1518. ]]>
  1519. </script>
  1520. </select1>
  1521. <select1 id="cmb_cnstcnts7" ref="/root/main/cnstinfo/cnstcnts7" class="combo_default" visibility="hidden" appearance="minimal" style="left:270px; top:185px; width:180px; height:19px; ">
  1522. <choices>
  1523. <itemset nodeset="/root/init/codelist/smlcd3">
  1524. <label ref="cdnm"/>
  1525. <value ref="cdid"/>
  1526. </itemset>
  1527. </choices>
  1528. <script type="javascript" ev:event="xforms-select">
  1529. <![CDATA[
  1530. fSmlComboChg("ipt_cnstcnts24");
  1531. ]]>
  1532. </script>
  1533. </select1>
  1534. <select1 id="cmb_cnstcnts9" ref="/root/main/cnstinfo/cnstcnts9" class="combo_default" visibility="hidden" appearance="minimal" style="left:270px; top:210px; width:180px; height:19px; ">
  1535. <choices>
  1536. <itemset nodeset="/root/init/codelist/smlcd4">
  1537. <label ref="cdnm"/>
  1538. <value ref="cdid"/>
  1539. </itemset>
  1540. </choices>
  1541. <script type="javascript" ev:event="xforms-select">
  1542. <![CDATA[
  1543. fSmlComboChg("ipt_cnstcnts25");
  1544. ]]>
  1545. </script>
  1546. </select1>
  1547. <select1 id="cmb_cnstcnts11" ref="/root/main/cnstinfo/cnstcnts11" class="combo_default" visibility="hidden" appearance="minimal" style="left:270px; top:235px; width:180px; height:19px; ">
  1548. <choices>
  1549. <itemset nodeset="/root/init/codelist/smlcd5">
  1550. <label ref="cdnm"/>
  1551. <value ref="cdid"/>
  1552. </itemset>
  1553. </choices>
  1554. <script type="javascript" ev:event="xforms-select">
  1555. <![CDATA[
  1556. fSmlComboChg("ipt_cnstcnts26");
  1557. ]]>
  1558. </script>
  1559. </select1>
  1560. <select1 id="cmb_cnstcnts17" ref="/root/main/cnstinfo/cnstcnts17" class="combo_essential" visibility="hidden" appearance="minimal" style="left:325px; top:450px; width:170px; height:19px; ">
  1561. <choices>
  1562. <itemset nodeset="/root/init/codelist/smlcd6">
  1563. <label ref="cdnm"/>
  1564. <value ref="cdid"/>
  1565. </itemset>
  1566. </choices>
  1567. <script type="javascript" ev:event="xforms-select">
  1568. <![CDATA[
  1569. fSmlComboChg("ipt_cnstcnts27");
  1570. ]]>
  1571. </script>
  1572. </select1>
  1573. <select1 id="cmb_cnstcnts19" ref="/root/main/cnstinfo/cnstcnts19" class="combo_default" visibility="hidden" appearance="minimal" style="left:325px; top:475px; width:170px; height:19px; ">
  1574. <choices>
  1575. <itemset nodeset="/root/init/codelist/smlcd7">
  1576. <label ref="cdnm"/>
  1577. <value ref="cdid"/>
  1578. </itemset>
  1579. </choices>
  1580. <script type="javascript" ev:event="xforms-select">
  1581. <![CDATA[
  1582. fSmlComboChg("ipt_cnstcnts28");
  1583. ]]>
  1584. </script>
  1585. </select1>
  1586. <select1 id="cmb_cnstcnts21" ref="/root/main/cnstinfo/cnstcnts21" class="combo_default" visibility="hidden" appearance="minimal" style="left:325px; top:500px; width:170px; height:19px; ">
  1587. <choices>
  1588. <itemset nodeset="/root/init/codelist/smlcd8">
  1589. <label ref="cdnm"/>
  1590. <value ref="cdid"/>
  1591. </itemset>
  1592. </choices>
  1593. <script type="javascript" ev:event="xforms-select">
  1594. <![CDATA[
  1595. fSmlComboChg("ipt_cnstcnts29");
  1596. ]]>
  1597. </script>
  1598. </select1>
  1599. <input id="ipt_cnstcnts22" ref="/root/main/cnstinfo/cnstcnts22" visibility="hidden" style="left:455px; top:135px; width:180px; height:19px; "/>
  1600. <input id="ipt_cnstcnts23" ref="/root/main/cnstinfo/cnstcnts23" visibility="hidden" style="left:455px; top:160px; width:180px; height:19px; "/>
  1601. <input id="ipt_cnstcnts24" ref="/root/main/cnstinfo/cnstcnts24" visibility="hidden" style="left:455px; top:185px; width:180px; height:19px; "/>
  1602. <input id="ipt_cnstcnts25" ref="/root/main/cnstinfo/cnstcnts25" visibility="hidden" style="left:455px; top:210px; width:180px; height:19px; "/>
  1603. <input id="ipt_cnstcnts26" ref="/root/main/cnstinfo/cnstcnts26" visibility="hidden" style="left:455px; top:235px; width:180px; height:19px; "/>
  1604. <input id="ipt_cnstcnts27" ref="/root/main/cnstinfo/cnstcnts27" visibility="hidden" style="left:500px; top:450px; width:138px; height:19px; "/>
  1605. <input id="ipt_cnstcnts28" ref="/root/main/cnstinfo/cnstcnts28" visibility="hidden" style="left:500px; top:475px; width:138px; height:19px; "/>
  1606. <input id="ipt_cnstcnts29" ref="/root/main/cnstinfo/cnstcnts29" visibility="hidden" style="left:500px; top:500px; width:138px; height:19px; "/>
  1607. <switch id="switch1" class="sw_no_border" style="left:0px; top:15px; width:640px; height:70px; ">
  1608. <case id="case1" selected="true">
  1609. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:640px; height:68px; background-color:#fffbf2; border-color:#ffd799; "/>
  1610. <output id="output1" ref="/root/main/patinfo/requsernm" class="output_search" appearance="output" style="left:285px; top:35px; width:75px; height:19px; "/>
  1611. <output id="output2" ref="/root/main/patinfo/hngnm" class="output_search" appearance="output" style="left:285px; top:10px; width:75px; height:19px; "/>
  1612. <caption id="caption9" class="search_name" style="left:5px; top:35px; width:86px; height:17px; ">진료과 :</caption>
  1613. <caption id="caption11" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
  1614. <caption id="caption12" class="search_name" style="left:210px; top:10px; width:90px; height:17px; ">성명 :</caption>
  1615. <caption id="caption19" class="search_name" style="left:210px; top:35px; width:97px; height:17px; ">등록자 :</caption>
  1616. <caption id="caption21" class="search_name" style="left:445px; top:35px; width:90px; height:17px; ">병실 :</caption>
  1617. <caption id="caption22" class="search_name" style="left:445px; top:10px; width:95px; height:17px; ">환자구분 :</caption>
  1618. <output id="output5" ref="/root/main/patinfo/reqdeptnm" class="output_search" appearance="output" style="left:95px; top:35px; width:100px; height:19px; "/>
  1619. <output id="output6" ref="/root/main/patinfo/roomcd" class="output_search" appearance="output" style="left:535px; top:35px; width:65px; height:19px; "/>
  1620. <output id="output7" ref="/root/main/patinfo/prcpflag" class="output_search" appearance="output" style="left:535px; top:10px; width:65px; height:19px; "/>
  1621. <output id="output8" ref="/root/main/patinfo/sna" class="output_search" appearance="output" style="left:365px; top:10px; width:65px; height:19px; "/>
  1622. <input id="input1" ref="/root/main/patinfo/pid" style="left:95px; top:10px; width:100px; height:19px; ">
  1623. <script type="javascript" ev:event="onkeypress">
  1624. <![CDATA[
  1625. if(event.keyCode == 13) {
  1626. model.makeValue("/root/send/srchpaminfo/pid", input1.currentText);
  1627. input1.refresh();
  1628. //가장최근수진이력조회.
  1629. if(submit("TRABO00107")) {
  1630. //조회된 수진정보를 이용하여 상단정보.
  1631. if(!(instance1.selectSingleNode("/root/hidden/paminfolist/pampatinfo"))){
  1632. delPatientInfos();
  1633. }else{
  1634. var pat_info = "";
  1635. if(model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag") == "O"){
  1636. 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");
  1637. }else {
  1638. 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");
  1639. }
  1640. setParameter("condparam", pat_info);
  1641. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  1642. }
  1643. fGetPatInfo();
  1644. pharmacyGetCodeList( new Array("P030"), new Array("/root/temp/srchgrupid/initgrupid") );
  1645. if(submit("TRADB00001")) {
  1646. btn_cnst.disabled = false;
  1647. }
  1648. fComboSet();
  1649. model.refresh();
  1650. }
  1651. }
  1652. ]]>
  1653. </script>
  1654. </input>
  1655. <output id="output4" ref="/root/main/patinfo/pid" class="output_search" appearance="output" style="left:95px; top:10px; width:100px; height:19px; "/>
  1656. </case>
  1657. <case id="case2">
  1658. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:640px; height:68px; background-color:#fffbf2; border-color:#ffd799; "/>
  1659. <caption id="caption23" class="search_name" style="left:5px; top:35px; width:86px; height:17px; ">의뢰자 :</caption>
  1660. <caption id="caption24" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">의뢰부서 :</caption>
  1661. <output id="output11" ref="/root/temp/cnstinfo/recvdeptnm" class="output_search" appearance="output" style="left:95px; top:10px; width:100px; height:19px; "/>
  1662. <caption id="caption25" class="search_name" style="left:210px; top:10px; width:90px; height:17px; ">수신부서:</caption>
  1663. <caption id="caption26" class="search_name" style="left:210px; top:35px; width:90px; height:17px; ">수신자 :</caption>
  1664. <caption id="caption27" class="search_name" style="left:445px; top:35px; width:90px; height:17px; ">이름 :</caption>
  1665. <caption id="caption28" class="search_name" style="left:445px; top:10px; width:95px; height:17px; ">등록번호 :</caption>
  1666. <output id="output12" ref="/root/temp/cnstinfo/requsernm" class="output_search" appearance="output" style="left:95px; top:35px; width:100px; height:19px; "/>
  1667. <output id="output9" ref="/root/temp/cnstinfo/recvdeptnm" class="output_search" appearance="output" style="left:295px; top:10px; width:100px; height:19px; "/>
  1668. <output id="output10" ref="/root/temp/cnstinfo/recvusernm" class="output_search" appearance="output" style="left:295px; top:35px; width:100px; height:19px; "/>
  1669. <output id="output13" ref="/root/temp/cnstinfo/pidnm" class="output_search" appearance="output" style="left:530px; top:35px; width:100px; height:19px; "/>
  1670. <output id="output14" ref="/root/temp/cnstinfo/pid" class="output_search" appearance="output" style="left:530px; top:10px; width:100px; height:19px; "/>
  1671. </case>
  1672. </switch>
  1673. <button id="button1" class="btn2_letter5" style="left:363px; top:110px; width:75px; height:19px; ">
  1674. <caption>unKnown</caption>
  1675. <script type="javascript" ev:event="DOMActivate">
  1676. <![CDATA[
  1677. model.setValue("/root/main/cnstinfo/cnstcnts1", "unKnown");
  1678. model.setValue("/root/main/cnstinfo/reqdrugnm", "unKnown");
  1679. ipt_cnstcnts1.refresh();
  1680. ]]>
  1681. </script>
  1682. </button>
  1683. <button id="btn_reqcncl" class="btn4_letter4" style="left:441px; top:525px; width:80px; height:22px; ">
  1684. <caption>의뢰취소</caption>
  1685. <script type="javascript" ev:event="DOMActivate">
  1686. <![CDATA[
  1687. if(submit("TRADC62202")){
  1688. var cnststat = model.getValue("/root/hidden/cnststatinfo/cnststat");
  1689. if(cnststat == "22"){
  1690. messageBox("[회신] 의뢰를 취소할 수","I004");
  1691. }else if(cnststat == "21"){
  1692. messageBox("[임시회신] 의뢰를 취소할 수","I004");
  1693. }else if(cnststat == "20"){
  1694. messageBox("[의뢰확정] 의뢰를 취소할 수","I004");
  1695. }else if(messageBox("의뢰를","Q007") == 6){
  1696. model.setValue("/root/send/srchinfo/cnststat", "04");
  1697. if(submit("TXADC61702")){
  1698. messageBox("요청하신 작업이","I001");
  1699. window.close();
  1700. }
  1701. }
  1702. }
  1703. ]]>
  1704. </script>
  1705. </button>
  1706. </xhtml:body>
  1707. </xhtml:html>