SMADC03000_복약상담회신서항암.xrw 114 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408
  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>복약상담회신서(항암)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <baseinfo>
  11. <patinfolist>
  12. <pid/>
  13. <hngnm/>
  14. <sna/>
  15. <cnstdeptcd/>
  16. <roomcd/>
  17. <orddd/>
  18. <cnstdd/>
  19. <cnstdrid/>
  20. <cnstdeptcd/>
  21. <cnstcnts4/>
  22. <repldd/>
  23. <repluserid/>
  24. <fstrgstrid/>
  25. </patinfolist>
  26. <diaginfolist>
  27. <diagcd/>
  28. <diagengnm/>
  29. <diaghngnm/>
  30. </diaginfolist>
  31. <curdoubtlist>
  32. <drugcd/>
  33. <drugnm/>
  34. <dayvol/>
  35. <daytims/>
  36. <days/>
  37. <firstyn/>
  38. <pid/>
  39. <rgstseqno/>
  40. <deptcd/>
  41. <tmedflag/>
  42. </curdoubtlist>
  43. <cnsttmedlist>
  44. <pasttmedadapt/>
  45. <nonadaptresn/>
  46. <nonadaptresn1/>
  47. <nonadaptresn2/>
  48. <nonadaptresn3/>
  49. <nonadaptresn4/>
  50. <nonadaptresn5/>
  51. <seffcyn/>
  52. <seffckind/>
  53. <seffccasdrug/>
  54. <seffcsymp/>
  55. <tmedcnst/>
  56. <tmedcnst1/>
  57. <tmedcnst2/>
  58. <tmedcnst3/>
  59. <tmedcnst4/>
  60. <tmedcnst5/>
  61. <tmedcnst6/>
  62. <tmedcnst7/>
  63. <majrcnstcnts/>
  64. <majrcnstcnts1/>
  65. <majrcnstcnts2/>
  66. <majrcnstcnts3/>
  67. <majrcnstcnts4/>
  68. <majrcnstcnts5/>
  69. <majrcnstcnts6/>
  70. <majrcnstcnts7/>
  71. <cnstcomment/>
  72. <cmt/>
  73. <statflag/>
  74. <rgstseqno/>
  75. <pid/>
  76. <repltrgt/>
  77. <repltrgt1/>
  78. <repltrgt2/>
  79. <repltrgtnm/>
  80. <replusetm/>
  81. <nonadaptetc/>
  82. <tmedcnstetc/>
  83. <cnstreyn/>
  84. <cnstyn/>
  85. <cnstpat/>
  86. <cnstprocer/>
  87. <cnsttmedwill/>
  88. <formrecseq/>
  89. <lnprepcd/>
  90. <eductrgtmancd/>
  91. <eductrgtmanetc/>
  92. <educmthdcd/>
  93. <educmthdetc/>
  94. <educrsltcd/>
  95. <educrsltetc/>
  96. <hematologyseffc1/>
  97. <hematologyseffc2/>
  98. <hematologyseffc3/>
  99. <digorgnseffc1/>
  100. <digorgnseffc2/>
  101. <digorgnseffc3/>
  102. <digorgnseffc4/>
  103. <digorgnseffc5/>
  104. <digorgnseffc6/>
  105. <nvesysseffc1/>
  106. <nvesysseffc2/>
  107. <nvesysseffc3/>
  108. <eyeseffc1/>
  109. <eyeseffc2/>
  110. <eyeseffc3/>
  111. <skinseffc1/>
  112. <skinseffc2/>
  113. <skinseffc3/>
  114. <skinseffc4/>
  115. <skinseffc5/>
  116. <skinseffc6/>
  117. <skinseffc7/>
  118. <uriorgnseffc1/>
  119. <uriorgnseffc2/>
  120. <ovrreactseffc1/>
  121. <ovrreactseffc2/>
  122. <ovrreactseffc3/>
  123. <ovrreactseffc4/>
  124. <liverkidneyseffc1/>
  125. <liverkidneyseffc2/>
  126. </cnsttmedlist>
  127. </baseinfo>
  128. <prtlinfo>
  129. <startdate/>
  130. <startterm/>
  131. <endterm/>
  132. <drugstage/>
  133. <drugcycle/>
  134. <ht/>
  135. <wtflag/>
  136. <wt/>
  137. <wtflag/>
  138. <ibw/>
  139. <bsa/>
  140. </prtlinfo>
  141. <prtlhislist>
  142. <item>
  143. <drugstage/>
  144. <drugcycle/>
  145. <prtlnm/>
  146. <appdd/>
  147. <appterm/>
  148. <acptno/>
  149. <ioflag/>
  150. <cpgappno/>
  151. <orddeptcd/>
  152. <sickclscd/>
  153. <prtlcd/>
  154. <antimetprtlcd/>
  155. <fromday/>
  156. <prtlterm/>
  157. <ht/>
  158. <wtflag/>
  159. <wt/>
  160. <ibw/>
  161. <bsa/>
  162. <gfrflag/>
  163. <gfr/>
  164. <age/>
  165. <sexrate/>
  166. <sc/>
  167. <urvol/>
  168. <urcr/>
  169. <auc/>
  170. <carbovol/>
  171. <appstat/>
  172. </item>
  173. </prtlhislist>
  174. <srchinfo>
  175. <item>
  176. <drugcd/>
  177. <olddrugcd/>
  178. <drugnm/>
  179. </item>
  180. </srchinfo>
  181. <copydeptlist>
  182. <item>
  183. <orddeptcd/>
  184. <orddeptnm/>
  185. </item>
  186. </copydeptlist>
  187. <prtlprcplist>
  188. <item1>
  189. <sel/>
  190. <prcpcd/>
  191. <prcpnm/>
  192. <bsavol/>
  193. <prcpvol/>
  194. <prcpvolunitnm/>
  195. <prcptims/>
  196. <prcpqty/>
  197. <prcpqtyunitnm/>
  198. <prtlkind/>
  199. <ordseqno/>
  200. <volrate/>
  201. <drugmthdspccd/>
  202. <remark/>
  203. <nursrem/>
  204. <prcpexecdeptcd/>
  205. <drugseq/>
  206. <drugtt/>
  207. <payflagcd/>
  208. <kgvol/>
  209. <drugspd/>
  210. <drugspdunitflag/>
  211. <prcpvolunitflag/>
  212. <prcpqtyunitflag/>
  213. <prnprcpflag/>
  214. <prtldg/>
  215. <prcpdd/>
  216. <saveflag/>
  217. </item1>
  218. </prtlprcplist>
  219. </main>
  220. <send>
  221. <pid/>
  222. <req>
  223. <curdoubtlist/>
  224. <curtmedlist/>
  225. <cnsttmedlist/>
  226. <edudata/>
  227. </req>
  228. <srchinfo>
  229. <srchcd/>
  230. <srchdrugnm/>
  231. </srchinfo>
  232. <rgstseqno/>
  233. <formrecseq/>
  234. <prcpgenrflag/>
  235. <orddd/>
  236. <cretno/>
  237. <tmedflag/>
  238. <srchdata>
  239. <wardcd>-</wardcd>
  240. </srchdata>
  241. </send>
  242. <init>
  243. <cmb_info>
  244. <suppdeptlist>
  245. <suppdept>
  246. <suppdeptcd/>
  247. <depthngnm/>
  248. </suppdept>
  249. </suppdeptlist>
  250. </cmb_info>
  251. <cmblist>
  252. <jciyn/>
  253. </cmblist>
  254. </init>
  255. <hidden>
  256. <item/>
  257. </hidden>
  258. <stext/>
  259. <temp>
  260. <cnstinfo>
  261. <formrecseq/>
  262. <pid/>
  263. <rgstseqno/>
  264. <cnstdd/>
  265. <prcpgenrflag/>
  266. <orddd/>
  267. <cretno/>
  268. </cnstinfo>
  269. <replform>
  270. <replcnts/>
  271. <sel/>
  272. </replform>
  273. <popupdata>
  274. <repltype/>
  275. <receivedata>/root/main/baseinfo/cnsttmedlist/replid</receivedata>
  276. </popupdata>
  277. </temp>
  278. </root>
  279. </instance>
  280. <script type="javascript" ev:event="xforms-ready">
  281. <![CDATA[
  282. //다학제 연동 여부 조회.
  283. pharmacyGetCodeList( new Array("JCI1"), new Array("/root/init/cmblist/jciyn") );
  284. if(model.getValue("/root/init/cmblist/jciyn/JCI1[2]/cdid") == "Y") {
  285. button7.visible = true;
  286. } else {
  287. button7.visible = false;
  288. }
  289. button7.refresh();
  290. model.setValue("/root/send/pid",model.getValue("/root/main/baseinfo/patinfolist/pid"));
  291. model.setValue("/root/send/tmedflag", "3");
  292. btn_sea.dispatch("DOMActivate");
  293. if(model.getValue("/root/temp/cnstinfo/btnreplflag") == "Y") {
  294. // 20100118_laboru_회신확정 상태일때 회신버튼 비활성화 위해서
  295. btn_req.disabled = true;
  296. }
  297. if(model.getValue("/root/temp/cnstinfo/pidchkflag") == "Y") {
  298. // 20100119_laboru_약사 이외의 사용자인 경우
  299. btn_save.disabled = true;
  300. btn_req.disabled = true;
  301. btn_del.disabled = true;
  302. }
  303. //---------------(20091024)
  304. // var sjobkindcd = getUserInfo("jobkindcd");
  305. // //직종이 약사인경우만
  306. // //alert( sjobkindcd.substr(0,2) ) ;
  307. //
  308. // if ( sjobkindcd.substr(0,2) != "12" ) {
  309. // btn_save.disabled = true ; //저장
  310. // btn_req.disabled = true ; //회신
  311. // btn_del.disabled = true ; //삭제
  312. //// alert("1");
  313. // //alert("직종" + sjobkindcd );
  314. // }
  315. //---------------(20091024)
  316. ]]>
  317. </script>
  318. <script type="javascript">
  319. <![CDATA[
  320. function fSetDisState() {
  321. if(model.getValue("/root/main/baseinfo/cnsttmedlist/seffcyn") == "1"
  322. || model.getValue("/root/main/baseinfo/cnsttmedlist/seffcyn") == ""
  323. || model.getValue("/root/main/baseinfo/cnsttmedlist/seffcyn") == "-") {
  324. model.SetValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc1" , "");
  325. model.SetValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc2" , "");
  326. model.SetValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc3" , "");
  327. model.SetValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc1" , "");
  328. model.SetValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc2" , "");
  329. model.SetValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc3" , "");
  330. model.SetValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc4" , "");
  331. model.SetValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc5" , "");
  332. model.SetValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc6" , "");
  333. model.SetValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc1" , "");
  334. model.SetValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc2" , "");
  335. model.SetValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc3" , "");
  336. model.SetValue("/root/main/baseinfo/cnsttmedlist/eyeseffc1" , "");
  337. model.SetValue("/root/main/baseinfo/cnsttmedlist/eyeseffc2" , "");
  338. model.SetValue("/root/main/baseinfo/cnsttmedlist/eyeseffc3" , "");
  339. model.SetValue("/root/main/baseinfo/cnsttmedlist/skinseffc1" , "");
  340. model.SetValue("/root/main/baseinfo/cnsttmedlist/skinseffc2" , "");
  341. model.SetValue("/root/main/baseinfo/cnsttmedlist/skinseffc3" , "");
  342. model.SetValue("/root/main/baseinfo/cnsttmedlist/skinseffc4" , "");
  343. model.SetValue("/root/main/baseinfo/cnsttmedlist/skinseffc5" , "");
  344. model.SetValue("/root/main/baseinfo/cnsttmedlist/skinseffc6" , "");
  345. model.SetValue("/root/main/baseinfo/cnsttmedlist/skinseffc7" , "");
  346. model.SetValue("/root/main/baseinfo/cnsttmedlist/uriorgnseffc1" , "");
  347. model.SetValue("/root/main/baseinfo/cnsttmedlist/uriorgnseffc2" , "");
  348. model.SetValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc1" , "");
  349. model.SetValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc2" , "");
  350. model.SetValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc3" , "");
  351. model.SetValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc4" , "");
  352. model.SetValue("/root/main/baseinfo/cnsttmedlist/liverkidneyseffc1" , "");
  353. model.SetValue("/root/main/baseinfo/cnsttmedlist/liverkidneyseffc2" , "");
  354. model.refresh();
  355. bol_hematologyseffc1.disabled = true;
  356. bol_hematologyseffc2.disabled = true;
  357. bol_hematologyseffc3.disabled = true;
  358. bol_digorgnseffc1.disabled = true;
  359. bol_digorgnseffc2.disabled = true;
  360. bol_digorgnseffc3.disabled = true;
  361. bol_digorgnseffc4.disabled = true;
  362. bol_digorgnseffc5.disabled = true;
  363. bol_digorgnseffc6.disabled = true;
  364. bol_nvesysseffc1.disabled = true;
  365. bol_nvesysseffc2.disabled = true;
  366. bol_nvesysseffc3.disabled = true;
  367. bol_eyeseffc1.disabled = true;
  368. bol_eyeseffc2.disabled = true;
  369. bol_eyeseffc3.disabled = true;
  370. bol_skinseffc1.disabled = true;
  371. bol_skinseffc2.disabled = true;
  372. bol_skinseffc3.disabled = true;
  373. bol_skinseffc4.disabled = true;
  374. bol_skinseffc5.disabled = true;
  375. bol_skinseffc6.disabled = true;
  376. bol_skinseffc7.disabled = true;
  377. bol_uriorgnseffc1.disabled = true;
  378. bol_uriorgnseffc2.disabled = true;
  379. bol_ovrreactseffc1.disabled = true;
  380. bol_ovrreactseffc2.disabled = true;
  381. bol_ovrreactseffc3.disabled = true;
  382. bol_ovrreactseffc4.disabled = true;
  383. bol_liverkidneyseffc1.disabled = true;
  384. bol_liverkidneyseffc2.disabled = true;
  385. } else {
  386. bol_hematologyseffc1.disabled = false;
  387. bol_hematologyseffc1.disabled = false;
  388. bol_hematologyseffc2.disabled = false;
  389. bol_hematologyseffc3.disabled = false;
  390. bol_digorgnseffc1.disabled = false;
  391. bol_digorgnseffc2.disabled = false;
  392. bol_digorgnseffc3.disabled = false;
  393. bol_digorgnseffc4.disabled = false;
  394. bol_digorgnseffc5.disabled = false;
  395. bol_digorgnseffc6.disabled = false;
  396. bol_nvesysseffc1.disabled = false;
  397. bol_nvesysseffc2.disabled = false;
  398. bol_nvesysseffc3.disabled = false;
  399. bol_eyeseffc1.disabled = false;
  400. bol_eyeseffc2.disabled = false;
  401. bol_eyeseffc3.disabled = false;
  402. bol_skinseffc1.disabled = false;
  403. bol_skinseffc2.disabled = false;
  404. bol_skinseffc3.disabled = false;
  405. bol_skinseffc4.disabled = false;
  406. bol_skinseffc5.disabled = false;
  407. bol_skinseffc6.disabled = false;
  408. bol_skinseffc7.disabled = false;
  409. bol_uriorgnseffc1.disabled = false;
  410. bol_uriorgnseffc2.disabled = false;
  411. bol_ovrreactseffc1.disabled = false;
  412. bol_ovrreactseffc2.disabled = false;
  413. bol_ovrreactseffc3.disabled = false;
  414. bol_ovrreactseffc4.disabled = false;
  415. bol_liverkidneyseffc1.disabled = false;
  416. bol_liverkidneyseffc2.disabled = false;
  417. }
  418. }
  419. function fMakeDisState(objCnts1, pEtcStat, objCnts2) {
  420. if(model.getValue(objCnts1.attribute("ref")) == pEtcStat) {
  421. objCnts2.disabled = false;
  422. } else {
  423. model.setValue(objCnts2.attribute("ref"), "");
  424. objCnts2.disabled = true;
  425. }
  426. objCnts2.refresh();
  427. }
  428. function datacheck(){
  429. var sTemp1 = "";
  430. var sTemp2 = "";
  431. var sTemp3 = "";
  432. var sTemp4 = "";
  433. var sTemp5 = "";
  434. var sTemp6 = "";
  435. var sTemp7 = "";
  436. var sTempAll = "";
  437. for (var i = 1; i < datagrid3.rows; i ++){
  438. var sdrugcd = model.getValue("/root/main/baseinfo/curdoubtlist[" + i + "]/drugcd");
  439. if (sdrugcd == ""){
  440. messageBox(i + "번째 약물코드는 필수 선택항목입니다.", "E999", "");
  441. return false;
  442. }
  443. for (var j = 1; j < datagrid3.rows; j ++){
  444. var sdrugcd1 = model.getValue("/root/main/baseinfo/curdoubtlist[" + j + "]/drugcd");
  445. if (i != j){
  446. if (sdrugcd == sdrugcd1){
  447. messageBox(j + "번째에서 의뢰약물 중복된 자료가 존재합니다", "E999", "");
  448. return false;
  449. }
  450. }
  451. }
  452. }
  453. var non1 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn1");
  454. if (non1 == ""){ non1 = "0"};
  455. var non2 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn2");
  456. if (non2 == ""){ non2 = "0"};
  457. var non3 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn3");
  458. if (non3 == ""){ non3 = "0"};
  459. var non4 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn4");
  460. if (non4 == ""){ non4 = "0"};
  461. var non5 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn5");
  462. if (non5 == ""){ non5 = "0"};
  463. var nonall = non1 + non2 + non3 + non4 + non5;
  464. model.setValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn", nonall);
  465. var cnst1 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst1");
  466. if (cnst1 == ""){ cnst1 = "0"};
  467. var cnst2 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst2");
  468. if (cnst2 == ""){ cnst2 = "0"};
  469. var cnst3 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst3");
  470. if (cnst3 == ""){ cnst3 = "0"};
  471. var cnst4 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst4");
  472. if (cnst4 == ""){ cnst4 = "0"};
  473. var cnst5 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst5");
  474. if (cnst5 == ""){ cnst5 = "0"};
  475. var cnst6 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst6");
  476. if (cnst6 == ""){ cnst6 = "0"};
  477. var cnst7 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst7");
  478. if (cnst7 == ""){ cnst7 = "0"};
  479. var cnstall = cnst1 + cnst2 + cnst3 + cnst4 + cnst5 + cnst6 + cnst7;
  480. model.setValue("/root/main/baseinfo/cnsttmedlist/tmedcnst", cnstall);
  481. var majr1 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts1");
  482. if (majr1 == ""){ majr1 = "0"};
  483. var majr2 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2");
  484. if (majr2 == ""){ majr2 = "0"};
  485. var majr3 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3");
  486. if (majr3 == ""){ majr3 = "0"};
  487. var majr4 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4");
  488. if (majr4 == ""){ majr4 = "0"};
  489. var majr5 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5");
  490. if (majr5 == ""){ majr5 = "0"};
  491. var majr6 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6");
  492. if (majr6 == ""){ majr6 = "0"};
  493. var majr7 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7");
  494. if (majr7 == ""){ majr7 = "0"};
  495. var majrall = majr1 + majr2 + majr3 + majr4 + majr5 + majr6 + majr7;
  496. model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts", majrall);
  497. var trgt1 = model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt1");
  498. if (trgt1 == ""){ trgt1 = "0"};
  499. var trgt2 = model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt2");
  500. if (trgt2 == ""){ trgt2 = "0"};
  501. var trgtall = trgt1 + trgt2;
  502. model.setValue("/root/main/baseinfo/cnsttmedlist/repltrgt", trgtall);
  503. sTemp1 = model.getValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc1");
  504. if (sTemp1 == ""){ sTemp1 = "0"};
  505. sTemp2 = model.getValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc2");
  506. if (sTemp2 == ""){ sTemp2 = "0"};
  507. sTemp3 = model.getValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc3");
  508. if (sTemp3 == ""){ sTemp3 = "0"};
  509. sTempAll = sTemp1 + sTemp2 + sTemp3;
  510. model.makeValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc", sTempAll);
  511. sTemp1 = model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc1");
  512. if (sTemp1 == ""){ sTemp1 = "0"};
  513. sTemp2 = model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc1");
  514. if (sTemp2 == ""){ sTemp2 = "0"};
  515. sTemp3 = model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc1");
  516. if (sTemp3 == ""){ sTemp3 = "0"};
  517. sTemp4 = model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc1");
  518. if (sTemp4 == ""){ sTemp4 = "0"};
  519. sTemp5 = model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc1");
  520. if (sTemp5 == ""){ sTemp5 = "0"};
  521. sTemp6 = model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc1");
  522. if (sTemp6 == ""){ sTemp6 = "0"};
  523. sTempAll = sTemp1 + sTemp2 + sTemp3 + sTemp4 + sTemp5 + sTemp6;
  524. model.makeValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc", sTempAll);
  525. sTemp1 = model.getValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc1");
  526. if (sTemp1 == ""){ sTemp1 = "0"};
  527. sTemp2 = model.getValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc1");
  528. if (sTemp2 == ""){ sTemp2 = "0"};
  529. sTemp3 = model.getValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc1");
  530. if (sTemp3 == ""){ sTemp3 = "0"};
  531. sTempAll = sTemp1 + sTemp2 + sTemp3;
  532. model.makeValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc", sTempAll);
  533. sTemp1 = model.getValue("/root/main/baseinfo/cnsttmedlist/eyeseffc1");
  534. if (sTemp1 == ""){ sTemp1 = "0"};
  535. sTemp2 = model.getValue("/root/main/baseinfo/cnsttmedlist/eyeseffc2");
  536. if (sTemp2 == ""){ sTemp2 = "0"};
  537. sTemp3 = model.getValue("/root/main/baseinfo/cnsttmedlist/eyeseffc3");
  538. if (sTemp3 == ""){ sTemp3 = "0"};
  539. sTempAll = sTemp1 + sTemp2 + sTemp3;
  540. model.makeValue("/root/main/baseinfo/cnsttmedlist/eyeseffc", sTempAll);
  541. sTemp1 = model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc1");
  542. if (sTemp1 == ""){ sTemp1 = "0"};
  543. sTemp2 = model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc2");
  544. if (sTemp2 == ""){ sTemp2 = "0"};
  545. sTemp3 = model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc3");
  546. if (sTemp3 == ""){ sTemp3 = "0"};
  547. sTemp4 = model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc4");
  548. if (sTemp4 == ""){ sTemp4 = "0"};
  549. sTemp5 = model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc5");
  550. if (sTemp5 == ""){ sTemp5 = "0"};
  551. sTemp6 = model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc6");
  552. if (sTemp6 == ""){ sTemp6 = "0"};
  553. sTemp7 = model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc7");
  554. if (sTemp7 == ""){ sTemp7 = "0"};
  555. sTempAll = sTemp1 + sTemp2 + sTemp3 + sTemp4 + sTemp5 + sTemp6 + sTemp7;
  556. model.makeValue("/root/main/baseinfo/cnsttmedlist/skinseffc", sTempAll);
  557. sTemp1 = model.getValue("/root/main/baseinfo/cnsttmedlist/uriorgnseffc1");
  558. if (sTemp1 == ""){ sTemp1 = "0"};
  559. sTemp2 = model.getValue("/root/main/baseinfo/cnsttmedlist/uriorgnseffc2");
  560. if (sTemp2 == ""){ sTemp2 = "0"};
  561. sTempAll = sTemp1 + sTemp2;
  562. model.makeValue("/root/main/baseinfo/cnsttmedlist/uriorgnseffc", sTempAll);
  563. sTemp1 = model.getValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc1");
  564. if (sTemp1 == ""){ sTemp1 = "0"};
  565. sTemp2 = model.getValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc2");
  566. if (sTemp2 == ""){ sTemp2 = "0"};
  567. sTemp3 = model.getValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc3");
  568. if (sTemp3 == ""){ sTemp3 = "0"};
  569. sTemp4 = model.getValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc4");
  570. if (sTemp4 == ""){ sTemp4 = "0"};
  571. sTempAll = sTemp1 + sTemp2 + sTemp3 + sTemp4;
  572. model.makeValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc", sTempAll);
  573. sTemp1 = model.getValue("/root/main/baseinfo/cnsttmedlist/liverkidneyseffc1");
  574. if (sTemp1 == ""){ sTemp1 = "0"};
  575. sTemp2 = model.getValue("/root/main/baseinfo/cnsttmedlist/liverkidneyseffc2");
  576. if (sTemp2 == ""){ sTemp2 = "0"};
  577. sTempAll = sTemp1 + sTemp2;
  578. model.makeValue("/root/main/baseinfo/cnsttmedlist/liverkidneyseffc", sTempAll);
  579. model.refresh();
  580. }
  581. ]]>
  582. </script>
  583. <submission id="TRADB00001"/>
  584. <submission id="TRADC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/baseinfo"/>
  585. <submission id="TXADC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  586. <submission id="TXADC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/baseinfo/cnsttmedlist" replace="instance" resultref="/root/hidden"/>
  587. <submission id="TXADC03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  588. <submission id="TRADC00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/srchgrupid" replace="instance" resultref="/root/temp/drugcdlist"/>
  589. <submission id="TRADB01007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prtlhislist"/>
  590. <submission id="TRADB01014" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" add="bottom" resultref="/root/main/prtlpatlist"/>
  591. <submission id="TRADC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/prtlprcplist"/>
  592. <submission id="TRADC62202" mediatype="application/x-www-form-urlencoded" method="post"/>
  593. </model>
  594. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  595. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  596. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  597. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  598. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  599. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  600. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  601. <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
  602. <script type="javascript" src="../../../ast/pharmacyconsultweb/js/SPADC62200.js"/>
  603. <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/>
  604. </xhtml:head>
  605. <xhtml:body guideline="1,1195;2,784;">
  606. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  607. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">복약상담 회신서(항암)</caption>
  608. </group>
  609. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:771px; ">
  610. <group id="group2" style="left:0px; top:40px; width:1195px; height:95px; ">
  611. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:95px; background-color:#fffbf2; border-color:#ffd799; "/>
  612. <input id="output5" ref="/root/main/baseinfo/patinfolist/pid" class="inputt_search" navindex="1" style="left:116px; top:9px; width:110px; height:19px; ">
  613. <script type="javascript" ev:event="onkeydown">
  614. <![CDATA[
  615. inputEnterKey("btn_sea","DOMActivate");
  616. ]]>
  617. </script>
  618. </input>
  619. <output id="output6" ref="/root/main/baseinfo/patinfolist/hngnm" class="output_search" style="left:324px; top:9px; width:110px; height:19px; "/>
  620. <output id="output7" ref="/root/main/baseinfo/patinfolist/cnstdeptcd" class="output_search" style="left:324px; top:34px; width:110px; height:19px; "/>
  621. <output id="output9" ref="/root/main/baseinfo/patinfolist/sna" class="output_search" style="left:116px; top:34px; width:110px; height:19px; "/>
  622. <caption id="caption2" class="search_name" style="left:20px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  623. <caption id="caption25" class="search_name" style="left:247px; top:9px; width:86px; height:17px; ">성명 :</caption>
  624. <caption id="caption1" class="search_name" style="left:20px; top:34px; width:93px; height:17px; ">성별/나이 :</caption>
  625. <caption id="caption3" class="search_name" style="left:247px; top:34px; width:86px; height:17px; ">진료과 :</caption>
  626. <caption id="caption4" class="search_name" style="left:20px; top:58px; width:86px; height:17px; ">병실 :</caption>
  627. <caption id="caption6" class="search_name" style="left:458px; top:10px; width:86px; height:17px; ">상병정보 :</caption>
  628. <line id="line15" class="line_1" style="x1:549px; y1:7px; x2:1180px; y2:7px; "/>
  629. <datagrid id="datagrid1" nodeset="/root/main/baseinfo/diaginfolist" autoresize="true" backcoloralternate="#f0f0f0" caption="싱병코드^영문상병명^한글상병명" colsep="^" colwidth="114, 287, 188" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:549px; top:12px; width:631px; height:73px; ">
  630. <col ref="diagcd"/>
  631. <col ref="diagengnm"/>
  632. <col ref="diaghngnm"/>
  633. </datagrid>
  634. <output id="output1" ref="/root/main/baseinfo/patinfolist/orddd" class="output_search" format="yyyy-mm-dd" style="left:324px; top:59px; width:110px; height:19px; text-align:center; "/>
  635. <output id="output2" ref="/root/main/baseinfo/patinfolist/roomcd" class="output_search" style="left:116px; top:59px; width:110px; height:19px; "/>
  636. <caption id="caption7" class="search_name" style="left:247px; top:58px; width:86px; height:17px; ">입원일 :</caption>
  637. <line id="line2" class="line_2" style="x1:25px; y1:30px; x2:435px; y2:30px; "/>
  638. <line id="line11" class="line_2" style="x1:25px; y1:55px; x2:435px; y2:55px; "/>
  639. <line id="line24" class="line_2" style="x1:25px; y1:80px; x2:435px; y2:80px; "/>
  640. <line id="line25" class="line_3" style="x1:549px; y1:86px; x2:1180px; y2:86px; "/>
  641. <button id="btn_sea" class="btn1_letter2" visibility="hidden" style="left:235px; top:5px; width:56px; height:22px; ">
  642. <caption>조회</caption>
  643. <script type="javascript" ev:event="DOMActivate">
  644. <![CDATA[
  645. //model.setValue("/root/send/pid",model.getValue("/root/main/baseinfo/patinfolist/pid"));
  646. model.removeNodeset("/root/main/baseinfo/curdoubtlist");
  647. model.removeNodeset("/root/main/baseinfo/curtmedlist");
  648. model.setValue("/root/main/baseinfo/patinfolist/pid",model.getValue("/root/temp/cnstinfo/pid"));
  649. model.setValue("/root/send/pid",model.getValue("/root/temp/cnstinfo/pid"));
  650. model.setValue("/root/send/rgstseqno",model.getValue("/root/temp/cnstinfo/rgstseqno"));
  651. model.setValue("/root/send/formrecseq", model.getValue("/root/temp/cnstinfo/formrecseq"));
  652. model.setValue("/root/send/prcpgenrflag", model.getValue("/root/temp/cnstinfo/prcpgenrflag"));
  653. model.setValue("/root/send/orddd", model.getValue("/root/temp/cnstinfo/orddd"));
  654. model.setValue("/root/send/cretno", model.getValue("/root/temp/cnstinfo/cretno"));
  655. if (submit("TRADC03001")){
  656. if (model.getValue("/root/main/baseinfo/cnsttmedlist/formrecseq") == ""){
  657. model.setValue("/root/main/baseinfo/cnsttmedlist/formrecseq", model.getValue("/root/temp/cnstinfo/formrecseq"));
  658. model.setValue("/root/main/baseinfo/cnsttmedlist/pid",model.getValue("/root/temp/cnstinfo/pid"));
  659. }
  660. model.makeValue("/root/main/baseinfo/cnsttmedlist/cnstseqno",model.getValue("/root/temp/cnstinfo/cnstseqno"));
  661. if (model.getValue("/root/main/baseinfo/cnsttmedlist/statflag") == "Z"){
  662. btn_req.disabled = true;
  663. btn_save.disabled = true;
  664. btn_del.disabled = true;
  665. group5.disabled = true;
  666. }else if (model.getValue("/root/main/baseinfo/cnsttmedlist/statflag") == "D"){
  667. btn_req.disabled = false;
  668. btn_save.disabled = false;
  669. btn_del.disabled = false;
  670. group5.disabled = false;
  671. }else{
  672. btn_req.disabled = true;
  673. btn_save.disabled = false;
  674. btn_del.disabled = true;
  675. group5.disabled = false;
  676. }
  677. radio2.dispatch("xforms-value-changed");
  678. bool7.dispatch("xforms-value-changed");
  679. bool14.dispatch("xforms-value-changed");
  680. if (submit("TRADB01007")){
  681. model.makeValue("/root/send/srchdata/cpgappno", model.getValue("/root/main/prtlhislist/item["+ 1 +"]/cpgappno"));
  682. model.refresh();
  683. model.removeNodeset("/root/main/prtlpatlist");
  684. submit("TRADB01014");
  685. if (datagrid2.rows > 1){
  686. model.setValue("/root/main/prtlinfo/startdate",model.getValue("/root/main/prtlpatlist/item[1]/appdd"));
  687. model.setValue("/root/main/prtlinfo/startterm",model.getValue("/root/main/prtlpatlist/item[1]/fromday"));
  688. model.setValue("/root/main/prtlinfo/endterm",model.getValue("/root/main/prtlpatlist/item[1]/today"));
  689. model.setValue("/root/main/prtlinfo/drugstage",model.getValue("/root/main/prtlpatlist/item[1]/drugstage"));
  690. model.setValue("/root/main/prtlinfo/drugcycle",model.getValue("/root/main/prtlpatlist/item[1]/drugcycle"));
  691. model.setValue("/root/main/prtlinfo/wt",model.getValue("/root/main/prtlpatlist/item[1]/wt"));
  692. model.setValue("/root/main/prtlinfo/ibw",model.getValue("/root/main/prtlpatlist/item[1]/ibw"));
  693. model.setValue("/root/main/prtlinfo/wtflag",model.getValue("/root/main/prtlpatlist/item[1]/wtflag"));
  694. model.setValue("/root/main/prtlinfo/bsa",model.getValue("/root/main/prtlpatlist/item[1]/bsa"));
  695. model.setValue("/root/main/prtlinfo/ht",model.getValue("/root/main/prtlpatlist/item[1]/ht"));
  696. for ( var i = 1; i < 19 ; i++){
  697. (document.controls("btn_d" +(i))).visible = false;
  698. }
  699. var istart = model.getValue("/root/main/prtlpatlist/item[1]/fromday");
  700. var iend = model.getValue("/root/main/prtlpatlist/item[1]/today");
  701. var kk = parseInt(iend) - parseInt(istart) + 2;
  702. for (var i = 1; i < kk; i++){
  703. (document.controls("btn_d" +(i))).visible = true;
  704. (document.controls("btn_d" +(i))).text = "D" + (i- 1);
  705. }
  706. model.makeValue("/root/send/srchdata/prtldg", "0");
  707. submit("TRADC03002");
  708. }
  709. }
  710. fMakeDisState(cmb_educmthd, "99", ipt_educmthdetc);
  711. fMakeDisState(cmb_eductrgtman, "99", ipt_eductrgtmanetc);
  712. fMakeDisState(cmb_educrslt, "99", ipt_educrsltetc);
  713. fSetDisState(); //부작용내용 활성화,비활성화
  714. model.refresh();
  715. }
  716. ]]>
  717. </script>
  718. </button>
  719. </group>
  720. <group id="group5" style="left:0px; top:135px; width:1195px; height:635px; ">
  721. <datagrid id="datagrid2" nodeset="/root/main/prtlhislist/item" caption="항암차수^항암차수^프로토콜^시작일자^적용기간^진행상황^입외" colsep="^" colwidth="31, 31, 138, 73, 64, 82, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:180px; width:490px; height:122px; ">
  722. <col ref="drugstage" style="text-align:center; "/>
  723. <col ref="drugcycle" style="text-align:center; "/>
  724. <col ref="prtlnm"/>
  725. <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
  726. <col ref="appterm" style="text-align:center; "/>
  727. <col ref="acptno"/>
  728. <col disabled="true" ref="ioflag" type="combo">
  729. <choices>
  730. <item>
  731. <label>입원</label>
  732. <value>I</value>
  733. </item>
  734. <item>
  735. <label>외래</label>
  736. <value>O</value>
  737. </item>
  738. </choices>
  739. </col>
  740. </datagrid>
  741. <textarea id="textarea2" ref="/root/main/baseinfo/cnsttmedlist/cmt" navindex="38" maxlength="100" style="left:685px; top:560px; width:509px; height:67px; "/>
  742. <datagrid id="grd_prtlprcp1" nodeset="/root/main/prtlprcplist/item1" caption="반환^코드^처방명^BSA용량^용량^단위^횟수^수량^단위" colsep="^" colwidth="33, 81, 228, 65, 54, 42, 42, 54, 43" ellipsis="true" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:505px; top:155px; width:688px; height:147px; ">
  743. <col checkvalue="D,N" ref="sel" type="checkbox"/>
  744. <col ref="prcpcd"/>
  745. <col ref="prcpnm"/>
  746. <col ref="bsavol" style="text-align:right; "/>
  747. <col ref="prcpvol" style="text-align:right; "/>
  748. <col ref="prcpvolunitnm"/>
  749. <col ref="prcptims" style="text-align:right; "/>
  750. <col ref="prcpqty" style="text-align:right; "/>
  751. <col ref="prcpqtyunitnm"/>
  752. </datagrid>
  753. <output id="output4" ref="/root/main/baseinfo/patinfolist/cnstdrid" class="output_fix" style="left:865px; top:54px; width:125px; height:19px; "/>
  754. <bool id="bool18" navindex="29" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts4" style="left:405px; top:464px; width:20px; height:20px; ">
  755. <script type="javascript" ev:event="xforms-value-changed">
  756. <![CDATA[
  757. if (bool18.value != 1) {
  758. bool15.value = 0;
  759. }
  760. ]]>
  761. </script>
  762. </bool>
  763. <datagrid id="datagrid3" nodeset="/root/main/baseinfo/curdoubtlist" caption="약품코드^약품명^1일용량^1일횟수^일수^초회여부^caption1^caption2^caption3^caption4" colsep="^" colwidth="112, 165, 53, 54, 38, 57, 15, 17, 20, 26" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" navindex="2" style="left:43px; top:28px; width:494px; height:72px; ">
  764. <col disabled="true" ref="drugcd" type="inputbutton"/>
  765. <col ref="drugnm"/>
  766. <col ref="dayvol" type="input" style="text-align:center; "/>
  767. <col ref="daytims" type="input" style="text-align:center; "/>
  768. <col ref="days" type="input" style="text-align:center; "/>
  769. <col checkvalue="Y,N" ref="firstyn" type="checkbox"/>
  770. <col ref="pid" visibility="hidden"/>
  771. <col ref="rgstseqno" visibility="hidden"/>
  772. <col ref="deptcd" visibility="hidden"/>
  773. <col ref="tmedflag" visibility="hidden"/>
  774. <script type="javascript" ev:event="onbuttonclick">
  775. <![CDATA[
  776. if ( datagrid3.col== datagrid3.colRef("drugcd") ){
  777. model.makeValue("/root/temp/receivedata/receiveref", model.getValue("/root/hidden/receivedrugcd"));
  778. model.makeValue("/root/temp/receivedata/srchflag", "");
  779. model.makeValue("/root/temp/receivedata/srchcnts", "");
  780. model.makeValue("/root/temp/receivedata/drugkind","");
  781. model.makeValue("/root/temp/receivedata/receiveref", "/root/hidden/drugcd");
  782. model.makeNode("/root/hidden/drugcd");
  783. modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
  784. if (model.getValue("/root/hidden/drugcd") !=""){
  785. model.setValue("/root/main/baseinfo/curdoubtlist["+ datagrid3.row+"]/drugcd", model.getValue("/root/hidden/drugcd"));
  786. model.makeValue("/root/temp/srchgrupid/drugcd", model.getValue("/root/hidden/drugcd"));
  787. //alert (model.getValue("/root/temp/srchgrupid/drugcd"));
  788. submit("TRADC00604");
  789. model.setValue("/root/main/baseinfo/curdoubtlist["+ datagrid3.row +"]/drugnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/drugnm"));
  790. //model.setValue("/root/main/baseinfo/curdoubtlist["+ datagrid3.row +"]/comnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/comdesc"));
  791. }
  792. model.refresh();
  793. }
  794. ]]>
  795. </script>
  796. </datagrid>
  797. <input id="input8" ref="/root/main/baseinfo/cnsttmedlist/statflag" class="input_search" visibility="hidden" style="left:790px; top:575px; width:85px; height:19px; "/>
  798. <bool id="bool19" navindex="30" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts5" style="left:210px; top:487px; width:20px; height:20px; ">
  799. <script type="javascript" ev:event="xforms-value-changed">
  800. <![CDATA[
  801. if (bool19.value != 1) {
  802. bool15.value = 0;
  803. }
  804. ]]>
  805. </script>
  806. </bool>
  807. <caption id="caption60" style="left:344px; top:487px; width:106px; height:20px; ">부작용 및 주의사항</caption>
  808. <button id="button1" class="btn2_letter3" style="left:482px; top:3px; width:53px; height:19px; ">
  809. <caption>행삭제</caption>
  810. <script type="javascript" ev:event="DOMActivate">
  811. <![CDATA[
  812. datagrid3.deleteRow(datagrid3.row);
  813. ]]>
  814. </script>
  815. </button>
  816. <line id="line20" class="line_2" style="x1:791px; y1:76px; x2:990px; y2:76px; "/>
  817. <output id="output10" ref="/root/main/baseinfo/patinfolist/repluserid" class="output_fix" style="left:1069px; top:79px; width:125px; height:19px; "/>
  818. <input id="input9" ref="/root/main/baseinfo/cnsttmedlist/rgstseqno" class="input_search" visibility="hidden" style="left:885px; top:575px; width:85px; height:19px; "/>
  819. <caption id="caption50" visibility="hidden" style="left:555px; top:239px; width:140px; height:20px; ">복약순응도가 낮은 경우</caption>
  820. <caption id="caption61" style="left:474px; top:487px; width:58px; height:20px; ">상호작용</caption>
  821. <line id="line21" class="line_2" style="x1:995px; y1:76px; x2:1194px; y2:76px; "/>
  822. <output id="output11" ref="/root/main/baseinfo/patinfolist/fstrgstrid" class="output_fix" style="left:1069px; top:54px; width:125px; height:19px; "/>
  823. <caption id="caption40" class="cell_1" visibility="hidden" style="left:270px; top:593px; width:115px; height:23px; vertical-align:middle; ">재상담 여부</caption>
  824. <caption id="caption51" visibility="hidden" style="left:709px; top:239px; width:120px; height:20px; ">부작용이 발생한 경우</caption>
  825. <caption id="caption62" visibility="hidden" style="left:410px; top:595px; width:90px; height:20px; ">재상담 필요함</caption>
  826. <caption id="caption30" class="cell_1" style="left:995px; top:78px; width:70px; height:23px; vertical-align:middle; ">회신자</caption>
  827. <line id="line22" class="line_2" style="x1:995px; y1:51px; x2:1194px; y2:51px; "/>
  828. <output id="output8" ref="/root/main/baseinfo/patinfolist/cnstdeptcd" class="output_fix" style="left:865px; top:79px; width:125px; height:19px; "/>
  829. <output id="output12" ref="/root/main/baseinfo/patinfolist/repldd" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:1069px; top:29px; width:125px; height:19px; text-align:center; "/>
  830. <caption id="caption41" visibility="hidden" style="left:139px; top:595px; width:30px; height:20px; ">환자</caption>
  831. <caption id="caption52" visibility="hidden" style="left:853px; top:239px; width:134px; height:20px; ">환자가 알고자 하는 경우</caption>
  832. <caption id="caption63" style="left:201px; top:561px; width:90px; height:20px; ">상담거부</caption>
  833. <line id="line12" class="line_2" style="x1:791px; y1:51px; x2:990px; y2:51px; "/>
  834. <caption id="caption31" class="cell_1" style="left:995px; top:28px; width:70px; height:23px; vertical-align:middle; ">회신일시</caption>
  835. <line id="line23" class="line_3" style="x1:0px; y1:303px; x2:1195px; y2:303px; "/>
  836. <caption id="caption20" class="cell_1" visibility="hidden" style="left:90px; top:235px; width:115px; height:48px; vertical-align:middle; ">복약상담 필요부분</caption>
  837. <input id="input10" ref="/root/main/baseinfo/cnsttmedlist/pid" class="input_search" visibility="hidden" style="left:980px; top:575px; width:85px; height:19px; "/>
  838. <bool id="bool1" navindex="3" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/repltrgt1" style="left:120px; top:595px; width:20px; height:20px; "/>
  839. <caption id="caption42" visibility="hidden" style="left:189px; top:595px; width:38px; height:20px; ">보호자</caption>
  840. <caption id="caption53" visibility="hidden" style="left:1013px; top:239px; width:145px; height:20px; ">Critical Pathway 대상환자</caption>
  841. <caption id="caption10" class="tit_2" style="left:5px; top:8px; width:144px; height:13px; ">의뢰정보</caption>
  842. <line id="line13" class="line_2" style="x1:100px; y1:532px; x2:585px; y2:532px; "/>
  843. <caption id="caption21" class="cell_1" style="left:0px; top:459px; width:100px; height:48px; vertical-align:middle; ">주요 상담내용</caption>
  844. <caption id="caption32" class="cell_1" style="left:103px; top:534px; width:77px; height:23px; vertical-align:middle; ">복약 의지</caption>
  845. <bool id="bool2" navindex="4" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/repltrgt2" style="left:170px; top:595px; width:20px; height:20px; "/>
  846. <caption id="caption43" style="left:121px; top:438px; width:30px; height:20px; ">잊음</caption>
  847. <caption id="caption54" visibility="hidden" style="left:230px; top:260px; width:30px; height:20px; ">기타</caption>
  848. <button id="button6" class="btn2_letter3" style="left:425px; top:3px; width:53px; height:19px; ">
  849. <caption>행추가</caption>
  850. <script type="javascript" ev:event="DOMActivate">
  851. <![CDATA[
  852. datagrid3.addRow();
  853. var irow = datagrid3.row;
  854. model.setValue("/root/main/baseinfo/curdoubtlist["+ irow +"]/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
  855. model.setValue("/root/main/baseinfo/curdoubtlist["+ irow +"]/deptcd", "0000000000");
  856. model.setValue("/root/main/baseinfo/curdoubtlist["+ irow +"]/firstyn", "N");
  857. model.setValue("/root/main/baseinfo/curdoubtlist["+ irow +"]/tmedflag", "3");
  858. //datagrid3.refresh();
  859. ]]>
  860. </script>
  861. </button>
  862. <caption id="caption11" class="tit_2" style="left:5px; top:110px; width:255px; height:13px; ">Protocol History</caption>
  863. <button id="btn_grddel" class="btn2_letter3" visibility="hidden" style="left:1141px; top:105px; width:53px; height:19px; ">
  864. <caption>행삭제</caption>
  865. <script type="javascript" ev:event="DOMActivate">
  866. <![CDATA[
  867. grd_curtmed.deleteRow(grd_curtmed.row);
  868. ]]>
  869. </script>
  870. </button>
  871. <line id="line14" class="line_3" style="x1:0px; y1:101px; x2:990px; y2:101px; "/>
  872. <caption id="caption22" class="cell_1" style="left:0px; top:509px; width:100px; height:73px; vertical-align:middle; ">상담소견</caption>
  873. <caption id="caption33" class="cell_1" style="left:103px; top:559px; width:77px; height:23px; vertical-align:middle; ">상담 여부</caption>
  874. <bool id="bool3" navindex="8" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn1" style="left:103px; top:438px; width:20px; height:20px; "/>
  875. <caption id="caption44" style="left:172px; top:438px; width:62px; height:20px; ">생활패턴</caption>
  876. <caption id="caption55" style="left:122px; top:464px; width:78px; height:20px; ">다음 사항모두</caption>
  877. <caption id="caption12" class="tit_2" style="left:5px; top:314px; width:78px; height:13px; ">회신내용</caption>
  878. <caption id="caption23" style="left:182px; top:511px; width:45px; height:20px; vertical-align:middle; ">(환자)</caption>
  879. <caption id="caption34" style="left:201px; top:387px; width:20px; height:20px; vertical-align:middle; ">분</caption>
  880. <bool id="bool4" navindex="9" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn2" style="left:153px; top:438px; width:20px; height:20px; "/>
  881. <caption id="caption45" style="left:247px; top:438px; width:62px; height:20px; ">부작용</caption>
  882. <caption id="caption56" style="left:229px; top:464px; width:112px; height:20px; ">복용(사용)의 중요성</caption>
  883. <bool id="bool20" navindex="31" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts6" style="left:325px; top:487px; width:20px; height:20px; ">
  884. <script type="javascript" ev:event="xforms-value-changed">
  885. <![CDATA[
  886. if (bool20.value != 1) {
  887. bool15.value = 0;
  888. }
  889. ]]>
  890. </script>
  891. </bool>
  892. <line id="line16" class="line_2" style="x1:100px; y1:557px; x2:585px; y2:557px; "/>
  893. <caption id="caption24" style="left:328px; top:511px; width:55px; height:20px; vertical-align:middle; ">(보호자)</caption>
  894. <caption id="caption13" class="cell_1" style="left:0px; top:384px; width:100px; height:23px; vertical-align:middle; ">상담 소요시간</caption>
  895. <bool id="bool5" navindex="10" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn3" style="left:228px; top:438px; width:20px; height:20px; "/>
  896. <caption id="caption46" style="left:307px; top:438px; width:94px; height:20px; ">중요성 인식 부족</caption>
  897. <bool id="bool10" navindex="20" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst3" style="left:533px; top:239px; width:20px; height:20px; "/>
  898. <caption id="caption57" style="left:369px; top:464px; width:32px; height:20px; ">약명</caption>
  899. <bool id="bool21" navindex="32" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts7" style="left:455px; top:487px; width:20px; height:20px; ">
  900. <script type="javascript" ev:event="xforms-value-changed">
  901. <![CDATA[
  902. if (bool21.value != 1) {
  903. bool15.value = 0;
  904. }
  905. ]]>
  906. </script>
  907. </bool>
  908. <line id="line1" class="line_1" style="x1:0px; y1:125px; x2:490px; y2:125px; "/>
  909. <line id="line17" class="line_2" style="x1:0px; y1:582px; x2:585px; y2:582px; "/>
  910. <caption id="caption5" class="cell_1" style="left:0px; top:28px; width:40px; height:74px; vertical-align:middle; ">
  911. <![CDATA[의뢰
  912. 약물]]>
  913. </caption>
  914. <caption id="caption14" class="cell_1" visibility="hidden" style="left:2px; top:593px; width:115px; height:23px; vertical-align:middle; ">상담대상</caption>
  915. <select1 id="radio1" ref="/root/main/baseinfo/cnsttmedlist/pasttmedadapt" navindex="7" appearance="full" cols="3" overflow="visible" style="left:104px; top:413px; width:101px; height:15px; border-style:none; ">
  916. <choices>
  917. <item>
  918. <label>상</label>
  919. <value>1</value>
  920. </item>
  921. <item>
  922. <label>중</label>
  923. <value>2</value>
  924. </item>
  925. <item>
  926. <label>하</label>
  927. <value>3</value>
  928. </item>
  929. </choices>
  930. </select1>
  931. <bool id="bool6" navindex="11" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn4" style="left:288px; top:438px; width:20px; height:20px; "/>
  932. <caption id="caption47" style="left:430px; top:438px; width:42px; height:20px; ">기타</caption>
  933. <bool id="bool11" navindex="21" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst4" style="left:688px; top:239px; width:20px; height:20px; "/>
  934. <caption id="caption58" style="left:424px; top:464px; width:62px; height:20px; ">효능 , 효과</caption>
  935. <bool id="bool22" navindex="34" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/cnstreyn" style="left:387px; top:595px; width:20px; height:20px; "/>
  936. <caption id="caption26" class="tit_2" style="left:995px; top:8px; width:144px; height:13px; ">회신정보</caption>
  937. <input id="input1" ref="/root/main/baseinfo/cnsttmedlist/replusetm" class="input_default" navindex="6" style="left:103px; top:386px; width:97px; height:19px; text-align:center; "/>
  938. <caption id="caption15" class="cell_1" style="left:0px; top:409px; width:100px; height:23px; vertical-align:middle; ">과거 복약순응도</caption>
  939. <bool id="bool7" navindex="12" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn5" style="left:408px; top:438px; width:20px; height:20px; ">
  940. <script type="javascript" ev:event="xforms-value-changed">
  941. <![CDATA[
  942. if (model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn5") == "1"){
  943. input4.disabled = false;
  944. }else{
  945. model.setValue("/root/main/baseinfo/cnsttmedlist/nonadaptetc", "");
  946. input4.disabled = true;
  947. }
  948. model.refresh();
  949. ]]>
  950. </script>
  951. </bool>
  952. <select1 id="radio2" ref="/root/main/baseinfo/cnsttmedlist/seffcyn" navindex="14" appearance="full" cols="2" overflow="visible" style="left:685px; top:338px; width:100px; height:15px; border-style:none; ">
  953. <choices>
  954. <item>
  955. <label>아니오</label>
  956. <value>1</value>
  957. </item>
  958. <item>
  959. <label>예</label>
  960. <value>2</value>
  961. </item>
  962. </choices>
  963. <script type="javascript" ev:event="xforms-value-changed">
  964. <![CDATA[
  965. if (model.getValue("/root/main/baseinfo/cnsttmedlist/seffcyn") == "2"){
  966. input19.disabled = false;
  967. input20.disabled = false;
  968. }else{
  969. input19.disabled = true;
  970. input20.disabled = true;
  971. model.setValue("/root/main/baseinfo/cnsttmedlist/seffckind", "");
  972. model.setValue("/root/main/baseinfo/cnsttmedlist/seffccasdrug", "");
  973. // model.setValue("/root/main/baseinfo/cnsttmedlist/seffcsymp", "");
  974. }
  975. fSetDisState(); //부작용 내용 활성화/비활성화 셋팅.
  976. model.refresh();
  977. ]]>
  978. </script>
  979. </select1>
  980. <caption id="caption48" visibility="hidden" style="left:230px; top:239px; width:140px; height:20px; ">처음 복용(사용)하는 경우</caption>
  981. <bool id="bool12" navindex="22" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst5" style="left:833px; top:239px; width:20px; height:20px; "/>
  982. <caption id="caption59" style="left:229px; top:487px; width:84px; height:20px; ">복용법(사용법)</caption>
  983. <bool id="bool23" navindex="37" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/cnstyn" style="left:182px; top:561px; width:20px; height:20px; "/>
  984. <line id="line3" class="line_1" style="x1:0px; y1:23px; x2:990px; y2:23px; "/>
  985. <textarea id="textarea1" ref="/root/main/baseinfo/patinfolist/cnstcnts4" disabled="true" style="left:583px; top:28px; width:205px; height:72px; "/>
  986. <input id="input2" ref="/root/main/baseinfo/cnsttmedlist/repltrgtnm" class="input_search" navindex="5" visibility="hidden" style="left:235px; top:595px; width:30px; height:19px; "/>
  987. <caption id="caption27" class="cell_1" style="left:791px; top:53px; width:70px; height:23px; vertical-align:middle; ">의뢰자</caption>
  988. <caption id="caption16" class="cell_1" style="left:0px; top:434px; width:100px; height:23px; vertical-align:middle; ">불순응 요인</caption>
  989. <bool id="bool8" navindex="18" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst1" style="left:208px; top:239px; width:20px; height:20px; "/>
  990. <caption id="caption49" visibility="hidden" style="left:395px; top:239px; width:140px; height:20px; ">변경된 약물이 있는 경우</caption>
  991. <bool id="bool13" navindex="23" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst6" style="left:993px; top:239px; width:20px; height:20px; "/>
  992. <select1 id="radio3" ref="/root/main/baseinfo/cnsttmedlist/cnstpat" navindex="33" appearance="full" cols="3" overflow="visible" style="left:219px; top:512px; width:100px; height:16px; border-style:none; ">
  993. <choices>
  994. <item>
  995. <label>상</label>
  996. <value>1</value>
  997. </item>
  998. <item>
  999. <label>중</label>
  1000. <value>2</value>
  1001. </item>
  1002. <item>
  1003. <label>하</label>
  1004. <value>3</value>
  1005. </item>
  1006. </choices>
  1007. </select1>
  1008. <line id="line4" class="line_1" style="x1:995px; y1:23px; x2:1194px; y2:23px; "/>
  1009. <caption id="caption8" class="cell_1" style="left:540px; top:28px; width:41px; height:74px; vertical-align:middle; ">
  1010. <![CDATA[전달
  1011. 사항]]>
  1012. </caption>
  1013. <caption id="caption28" class="cell_1" style="left:791px; top:78px; width:70px; height:23px; vertical-align:middle; ">의뢰과</caption>
  1014. <caption id="caption17" class="cell_1" style="left:605px; top:334px; width:75px; height:23px; vertical-align:middle; ">부작용 유무</caption>
  1015. <caption id="caption39" class="cell_1" style="left:103px; top:509px; width:77px; height:23px; vertical-align:middle; ">상담 이해도</caption>
  1016. <input id="input3" ref="/root/main/baseinfo/cnsttmedlist/tmedcnstetc" class="input_search" disabled="true" navindex="25" visibility="hidden" style="left:265px; top:261px; width:850px; height:19px; "/>
  1017. <bool id="bool9" navindex="19" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst2" style="left:373px; top:239px; width:20px; height:20px; "/>
  1018. <bool id="bool14" navindex="24" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst7" style="left:208px; top:260px; width:20px; height:20px; ">
  1019. <script type="javascript" ev:event="xforms-value-changed">
  1020. <![CDATA[
  1021. if (model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst7") == "1"){
  1022. input3.disabled = false;
  1023. }else{
  1024. input3.disabled = true;
  1025. model.setValue("/root/main/baseinfo/cnsttmedlist/tmedcnstetc", "");
  1026. }
  1027. model.refresh();
  1028. ]]>
  1029. </script>
  1030. </bool>
  1031. <select1 id="radio4" ref="/root/main/baseinfo/cnsttmedlist/cnstprocer" navindex="35" appearance="full" cols="3" overflow="visible" style="left:376px; top:512px; width:100px; height:16px; border-style:none; ">
  1032. <choices>
  1033. <item>
  1034. <label>상</label>
  1035. <value>1</value>
  1036. </item>
  1037. <item>
  1038. <label>중</label>
  1039. <value>2</value>
  1040. </item>
  1041. <item>
  1042. <label>하</label>
  1043. <value>3</value>
  1044. </item>
  1045. </choices>
  1046. </select1>
  1047. <line id="line5" class="line_3" style="x1:995px; y1:101px; x2:1194px; y2:101px; "/>
  1048. <caption id="caption18" class="cell_1" style="left:604px; top:559px; width:76px; height:69px; vertical-align:middle; ">
  1049. <![CDATA[약사
  1050. Comment]]>
  1051. </caption>
  1052. <button id="btn_grdadd" class="btn2_letter3" visibility="hidden" style="left:1084px; top:105px; width:53px; height:19px; ">
  1053. <caption>행추가</caption>
  1054. <script type="javascript" ev:event="DOMActivate">
  1055. <![CDATA[
  1056. grd_curtmed.addRow();
  1057. var irow = grd_curtmed.row;
  1058. model.setValue("/root/main/baseinfo/curtmedlist["+ irow +"]/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
  1059. model.setValue("/root/main/baseinfo/curtmedlist["+ irow +"]/tmedflag", "3");
  1060. //grd_curtmed.refresh();
  1061. ]]>
  1062. </script>
  1063. </button>
  1064. <caption id="caption9" class="cell_1" style="left:791px; top:28px; width:70px; height:23px; vertical-align:middle; ">의뢰일시</caption>
  1065. <caption id="caption29" class="cell_1" style="left:995px; top:53px; width:70px; height:23px; vertical-align:middle; ">작성자</caption>
  1066. <input id="input4" ref="/root/main/baseinfo/cnsttmedlist/nonadaptetc" class="input_default" disabled="true" navindex="13" style="left:459px; top:436px; width:76px; height:19px; "/>
  1067. <bool id="bool15" navindex="26" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts1" style="left:103px; top:464px; width:20px; height:20px; ">
  1068. <script type="javascript" ev:event="xforms-value-changed">
  1069. <![CDATA[
  1070. if (bool15.value== 1) {
  1071. bool16.value = 1;
  1072. bool17.value = 1;
  1073. bool18.value = 1;
  1074. bool19.value = 1;
  1075. bool20.value = 1;
  1076. bool21.value = 1;
  1077. }else{
  1078. bool16.value = 0;
  1079. bool17.value = 0;
  1080. bool18.value = 0;
  1081. bool19.value = 0;
  1082. bool20.value = 0;
  1083. bool21.value = 0;
  1084. }
  1085. ]]>
  1086. </script>
  1087. </bool>
  1088. <select1 id="radio5" ref="/root/main/baseinfo/cnsttmedlist/cnsttmedwill" navindex="36" appearance="full" cols="3" overflow="visible" style="left:183px; top:535px; width:100px; height:15px; border-style:none; ">
  1089. <choices>
  1090. <item>
  1091. <label>상</label>
  1092. <value>1</value>
  1093. </item>
  1094. <item>
  1095. <label>중</label>
  1096. <value>2</value>
  1097. </item>
  1098. <item>
  1099. <label>하</label>
  1100. <value>3</value>
  1101. </item>
  1102. </choices>
  1103. </select1>
  1104. <line id="line6" class="line_1" style="x1:0px; y1:329px; x2:1194px; y2:329px; "/>
  1105. <bool id="bool16" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts2" style="left:210px; top:464px; width:20px; height:20px; ">
  1106. <script type="javascript" ev:event="xforms-value-changed">
  1107. <![CDATA[
  1108. if (bool16.value != 1) {
  1109. bool15.value = 0;
  1110. }
  1111. ]]>
  1112. </script>
  1113. </bool>
  1114. <output id="output3" ref="/root/main/baseinfo/patinfolist/cnstdd" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:865px; top:29px; width:125px; height:19px; text-align:center; "/>
  1115. <bool id="bool17" navindex="28" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts3" style="left:350px; top:464px; width:20px; height:20px; ">
  1116. <script type="javascript" ev:event="xforms-value-changed">
  1117. <![CDATA[
  1118. if (bool17.value != 1) {
  1119. bool15.value = 0;
  1120. }
  1121. ]]>
  1122. </script>
  1123. </bool>
  1124. <caption id="caption64" class="cell_1" style="left:0px; top:130px; width:55px; height:24px; vertical-align:middle; ">시작일</caption>
  1125. <caption id="caption66" class="cell_1" style="left:140px; top:130px; width:60px; height:24px; vertical-align:middle; ">적용선택</caption>
  1126. <caption id="caption67" class="cell_1" style="left:285px; top:130px; width:45px; height:24px; vertical-align:middle; ">Line</caption>
  1127. <caption id="caption68" class="cell_1" style="left:400px; top:130px; width:40px; height:24px; vertical-align:middle; ">Cycle</caption>
  1128. <caption id="caption69" class="cell_1" style="left:400px; top:155px; width:40px; height:24px; vertical-align:middle; ">BSA</caption>
  1129. <button id="btn_d1" class="btn_sw" visibility="hidden" group="tab" style="left:505px; top:132px; width:37px; height:22px; ">
  1130. <caption/>
  1131. <script type="javascript" ev:event="DOMActivate">
  1132. <![CDATA[
  1133. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm"));
  1134. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1135. submit("TRADC03002");
  1136. ]]>
  1137. </script>
  1138. </button>
  1139. <button id="btn_d2" class="btn_sw" visibility="hidden" group="tab" style="left:542px; top:132px; width:37px; height:22px; ">
  1140. <caption/>
  1141. <script type="javascript" ev:event="DOMActivate">
  1142. <![CDATA[
  1143. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 1;
  1144. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1145. submit("TRADC03002");
  1146. ]]>
  1147. </script>
  1148. </button>
  1149. <button id="btn_d3" class="btn_sw" visibility="hidden" group="tab" style="left:579px; top:132px; width:37px; height:22px; ">
  1150. <caption/>
  1151. <script type="javascript" ev:event="DOMActivate">
  1152. <![CDATA[
  1153. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 2;
  1154. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1155. submit("TRADC03002");
  1156. ]]>
  1157. </script>
  1158. </button>
  1159. <button id="btn_d4" class="btn_sw" visibility="hidden" group="tab" style="left:616px; top:132px; width:37px; height:22px; ">
  1160. <caption/>
  1161. <script type="javascript" ev:event="DOMActivate">
  1162. <![CDATA[
  1163. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 3;
  1164. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1165. submit("TRADC03002");
  1166. ]]>
  1167. </script>
  1168. </button>
  1169. <button id="btn_d5" class="btn_sw" visibility="hidden" group="tab" style="left:653px; top:132px; width:37px; height:22px; ">
  1170. <caption/>
  1171. <script type="javascript" ev:event="DOMActivate">
  1172. <![CDATA[
  1173. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 4;
  1174. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1175. submit("TRADC03002");
  1176. ]]>
  1177. </script>
  1178. </button>
  1179. <button id="btn_d6" class="btn_sw" visibility="hidden" group="tab" style="left:690px; top:132px; width:37px; height:22px; ">
  1180. <caption/>
  1181. <script type="javascript" ev:event="DOMActivate">
  1182. <![CDATA[
  1183. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 5;
  1184. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1185. submit("TRADC03002");
  1186. ]]>
  1187. </script>
  1188. </button>
  1189. <caption id="caption70" class="tit_2" style="left:505px; top:110px; width:255px; height:13px; ">현재 Protocol 구성약물</caption>
  1190. <line id="line26" class="line_1" style="x1:505px; y1:125px; x2:1194px; y2:125px; "/>
  1191. <output id="output13" ref="/root/main/prtlinfo/startdate" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:58px; top:132px; width:75px; height:19px; text-align:center; "/>
  1192. <caption id="caption71" style="left:237px; top:134px; width:11px; height:20px; vertical-align:middle; ">~</caption>
  1193. <caption id="caption72" style="left:201px; top:132px; width:15px; height:20px; ">D</caption>
  1194. <caption id="caption73" style="left:247px; top:132px; width:15px; height:20px; ">D</caption>
  1195. <output id="output14" ref="/root/main/prtlinfo/endterm" appearance="output" style="left:256px; top:132px; width:25px; height:19px; "/>
  1196. <output id="output15" ref="/root/main/prtlinfo/startterm" appearance="output" style="left:211px; top:132px; width:25px; height:19px; "/>
  1197. <output id="output16" ref="/root/main/prtlinfo/drugcycle" class="output_fix" appearance="output" style="left:443px; top:132px; width:30px; height:19px; "/>
  1198. <output id="output17" ref="/root/main/prtlinfo/drugstage" class="output_fix" appearance="output" style="left:333px; top:132px; width:32px; height:19px; "/>
  1199. <output id="output18" ref="/root/main/prtlinfo/ibw" class="output_fix" appearance="output" style="left:333px; top:156px; width:45px; height:19px; "/>
  1200. <caption id="caption65" style="left:252px; top:160px; width:20px; height:15px; ">kg</caption>
  1201. <caption id="caption74" class="cell_1" style="left:0px; top:155px; width:55px; height:21px; vertical-align:middle; ">신장</caption>
  1202. <select1 id="radio6" ref="/root/main/prtlinfo/wtflag" class="cell_1" disabled="true" appearance="full" cols="1" rows="2" vcellspacing="5" overflow="visible" style="left:285px; top:155px; width:45px; height:21px; border-style:none; ">
  1203. <choices>
  1204. <item>
  1205. <label>IBW</label>
  1206. <value>2</value>
  1207. </item>
  1208. </choices>
  1209. </select1>
  1210. <select1 id="radio7" ref="/root/main/prtlinfo/wtflag" class="cell_1" disabled="true" appearance="full" cols="1" rows="2" vcellspacing="5" overflow="visible" style="left:140px; top:155px; width:60px; height:21px; border-style:none; ">
  1211. <choices>
  1212. <item>
  1213. <label>체중</label>
  1214. <value>1</value>
  1215. </item>
  1216. </choices>
  1217. </select1>
  1218. <caption id="caption75" style="left:380px; top:160px; width:20px; height:15px; ">kg</caption>
  1219. <caption id="caption76" style="left:103px; top:160px; width:20px; height:15px; ">cm</caption>
  1220. <output id="output19" ref="/root/main/prtlinfo/ht" class="output_fix" appearance="output" style="left:57px; top:156px; width:45px; height:19px; "/>
  1221. <output id="output20" ref="/root/main/prtlinfo/wt" class="output_fix" appearance="output" style="left:205px; top:156px; width:45px; height:19px; "/>
  1222. <output id="output21" ref="/root/main/prtlinfo/bsa" class="output_fix" editable="false" appearance="output" style="left:443px; top:157px; width:44px; height:19px; "/>
  1223. <button id="btn_d12" class="btn_sw" visibility="hidden" group="tab" style="left:912px; top:132px; width:37px; height:22px; ">
  1224. <caption/>
  1225. <script type="javascript" ev:event="DOMActivate">
  1226. <![CDATA[
  1227. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 11;
  1228. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1229. submit("TRADC03002");
  1230. ]]>
  1231. </script>
  1232. </button>
  1233. <button id="btn_d13" class="btn_sw" visibility="hidden" group="tab" style="left:949px; top:132px; width:37px; height:22px; ">
  1234. <caption/>
  1235. <script type="javascript" ev:event="DOMActivate">
  1236. <![CDATA[
  1237. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 12;
  1238. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1239. submit("TRADC03002");
  1240. ]]>
  1241. </script>
  1242. </button>
  1243. <button id="btn_d14" class="btn_sw" visibility="hidden" group="tab" style="left:986px; top:132px; width:37px; height:22px; ">
  1244. <caption/>
  1245. <script type="javascript" ev:event="DOMActivate">
  1246. <![CDATA[
  1247. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 13;
  1248. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1249. submit("TRADC03002");
  1250. ]]>
  1251. </script>
  1252. </button>
  1253. <button id="btn_d15" class="btn_sw" visibility="hidden" group="tab" style="left:1023px; top:132px; width:37px; height:22px; ">
  1254. <caption/>
  1255. <script type="javascript" ev:event="DOMActivate">
  1256. <![CDATA[
  1257. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 14;
  1258. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1259. submit("TRADC03002");
  1260. ]]>
  1261. </script>
  1262. </button>
  1263. <button id="btn_d16" class="btn_sw" visibility="hidden" group="tab" style="left:1060px; top:132px; width:37px; height:22px; ">
  1264. <caption/>
  1265. <script type="javascript" ev:event="DOMActivate">
  1266. <![CDATA[
  1267. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 15;
  1268. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1269. submit("TRADC03002");
  1270. ]]>
  1271. </script>
  1272. </button>
  1273. <button id="btn_d17" class="btn_sw" visibility="hidden" group="tab" style="left:1097px; top:132px; width:37px; height:22px; ">
  1274. <caption/>
  1275. <script type="javascript" ev:event="DOMActivate">
  1276. <![CDATA[
  1277. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 16;
  1278. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1279. submit("TRADC03002");
  1280. ]]>
  1281. </script>
  1282. </button>
  1283. <button id="btn_d18" class="btn_sw" visibility="hidden" group="tab" style="left:1134px; top:132px; width:37px; height:22px; ">
  1284. <caption/>
  1285. <script type="javascript" ev:event="DOMActivate">
  1286. <![CDATA[
  1287. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 17;
  1288. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1289. submit("TRADC03002");
  1290. ]]>
  1291. </script>
  1292. </button>
  1293. <button id="btn_d7" class="btn_sw" visibility="hidden" group="tab" style="left:727px; top:132px; width:37px; height:22px; ">
  1294. <caption/>
  1295. <script type="javascript" ev:event="DOMActivate">
  1296. <![CDATA[
  1297. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 6;
  1298. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1299. submit("TRADC03002");
  1300. ]]>
  1301. </script>
  1302. </button>
  1303. <button id="btn_d8" class="btn_sw" visibility="hidden" group="tab" style="left:764px; top:132px; width:37px; height:22px; ">
  1304. <caption/>
  1305. <script type="javascript" ev:event="DOMActivate">
  1306. <![CDATA[
  1307. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 7;
  1308. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1309. submit("TRADC03002");
  1310. ]]>
  1311. </script>
  1312. </button>
  1313. <button id="btn_d9" class="btn_sw" visibility="hidden" group="tab" style="left:801px; top:132px; width:37px; height:22px; ">
  1314. <caption/>
  1315. <script type="javascript" ev:event="DOMActivate">
  1316. <![CDATA[
  1317. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 8;
  1318. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1319. submit("TRADC03002");
  1320. ]]>
  1321. </script>
  1322. </button>
  1323. <button id="btn_d10" class="btn_sw" visibility="hidden" group="tab" style="left:838px; top:132px; width:37px; height:22px; ">
  1324. <caption/>
  1325. <script type="javascript" ev:event="DOMActivate">
  1326. <![CDATA[
  1327. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 9;
  1328. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1329. submit("TRADC03002");
  1330. ]]>
  1331. </script>
  1332. </button>
  1333. <button id="btn_d11" class="btn_sw" visibility="hidden" group="tab" style="left:875px; top:132px; width:37px; height:22px; ">
  1334. <caption/>
  1335. <script type="javascript" ev:event="DOMActivate">
  1336. <![CDATA[
  1337. var iprtldg = parseInt(model.getValue("/root/main/prtlinfo/startterm")) + 10;
  1338. model.makeValue("/root/send/srchdata/prtldg", iprtldg);
  1339. submit("TRADC03002");
  1340. ]]>
  1341. </script>
  1342. </button>
  1343. <caption id="caption95" visibility="hidden" style="left:225px; top:285px; width:127px; height:20px; vertical-align:middle; ">( 항암제 일반 부작용</caption>
  1344. <input id="input20" ref="/root/main/baseinfo/cnsttmedlist/seffccasdrug" class="input_search" disabled="true" visibility="hidden" style="left:355px; top:305px; width:820px; height:19px; "/>
  1345. <caption id="caption99" visibility="hidden" style="left:224px; top:306px; width:150px; height:20px; vertical-align:middle; ">( 약물별 특징적 부작용</caption>
  1346. <input id="input19" ref="/root/main/baseinfo/cnsttmedlist/seffckind" class="input_search" disabled="true" visibility="hidden" style="left:355px; top:285px; width:820px; height:19px; "/>
  1347. <caption id="caption83" class="cell_1" style="left:0px; top:334px; width:100px; height:23px; vertical-align:middle; ">학습준비도</caption>
  1348. <select1 id="cmb_lnprep" ref="/root/main/baseinfo/cnsttmedlist/lnprepcd" appearance="minimal" style="left:103px; top:336px; width:97px; height:19px; ">
  1349. <choices>
  1350. <item>
  1351. <label>Y</label>
  1352. <value>1</value>
  1353. </item>
  1354. <item>
  1355. <label>N</label>
  1356. <value>2</value>
  1357. </item>
  1358. <item>
  1359. <label/>
  1360. <value>-</value>
  1361. </item>
  1362. </choices>
  1363. </select1>
  1364. <input id="ipt_eductrgtmanetc" ref="/root/main/baseinfo/cnsttmedlist/eductrgtmanetc" class="input_default" disabled="true" maxlength="15" style="left:476px; top:335px; width:109px; height:19px; "/>
  1365. <caption id="caption82" class="cell_1" style="left:287px; top:334px; width:73px; height:23px; vertical-align:middle; ">교육대상자</caption>
  1366. <select1 id="cmb_eductrgtman" ref="/root/main/baseinfo/cnsttmedlist/eductrgtmancd" appearance="minimal" style="left:363px; top:335px; width:112px; height:19px; ">
  1367. <choices>
  1368. <item>
  1369. <label>환자</label>
  1370. <value>1</value>
  1371. </item>
  1372. <item>
  1373. <label>보호자</label>
  1374. <value>2</value>
  1375. </item>
  1376. <item>
  1377. <label>기타</label>
  1378. <value>99</value>
  1379. </item>
  1380. <item>
  1381. <label/>
  1382. <value>-</value>
  1383. </item>
  1384. </choices>
  1385. <script type="javascript" ev:event="xforms-value-changed">
  1386. <![CDATA[
  1387. fMakeDisState(cmb_eductrgtman, "99", ipt_eductrgtmanetc);
  1388. ]]>
  1389. </script>
  1390. </select1>
  1391. <caption id="caption84" class="cell_1" style="left:0px; top:359px; width:100px; height:23px; vertical-align:middle; ">교육방법</caption>
  1392. <caption id="caption85" class="cell_1" style="left:287px; top:360px; width:73px; height:23px; vertical-align:middle; ">교육결과</caption>
  1393. <input id="ipt_educmthdetc" ref="/root/main/baseinfo/cnsttmedlist/educmthdetc" class="input_default" disabled="true" maxlength="30" style="left:201px; top:361px; width:82px; height:19px; "/>
  1394. <select1 id="cmb_educmthd" ref="/root/main/baseinfo/cnsttmedlist/educmthdcd" appearance="minimal" style="left:103px; top:361px; width:97px; height:19px; ">
  1395. <choices>
  1396. <item>
  1397. <label>구두설명</label>
  1398. <value>1</value>
  1399. </item>
  1400. <item>
  1401. <label>유인물 제공</label>
  1402. <value>2</value>
  1403. </item>
  1404. <item>
  1405. <label>시범 보이기</label>
  1406. <value>3</value>
  1407. </item>
  1408. <item>
  1409. <label>시청각 예제</label>
  1410. <value>4</value>
  1411. </item>
  1412. <item>
  1413. <label>기타</label>
  1414. <value>99</value>
  1415. </item>
  1416. <item>
  1417. <label/>
  1418. <value>-</value>
  1419. </item>
  1420. </choices>
  1421. <script type="javascript" ev:event="xforms-value-changed">
  1422. <![CDATA[
  1423. fMakeDisState(cmb_educmthd, "99", ipt_educmthdetc);
  1424. ]]>
  1425. </script>
  1426. </select1>
  1427. <select1 id="cmb_educrslt" ref="/root/main/baseinfo/cnsttmedlist/educrsltcd" appearance="minimal" style="left:363px; top:361px; width:112px; height:19px; ">
  1428. <choices>
  1429. <item>
  1430. <label>재교육필요</label>
  1431. <value>1</value>
  1432. </item>
  1433. <item>
  1434. <label>보통</label>
  1435. <value>2</value>
  1436. </item>
  1437. <item>
  1438. <label>배운 것을 말로 표현할 수 있음</label>
  1439. <value>3</value>
  1440. </item>
  1441. <item>
  1442. <label>배운 것을 시범 보일 수 있음</label>
  1443. <value>4</value>
  1444. </item>
  1445. <item>
  1446. <label>기타</label>
  1447. <value>99</value>
  1448. </item>
  1449. <item>
  1450. <label/>
  1451. <value>-</value>
  1452. </item>
  1453. </choices>
  1454. <script type="javascript" ev:event="xforms-value-changed">
  1455. <![CDATA[
  1456. fMakeDisState(cmb_educrslt, "99", ipt_educrsltetc);
  1457. ]]>
  1458. </script>
  1459. </select1>
  1460. <input id="ipt_educrsltetc" ref="/root/main/baseinfo/cnsttmedlist/educrsltetc" class="input_default" disabled="true" maxlength="30" style="left:476px; top:361px; width:109px; height:19px; "/>
  1461. <line id="line8" class="line_2" style="x1:0px; y1:382px; x2:585px; y2:382px; "/>
  1462. <line id="line9" class="line_2" style="x1:0px; y1:407px; x2:585px; y2:407px; "/>
  1463. <line id="line10" class="line_2" style="x1:0px; y1:457px; x2:585px; y2:457px; "/>
  1464. <line id="line19" class="line_2" style="x1:0px; y1:507px; x2:585px; y2:507px; "/>
  1465. <line id="line7" class="line_2" style="x1:0px; y1:357px; x2:585px; y2:357px; "/>
  1466. <line id="line27" class="line_2" style="x1:0px; y1:432px; x2:585px; y2:432px; "/>
  1467. <caption id="caption35" class="cell_1" style="left:605px; top:484px; width:75px; height:23px; vertical-align:middle; ">비뇨기계</caption>
  1468. <bool id="bol_skinseffc1" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/skinseffc1" style="left:685px; top:460px; width:20px; height:20px; ">
  1469. <script type="javascript" ev:event="xforms-value-changed">
  1470. <![CDATA[
  1471. if (bool16.value != 1) {
  1472. bool15.value = 0;
  1473. }
  1474. ]]>
  1475. </script>
  1476. </bool>
  1477. <caption id="caption36" style="left:705px; top:460px; width:30px; height:20px; ">탈모</caption>
  1478. <caption id="caption37" style="left:760px; top:460px; width:65px; height:20px; ">수족증후군</caption>
  1479. <bool id="bol_skinseffc2" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/skinseffc2" style="left:740px; top:460px; width:20px; height:20px; ">
  1480. <script type="javascript" ev:event="xforms-value-changed">
  1481. <![CDATA[
  1482. if (bool16.value != 1) {
  1483. bool15.value = 0;
  1484. }
  1485. ]]>
  1486. </script>
  1487. </bool>
  1488. <caption id="caption38" style="left:850px; top:460px; width:65px; height:20px; ">손발톱변색</caption>
  1489. <bool id="bol_skinseffc3" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/skinseffc3" style="left:830px; top:460px; width:20px; height:20px; ">
  1490. <script type="javascript" ev:event="xforms-value-changed">
  1491. <![CDATA[
  1492. if (bool16.value != 1) {
  1493. bool15.value = 0;
  1494. }
  1495. ]]>
  1496. </script>
  1497. </bool>
  1498. <caption id="caption77" style="left:940px; top:460px; width:40px; height:20px; ">건조증</caption>
  1499. <bool id="bol_skinseffc4" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/skinseffc4" style="left:920px; top:460px; width:20px; height:20px; ">
  1500. <script type="javascript" ev:event="xforms-value-changed">
  1501. <![CDATA[
  1502. if (bool16.value != 1) {
  1503. bool15.value = 0;
  1504. }
  1505. ]]>
  1506. </script>
  1507. </bool>
  1508. <caption id="caption78" style="left:1005px; top:460px; width:40px; height:20px; ">광과민</caption>
  1509. <bool id="bol_skinseffc5" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/skinseffc5" style="left:985px; top:460px; width:20px; height:20px; ">
  1510. <script type="javascript" ev:event="xforms-value-changed">
  1511. <![CDATA[
  1512. if (bool16.value != 1) {
  1513. bool15.value = 0;
  1514. }
  1515. ]]>
  1516. </script>
  1517. </bool>
  1518. <caption id="caption79" style="left:1070px; top:460px; width:45px; height:20px; ">여드름</caption>
  1519. <bool id="bol_skinseffc6" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/skinseffc6" style="left:1050px; top:460px; width:20px; height:20px; ">
  1520. <script type="javascript" ev:event="xforms-value-changed">
  1521. <![CDATA[
  1522. if (bool16.value != 1) {
  1523. bool15.value = 0;
  1524. }
  1525. ]]>
  1526. </script>
  1527. </bool>
  1528. <bool id="bol_skinseffc7" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/skinseffc7" style="left:1115px; top:460px; width:20px; height:20px; ">
  1529. <script type="javascript" ev:event="xforms-value-changed">
  1530. <![CDATA[
  1531. if (bool16.value != 1) {
  1532. bool15.value = 0;
  1533. }
  1534. ]]>
  1535. </script>
  1536. </bool>
  1537. <caption id="caption80" style="left:1135px; top:460px; width:30px; height:20px; ">발진</caption>
  1538. <caption id="caption81" class="cell_1" style="left:605px; top:359px; width:76px; height:23px; vertical-align:middle; ">혈액학적</caption>
  1539. <caption id="caption86" class="cell_1" style="left:605px; top:384px; width:75px; height:23px; vertical-align:middle; ">소화기</caption>
  1540. <caption id="caption87" class="cell_1" style="left:605px; top:409px; width:75px; height:23px; vertical-align:middle; ">신경계</caption>
  1541. <line id="line28" class="line_2" style="x1:605px; y1:357px; x2:1194px; y2:357px; "/>
  1542. <line id="line29" class="line_2" style="x1:605px; y1:382px; x2:1194px; y2:382px; "/>
  1543. <line id="line30" class="line_2" style="x1:605px; y1:407px; x2:1194px; y2:407px; "/>
  1544. <line id="line31" class="line_2" style="x1:605px; y1:507px; x2:1194px; y2:507px; "/>
  1545. <line id="line32" class="line_2" style="x1:605px; y1:457px; x2:1194px; y2:457px; "/>
  1546. <line id="line33" class="line_2" style="x1:605px; y1:532px; x2:1194px; y2:532px; "/>
  1547. <line id="line34" class="line_2" style="x1:605px; y1:557px; x2:1194px; y2:557px; "/>
  1548. <line id="line36" class="line_2" style="x1:605px; y1:432px; x2:1194px; y2:432px; "/>
  1549. <line id="line37" class="line_2" style="x1:605px; y1:482px; x2:1194px; y2:482px; "/>
  1550. <caption id="caption88" class="cell_1" style="left:605px; top:434px; width:75px; height:23px; vertical-align:middle; ">눈</caption>
  1551. <caption id="caption89" class="cell_1" style="left:605px; top:459px; width:75px; height:23px; vertical-align:middle; ">피부</caption>
  1552. <caption id="caption90" class="cell_1" style="left:605px; top:509px; width:75px; height:23px; vertical-align:middle; ">과민반응</caption>
  1553. <caption id="caption91" class="cell_1" style="left:605px; top:534px; width:75px; height:23px; vertical-align:middle; ">간/신장</caption>
  1554. <line id="line18" class="line_3" style="x1:0px; y1:628px; x2:1194px; y2:628px; "/>
  1555. <caption id="caption96" style="left:705px; top:360px; width:70px; height:20px; ">백혈구 감소</caption>
  1556. <caption id="caption97" style="left:800px; top:360px; width:70px; height:20px; ">적혈구 감소</caption>
  1557. <caption id="caption98" style="left:895px; top:360px; width:70px; height:20px; ">혈소판 감소</caption>
  1558. <bool id="bol_hematologyseffc1" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/hematologyseffc1" style="left:685px; top:360px; width:20px; height:20px; ">
  1559. <script type="javascript" ev:event="xforms-value-changed">
  1560. <![CDATA[
  1561. if (bool16.value != 1) {
  1562. bool15.value = 0;
  1563. }
  1564. ]]>
  1565. </script>
  1566. </bool>
  1567. <bool id="bol_hematologyseffc2" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/hematologyseffc2" style="left:780px; top:360px; width:20px; height:20px; ">
  1568. <script type="javascript" ev:event="xforms-value-changed">
  1569. <![CDATA[
  1570. if (bool16.value != 1) {
  1571. bool15.value = 0;
  1572. }
  1573. ]]>
  1574. </script>
  1575. </bool>
  1576. <bool id="bol_hematologyseffc3" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/hematologyseffc3" style="left:875px; top:360px; width:20px; height:20px; ">
  1577. <script type="javascript" ev:event="xforms-value-changed">
  1578. <![CDATA[
  1579. if (bool16.value != 1) {
  1580. bool15.value = 0;
  1581. }
  1582. ]]>
  1583. </script>
  1584. </bool>
  1585. <caption id="caption101" style="left:870px; top:385px; width:30px; height:20px; ">변비</caption>
  1586. <caption id="caption102" style="left:925px; top:385px; width:40px; height:20px; ">구내염</caption>
  1587. <caption id="caption103" style="left:990px; top:385px; width:70px; height:20px; ">구강 건조증</caption>
  1588. <caption id="caption104" style="left:705px; top:385px; width:30px; height:20px; ">오심</caption>
  1589. <caption id="caption105" style="left:760px; top:385px; width:35px; height:20px; ">구토</caption>
  1590. <caption id="caption106" style="left:815px; top:385px; width:30px; height:20px; ">설사</caption>
  1591. <bool id="bol_digorgnseffc6" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/digorgnseffc6" style="left:970px; top:385px; width:20px; height:20px; ">
  1592. <script type="javascript" ev:event="xforms-value-changed">
  1593. <![CDATA[
  1594. if (bool16.value != 1) {
  1595. bool15.value = 0;
  1596. }
  1597. ]]>
  1598. </script>
  1599. </bool>
  1600. <bool id="bol_digorgnseffc1" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/digorgnseffc1" style="left:685px; top:385px; width:20px; height:20px; ">
  1601. <script type="javascript" ev:event="xforms-value-changed">
  1602. <![CDATA[
  1603. if (bool16.value != 1) {
  1604. bool15.value = 0;
  1605. }
  1606. ]]>
  1607. </script>
  1608. </bool>
  1609. <bool id="bol_digorgnseffc2" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/digorgnseffc2" style="left:740px; top:385px; width:20px; height:20px; ">
  1610. <script type="javascript" ev:event="xforms-value-changed">
  1611. <![CDATA[
  1612. if (bool16.value != 1) {
  1613. bool15.value = 0;
  1614. }
  1615. ]]>
  1616. </script>
  1617. </bool>
  1618. <bool id="bol_digorgnseffc3" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/digorgnseffc3" style="left:795px; top:385px; width:20px; height:20px; ">
  1619. <script type="javascript" ev:event="xforms-value-changed">
  1620. <![CDATA[
  1621. if (bool16.value != 1) {
  1622. bool15.value = 0;
  1623. }
  1624. ]]>
  1625. </script>
  1626. </bool>
  1627. <bool id="bol_digorgnseffc4" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/digorgnseffc4" style="left:850px; top:385px; width:20px; height:20px; ">
  1628. <script type="javascript" ev:event="xforms-value-changed">
  1629. <![CDATA[
  1630. if (bool16.value != 1) {
  1631. bool15.value = 0;
  1632. }
  1633. ]]>
  1634. </script>
  1635. </bool>
  1636. <bool id="bol_digorgnseffc5" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/digorgnseffc5" style="left:905px; top:385px; width:20px; height:20px; ">
  1637. <script type="javascript" ev:event="xforms-value-changed">
  1638. <![CDATA[
  1639. if (bool16.value != 1) {
  1640. bool15.value = 0;
  1641. }
  1642. ]]>
  1643. </script>
  1644. </bool>
  1645. <caption id="caption110" style="left:705px; top:410px; width:50px; height:20px; ">감각장애</caption>
  1646. <caption id="caption111" style="left:785px; top:410px; width:65px; height:20px; ">신경통증</caption>
  1647. <caption id="caption112" style="left:865px; top:410px; width:45px; height:20px; ">이특성</caption>
  1648. <bool id="bol_nvesysseffc1" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nvesysseffc1" style="left:685px; top:410px; width:20px; height:20px; ">
  1649. <script type="javascript" ev:event="xforms-value-changed">
  1650. <![CDATA[
  1651. if (bool16.value != 1) {
  1652. bool15.value = 0;
  1653. }
  1654. ]]>
  1655. </script>
  1656. </bool>
  1657. <bool id="bol_nvesysseffc2" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nvesysseffc2" style="left:765px; top:410px; width:20px; height:20px; ">
  1658. <script type="javascript" ev:event="xforms-value-changed">
  1659. <![CDATA[
  1660. if (bool16.value != 1) {
  1661. bool15.value = 0;
  1662. }
  1663. ]]>
  1664. </script>
  1665. </bool>
  1666. <bool id="bol_nvesysseffc3" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nvesysseffc3" style="left:845px; top:410px; width:20px; height:20px; ">
  1667. <script type="javascript" ev:event="xforms-value-changed">
  1668. <![CDATA[
  1669. if (bool16.value != 1) {
  1670. bool15.value = 0;
  1671. }
  1672. ]]>
  1673. </script>
  1674. </bool>
  1675. <bool id="bol_eyeseffc1" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/eyeseffc1" style="left:685px; top:435px; width:20px; height:20px; ">
  1676. <script type="javascript" ev:event="xforms-value-changed">
  1677. <![CDATA[
  1678. if (bool16.value != 1) {
  1679. bool15.value = 0;
  1680. }
  1681. ]]>
  1682. </script>
  1683. </bool>
  1684. <bool id="bol_eyeseffc2" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/eyeseffc2" style="left:750px; top:435px; width:20px; height:20px; ">
  1685. <script type="javascript" ev:event="xforms-value-changed">
  1686. <![CDATA[
  1687. if (bool16.value != 1) {
  1688. bool15.value = 0;
  1689. }
  1690. ]]>
  1691. </script>
  1692. </bool>
  1693. <bool id="bol_eyeseffc3" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/eyeseffc3" style="left:815px; top:435px; width:20px; height:20px; ">
  1694. <script type="javascript" ev:event="xforms-value-changed">
  1695. <![CDATA[
  1696. if (bool16.value != 1) {
  1697. bool15.value = 0;
  1698. }
  1699. ]]>
  1700. </script>
  1701. </bool>
  1702. <caption id="caption119" style="left:705px; top:435px; width:50px; height:20px; ">결막염</caption>
  1703. <caption id="caption120" style="left:770px; top:435px; width:40px; height:20px; ">건조증</caption>
  1704. <caption id="caption121" style="left:835px; top:435px; width:82px; height:20px; ">눈물과다분비</caption>
  1705. <caption id="caption126" style="left:705px; top:485px; width:82px; height:20px; ">출혈성 방광염</caption>
  1706. <bool id="bol_uriorgnseffc1" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/uriorgnseffc1" style="left:685px; top:485px; width:20px; height:20px; ">
  1707. <script type="javascript" ev:event="xforms-value-changed">
  1708. <![CDATA[
  1709. if (bool16.value != 1) {
  1710. bool15.value = 0;
  1711. }
  1712. ]]>
  1713. </script>
  1714. </bool>
  1715. <bool id="bol_uriorgnseffc2" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/uriorgnseffc2" style="left:790px; top:485px; width:20px; height:20px; ">
  1716. <script type="javascript" ev:event="xforms-value-changed">
  1717. <![CDATA[
  1718. if (bool16.value != 1) {
  1719. bool15.value = 0;
  1720. }
  1721. ]]>
  1722. </script>
  1723. </bool>
  1724. <caption id="caption127" style="left:810px; top:485px; width:70px; height:20px; ">소변색 변함</caption>
  1725. <caption id="caption131" style="left:705px; top:510px; width:30px; height:20px; ">발적</caption>
  1726. <caption id="caption132" style="left:760px; top:510px; width:30px; height:20px; ">오한</caption>
  1727. <caption id="caption133" style="left:815px; top:510px; width:30px; height:20px; ">발열</caption>
  1728. <bool id="bol_ovrreactseffc1" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/ovrreactseffc1" style="left:685px; top:510px; width:20px; height:20px; ">
  1729. <script type="javascript" ev:event="xforms-value-changed">
  1730. <![CDATA[
  1731. if (bool16.value != 1) {
  1732. bool15.value = 0;
  1733. }
  1734. ]]>
  1735. </script>
  1736. </bool>
  1737. <bool id="bol_ovrreactseffc2" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/ovrreactseffc2" style="left:740px; top:510px; width:20px; height:20px; ">
  1738. <script type="javascript" ev:event="xforms-value-changed">
  1739. <![CDATA[
  1740. if (bool16.value != 1) {
  1741. bool15.value = 0;
  1742. }
  1743. ]]>
  1744. </script>
  1745. </bool>
  1746. <bool id="bol_ovrreactseffc3" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/ovrreactseffc3" style="left:795px; top:510px; width:20px; height:20px; ">
  1747. <script type="javascript" ev:event="xforms-value-changed">
  1748. <![CDATA[
  1749. if (bool16.value != 1) {
  1750. bool15.value = 0;
  1751. }
  1752. ]]>
  1753. </script>
  1754. </bool>
  1755. <bool id="bol_ovrreactseffc4" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/ovrreactseffc4" style="left:850px; top:510px; width:20px; height:20px; ">
  1756. <script type="javascript" ev:event="xforms-value-changed">
  1757. <![CDATA[
  1758. if (bool16.value != 1) {
  1759. bool15.value = 0;
  1760. }
  1761. ]]>
  1762. </script>
  1763. </bool>
  1764. <caption id="caption135" style="left:870px; top:510px; width:55px; height:20px; ">호흡곤란</caption>
  1765. <bool id="bol_liverkidneyseffc1" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/liverkidneyseffc1" style="left:685px; top:535px; width:20px; height:20px; ">
  1766. <script type="javascript" ev:event="xforms-value-changed">
  1767. <![CDATA[
  1768. if (bool16.value != 1) {
  1769. bool15.value = 0;
  1770. }
  1771. ]]>
  1772. </script>
  1773. </bool>
  1774. <bool id="bol_liverkidneyseffc2" navindex="27" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/liverkidneyseffc2" style="left:780px; top:535px; width:20px; height:20px; ">
  1775. <script type="javascript" ev:event="xforms-value-changed">
  1776. <![CDATA[
  1777. if (bool16.value != 1) {
  1778. bool15.value = 0;
  1779. }
  1780. ]]>
  1781. </script>
  1782. </bool>
  1783. <caption id="caption139" style="left:705px; top:535px; width:70px; height:20px; ">간기능 저하</caption>
  1784. <caption id="caption140" style="left:800px; top:535px; width:85px; height:20px; ">신기능 저하</caption>
  1785. </group>
  1786. </group>
  1787. <group id="group4" scroll="auto" style="left:0px; top:18px; width:1195px; height:27px; ">
  1788. <button id="button2" class="btn3_letter4" style="left:1px; top:5px; width:80px; height:22px; ">
  1789. <caption>약력조회</caption>
  1790. <script type="javascript" ev:event="DOMActivate">
  1791. <![CDATA[
  1792. open("SMADB10100",0,0,0,"SMADB10100","/root/main/baseinfo/patinfolist/pid","/root/temp/patinfo/pid");
  1793. ]]>
  1794. </script>
  1795. </button>
  1796. <button id="button3" class="btn3_letter6" style="left:83px; top:5px; width:104px; height:22px; ">
  1797. <caption>통합결과조회</caption>
  1798. <script type="javascript" ev:event="DOMActivate">
  1799. <![CDATA[
  1800. open("SMAER00800 ","","","","","/root/main/baseinfo/patinfolist/pid","/root/send/data/singdata/srchpid");
  1801. ]]>
  1802. </script>
  1803. </button>
  1804. <button id="button4" class="btn3_letter6" style="left:189px; top:5px; width:104px; height:22px; ">
  1805. <caption>통합기록조회</caption>
  1806. <script type="javascript" ev:event="DOMActivate">
  1807. <![CDATA[
  1808. setParameter("SMMRI00400_param_pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
  1809. open("SMMRI00400");
  1810. ]]>
  1811. </script>
  1812. </button>
  1813. <button id="button5" class="btn3_letter4" style="left:295px; top:5px; width:80px; height:22px; ">
  1814. <caption>약품편람</caption>
  1815. <script type="javascript" ev:event="DOMActivate">
  1816. <![CDATA[
  1817. open("SMADB01900");
  1818. ]]>
  1819. </script>
  1820. </button>
  1821. <button id="btn_prt" class="btn6_letter2" style="left:377px; top:5px; width:56px; height:22px; ">
  1822. <caption>출력</caption>
  1823. <script type="javascript" ev:event="DOMActivate">
  1824. <![CDATA[
  1825. exeReportPreview("RPADC03001", "XMLSTR", "", "", "false","","","","","false");
  1826. ]]>
  1827. </script>
  1828. </button>
  1829. <button id="btn_save" class="btn4_letter2" style="left:1022px; top:5px; width:56px; height:22px; ">
  1830. <caption>저장</caption>
  1831. <script type="javascript" ev:event="DOMActivate">
  1832. <![CDATA[
  1833. if ( messageBox("","Q002")==6 ) {
  1834. if (datacheck() == false){
  1835. return;
  1836. }
  1837. var update = getGridUpdateData(datagrid3);
  1838. model.setValue("/root/send/req/curdoubtlist", update);
  1839. model.copyNode("/root/send/req/cnsttmedlist", "/root/main/baseinfo/cnsttmedlist");
  1840. model.makeValue("/root/send/req/cnsttmedlist/statflag", "D"); //저장
  1841. model.makeValue("/root/send/req/cnsttmedlist/cnststat", "21"); //회신임시
  1842. if (submit("TXADC03001")){
  1843. if ( model.getValue("/root/send/rgstseqno") == "" ) {
  1844. model.setValue("/root/send/rgstseqno", model.getValue("/root/hidden/ret/rgstseqno"));
  1845. }
  1846. model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
  1847. model.setValue("/root/main/baseinfo/cnsttmedlist/statflag", "D");
  1848. //submit("TXADC03002");
  1849. btn_sea.dispatch("DOMActivate");
  1850. model.refresh();
  1851. }
  1852. //submit("TRADC02802",false);
  1853. /*
  1854. model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
  1855. model.setValue("/root/main/baseinfo/cnsttmedlist/statflag", "D");
  1856. submit("TXADC03002");
  1857. submit("TRADC02803", false);
  1858. */
  1859. }
  1860. ]]>
  1861. </script>
  1862. <script type="javascript" ev:event="DOMFocusIn">
  1863. <![CDATA[
  1864. //checkKeyColumn("grd_curtmed");
  1865. ]]>
  1866. </script>
  1867. </button>
  1868. <button id="btn_del" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  1869. <caption>삭제</caption>
  1870. <script type="javascript" ev:event="DOMActivate">
  1871. <![CDATA[
  1872. model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/send/pid"));
  1873. model.copyNode("/root/send/req/cnsttmedlist", "/root/main/baseinfo/cnsttmedlist");
  1874. model.makeValue("/root/send/req/cnsttmedlist/statflag", ""); //삭제
  1875. if (submit("TXADC03001")){
  1876. btn_sea.dispatch("DOMActivate");
  1877. }
  1878. //submit("TRADC02802",false);
  1879. //submit("TRADC02803");
  1880. ]]>
  1881. </script>
  1882. </button>
  1883. <button id="btn_req" class="btn4_letter2" style="left:1080px; top:5px; width:56px; height:22px; ">
  1884. <caption>회신</caption>
  1885. <script type="javascript" ev:event="DOMActivate">
  1886. <![CDATA[
  1887. var sTemp = "";
  1888. var sEduPrepYN = "";
  1889. var sEduWho = "";
  1890. var sEduWay = "";
  1891. var sEduRslt = "";
  1892. if (datacheck() == false){
  1893. return;
  1894. }
  1895. if(submit("TRADC62202")){
  1896. var cnststat = model.getValue("/root/hidden/cnststatinfo/cnststat");
  1897. if(cnststat == "04"){
  1898. messageBox("[취소] 더이상 수정하실 수","I004");
  1899. return ;
  1900. }else if (cnststat == "30"){
  1901. messageBox("[회신확정] 더이상 수정하실 수","I004");
  1902. return;
  1903. }
  1904. }
  1905. var title = "\n\t\t\t\t\t [ 복약상담(항암) 회신서 ]\n" ;
  1906. if(model.getValue("/root/main/baseinfo/cnsttmedlist/seffcyn") == "2") {
  1907. title += "\n* 부작용"
  1908. if(model.getValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc1") == "1") {
  1909. sTemp += "\n\t- " + caption96.attribute("text");
  1910. }
  1911. if(model.getValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc2") == "1") {
  1912. sTemp += "\n\t- " + caption97.attribute("text");
  1913. }
  1914. if(model.getValue("/root/main/baseinfo/cnsttmedlist/hematologyseffc3") == "1") {
  1915. sTemp += "\n\t- " + caption98.attribute("text");
  1916. }
  1917. if(model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc1") == "1") {
  1918. sTemp += "\n\t- " + caption104.attribute("text");
  1919. }
  1920. if(model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc2") == "1") {
  1921. sTemp += "\n\t- " + caption105.attribute("text");
  1922. }
  1923. if(model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc3") == "1") {
  1924. sTemp += "\n\t- " + caption106.attribute("text");
  1925. }
  1926. if(model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc4") == "1") {
  1927. sTemp += "\n\t- " + caption101.attribute("text");
  1928. }
  1929. if(model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc5") == "1") {
  1930. sTemp += "\n\t- " + caption102.attribute("text");
  1931. }
  1932. if(model.getValue("/root/main/baseinfo/cnsttmedlist/digorgnseffc6") == "1") {
  1933. sTemp += "\n\t- " + caption103.attribute("text");
  1934. }
  1935. if(model.getValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc1") == "1") {
  1936. sTemp += "\n\t- " + caption110.attribute("text");
  1937. }
  1938. if(model.getValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc2") == "1") {
  1939. sTemp += "\n\t- " + caption111.attribute("text");
  1940. }
  1941. if(model.getValue("/root/main/baseinfo/cnsttmedlist/nvesysseffc3") == "1") {
  1942. sTemp += "\n\t- " + caption112.attribute("text");
  1943. }
  1944. if(model.getValue("/root/main/baseinfo/cnsttmedlist/eyeseffc1") == "1") {
  1945. sTemp += "\n\t- " + caption119.attribute("text");
  1946. }
  1947. if(model.getValue("/root/main/baseinfo/cnsttmedlist/eyeseffc2") == "1") {
  1948. sTemp += "\n\t- " + caption120.attribute("text");
  1949. }
  1950. if(model.getValue("/root/main/baseinfo/cnsttmedlist/eyeseffc3") == "1") {
  1951. sTemp += "\n\t- " + caption121.attribute("text");
  1952. }
  1953. if(model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc1") == "1") {
  1954. sTemp += "\n\t- " + caption36.attribute("text");
  1955. }
  1956. if(model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc2") == "1") {
  1957. sTemp += "\n\t- " + caption37.attribute("text");
  1958. }
  1959. if(model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc3") == "1") {
  1960. sTemp += "\n\t- " + caption38.attribute("text");
  1961. }
  1962. if(model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc4") == "1") {
  1963. sTemp += "\n\t- " + caption77.attribute("text");
  1964. }
  1965. if(model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc5") == "1") {
  1966. sTemp += "\n\t- " + caption78.attribute("text");
  1967. }
  1968. if(model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc6") == "1") {
  1969. sTemp += "\n\t- " + caption79.attribute("text");
  1970. }
  1971. if(model.getValue("/root/main/baseinfo/cnsttmedlist/skinseffc7") == "1") {
  1972. sTemp += "\n\t- " + caption80.attribute("text");
  1973. }
  1974. if(model.getValue("/root/main/baseinfo/cnsttmedlist/uriorgnseffc1") == "1") {
  1975. sTemp += "\n\t- " + caption126.attribute("text");
  1976. }
  1977. if(model.getValue("/root/main/baseinfo/cnsttmedlist/uriorgnseffc2") == "1") {
  1978. sTemp += "\n\t- " + caption127.attribute("text");
  1979. }
  1980. if(model.getValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc1") == "1") {
  1981. sTemp += "\n\t- " + caption131.attribute("text");
  1982. }
  1983. if(model.getValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc2") == "1") {
  1984. sTemp += "\n\t- " + caption132.attribute("text");
  1985. }
  1986. if(model.getValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc3") == "1") {
  1987. sTemp += "\n\t- " + caption133.attribute("text");
  1988. }
  1989. if(model.getValue("/root/main/baseinfo/cnsttmedlist/ovrreactseffc4") == "1") {
  1990. sTemp += "\n\t- " + caption135.attribute("text");
  1991. }
  1992. if(model.getValue("/root/main/baseinfo/cnsttmedlist/liverkidneyseffc1") == "1") {
  1993. sTemp += "\n\t- " + caption139.attribute("text");
  1994. }
  1995. if(model.getValue("/root/main/baseinfo/cnsttmedlist/liverkidneyseffc2") == "1") {
  1996. sTemp += "\n\t- " + caption140.attribute("text");
  1997. }
  1998. title += sTemp;
  1999. title += "\n\n---------------------------------------------------------------------------------\n"
  2000. }
  2001. title += "\n* 약사 Comment : " + model.getValue("/root/main/baseinfo/cnsttmedlist/cmt").replace(/\n/gi,"\n\t\t\t ");
  2002. title += "\n\n---------------------------------------------------------------------------------\n"
  2003. if(model.getValue("/root/main/baseinfo/cnsttmedlist/lnprepcd") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/lnprepcd") != "-") {
  2004. title += "\n* 학습준비도 : " + cmb_lnprep.label;
  2005. sEduPrepYN = cmb_lnprep.label;
  2006. }
  2007. if(model.getValue("/root/main/baseinfo/cnsttmedlist/eductrgtmancd") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/eductrgtmancd") != "-") {
  2008. title += "\n* 교육대상자 : " + cmb_eductrgtman.label;
  2009. sEduWho = cmb_eductrgtman.label;
  2010. if(model.getValue("/root/main/baseinfo/cnsttmedlist/eductrgtmancd") == "99") {
  2011. title += "(" + ipt_eductrgtmanetc.label + ")";
  2012. sEduWho += "(" + ipt_eductrgtmanetc.label + ")";
  2013. }
  2014. }
  2015. if(model.getValue("/root/main/baseinfo/cnsttmedlist/educmthdcd") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/educmthdcd") != "-") {
  2016. title += "\n* 교육방법 : " + cmb_educmthd.label;
  2017. sEduWay = cmb_educmthd.label;
  2018. if(model.getValue("/root/main/baseinfo/cnsttmedlist/educmthdcd") == "99") {
  2019. title += "(" + ipt_educmthdetc.label + ")";
  2020. sEduWay += "(" + ipt_educmthdetc.label + ")";
  2021. }
  2022. }
  2023. if(model.getValue("/root/main/baseinfo/cnsttmedlist/educrsltcd") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/educrsltcd") != "-") {
  2024. title += "\n* 교육결과 : " + cmb_educrslt.label;
  2025. sEduRslt = cmb_educrslt.label;
  2026. if(model.getValue("/root/main/baseinfo/cnsttmedlist/educrsltcd") == "99") {
  2027. title += "(" + ipt_educrsltetc.label + ")";
  2028. sEduRslt += "(" + ipt_educrsltetc.label + ")";
  2029. }
  2030. }
  2031. sTemp = "";
  2032. if(model.getValue("/root/main/baseinfo/cnsttmedlist/cnstpat") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/cnstpat") != "-") {
  2033. sTemp = "\n* 상담이해도 : 환자(" + radio3.label + ")";
  2034. }
  2035. if(model.getValue("/root/main/baseinfo/cnsttmedlist/cnstprocer") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/cnstprocer") != "-") {
  2036. if(sTemp != "") {
  2037. sTemp += ", 보호자(" + radio4.label + ")";
  2038. } else {
  2039. sTemp = "\n* 상담이해도 : 보호자(" + radio4.label + ")";
  2040. }
  2041. }
  2042. title += sTemp;
  2043. sTemp = "";
  2044. if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2") == "1") {
  2045. sTemp = "\n* 주요상담내용";
  2046. sTemp += "\n\t- " + caption56.attribute("text");
  2047. }
  2048. if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3") == "1") {
  2049. if(sTemp != "") {
  2050. sTemp += "\n\t- " + caption57.attribute("text");
  2051. } else {
  2052. sTemp = "\n* 주요상담내용";
  2053. sTemp += "\n\t- " + caption57.attribute("text");
  2054. }
  2055. }
  2056. if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4") == "1") {
  2057. if(sTemp != "") {
  2058. sTemp += "\n\t- " + caption58.attribute("text");
  2059. } else {
  2060. sTemp = "\n* 주요상담내용";
  2061. sTemp += "\n\t- " + caption58.attribute("text");
  2062. }
  2063. }
  2064. if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5") == "1") {
  2065. if(sTemp != "") {
  2066. sTemp += "\n\t- " + caption59.attribute("text");
  2067. } else {
  2068. sTemp = "\n* 주요상담내용";
  2069. sTemp += "\n\t- " + caption59.attribute("text");
  2070. }
  2071. }
  2072. if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6") == "1") {
  2073. if(sTemp != "") {
  2074. sTemp += "\n\t- " + caption60.attribute("text");
  2075. } else {
  2076. sTemp = "\n* 주요상담내용";
  2077. sTemp += "\n\t- " + caption60.attribute("text");
  2078. }
  2079. }
  2080. if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7") == "1") {
  2081. if(sTemp != "") {
  2082. sTemp += "\n\t- " + caption61.attribute("text");
  2083. } else {
  2084. sTemp = "\n* 주요상담내용";
  2085. sTemp += "\n\t- " + caption61.attribute("text");
  2086. }
  2087. }
  2088. title += sTemp;
  2089. /*
  2090. //회신내역
  2091. var title = "\n\t\t\t\t [ 복약상담(항암) 회신서 ]" ;
  2092. var Citem="";
  2093. var Ritem1 = "\n\n* 상담대상 : ";
  2094. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt1") == 1 ) { //상담대상 - 환자
  2095. Ritem1 += caption41.text + " " ;
  2096. }
  2097. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt2") == 1 ) { //상담대상 - 보호자
  2098. Ritem1 += caption42.text+ "-" + model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgtnm") ;
  2099. }
  2100. if (model.getValue("/root/main/baseinfo/cnsttmedlist/replusetm") != "" ) {
  2101. Ritem1 += "\n\n 상담소요시간 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/replusetm") + caption34.text ;
  2102. }
  2103. var Ritem2 = "\n\n* 과거복약순응도 : " + radio1.label ;
  2104. var Ritem3 = "\n\n* 불순응 요인 : "
  2105. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn1") == 1 ) { //불순응 요인 - 잊음
  2106. Ritem3 += caption43.text + " " ;
  2107. }
  2108. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn2") == 1 ) { //불순응 요인 - 생활패턴
  2109. Ritem3 += caption44.text + " " ;
  2110. }
  2111. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn3") == 1 ) { //불순응 요인 - 부작용
  2112. Ritem3 += caption45.text + " " ;
  2113. }
  2114. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn4") == 1 ) { //불순응 요인 - 중요성 인식 부족
  2115. Ritem3 += caption46.text + " " ;
  2116. }
  2117. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn5") == 1 ) { //불순응 요인 - 기타
  2118. Ritem3 += caption47.text + "-" + model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptetc") ;
  2119. }
  2120. var Ritem4 = "\n\n* 부작용 유무 : " + radio2.label;
  2121. if (radio2.value == 2 ) { // 부작용 유무 - 예
  2122. Ritem4 += "\n\n ( 항암제 일반 부작용 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffckind").replace(/\n/gi,"/\n\t/") + " )"
  2123. + "\n\n (약물별 특징적 부작용 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffccasdrug").replace(/\n/gi,"/\n\t/") + " )";
  2124. }
  2125. var Ritem5 = "\n\n* 복약상담 필요부분 : " ;
  2126. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst1") == 1 ) { //복약상담 필요부분 - 처음 복용(사용하는경우)
  2127. Ritem5 += caption48.text + " ";
  2128. }
  2129. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst2") == 1 ) { //복약상담 필요부분 - 변경된 약물이 있는 경우
  2130. Ritem5 += caption49.text + " ";
  2131. }
  2132. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst3") == 1 ) { //복약상담 필요부분 - 복약순응도가 낮은 경우
  2133. Ritem5 += caption50.text + " " ;
  2134. }
  2135. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst4") == 1 ) { //복약상담 필요부분 - 부작용이 발생한 경우
  2136. Ritem5 += caption51.text + " ";
  2137. }
  2138. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst5") == 1 ) { //복약상담 필요부분 - 환자가 알고자 하는 경우
  2139. Ritem5 +=caption52.text + " ";
  2140. }
  2141. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst6") == 1 ) { //복약상담 필요부분 - Critical Pathway 대상환자
  2142. Ritem5 += caption53.text + " ";
  2143. }
  2144. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst7") == 1 ) { //복약상담 필요부분 - 기타
  2145. Ritem5 += caption54.text + " - " + model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnstetc") ;
  2146. }
  2147. var Ritem6 = "\n\n* 주요 상담내용 : " ;
  2148. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts1") == 1 ) { //주요 상담내용 - 다음 사항모두
  2149. Ritem6 += caption55.text + " " ;
  2150. }
  2151. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2") == 1 ) { //주요 상담내용 - 복용(사용)의 중요성
  2152. Ritem6 += caption56.text + " " ;
  2153. }
  2154. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3") == 1 ) { //주요 상담내용 - 약명
  2155. Ritem6 += caption57.text + " " ;
  2156. }
  2157. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4") == 1 ) { //주요 상담내용 - 효능 , 효과
  2158. Ritem6 += caption58.text + " " ;
  2159. }
  2160. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5") == 1 ) { //주요 상담내용 - 복용법(사용법)
  2161. Ritem6 += caption59.text + " " ;
  2162. }
  2163. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6") == 1 ) { //주요 상담내용 - 부작용 및 주의사항
  2164. Ritem6 += caption60.text + " " ;
  2165. }
  2166. if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7") == 1 ) { //주요 상담내용 - 상호작용
  2167. Ritem6 += caption61.text + " " ;
  2168. }
  2169. var Ritem7 = "\n\n* 상담소견 : 상담이해도 : ( 환자 - " + radio3.label + ") (보호자 - " + radio4.label + ") ";
  2170. Ritem7 += "\n 복 약 의 지 : " + radio5.label ;
  2171. if (model.getValue("/root/main/baseinfo/cnsttmedlist/cnstreyn" ) == 1) {
  2172. Ritem7 += "\n 재상담여부 : " + "재상담 필요함 ";
  2173. }
  2174. if (model.getValue("/root/main/baseinfo/cnsttmedlist/cnstyn" ) == 1) {
  2175. Ritem7 += "\n 상 담 여 부 : " + "상담거부 ";
  2176. }
  2177. var Ritem8="";
  2178. if (model.getValue("/root/main/baseinfo/cnsttmedlist/cmt") !="" ){
  2179. var Ritem8 = "\n\n* 기타약사의견 : " ;
  2180. Ritem8 += "\n\t" + model.getValue("/root/main/baseinfo/cnsttmedlist/cmt").replace(/\n/gi,"\n\t");
  2181. }
  2182. var Ritem = Ritem1 + Ritem2 + Ritem3 + Ritem4 + Ritem5 + Ritem6 + Ritem7 + Ritem8 ;
  2183. /*/
  2184. var replcnts = title;
  2185. // 회신내역 서식 팝업 - SPADC62200 - 2008/09/04 김귀남
  2186. var sel = fSendReplForm(replcnts);
  2187. if(sel == "cfm"){
  2188. //저장
  2189. model.makeNode("/root/main/baseinfo/cnsttmedlist/replid");
  2190. model.setValue("/root/temp/popupdata/repltype","med");
  2191. modal("SPADC62300",0,400,300,"SPADC62300","/root/temp/popupdata","/root/temp/popupdata");
  2192. var replid = model.getValue("/root/main/baseinfo/cnsttmedlist/replid");
  2193. if(replid != ""){
  2194. if(sEduPrepYN == "" ) {
  2195. messageBox("학습준비도는", "I003");
  2196. return;
  2197. }
  2198. var update = getGridUpdateData(datagrid3);
  2199. model.setValue("/root/send/req/curdoubtlist", update);
  2200. model.copyNode("/root/send/req/cnsttmedlist", "/root/main/baseinfo/cnsttmedlist");
  2201. model.makeValue("/root/send/req/cnsttmedlist/statflag", "Z"); //저장
  2202. model.makeValue("/root/send/req/cnsttmedlist/cnststat", "22"); //회신임시
  2203. model.makeValue("/root/send/req/cnsttmedlist/repluserid", replid); //adchcnstinfo / mmrhcnstinfo 회신자 처리
  2204. model.makeValue("/root/send/req/cnsttmedlist/replcnts", replcnts);
  2205. model.makeValue("/root/send/req/cnsttmedlist/emreduyn", model.getValue("/root/init/cmblist/jciyn/JCI1[2]/cdid")); //다학제연동여부
  2206. //다학제 저장 정보 set
  2207. model.makeValue("/root/send/req/edudata/pid", model.getValue("/root/temp/cnstinfo/pid"));
  2208. model.makeValue("/root/send/req/edudata/orddd", model.getValue("/root/temp/cnstinfo/orddd"));
  2209. model.makeValue("/root/send/req/edudata/cretno", model.getValue("/root/temp/cnstinfo/cretno"));
  2210. model.makeValue("/root/send/req/edudata/scrnid", "SMADC03000");
  2211. model.makeValue("/root/send/req/edudata/eduprepyn", sEduPrepYN);
  2212. model.makeValue("/root/send/req/edudata/eduwho", sEduWho);
  2213. model.makeValue("/root/send/req/edudata/eduway", sEduWay);
  2214. model.makeValue("/root/send/req/edudata/edurslt", sEduRslt);
  2215. if (submit("TXADC03001")){
  2216. if ( model.getValue("/root/send/rgstseqno") == "" ) {
  2217. model.setValue("/root/send/rgstseqno", model.getValue("/root/hidden/ret/rgstseqno"));
  2218. }
  2219. model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
  2220. model.setValue("/root/main/baseinfo/cnsttmedlist/statflag", "Z");
  2221. //submit("TXADC03002");
  2222. btn_sea.dispatch("DOMActivate");
  2223. model.refresh();
  2224. }
  2225. }
  2226. model.refresh();
  2227. }
  2228. // var v_ptext ="[회신내용]"
  2229. // +"상담대상 : "+"NG!!넣어야함"
  2230. // +"상담 소요시간 : "+"NG!!넣어야함"
  2231. // +"과거 복약순응도 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/pasttmedadapt")
  2232. // +"불순응 요인 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn")
  2233. // +"부작용 유무 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/seffcyn")
  2234. // +"복약상담 필요부분 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/pasttmedadapt")
  2235. // +"과거 복약순응도 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst")
  2236. // +"주요 상담내용 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts")
  2237. // +"상담소견 : "
  2238. // +"1)상담 이해도 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/cnstcomment")
  2239. // +"2)재상담 여부 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/cnstcomment")
  2240. // +"3)복약 의지 : "+"NG!!넣어야함"
  2241. // +"4)상담 여부 : "+"NG!!넣어야함"
  2242. // +"기타 약사의견 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/cmt");
  2243. //
  2244. // var v_stext = zesfSignData( v_ptext , getUserId(), true );
  2245. // model.setValue( "/root/stext", v_stext );
  2246. //
  2247. //
  2248. // //인증저장 성공시 statflag 업데이트
  2249. // if( model.getValue("/root/stext") !="") {
  2250. // model.copyNode("/root/send/req/cnsttmedlist", "/root/main/baseinfo/cnsttmedlist");
  2251. // model.makeValue("/root/send/req/cnsttmedlist/statflag", "Z"); //회신
  2252. // model.makeValue("/root/send/req/cnsttmedlist/cnststat", "22"); //회신임시
  2253. //
  2254. // if (submit("TXADC03003")){
  2255. // btn_sea.dispatch("DOMActivate");
  2256. // }
  2257. // /*
  2258. // var update = getGridUpdateData(grd_curtmed);
  2259. // // var update = model.getValue("/root/send/req/data");
  2260. // if(update == ""){
  2261. // // messageBox("업데이트 정보가 없습니다.", "I");
  2262. // // return 0;
  2263. //
  2264. // } else {
  2265. // model.setValue("/root/send/req/data", update);
  2266. // alert(update);
  2267. // submit("TXADC03001");
  2268. // //submit("TRADC02802",false);
  2269. // }
  2270. // model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
  2271. // model.setValue("/root/main/baseinfo/cnsttmedlist/statflag", "Z");
  2272. //
  2273. // submit("TXADC03002");
  2274. // //submit("TRADC02803", false);
  2275. //
  2276. // btn_save.disabled = true;
  2277. // btn_req.disabled = true;
  2278. // btn_del.disabled = true;
  2279. // btn_sea.dispatch("DOMActivate");
  2280. // model.refresh();
  2281. // */
  2282. // }
  2283. ]]>
  2284. </script>
  2285. <script type="javascript" ev:event="DOMFocusIn">
  2286. <![CDATA[
  2287. //checkKeyColumn("grd_curtmed");
  2288. ]]>
  2289. </script>
  2290. </button>
  2291. <button id="button7" class="btn3_letter10" visibility="hidden" style="left:435px; top:5px; width:152px; height:22px; ">
  2292. <caption>환자교육통합기록조회</caption>
  2293. <script type="javascript" ev:event="DOMActivate">
  2294. <![CDATA[
  2295. //pat_info = "I"+"▦"+ model.getValue("/root/temp/cnstinfo/pid") +"▦"+ model.getValue("/root/temp/cnstinfo/orddd") +"▦"+model.getValue("/root/temp/cnstinfo/cretno")+"▦"+ getUserInfo("dutplceinstcd")+"▦"+ "";
  2296. //setParameter("condparam", pat_info);
  2297. //modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  2298. setParameter("SMMRJ00200_pid", model.getValue("/root/temp/cnstinfo/pid"));
  2299. modal("SMMRJ00200");
  2300. ]]>
  2301. </script>
  2302. </button>
  2303. </group>
  2304. </xhtml:body>
  2305. </xhtml:html>