SSIRB00500_SAE(원내).xrw 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293
  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>SAE(원내)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <reptdetl>
  11. <item>
  12. <instcd/>
  13. <subjid/>
  14. <subjno/>
  15. <reptseqno/>
  16. <judgappdg/>
  17. <reptkind/>
  18. <fstplanjudgdd/>
  19. <acptyn/>
  20. <acptdd/>
  21. <reptcls/>
  22. <trobreactcls/>
  23. <reptdd/>
  24. <seffcgenrdd/>
  25. <cnts1/>
  26. <cnts2/>
  27. <cnts3/>
  28. <cnts4/>
  29. <cnts5/>
  30. <cnts6/>
  31. <cnts7/>
  32. <cnts8/>
  33. <cnts9/>
  34. <cnts10/>
  35. <cnts11/>
  36. <cnts12/>
  37. <cnts13/>
  38. <cnts14/>
  39. <cnts15/>
  40. <cnts16/>
  41. <cnts17/>
  42. <cnts18/>
  43. <acptdd/>
  44. <attfile/>
  45. <screenmenu/>
  46. <stdykind2/>
  47. <rc/>
  48. <resercnfmyn/>
  49. <resercnfmdd/>
  50. <reptclsyn1/>
  51. <reptclsyn2/>
  52. <reptclsyn3/>
  53. <trobreactreptyn1/>
  54. <trobreactreptyn2/>
  55. <cnts19/>
  56. <subtesteeproctyn1/>
  57. <subtesteeproctyn2/>
  58. <awardd/>
  59. </item>
  60. <test>
  61. <subjid/>
  62. <reptkind/>
  63. <reptseqno/>
  64. <testeeid/>
  65. <instcd/>
  66. <testeenm/>
  67. <subtesteegndr/>
  68. <subtesteeht/>
  69. <subtesteebdwt/>
  70. <subtesteebrthdd/>
  71. </test>
  72. <drug>
  73. <subjid/>
  74. <reptkind/>
  75. <reptseqno/>
  76. <seqno/>
  77. <instcd/>
  78. <drugcnts/>
  79. <typeunit/>
  80. <qtymthd/>
  81. <drugpath/>
  82. <startdd/>
  83. <enddd/>
  84. <cnts1/>
  85. <cnts2/>
  86. </drug>
  87. </reptdetl>
  88. </main>
  89. <send>
  90. <savedata>
  91. </savedata>
  92. <searchitem>
  93. <reptkind/>
  94. <subjid/>
  95. <instcd/>
  96. <reptseqno/>
  97. <consorflag/>
  98. <croinstcd/>
  99. </searchitem>
  100. <attach/>
  101. </send>
  102. <hidden/>
  103. <init/>
  104. <rex>
  105. <view>
  106. <appformhead>
  107. <subjnm/>
  108. <subjno/>
  109. <hospnm/>
  110. <depthngnm/>
  111. <cdnm/>
  112. <usernm/>
  113. <engsubjnm/>
  114. <telnumber/>
  115. </appformhead>
  116. <irsdcollareser>
  117. <subjid/>
  118. <instcd/>
  119. <userid/>
  120. <userkind/>
  121. <usernm/>
  122. <posnm/>
  123. <jobposnm/>
  124. <telnumber/>
  125. </irsdcollareser>
  126. <imcmreqinst>
  127. <cmpynm/>
  128. <prsdnm/>
  129. <jobposnm/>
  130. </imcmreqinst>
  131. </view>
  132. <reptdetl>
  133. <item>
  134. <instcd/>
  135. <subjid/>
  136. <subjno/>
  137. <reptseqno/>
  138. <judgappdg/>
  139. <reptkind/>
  140. <fstplanjudgdd/>
  141. <acptyn/>
  142. <acptdd/>
  143. <reptcls/>
  144. <trobreactcls/>
  145. <reptdd/>
  146. <seffcgenrdd/>
  147. <cnts1/>
  148. <cnts2/>
  149. <cnts3/>
  150. <cnts4/>
  151. <cnts5/>
  152. <cnts6/>
  153. <cnts7/>
  154. <acptdd/>
  155. <resercnfmdd/>
  156. <reptclsyn1/>
  157. <reptclsyn2/>
  158. <reptclsyn3/>
  159. <awardd/>
  160. <trobreactreptyn1/>
  161. <trobreactreptyn2/>
  162. <cnts19/>
  163. </item>
  164. <test>
  165. <subjid/>
  166. <reptkind/>
  167. <reptseqno/>
  168. <testeeid/>
  169. <instcd/>
  170. <testeenm/>
  171. <subtesteegndr/>
  172. <subtesteeht/>
  173. <subtesteebdwt/>
  174. <subtesteebrthdd/>
  175. </test>
  176. <drug>
  177. <subjid/>
  178. <reptkind/>
  179. <reptseqno/>
  180. <seqno/>
  181. <instcd/>
  182. <drugcnts/>
  183. <typeunit/>
  184. <qtymthd/>
  185. <drugpath/>
  186. <startdd/>
  187. <enddd/>
  188. <cnts1/>
  189. <cnts2/>
  190. </drug>
  191. </reptdetl>
  192. <data>
  193. <a/>
  194. </data>
  195. </rex>
  196. <temp>
  197. <ret/>
  198. </temp>
  199. </root>
  200. </instance>
  201. <submission id="TRIRB00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/hosp"/>
  202. <submission id="TRIRB00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/reptdetl"/>
  203. <submission id="TXIRB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
  204. <submission id="TRIRS00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/view"/>
  205. <submission id="TRIRS00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  206. <submission id="TXIRB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
  207. <submission id="TXIRS00199" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  208. <submission id="TXIRB00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
  209. <submission id="TXIRB00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
  210. <submission id="TXIRS00198" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  211. </model>
  212. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  213. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  214. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  215. <script type="javascript">
  216. <![CDATA[
  217. function add_validationchk()
  218. {
  219. if (model.getValue("/root/main/reptdetl/item/trobreactreptyn2") == "Y")
  220. {
  221. if (model.getValue("/root/main/reptdetl/item/trobreactcls") == "")
  222. {
  223. messageBox("중대한 이상반응이 체크되었습니다. 그러므로 [이상반응분류]를", "C002");
  224. return false;
  225. }
  226. }
  227. if (model.getValue("/root/main/reptdetl/item/cnts11") == "1")
  228. {
  229. if (model.getValue("/root/main/reptdetl/item/cnts19") == "")
  230. {
  231. messageBox("예상가능이 [예]입니다. 그러므로 [근거]를", "C001");
  232. return false;
  233. }
  234. }
  235. return true;
  236. }
  237. ]]>
  238. </script>
  239. <script type="javascript" ev:event="xforms-ready">
  240. <![CDATA[
  241. model.removeNodeset("/root/main/reptdetl/test");
  242. model.removeNodeset("/root/main/reptdetl/drug");
  243. //권한이 없는경우 보고서 상단의 파일첨부,첨부삭제,임시저장,보고서접수 버튼 숨기기
  244. if ( opener.javascript.getParameter("actionyn") == "N" ) {
  245. ipt_filenm.visible = true;
  246. btn_fileatt.visible = false;
  247. btn_filedel.visible = false;
  248. btn_tmpsave.visible = false;
  249. btn_reptacpt.visible = false;
  250. btn_filedown.visible=true;
  251. button1.visible = false;
  252. }
  253. if ( parent.model.getValue("/root/send/report") == "Y" ) {
  254. ipt_filenm.visible = true;
  255. btn_fileatt.visible = false;
  256. btn_filedel.visible = false;
  257. btn_tmpsave.visible = false;
  258. btn_reptacpt.visible = false;
  259. btn_filedown.visible=true;
  260. button1.visible = false;
  261. }
  262. submit("TRIRB00102"); //병원 조회
  263. model.setValue("/root/send/searchitem/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  264. model.setValue("/root/send/searchitem/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  265. model.setValue("/root/send/searchitem/reptseqno", parent.model.getValue("/root/send/searchitem2/reptseqno"));
  266. model.setValue("/root/send/searchitem/reptkind", parent.model.getValue("/root/send/searchitem2/reptkind"));
  267. var consorflag = parent.model.getValue("/root/send/searchitem/consorflag");
  268. if ( consorflag == "Y") {
  269. model.setValue("/root/send/searchitem/consorflag", "Y");
  270. }
  271. model.setValue("/root/send/searchitem/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  272. model.setValue("/root/send/searchitem/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  273. model.setValue("/root/send/searchitem/reptseqno", parent.model.getValue("/root/send/searchitem2/reptseqno"));
  274. model.setValue("/root/send/searchitem/reptkind", parent.model.getValue("/root/send/searchitem2/reptkind"));
  275. //화면 오픈시 Y일 경우만 자동조회하고 Y가 아닐 경우는 빈 양식 오픈후 필수값만 세팅해준다.
  276. if ( parent.model.getValue("/root/send/searchitem2/autosrchyn") == "Y" ) {
  277. submit("TRIRB00104"); //SAE(원내) 내용 조회
  278. }
  279. model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  280. model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  281. model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
  282. model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
  283. //model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
  284. model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
  285. model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
  286. model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
  287. model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
  288. model.makeValue("/root/main/reptdetl/item/resercnfmyn", parent.model.getValue("/root/send/searchitem2/resercnfmyn"));
  289. model.setValue("/root/send/searchitem/croinstcd", parent.model.getValue("/root/send/searchitem2/croinstcd"));
  290. model.refresh();
  291. ]]>
  292. </script>
  293. </xhtml:head>
  294. <xhtml:body guideline="2,576;1,1111;">
  295. <textarea id="tar_cnts3" ref="/root/main/reptdetl/item/cnts3" style="left:804px; top:260px; width:305px; height:84px; "/>
  296. <textarea id="tar_cnts4" ref="/root/main/reptdetl/item/cnts4" style="left:498px; top:372px; width:305px; height:87px; "/>
  297. <input id="ipt_judgappdg" ref="/root/main/reptdetl/item/judgappdg" class="input_default" disabled="true" editable="false" style="left:312px; top:32px; width:100px; height:19px; "/>
  298. <textarea id="tar_cnts5" ref="/root/main/reptdetl/item/cnts5" style="left:804px; top:372px; width:305px; height:87px; "/>
  299. <caption id="caption40" class="cell_1" style="left:805px; top:235px; width:305px; height:23px; text-align:center; vertical-align:middle; ">관련 실험실적 검사 결과(날짜 포함)</caption>
  300. <textarea id="tar_cnts6" ref="/root/main/reptdetl/item/cnts6" style="left:498px; top:487px; width:305px; height:87px; "/>
  301. <caption id="caption30" class="cell_1" style="left:415px; top:30px; width:180px; height:23px; text-align:center; vertical-align:middle; ">최초임상시험 계획서 심사일자</caption>
  302. <caption id="caption41" class="cell_1" style="left:498px; top:347px; width:305px; height:23px; text-align:center; vertical-align:middle; ">기타 병용약물</caption>
  303. <caption id="caption42" class="cell_1" style="left:805px; top:347px; width:305px; height:23px; text-align:center; vertical-align:middle; ">이상약물반응 관련 약물 과거력</caption>
  304. <caption id="caption32" class="cell_1" style="left:700px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접수여부</caption>
  305. <datagrid id="grd_test" nodeset="/root/main/reptdetl/test" caption="^^^^피험자번호^피험자약자^성별^생년월일^키 CM^몸무게 Kg" colsep="^" colwidth="0, 0, 0, 0, 101, 81, 62, 88, 58, 59" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:1px; top:81px; width:489px; height:80px; ">
  306. <col ref="subjid" visibility="hidden"/>
  307. <col ref="reptkind" visibility="hidden"/>
  308. <col ref="reptseqno" visibility="hidden"/>
  309. <col ref="instcd" visibility="hidden"/>
  310. <col ref="testeeid" type="input" maxlength="30"/>
  311. <col ref="testeenm" type="input" maxlength="30"/>
  312. <col class="gridcombo" ref="subtesteegndr" type="combo">
  313. <choices>
  314. <item>
  315. <label>남</label>
  316. <value>M</value>
  317. </item>
  318. <item>
  319. <label>여</label>
  320. <value>F</value>
  321. </item>
  322. </choices>
  323. </col>
  324. <col ref="subtesteebrthdd" type="inputdate"/>
  325. <col ref="subtesteeht" type="input" maxlength="10"/>
  326. <col ref="subtesteebdwt" type="input" maxlength="10"/>
  327. <col ref="awardd" visibility="hidden"/>
  328. <col ref="genrdd" visibility="hidden"/>
  329. </datagrid>
  330. <button id="btn_rowadd1" class="btn2_letter3" _auth="X" style="left:379px; top:60px; width:53px; height:19px; ">
  331. <caption>행추가</caption>
  332. <script type="javascript" ev:event="DOMActivate">
  333. <![CDATA[
  334. grd_test.addRow();
  335. model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
  336. model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
  337. //해당 보고서가 신규작성일 경우 보고서일련번호가 없으므로 최초시작번호인 1로 셋팅한다.
  338. if ( model.getValue("/root/send/searchitem/reptseqno") != "" ) {
  339. model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
  340. } else {
  341. model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/reptseqno", 1);
  342. }
  343. model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/reptkind", "3"); //보고서종류=SAE(원내)(3)
  344. ]]>
  345. </script>
  346. </button>
  347. <button id="btn_rowdel1" class="btn2_letter3" _auth="X" style="left:434px; top:60px; width:53px; height:19px; ">
  348. <caption>행삭제</caption>
  349. <script type="javascript" ev:event="DOMActivate">
  350. <![CDATA[
  351. grd_test.deleterow(grd_test.row);
  352. ]]>
  353. </script>
  354. </button>
  355. <caption id="caption43" class="cell_1" style="left:498px; top:463px; width:305px; height:23px; text-align:center; vertical-align:middle; ">이상 반응 처치후 향후 계획</caption>
  356. <caption id="caption33" class="tit_2" style="left:6px; top:63px; width:140px; height:13px; ">피험자 정보</caption>
  357. <datagrid id="grd_drug" nodeset="/root/main/reptdetl/drug" caption="^^^^^1.의심되는약물^2.제형/단위^3.일일용량/용법^4.투여경로^5.약물투여기간^5.약물투여기간^6.사용중단/감량결과증상소실?^7.재투약결과증상재발?|^^^^^상품명/성분명/do제조번호^2.제형/단위^3.일일용량/용법^4.투여경로^시작^종료^6.사용중단/감량결과증상소실?^7.재투약결과증상재발?" colsep="^" colwidth="0,0,0,0,0, 148, 50, 70, 44, 85, 85, 60, 60" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:498px; top:81px; width:612px; height:124px; ">
  358. <col ref="subjid" visibility="hidden"/>
  359. <col ref="reptkind" visibility="hidden"/>
  360. <col ref="reptseqno" visibility="hidden"/>
  361. <col ref="seqno" visibility="hidden"/>
  362. <col ref="instcd" visibility="hidden"/>
  363. <col ref="drugcnts" type="input"/>
  364. <col ref="typeunit" type="input"/>
  365. <col ref="qtymthd" type="input"/>
  366. <col ref="drugpath" type="input"/>
  367. <col ref="startdd" type="inputdate"/>
  368. <col ref="enddd" type="inputdate"/>
  369. <col class="gridcombo" ref="cnts1" type="combo">
  370. <choices>
  371. <item>
  372. <label>예</label>
  373. <value>Y</value>
  374. </item>
  375. <item>
  376. <label>아니오</label>
  377. <value>N</value>
  378. </item>
  379. <item>
  380. <label>작용안됨</label>
  381. <value>-</value>
  382. </item>
  383. </choices>
  384. </col>
  385. <col class="gridcombo" ref="cnts2" type="combo">
  386. <choices>
  387. <item>
  388. <label>예</label>
  389. <value>Y</value>
  390. </item>
  391. <item>
  392. <label>아니오</label>
  393. <value>N</value>
  394. </item>
  395. <item>
  396. <label>적용안됨</label>
  397. <value>-</value>
  398. </item>
  399. </choices>
  400. </col>
  401. </datagrid>
  402. <button id="btn_rowadd2" class="btn2_letter3" _auth="X" style="left:997px; top:60px; width:53px; height:19px; ">
  403. <caption>행추가</caption>
  404. <script type="javascript" ev:event="DOMActivate">
  405. <![CDATA[
  406. grd_drug.addRow();
  407. model.setValue("/root/main/reptdetl/drug["+ (grd_drug.row-1) +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
  408. model.setValue("/root/main/reptdetl/drug["+ (grd_drug.row-1) +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
  409. //해당 보고서가 신규작성일 경우 보고서일련번호가 없으므로 최초시작번호인 1로 셋팅한다.
  410. if ( model.getValue("/root/send/searchitem/reptseqno") != "" ) {
  411. model.setValue("/root/main/reptdetl/drug["+ (grd_drug.row-1) +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
  412. } else {
  413. model.setValue("/root/main/reptdetl/drug["+ (grd_drug.row-1) +"]/reptseqno", 1);
  414. }
  415. model.setValue("/root/main/reptdetl/drug["+ (grd_drug.row-1) +"]/reptkind", "3"); //보고서종류=SAE(원내)(3)
  416. ]]>
  417. </script>
  418. </button>
  419. <button id="btn_rowdel2" class="btn2_letter3" _auth="X" style="left:1052px; top:60px; width:53px; height:19px; ">
  420. <caption>행삭제</caption>
  421. <script type="javascript" ev:event="DOMActivate">
  422. <![CDATA[
  423. grd_drug.deleterow(grd_drug.row);
  424. ]]>
  425. </script>
  426. </button>
  427. <caption id="caption44" class="cell_1" style="left:805px; top:463px; width:305px; height:23px; text-align:center; vertical-align:middle; ">주요 병력 및 동반 질환</caption>
  428. <caption id="caption34" class="tit_2" style="left:6px; top:193px; width:140px; height:13px; ">이상 약물 반응</caption>
  429. <caption id="caption35" class="cell_1" style="left:1px; top:210px; width:103px; height:23px; text-align:center; vertical-align:middle; ">보고분류</caption>
  430. <line id="line17" class="line_1" style="x1:2px; y1:28px; x2:1108px; y2:27px; "/>
  431. <caption id="caption36" class="cell_1" style="left:1px; top:235px; width:103px; height:23px; text-align:center; vertical-align:middle; ">부작용 발생일</caption>
  432. <line id="line18" class="line_3" style="x1:0px; y1:55px; x2:1109px; y2:55px; "/>
  433. <caption id="caption37" class="cell_1" style="left:251px; top:260px; width:100px; height:23px; text-align:center; vertical-align:middle; ">보고일</caption>
  434. <select1 id="cmb_acptyn" ref="/root/main/reptdetl/item/acptyn" class="combo_search" disabled="true" appearance="minimal" style="left:803px; top:32px; width:100px; height:19px; ">
  435. <choices>
  436. <item>
  437. <label>접수</label>
  438. <value>Y</value>
  439. </item>
  440. <item>
  441. <label>미접수</label>
  442. <value>N</value>
  443. </item>
  444. </choices>
  445. </select1>
  446. <caption id="caption28" class="cell_1" style="left:210px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
  447. <button id="button11" class="btn2_letter14" _auth="P" style="left:931px; top:33px; width:174px; height:19px; ">
  448. <caption>이상반응 발생보고서(원내)출력</caption>
  449. <script type="javascript" ev:event="onclick">
  450. <![CDATA[
  451. if(submit("TRIRS00101")) {
  452. model.copyNode("/root/rex/reptdetl", "/root/main/reptdetl");
  453. var cnts2 = model.getValue("/root/rex/reptdetl/item/cnts2");
  454. var cnts3 = model.getValue("/root/rex/reptdetl/item/cnts3");
  455. var cnts4 = model.getValue("/root/rex/reptdetl/item/cnts4");
  456. var cnts5 = model.getValue("/root/rex/reptdetl/item/cnts5");
  457. var cnts6 = model.getValue("/root/rex/reptdetl/item/cnts6");
  458. var cnts7 = model.getValue("/root/rex/reptdetl/item/cnts7");
  459. var j = 0;
  460. var p = 0;
  461. var k = 0;
  462. if ( cnts2.indexOf("\n",p ) >=0 ){
  463. while ( (j = cnts2.indexOf("\n",p ))>=0){
  464. var sdata = cnts2.substring( p, j );
  465. p = j + 1;
  466. k = k + 1;
  467. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", sdata.replace("\n","") );
  468. }
  469. if ( p<cnts2.length){ // 제일 마지막 엔터 뒤 문장 처리
  470. var sdata = cnts2.substring( p, cnts2.length );
  471. k = k + 1;
  472. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", sdata.replace("\n","") );
  473. }
  474. } else { //엔터없을때 처리
  475. k = k + 1;
  476. model.makeNode("/root/rex/reptdetl");
  477. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", cnts2);
  478. }
  479. if ( cnts3.indexOf("\n",p ) >=0 ){
  480. while ( (j = cnts3.indexOf("\n",p ))>=0){
  481. var sdata = cnts3.substring( p, j );
  482. p = j + 1;
  483. k = k + 1;
  484. model.makeValue("/root/rex/reptdetl/item[1]/cnts3info["+k+"]/cnts3", sdata.replace("\n","") );
  485. }
  486. if ( p<cnts3.length){ // 제일 마지막 엔터 뒤 문장 처리
  487. var sdata = cnts3.substring( p, cnts3.length );
  488. k = k + 1;
  489. model.makeValue("/root/rex/reptdetl/item[1]/cnts3info["+k+"]/cnts3", sdata.replace("\n","") );
  490. }
  491. } else { //엔터없을때 처리
  492. k = k + 1;
  493. model.makeNode("/root/rex/reptdetl");
  494. model.makeValue("/root/rex/reptdetl/item[1]/cnts3info["+k+"]/cnts3", cnts3);
  495. }
  496. if ( cnts4.indexOf("\n",p ) >=0 ){
  497. while ( (j = cnts4.indexOf("\n",p ))>=0){
  498. var sdata = cnts4.substring( p, j );
  499. p = j + 1;
  500. k = k + 1;
  501. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", sdata.replace("\n","") );
  502. }
  503. if ( p<cnts4.length){ // 제일 마지막 엔터 뒤 문장 처리
  504. var sdata = cnts4.substring( p, cnts4.length );
  505. k = k + 1;
  506. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", sdata.replace("\n","") );
  507. }
  508. } else { //엔터없을때 처리
  509. k = k + 1;
  510. model.makeNode("/root/rex/reptdetl");
  511. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", cnts4);
  512. }
  513. if ( cnts5.indexOf("\n",p ) >=0 ){
  514. while ( (j = cnts5.indexOf("\n",p ))>=0){
  515. var sdata = cnts5.substring( p, j );
  516. p = j + 1;
  517. k = k + 1;
  518. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", sdata.replace("\n","") );
  519. }
  520. if ( p<cnts5.length){ // 제일 마지막 엔터 뒤 문장 처리
  521. var sdata = cnts5.substring( p, cnts5.length );
  522. k = k + 1;
  523. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", sdata.replace("\n","") );
  524. }
  525. } else { //엔터없을때 처리
  526. k = k + 1;
  527. model.makeNode("/root/rex/reptdetl");
  528. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", cnts5);
  529. }
  530. if ( cnts6.indexOf("\n",p ) >=0 ){
  531. while ( (j = cnts6.indexOf("\n",p ))>=0){
  532. var sdata = cnts6.substring( p, j );
  533. p = j + 1;
  534. k = k + 1;
  535. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", sdata.replace("\n","") );
  536. }
  537. if ( p<cnts6.length){ // 제일 마지막 엔터 뒤 문장 처리
  538. var sdata = cnts6.substring( p, cnts6.length );
  539. k = k + 1;
  540. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", sdata.replace("\n","") );
  541. }
  542. } else { //엔터없을때 처리
  543. k = k + 1;
  544. model.makeNode("/root/rex/reptdetl");
  545. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", cnts6);
  546. }
  547. if ( cnts7.indexOf("\n",p ) >=0 ){
  548. while ( (j = cnts7.indexOf("\n",p ))>=0){
  549. var sdata = cnts7.substring( p, j );
  550. p = j + 1;
  551. k = k + 1;
  552. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", sdata.replace("\n","") );
  553. }
  554. if ( p<cnts7.length){ // 제일 마지막 엔터 뒤 문장 처리
  555. var sdata = cnts7.substring( p, cnts7.length );
  556. k = k + 1;
  557. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", sdata.replace("\n","") );
  558. }
  559. } else { //엔터없을때 처리
  560. k = k + 1;
  561. model.makeNode("/root/rex/reptdetl");
  562. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", cnts7);
  563. }
  564. exeReportPreview("PSIRB00500", "XMLSTR" , "/root/rex");
  565. }
  566. ]]>
  567. </script>
  568. </button>
  569. <select id="chk_reptcls" ref="/root/main/reptdetl/item/reptclsyn1" overflow="visible" appearance="full" style="left:106px; top:212px; width:70px; height:19px; border-style:none; ">
  570. <choices>
  571. <item>
  572. <label>초회분류</label>
  573. <value>Y</value>
  574. </item>
  575. </choices>
  576. </select>
  577. <select id="checkbox1" ref="/root/main/reptdetl/item/reptclsyn2" overflow="visible" appearance="full" style="left:180px; top:212px; width:70px; height:19px; border-style:none; ">
  578. <choices>
  579. <item>
  580. <label>추적분류</label>
  581. <value>Y</value>
  582. </item>
  583. </choices>
  584. </select>
  585. <select id="checkbox2" ref="/root/main/reptdetl/item/reptclsyn3" overflow="visible" appearance="full" style="left:255px; top:212px; width:70px; height:19px; border-style:none; ">
  586. <choices>
  587. <item>
  588. <label>최종분류</label>
  589. <value>Y</value>
  590. </item>
  591. </choices>
  592. </select>
  593. <caption id="caption39" class="cell_1" style="left:498px; top:235px; width:305px; height:23px; text-align:center; vertical-align:middle; ">부작용 보고 내용</caption>
  594. <textarea id="tar_cnts7" ref="/root/main/reptdetl/item/cnts7" style="left:805px; top:487px; width:305px; height:87px; "/>
  595. <textarea id="tar_cnts2" ref="/root/main/reptdetl/item/cnts2" style="left:498px; top:260px; width:305px; height:84px; "/>
  596. <input id="ipt_fstplanjudgdd" ref="/root/main/reptdetl/item/fstplanjudgdd" class="input_search" disabled="true" inputtype="date" style="left:597px; top:32px; width:100px; height:19px; "/>
  597. <input id="ipt_seffcgenrdd" ref="/root/main/reptdetl/item/seffcgenrdd" class="input_search" inputtype="date" style="left:106px; top:235px; width:132px; height:19px; "/>
  598. <input id="ipt_reptdd" ref="/root/main/reptdetl/item/reptdd" class="input_search" inputtype="date" style="left:355px; top:262px; width:135px; height:19px; "/>
  599. <select1 id="cmb_trobreactcls" ref="/root/main/reptdetl/item/trobreactcls" class="combo_search" disabled="true" appearance="minimal" style="left:157px; top:306px; width:333px; height:19px; ">
  600. <choices>
  601. <item>
  602. <label>사망</label>
  603. <value>1</value>
  604. </item>
  605. <item>
  606. <label>생명을 위협하는 경우</label>
  607. <value>2</value>
  608. </item>
  609. <item>
  610. <label>입원 또는 입원 기간의 연장이 필요한 경우</label>
  611. <value>3</value>
  612. </item>
  613. <item>
  614. <label>지속적 또는 의미있는 불구나 기능저하를 초래하는 경우</label>
  615. <value>4</value>
  616. </item>
  617. <item>
  618. <label>선천적 기형 또는 이상을 초래하는 경우</label>
  619. <value>5</value>
  620. </item>
  621. <item>
  622. <label>기타 의학적으로 중요한 경우</label>
  623. <value>6</value>
  624. </item>
  625. </choices>
  626. </select1>
  627. <caption id="caption1" class="tit_2" style="left:503px; top:63px; width:183px; height:13px; ">원인으로 추정되는 약물정보</caption>
  628. <button id="btn_filedel" class="btn5_letter4" _auth="X" style="left:851px; top:5px; width:64px; height:19px; ">
  629. <caption>첨부삭제</caption>
  630. <script type="javascript" ev:event="onclick">
  631. <![CDATA[
  632. //접수 후 수정불가
  633. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  634. messageBox("이미 접수되어 저장 또는 수정", "E001");
  635. return;
  636. } else {
  637. if (submit("TXIRS00198")) {
  638. messageBox("첨부파일이 삭제되었습니다.","I999");
  639. model.refresh();
  640. }
  641. }
  642. if ( model.getValue("/root/hidden/ret/reptseqno") != '' ) {
  643. submit("TRIRB00104"); //SAE(원내) 내용 조회
  644. }
  645. ]]>
  646. </script>
  647. </button>
  648. <input id="ipt_filenm" ref="/root/main/reptdetl/item/attfile" class="input_default" style="left:583px; top:5px; width:200px; height:19px; "/>
  649. <button id="btn_fileatt" class="btn2_letter4" _auth="X" style="left:785px; top:5px; width:64px; height:19px; ">
  650. <caption>파일첨부</caption>
  651. <script type="javascript" ev:event="onclick">
  652. <![CDATA[
  653. if ( model.getValue("/root/main/reptdetl/item/acptyn") == '' ) {
  654. messageBox("임시저장 후 첨부파일을 올리세요", "I");
  655. return;
  656. }
  657. var maxsize = upload1.attribute("filesize");
  658. files = window.fileDialog("open", "|", true);
  659. filelist = files.split("|");
  660. for(var i = 0 ; i < filelist.length ; i++ ) {
  661. grd_attach.addRow(false);
  662. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  663. if (!checkFileSize(upload1)){
  664. grd_attach.removeItem();
  665. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  666. return;
  667. }
  668. }
  669. if ( filelist[0] != "") {
  670. if (submit("TXIRS00199")) {
  671. messageBox("Upload가 성공적으로 이루어졌습니다.","I999");
  672. model.removeNodeset("/root/send/attach");
  673. parent.model.setValue("/root/temp/ivieweryn", "N"); //중간보고서 iviewer 호출 여부 = N
  674. parent.btn_report3.selected = true;
  675. parent.btn_report3.dispatch("DOMActivate");
  676. model.refresh();
  677. }
  678. }
  679. submit("TRIRB00104"); //SAE(원내) 내용 조회
  680. model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  681. model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  682. model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
  683. model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
  684. model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
  685. model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
  686. model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
  687. model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
  688. model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
  689. model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
  690. model.refresh();
  691. ]]>
  692. </script>
  693. </button>
  694. <button id="btn_tmpsave" class="btn2_letter4" _auth="X" style="left:918px; top:5px; width:64px; height:19px; ">
  695. <caption>임시저장</caption>
  696. <script type="javascript" ev:event="DOMActivate">
  697. <![CDATA[
  698. //접수 후 수정불가
  699. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  700. messageBox("이미 접수되어 저장 또는 수정", "E001");
  701. return;
  702. }
  703. // ***** 2009.10.23(김재우 추가) *****
  704. if (add_validationchk() == false){
  705. return;
  706. }
  707. // ***** 2009.10.23 *****
  708. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  709. if ( reptseqno != '') {
  710. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  711. }
  712. model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
  713. model.setValue("/root/send/savedata/reptkind", "3"); //보고서종류=SAE(원내)(3)
  714. model.setValue("/root/send/savedata/acptyn", "N"); //접수여부=미접수(N)
  715. model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
  716. model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
  717. /*
  718. //피험자정보 그리드 필수입력항목 체크
  719. var update1 = getGridUpdateData(grd_test);
  720. if ( update1 != "" ) {
  721. for ( i=1; i<grd_test.rows; i++ ) {
  722. if ( model.getValue("/root/main/reptdetl/test["+ i +"]/testeeid") == "" ) {
  723. messageBox("피험자번호를", "C001");
  724. return;
  725. }
  726. }
  727. model.makeNode("/root/send/savedata/test");
  728. model.setValue("/root/send/savedata/test", update1);
  729. }
  730. //추정약물정보 그리드
  731. var update2 = getGridUpdateData(grd_drug);
  732. if ( update2 != "" ) {
  733. model.makeNode("/root/send/savedata/drug");
  734. model.setValue("/root/send/savedata/drug", update2);
  735. }
  736. */
  737. //피험자정보
  738. for ( i = 1; i < grd_test.rows; i++ ) {
  739. model.setValue("/root/main/reptdetl/test["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
  740. }
  741. var update1 = instance1.selectNodes("/root/main/reptdetl/test");
  742. var rCSV1 = getNodeListCSV(update1);
  743. if ( rCSV1 != null ) {
  744. for ( i = 1; i < grd_test.rows; i++ ) {
  745. if ( model.getValue("/root/main/reptdetl/test["+ i +"]/testeeid") == "" ) {
  746. messageBox("피험자번호를", "C001");
  747. return;
  748. }
  749. }
  750. model.makeNode("/root/send/savedata/test");
  751. model.setValue("/root/send/savedata/test", rCSV1);
  752. }
  753. //추정약물정보
  754. for ( i = 2; i < grd_drug.rows; i++ ) {
  755. model.setValue("/root/main/reptdetl/drug["+ ( i - 1) +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
  756. }
  757. var update2 = instance1.selectNodes("/root/main/reptdetl/drug");
  758. var rCSV2 = getNodeListCSV(update2);
  759. if ( rCSV2 != null ) {
  760. model.makeNode("/root/send/savedata/drug");
  761. model.setValue("/root/send/savedata/drug", rCSV2);
  762. }
  763. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  764. submit("TXIRB00102");
  765. } else {
  766. submit("TXIRB00101");
  767. }
  768. // 임시저장 후 바로 보고서접수 시 무결성 제약조건 위배 방지 ㅠ.....
  769. grd_test.clearStatus();
  770. grd_drug.clearStatus();
  771. model.resetInstanceNode("/root/send/savedata");
  772. model.removenode("/root/send/savedata/test");
  773. model.removenode("/root/send/savedata/drug");
  774. model.setValue("/root/main/reptdetl/item/acptyn", "N"); //접수여부를 미접수로 보여줌.
  775. model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
  776. model.refresh();
  777. parent.model.setValue("/root/temp/ivieweryn", "N"); //SAE(원내) iviewer 호출 여부 = N
  778. parent.btn_report3.selected = true;
  779. parent.btn_report3.dispatch("DOMActivate");
  780. model.removeNodeset("/root/send/savedata");
  781. model.makeNode("/root/send/savedata");
  782. ]]>
  783. </script>
  784. </button>
  785. <button id="btn_reptacpt" class="btn2_letter5" style="left:1030px; top:5px; width:75px; height:19px; ">
  786. <caption>보고서접수</caption>
  787. <script type="javascript" ev:event="DOMActivate">
  788. <![CDATA[
  789. //접수 후 수정불가
  790. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  791. messageBox("이미 접수되어 저장 또는 수정", "E001");
  792. return;
  793. }
  794. // ***** 2009.10.23(김재우 추가) *****
  795. if (add_validationchk() == false){
  796. return;
  797. }
  798. // ***** 2009.10.23 *****
  799. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  800. if ( reptseqno != '') {
  801. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  802. }
  803. model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
  804. model.setValue("/root/send/savedata/reptkind", "3"); //보고서종류=SAE(원내)(3)
  805. model.setValue("/root/send/savedata/acptyn", "Y"); //접수여부=접수(Y)
  806. model.setValue("/root/send/savedata/acptdd", getCurrentDate()); //접수일=오늘날짜
  807. model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
  808. model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
  809. /*
  810. //피험자정보 그리드 필수입력항목 체크
  811. var update1 = getGridUpdateData(grd_test);
  812. if ( update1 != "" ) {
  813. for ( i=1; i<grd_test.rows; i++ ) {
  814. if ( model.getValue("/root/main/reptdetl/test["+ i +"]/testeeid") == "" ) {
  815. messageBox("피험자번호를", "C001");
  816. return;
  817. }
  818. }
  819. model.makeNode("/root/send/savedata/test");
  820. model.setValue("/root/send/savedata/test", update1);
  821. }
  822. //추정약물정보 그리드
  823. var update2 = getGridUpdateData(grd_drug);
  824. if ( update2 != "" ) {
  825. model.makeNode("/root/send/savedata/drug");
  826. model.setValue("/root/send/savedata/drug", update2);
  827. }
  828. */
  829. //피험자정보
  830. for ( i = 1; i < grd_test.rows; i++ ) {
  831. model.setValue("/root/main/reptdetl/test["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
  832. }
  833. var update1 = instance1.selectNodes("/root/main/reptdetl/test");
  834. var rCSV1 = getNodeListCSV(update1);
  835. if ( rCSV1 != null ) {
  836. for ( i = 1; i < grd_test.rows; i++ ) {
  837. if ( model.getValue("/root/main/reptdetl/test["+ i +"]/testeeid") == "" ) {
  838. messageBox("피험자번호를", "C001");
  839. return;
  840. }
  841. }
  842. model.makeNode("/root/send/savedata/test");
  843. model.setValue("/root/send/savedata/test", rCSV1);
  844. }
  845. //추정약물정보
  846. /* 2008-11-18 여인환수정
  847. for ( i = 1; i < grd_drug.rows; i++ ) {
  848. model.setValue("/root/main/reptdetl/drug["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
  849. }*/
  850. //추정약물정보
  851. for ( i = 2; i < grd_drug.rows; i++ ) {
  852. model.setValue("/root/main/reptdetl/drug["+ ( i - 1) +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
  853. }
  854. var update2 = instance1.selectNodes("/root/main/reptdetl/drug");
  855. var rCSV2 = getNodeListCSV(update2);
  856. if ( rCSV2 != null ) {
  857. model.makeNode("/root/send/savedata/drug");
  858. model.setValue("/root/send/savedata/drug", rCSV2);
  859. }
  860. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  861. submit("TXIRB00102");
  862. } else {
  863. submit("TXIRB00101");
  864. }
  865. model.resetInstanceNode("/root/send/savedata");
  866. model.removenode("/root/send/savedata/test");
  867. model.removenode("/root/send/savedata/drug");
  868. model.setValue("/root/main/reptdetl/item/acptyn", "Y"); //접수여부를 접수로 보여줌.
  869. model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
  870. model.refresh();
  871. parent.model.setValue("/root/temp/ivieweryn", "N"); //SAE(원내) iviewer 호출 여부 = N
  872. parent.btn_report3.selected = true;
  873. parent.btn_report3.dispatch("DOMActivate");
  874. model.removeNodeset("/root/send/savedata");
  875. model.makeNode("/root/send/savedata");
  876. ]]>
  877. </script>
  878. </button>
  879. <caption id="caption7" class="tit_2" style="left:5px; top:10px; width:140px; height:14px; ">SAE(원내)</caption>
  880. <caption id="caption2" class="cell_1" style="left:1px; top:352px; width:103px; height:32px; text-align:center; vertical-align:middle; ">
  881. <![CDATA[부작용치료
  882. 및 보상여부]]>
  883. </caption>
  884. <input id="ipt_cnts1" ref="/root/main/reptdetl/item/cnts1" class="input_default" style="left:107px; top:359px; width:383px; height:19px; "/>
  885. <input id="ipt_subjno" ref="/root/main/reptdetl/item/subjno" class="input_default" disabled="true" editable="false" style="left:105px; top:32; width:100; height:19px; "/>
  886. <caption id="caption3" class="cell_1" style="left:3px; top:30; width:100px; height:23px; text-align:center; vertical-align:middle; ">과제번호</caption>
  887. <button id="btn_filedown" class="btn2_letter4" visibility="hidden" _auth="R" style="left:788px; top:5px; width:64px; height:19px; ">
  888. <caption>내려받기</caption>
  889. <script type="javascript" ev:event="DOMActivate">
  890. <![CDATA[
  891. var s = model.getValue("/root/main/reptdetl/item/attfile");
  892. var ss = s.split("/");
  893. var filepath = "";
  894. var filenm = "";
  895. for ( var i = 0; i < ss.length; i ++){
  896. if ( i < ss.length -2 ) {
  897. filepath = filepath+ss[i] +"/";
  898. } else if ( i < ss.length -1 ) {
  899. filepath = filepath+ss[i] ;
  900. } else {
  901. filenm = ss[i];
  902. }
  903. }
  904. var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
  905. if (localfile != "") {
  906. model.download(getActionURL("TRIRS00105")+"&filepath="+filepath,localfile);
  907. var rtn = messageBox("파일을", "Q004");
  908. if( rtn == 6 ) {
  909. window.exec(localfile);
  910. }
  911. }
  912. ]]>
  913. </script>
  914. </button>
  915. <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="52428800" validate="true" style="left:1075px; top:35px; width:36px; height:20px; "/>
  916. <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="파일경로^" colwidth="644" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:155px; top:155px; width:665px; height:150px; ">
  917. <col ref="file"/>
  918. </datagrid>
  919. <button id="button1" class="btn5_letter2" _auth="X" style="left:985px; top:5px; width:42px; height:19px; ">
  920. <caption>삭제</caption>
  921. <script type="javascript" ev:event="DOMActivate">
  922. <![CDATA[
  923. //접수 후 수정불가
  924. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  925. messageBox("이미 접수되어 저장 또는 수정", "E001");
  926. return;
  927. }
  928. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  929. if ( reptseqno != '') {
  930. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  931. }
  932. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  933. submit("TXIRB00104");
  934. } else {
  935. submit("TXIRB00103");
  936. }
  937. model.refresh();
  938. parent.model.setValue("/root/temp/ivieweryn", "N"); //SAE(원내) iviewer 호출 여부 = N
  939. parent.btn_report3.selected = true;
  940. parent.btn_report3.dispatch("DOMActivate");
  941. ]]>
  942. </script>
  943. </button>
  944. <caption id="caption4" class="cell_1" style="left:1px; top:163px; width:100px; height:23px; text-align:center; vertical-align:middle; ">피험자 상태</caption>
  945. <select1 id="combo1" ref="/root/main/reptdetl/item/cnts8" class="combo_search" appearance="minimal" style="left:103px; top:165px; width:88px; height:19px; ">
  946. <choices>
  947. <item>
  948. <label>연구진행중</label>
  949. <value>1</value>
  950. </item>
  951. <item>
  952. <label>연구중지</label>
  953. <value>2</value>
  954. </item>
  955. <item>
  956. <label>연구철회</label>
  957. <value>3</value>
  958. </item>
  959. </choices>
  960. <script type="javascript" ev:event="xforms-value-changed">
  961. <![CDATA[
  962. var cnts8 = model.getValue("/root/main/reptdetl/item/cnts8");
  963. if ( cnts8 == '1' || cnts8 == '2' ) {
  964. input1.disabled = false;
  965. input2.disabled = false;
  966. } else {
  967. input1.disabled = true;
  968. input2.disabled = true;
  969. }
  970. ]]>
  971. </script>
  972. </select1>
  973. <input id="input1" ref="/root/main/reptdetl/item/cnts9" class="input_search" disabled="true" inputtype="date" style="left:196px; top:165px; width:84px; height:19px; "/>
  974. <input id="input2" ref="/root/main/reptdetl/item/cnts10" class="input_default" disabled="true" style="left:285px; top:165px; width:205px; height:19px; "/>
  975. <caption id="caption5" class="cell_1" style="left:45px; top:327px; width:110px; height:23px; text-align:center; vertical-align:middle; ">예상가능</caption>
  976. <select1 id="combo2" ref="/root/main/reptdetl/item/cnts11" class="combo_search" appearance="minimal" style="left:157px; top:329px; width:63px; height:19px; ">
  977. <choices>
  978. <item>
  979. <label>예</label>
  980. <value>1</value>
  981. </item>
  982. <item>
  983. <label>아니오</label>
  984. <value>2</value>
  985. </item>
  986. </choices>
  987. <script type="javascript" ev:event="xforms-value-changed">
  988. <![CDATA[
  989. var cnts11 = model.getValue("/root/main/reptdetl/item/cnts11");
  990. if(cnts11 == "1")
  991. input5.disabled = false;
  992. else
  993. input5.disabled = true;
  994. ]]>
  995. </script>
  996. </select1>
  997. <caption id="caption6" class="cell_1" style="left:1px; top:386px; width:103px; height:32px; text-align:center; vertical-align:middle; ">
  998. <![CDATA[임상연구약과의
  999. 연관성]]>
  1000. </caption>
  1001. <caption id="caption8" class="cell_1" style="left:1px; top:420px; width:103px; height:32px; text-align:center; vertical-align:middle; ">
  1002. <![CDATA[임삼연구약에
  1003. 대한 처치]]>
  1004. </caption>
  1005. <caption id="caption9" class="cell_1" style="left:1px; top:454px; width:103px; height:23px; text-align:center; vertical-align:middle; ">최종관찰결과</caption>
  1006. <caption id="caption10" class="cell_1" style="left:1px; top:479px; width:103px; height:47px; font-size:8pt; text-align:center; vertical-align:middle; ">
  1007. <![CDATA[이상반응 관련 처치 비용의 부담 주체 및 부담 범위]]>
  1008. </caption>
  1009. <select1 id="combo3" ref="/root/main/reptdetl/item/cnts12" class="combo_search" appearance="minimal" style="left:107px; top:392px; width:383px; height:19px; ">
  1010. <choices>
  1011. <item>
  1012. <label>관련성이 명백함</label>
  1013. <value>1</value>
  1014. </item>
  1015. <item>
  1016. <label>관련성이 많음</label>
  1017. <value>2</value>
  1018. </item>
  1019. <item>
  1020. <label>관련성이 의심됨</label>
  1021. <value>3</value>
  1022. </item>
  1023. <item>
  1024. <label>관련성이 적음</label>
  1025. <value>4</value>
  1026. </item>
  1027. <item>
  1028. <label>관련성이 없음</label>
  1029. <value>5</value>
  1030. </item>
  1031. <item>
  1032. <label>평가 불가능</label>
  1033. <value>6</value>
  1034. </item>
  1035. </choices>
  1036. </select1>
  1037. <select1 id="combo4" ref="/root/main/reptdetl/item/cnts13" class="combo_search" appearance="minimal" style="left:107px; top:427px; width:383px; height:19px; ">
  1038. <choices>
  1039. <item>
  1040. <label>투여중지</label>
  1041. <value>1</value>
  1042. </item>
  1043. <item>
  1044. <label>감량</label>
  1045. <value>2</value>
  1046. </item>
  1047. <item>
  1048. <label>증량</label>
  1049. <value>3</value>
  1050. </item>
  1051. <item>
  1052. <label>용량 변화 없음</label>
  1053. <value>4</value>
  1054. </item>
  1055. <item>
  1056. <label>알 수 없음</label>
  1057. <value>5</value>
  1058. </item>
  1059. <item>
  1060. <label>해당사항 없음</label>
  1061. <value>6</value>
  1062. </item>
  1063. </choices>
  1064. </select1>
  1065. <select1 id="combo5" ref="/root/main/reptdetl/item/cnts14" class="combo_search" appearance="minimal" style="left:107px; top:455px; width:383px; height:19px; ">
  1066. <choices>
  1067. <item>
  1068. <label>회복됨/해결됨</label>
  1069. <value>1</value>
  1070. </item>
  1071. <item>
  1072. <label>회복중/해결중</label>
  1073. <value>2</value>
  1074. </item>
  1075. <item>
  1076. <label>회복되지 않음/해결되지 않음</label>
  1077. <value>3</value>
  1078. </item>
  1079. <item>
  1080. <label>회복/해결되었으나 후유증이 남음</label>
  1081. <value>4</value>
  1082. </item>
  1083. <item>
  1084. <label>사망</label>
  1085. <value>5</value>
  1086. </item>
  1087. <item>
  1088. <label>알 수 없음</label>
  1089. <value>6</value>
  1090. </item>
  1091. </choices>
  1092. </select1>
  1093. <select1 id="combo6" ref="/root/main/reptdetl/item/cnts15" class="combo_search" appearance="minimal" style="left:107px; top:487px; width:76px; height:19px; ">
  1094. <choices>
  1095. <item>
  1096. <label>피험자</label>
  1097. <value>1</value>
  1098. </item>
  1099. <item>
  1100. <label>연구자</label>
  1101. <value>2</value>
  1102. </item>
  1103. <item>
  1104. <label>의뢰자</label>
  1105. <value>3</value>
  1106. </item>
  1107. </choices>
  1108. </select1>
  1109. <select1 id="combo7" ref="/root/main/reptdetl/item/cnts16" class="combo_search" appearance="minimal" style="left:188px; top:487px; width:115px; height:19px; ">
  1110. <choices>
  1111. <item>
  1112. <label>진료비</label>
  1113. <value>1</value>
  1114. </item>
  1115. <item>
  1116. <label>검사비</label>
  1117. <value>2</value>
  1118. </item>
  1119. <item>
  1120. <label>치료 약제비</label>
  1121. <value>3</value>
  1122. </item>
  1123. <item>
  1124. <label>기타</label>
  1125. <value>4</value>
  1126. </item>
  1127. </choices>
  1128. <script type="javascript" ev:event="xforms-value-changed">
  1129. <![CDATA[
  1130. var cnts16 = model.getValue("/root/main/reptdetl/item/cnts16");
  1131. if ( cnts16 == '1' ) {
  1132. input3.disabled = true;
  1133. }
  1134. else {
  1135. input3.disabled = false;
  1136. }
  1137. ]]>
  1138. </script>
  1139. </select1>
  1140. <input id="input3" ref="/root/main/reptdetl/item/cnts17" class="input_default" disabled="true" style="left:308px; top:487px; width:182px; height:19px; "/>
  1141. <caption id="caption11" class="cell_1" style="left:251px; top:235px; width:100px; height:23px; text-align:center; vertical-align:middle; ">종료일</caption>
  1142. <input id="input4" ref="/root/main/reptdetl/item/cnts18" class="input_search" inputtype="date" style="left:355px; top:235px; width:135px; height:19px; "/>
  1143. <caption id="caption12" class="cell_1" style="left:1px; top:285px; width:42px; height:65px; text-align:center; vertical-align:middle; ">
  1144. <![CDATA[이상
  1145. 반응]]>
  1146. </caption>
  1147. <select id="checkbox3" ref="/root/main/reptdetl/item/trobreactreptyn1" overflow="visible" appearance="full" style="left:45px; top:285px; width:375px; height:19px; border-style:none; ">
  1148. <choices>
  1149. <item>
  1150. <label>이상반응</label>
  1151. <value>Y</value>
  1152. </item>
  1153. </choices>
  1154. </select>
  1155. <select id="checkbox4" ref="/root/main/reptdetl/item/trobreactreptyn2" class="cell_1" overflow="visible" appearance="full" style="left:45px; top:306px; width:110px; height:19px; border-style:none; ">
  1156. <choices>
  1157. <item>
  1158. <label>중대한 이상반응</label>
  1159. <value>Y</value>
  1160. </item>
  1161. </choices>
  1162. <script type="javascript" ev:event="xforms-value-changed">
  1163. <![CDATA[
  1164. var trobreactyn = model.getValue("/root/main/reptdetl/item/trobreactreptyn2");
  1165. if(trobreactyn == "Y")
  1166. cmb_trobreactcls.disabled = false;
  1167. else
  1168. cmb_trobreactcls.disabled = true;
  1169. ]]>
  1170. </script>
  1171. </select>
  1172. <caption id="caption13" class="cell_1" style="left:223px; top:327px; width:47px; height:23px; text-align:center; vertical-align:middle; ">근거</caption>
  1173. <input id="input5" ref="/root/main/reptdetl/item/cnts19" class="input_default" style="left:273px; top:329px; width:217px; height:19px; "/>
  1174. <caption id="caption14" class="cell_1" style="left:1px; top:528px; width:103px; height:48px; text-align:center; vertical-align:middle; ">
  1175. <![CDATA[피험자 보호를
  1176. 위한 조치]]>
  1177. </caption>
  1178. <caption id="caption15" class="cell_1" style="left:105px; top:528px; width:242px; height:23px; text-align:left; vertical-align:middle; ">연구 계획서의 변경이 필요한가?</caption>
  1179. <caption id="caption16" class="cell_1" style="left:105px; top:553px; width:242px; height:23px; text-align:left; vertical-align:middle; ">피험자 설명문 및 동의서 변경이 필요한가?</caption>
  1180. <select1 id="combo8" ref="/root/main/reptdetl/item/subtesteeproctyn1" class="combo_search" appearance="minimal" style="left:350px; top:530px; width:140px; height:19px; ">
  1181. <choices>
  1182. <item>
  1183. <label>
  1184. <![CDATA[예(-> 변경계획서 첨부)]]>
  1185. </label>
  1186. <value>Y</value>
  1187. </item>
  1188. <item>
  1189. <label>아니오</label>
  1190. <value>N</value>
  1191. </item>
  1192. </choices>
  1193. </select1>
  1194. <select1 id="combo9" ref="/root/main/reptdetl/item/subtesteeproctyn2" class="combo_search" appearance="minimal" style="left:350px; top:555px; width:140px; height:19px; ">
  1195. <choices>
  1196. <item>
  1197. <label>
  1198. <![CDATA[예(-> 변경계획서 첨부)]]>
  1199. </label>
  1200. <value>Y</value>
  1201. </item>
  1202. <item>
  1203. <label>아니오</label>
  1204. <value>N</value>
  1205. </item>
  1206. </choices>
  1207. </select1>
  1208. <caption id="caption17" class="cell_1" style="left:1px; top:260px; width:103px; height:23px; text-align:center; vertical-align:middle; ">인지일</caption>
  1209. <input id="input6" ref="/root/main/reptdetl/item/awardd" class="input_search" inputtype="date" style="left:106px; top:262px; width:132px; height:19px; "/>
  1210. </xhtml:body>
  1211. </xhtml:html>