SSIRB00400_지속심의.xrw 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131
  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. <reptdetl>
  11. <item>
  12. <instcd/>
  13. <subjid/>
  14. <subjno/>
  15. <reptseqno/>
  16. <judgappdg/>
  17. <reptkind/>
  18. <fstplanjudgdd/>
  19. <acptyn/>
  20. <acptdd/>
  21. <subjnm/>
  22. <roothospidxcasecnt/>
  23. <prcsidxcase/>
  24. <cnts1/>
  25. <cnts2/>
  26. <cnts3/>
  27. <cnts4/>
  28. <cnts5/>
  29. <cnts6/>
  30. <cnts7/>
  31. <cnts8/>
  32. <cnts9/>
  33. <cnts10/>
  34. <cnts11/>
  35. <cnts12/>
  36. <cnts13/>
  37. <acptdd/>
  38. <attfile/>
  39. <screenmenu/>
  40. <stdykind2/>
  41. <rc/>
  42. <resercnfmyn/>
  43. <subtesteecnt1/>
  44. <subtesteecnt2/>
  45. <subtesteecnt3/>
  46. <subtesteecnt4/>
  47. <subtesteecnt5/>
  48. <subtesteecnt6/>
  49. <cnts21/>
  50. <cnts22/>
  51. <cnts23/>
  52. <cnts24/>
  53. <cnts25/>
  54. <prestdystate/>
  55. </item>
  56. </reptdetl>
  57. </main>
  58. <send>
  59. <savedata>
  60. </savedata>
  61. <searchitem>
  62. <reptkind/>
  63. <subjid/>
  64. <instcd/>
  65. <reptseqno/>
  66. <consorflag/>
  67. <croinstcd/>
  68. </searchitem>
  69. <attach/>
  70. </send>
  71. <hidden/>
  72. <init>
  73. <hosp>
  74. <ret>
  75. <instcd/>
  76. <hospnm/>
  77. </ret>
  78. </hosp>
  79. </init>
  80. <rex>
  81. <view>
  82. <appformhead>
  83. <subjnm/>
  84. <subjno/>
  85. <hospnm/>
  86. <depthngnm/>
  87. <cdnm/>
  88. <usernm/>
  89. <hospcd/>
  90. <engsubjnm/>
  91. <telnumber/>
  92. </appformhead>
  93. <irsdcollareser>
  94. <subjid/>
  95. <instcd/>
  96. <userid/>
  97. <userkind/>
  98. <usernm/>
  99. <posnm/>
  100. <jobposnm/>
  101. <telnumber/>
  102. </irsdcollareser>
  103. <irsdpharmst>
  104. <subjid/>
  105. <instcd/>
  106. <userid/>
  107. <userkind/>
  108. <usernm/>
  109. <posnm/>
  110. <jobposnm/>
  111. <telnumber/>
  112. </irsdpharmst>
  113. <irsdcodi>
  114. <subjid/>
  115. <instcd/>
  116. <userid/>
  117. <userkind/>
  118. <usernm/>
  119. <posnm/>
  120. <jobposnm/>
  121. <telnumber/>
  122. </irsdcodi>
  123. <imcmreqinst>
  124. <cmpynm/>
  125. <prsdnm/>
  126. <jobposnm/>
  127. </imcmreqinst>
  128. </view>
  129. <basesubjinfo>
  130. <basesubjinfo>
  131. <subjid/>
  132. <perchgrid/>
  133. <acptyn/>
  134. <judgkind/>
  135. <subjnm/>
  136. <subjpwd/>
  137. <clinictrgtflag/>
  138. <reqinstflag/>
  139. <stdycostsuppinst/>
  140. <stdycostsuppinstnm/>
  141. <itemnm/>
  142. <comnm/>
  143. <allidxcase/>
  144. <stdystartdd/>
  145. <stdyenddd/>
  146. <appdd/>
  147. <testeeaprvflag/>
  148. <relprstdata1/>
  149. <relprstdata2/>
  150. <relprstdata3/>
  151. <relprstdata4/>
  152. <relprstdata5/>
  153. <prstdataetc5/>
  154. <resercd/>
  155. <reqinstcd/>
  156. <concernrela/>
  157. <verplan/>
  158. <veraprv/>
  159. <vercrf/>
  160. <verib/>
  161. <consorflag/>
  162. <deptcd/>
  163. <reqcnfmyn/>
  164. <inqrgoal/>
  165. <trgtsick/>
  166. <inqrmthd/>
  167. <stdykind1/>
  168. <etctrgt1/>
  169. <stdykind2/>
  170. <etctrgt2/>
  171. <stdykind3/>
  172. <manynation/>
  173. <manyinst/>
  174. <cmcinstcnt/>
  175. <stdykind4/>
  176. <etctrgt4/>
  177. <stdytrgt/>
  178. <etctrgt/>
  179. <agenestdyflag/>
  180. <cellcurestdyyn/>
  181. <testeestat/>
  182. <fratesteeflag/>
  183. <stdyspcl1/>
  184. <stdyspcl2/>
  185. <stdyspcl3/>
  186. <stdyspcl4/>
  187. <stdyspcl5/>
  188. <stdyspcl6/>
  189. <stdyspcl7/>
  190. <examadjthosp/>
  191. <examadjtprf/>
  192. <allexamresppos/>
  193. <allexamrespnm/>
  194. <foodscrtgovpassyn/>
  195. <prmisnnatiyn/>
  196. <intermarketyn/>
  197. <judgkindcode/>
  198. <reqinstchrgid/>
  199. <reqinstchrgnm/>
  200. <croinstnm/>
  201. <reqinstjobposnm/>
  202. <firstjudgdd/>
  203. <prmisscopuseyn/>
  204. <natiinnridxcase/>
  205. </basesubjinfo>
  206. </basesubjinfo>
  207. <basehospinfo>
  208. <basehospinfo>
  209. <subjid/>
  210. <instcd/>
  211. <subjno/>
  212. <condd/>
  213. <reqyn/>
  214. <reqdt/>
  215. <totstdycost/>
  216. <direccost/>
  217. <stdystartdd/>
  218. <stdyenddd/>
  219. <crccaprvyn/>
  220. <crccaprvdd/>
  221. <rtnresn/>
  222. <roothospidxcasecnt/>
  223. <depomthd/>
  224. <respstdyempno/>
  225. <respstdycnfmsubjyn/>
  226. <respstdycnfmexecyn/>
  227. <respstdycnfmselfyn/>
  228. <mdlreptdd/>
  229. <subjenddd/>
  230. <subjdiscontinudd/>
  231. <subjdiscontinuresn/>
  232. <subrecuyn/>
  233. <subrecuenddd/>
  234. <reqjudgcostdepoyn/>
  235. <reqjudgcostdepodd/>
  236. <irbjudgcostamt/>
  237. <irbjudgcostdepoyn/>
  238. <irbjudgcostdepodd/>
  239. <irbjudgflag/>
  240. <conacptyn/>
  241. <conacptdd/>
  242. <conyn/>
  243. <concondd/>
  244. <examdrugwinyn/>
  245. <examdrugwindd/>
  246. <stdycostcalcyn/>
  247. <captyn/>
  248. <captdd/>
  249. <crcccnfm1/>
  250. <crcccnfm2/>
  251. <crcccnfm3/>
  252. <irbjudgyn/>
  253. <subjattfile/>
  254. <judgcnvtyn/>
  255. <mdlschedd/>
  256. <endschedd/>
  257. <rsltschedd/>
  258. <contschedd/>
  259. <croinstcd/>
  260. </basehospinfo>
  261. </basehospinfo>
  262. <data>
  263. <a/>
  264. </data>
  265. <reptdetl>
  266. <item>
  267. <instcd/>
  268. <subjid/>
  269. <subjno/>
  270. <reptseqno/>
  271. <judgappdg/>
  272. <reptkind/>
  273. <fstplanjudgdd/>
  274. <acptyn/>
  275. <acptdd/>
  276. <subjnm/>
  277. <roothospidxcasecnt/>
  278. <prcsidxcase/>
  279. <cnts1/>
  280. <cnts2/>
  281. <cnts3/>
  282. <cnts4/>
  283. <cnts5/>
  284. <cnts6/>
  285. <cnts7/>
  286. <cnts8/>
  287. <cnts9/>
  288. <cnts10/>
  289. <cnts11/>
  290. <cnts12/>
  291. <cnts13/>
  292. <acptdd/>
  293. </item>
  294. </reptdetl>
  295. </rex>
  296. <temp/>
  297. </root>
  298. </instance>
  299. <submission id="TRIRB00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/hosp"/>
  300. <submission id="TRIRB00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/reptdetl"/>
  301. <submission id="TXIRB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
  302. <submission id="TRIRS00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/view"/>
  303. <submission id="TXIRB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
  304. <submission id="TRIRB00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/reptlist"/>
  305. <submission id="TRIRS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/basesubjinfo"/>
  306. <submission id="TRIRS00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/basehospinfo"/>
  307. <submission id="TRIRS00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  308. <submission id="TXIRS00199" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  309. <submission id="TXIRB00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
  310. <submission id="TXIRB00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
  311. <submission id="TXIRS00198" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  312. </model>
  313. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  314. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  315. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  316. <script type="javascript">
  317. <![CDATA[
  318. function onlyNumber(){
  319. if((event.keyCode<48)||(event.keyCode>57))
  320. return false;//event.returnValue = false;
  321. }
  322. ]]>
  323. </script>
  324. <script type="javascript" ev:event="xforms-ready">
  325. <![CDATA[
  326. //권한이 없는경우 보고서 상단의 파일첨부,첨부삭제,임시저장,보고서접수 버튼 숨기기
  327. if ( opener.javascript.getParameter("actionyn") == "N" ) {
  328. ipt_filenm.visible = true;
  329. btn_fileatt.visible = false;
  330. btn_filedel.visible = false;
  331. btn_tmpsave.visible = false;
  332. btn_reptacpt.visible = false;
  333. btn_filedown.visible=true;
  334. button1.visible = false;
  335. }
  336. if ( parent.model.getValue("/root/send/report") == "Y" ) {
  337. ipt_filenm.visible = true;
  338. btn_fileatt.visible = false;
  339. btn_filedel.visible = false;
  340. btn_tmpsave.visible = false;
  341. btn_reptacpt.visible = false;
  342. btn_filedown.visible=true;
  343. button1.visible = false;
  344. }
  345. submit("TRIRB00102"); //병원 조회
  346. var consorflag = parent.model.getValue("/root/send/searchitem/consorflag");
  347. if ( consorflag == "Y") {
  348. model.setValue("/root/send/searchitem/consorflag", "Y");
  349. }
  350. model.setValue("/root/send/searchitem/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  351. model.setValue("/root/send/searchitem/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  352. model.setValue("/root/send/searchitem/reptseqno", parent.model.getValue("/root/send/searchitem2/reptseqno"));
  353. model.setValue("/root/send/searchitem/reptkind", parent.model.getValue("/root/send/searchitem2/reptkind"));
  354. //화면 오픈시 Y일 경우만 자동조회하고 Y가 아닐 경우는 빈 양식 오픈후 필수값만 세팅해준다.
  355. if ( parent.model.getValue("/root/send/searchitem2/autosrchyn") == "Y" ) {
  356. submit("TRIRB00104"); //지속심의 내용 조회
  357. }
  358. model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  359. model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  360. model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
  361. model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
  362. model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
  363. model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
  364. model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
  365. model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
  366. model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
  367. model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
  368. model.makeValue("/root/main/reptdetl/item/resercnfmyn", parent.model.getValue("/root/send/searchitem2/resercnfmyn"));
  369. model.setValue("/root/send/searchitem/croinstcd", parent.model.getValue("/root/send/searchitem2/croinstcd"));
  370. model.refresh();
  371. ]]>
  372. </script>
  373. </xhtml:head>
  374. <xhtml:body guideline="2,527;1,1194;">
  375. <input id="ipt_judgappdg" ref="/root/main/reptdetl/item/judgappdg" class="input_default" disabled="true" editable="false" style="left:107px; top:33px; width:100px; height:19px; "/>
  376. <caption id="caption82" class="cell_1" style="left:5px; top:82px; width:30px; height:440px; text-align:center; vertical-align:middle; ">
  377. <![CDATA[지
  378. 용]]>
  379. </caption>
  380. <caption id="caption83" class="cell_1" style="left:905px; top:31px; width:115px; height:23px; text-align:center; vertical-align:middle; ">목표례수</caption>
  381. <caption id="caption21" class="cell_1" style="left:5px; top:31px; width:100px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
  382. <caption id="caption23" class="cell_1" style="left:210px; top:31px; width:180px; height:23px; text-align:center; vertical-align:middle; ">최초임상시험 계획서 심사일자</caption>
  383. <input id="ipt_subjnm" ref="/root/main/reptdetl/item/subjnm" class="input_default" disabled="true" editable="false" style="left:210px; top:58px; width:692px; height:19px; "/>
  384. <select1 id="cmb_instcd" ref="/root/main/reptdetl/item/instcd" class="combo_search" disabled="true" appearance="minimal" style="left:597px; top:33px; width:100px; height:19px; ">
  385. <choices>
  386. <itemset nodeset="/root/init/hosp/ret">
  387. <label ref="hospnm"/>
  388. <value ref="instcd"/>
  389. </itemset>
  390. </choices>
  391. </select1>
  392. <caption id="caption24" class="cell_1" style="left:495px; top:31px; width:100px; height:23px; text-align:center; vertical-align:middle; ">선택된병원</caption>
  393. <input id="ipt_subjno" ref="/root/main/reptdetl/item/subjno" class="input_default" disabled="true" editable="false" style="left:107px; top:58px; width:100px; height:19px; "/>
  394. <select1 id="cmb_acptyn" ref="/root/main/reptdetl/item/acptyn" class="combo_search" disabled="true" appearance="minimal" style="left:802px; top:33px; width:100px; height:19px; ">
  395. <choices>
  396. <item>
  397. <label>접수</label>
  398. <value>Y</value>
  399. </item>
  400. <item>
  401. <label>미접수</label>
  402. <value>N</value>
  403. </item>
  404. </choices>
  405. </select1>
  406. <caption id="caption25" class="cell_1" style="left:700px; top:31px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접수여부</caption>
  407. <caption id="caption26" class="cell_1" style="left:5px; top:56px; width:100px; height:23px; text-align:center; vertical-align:middle; ">연구과제명</caption>
  408. <input id="ipt_roothospidxcasecnt" ref="/root/main/reptdetl/item/roothospidxcasecnt" class="input_default" disabled="true" editable="false" style="left:1022px; top:33px; width:90px; height:19px; "/>
  409. <button id="button9" class="btn2_letter8" _auth="P" style="left:994px; top:5px; width:108px; height:19px; ">
  410. <caption>지속심의서 출력</caption>
  411. <script type="javascript" ev:event="DOMActivate">
  412. <![CDATA[
  413. if(submit("TRIRS00101")) {
  414. submit("TRIRS00102");
  415. submit("TRIRS00103");
  416. model.copyNode("/root/rex/reptdetl", "root/main/reptdetl");
  417. var cnts2 = model.getValue("/root/rex/reptdetl/item/cnts2");
  418. var cnts4 = model.getValue("/root/rex/reptdetl/item/cnts4");
  419. var cnts5 = model.getValue("/root/rex/reptdetl/item/cnts5");
  420. var cnts6 = model.getValue("/root/rex/reptdetl/item/cnts6");
  421. var cnts7 = model.getValue("/root/rex/reptdetl/item/cnts7");
  422. var cnts8 = model.getValue("/root/rex/reptdetl/item/cnts8");
  423. var cnts9 = model.getValue("/root/rex/reptdetl/item/cnts9");
  424. var cnts10 = model.getValue("/root/rex/reptdetl/item/cnts10");
  425. var cnts11 = model.getValue("/root/rex/reptdetl/item/cnts11");
  426. var cnts12 = model.getValue("/root/rex/reptdetl/item/cnts12");
  427. var cnts13 = model.getValue("/root/rex/reptdetl/item/cnts13");
  428. var cnts21 = model.getValue("/root/rex/reptdetl/item/cnts21");
  429. var cnts22 = model.getValue("/root/rex/reptdetl/item/cnts22");
  430. var cnts23 = model.getValue("/root/rex/reptdetl/item/cnts23");
  431. var cnts24 = model.getValue("/root/rex/reptdetl/item/cnts24");
  432. var cnts25 = model.getValue("/root/rex/reptdetl/item/cnts25");
  433. var j = 0;
  434. var p = 0;
  435. var k = 0;
  436. if ( cnts2.indexOf("\n",p ) >=0 ){
  437. while ( (j = cnts2.indexOf("\n",p ))>=0){
  438. var sdata = cnts2.substring( p, j );
  439. p = j + 1;
  440. k = k + 1;
  441. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", sdata.replace("\n","") );
  442. }
  443. if ( p<cnts2.length){ // 제일 마지막 엔터 뒤 문장 처리
  444. var sdata = cnts2.substring( p, cnts2.length );
  445. k = k + 1;
  446. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", sdata.replace("\n","") );
  447. }
  448. } else { //엔터없을때 처리
  449. k = k + 1;
  450. model.makeNode("/root/rex/reptdetl");
  451. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", cnts2);
  452. }
  453. if ( cnts4.indexOf("\n",p ) >=0 ){
  454. while ( (j = cnts4.indexOf("\n",p ))>=0){
  455. var sdata = cnts4.substring( p, j );
  456. p = j + 1;
  457. k = k + 1;
  458. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", sdata.replace("\n","") );
  459. }
  460. if ( p<cnts4.length){ // 제일 마지막 엔터 뒤 문장 처리
  461. var sdata = cnts4.substring( p, cnts4.length );
  462. k = k + 1;
  463. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", sdata.replace("\n","") );
  464. }
  465. } else { //엔터없을때 처리
  466. k = k + 1;
  467. model.makeNode("/root/rex/reptdetl");
  468. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", cnts4);
  469. }
  470. if ( cnts5.indexOf("\n",p ) >=0 ){
  471. while ( (j = cnts5.indexOf("\n",p ))>=0){
  472. var sdata = cnts5.substring( p, j );
  473. p = j + 1;
  474. k = k + 1;
  475. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", sdata.replace("\n","") );
  476. }
  477. if ( p<cnts5.length){ // 제일 마지막 엔터 뒤 문장 처리
  478. var sdata = cnts5.substring( p, cnts5.length );
  479. k = k + 1;
  480. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", sdata.replace("\n","") );
  481. }
  482. } else { //엔터없을때 처리
  483. k = k + 1;
  484. model.makeNode("/root/rex/reptdetl");
  485. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", cnts5);
  486. }
  487. if ( cnts6.indexOf("\n",p ) >=0 ){
  488. while ( (j = cnts6.indexOf("\n",p ))>=0){
  489. var sdata = cnts6.substring( p, j );
  490. p = j + 1;
  491. k = k + 1;
  492. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", sdata.replace("\n","") );
  493. }
  494. if ( p<cnts6.length){ // 제일 마지막 엔터 뒤 문장 처리
  495. var sdata = cnts6.substring( p, cnts6.length );
  496. k = k + 1;
  497. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", sdata.replace("\n","") );
  498. }
  499. } else { //엔터없을때 처리
  500. k = k + 1;
  501. model.makeNode("/root/rex/reptdetl");
  502. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", cnts6);
  503. }
  504. if ( cnts7.indexOf("\n",p ) >=0 ){
  505. while ( (j = cnts7.indexOf("\n",p ))>=0){
  506. var sdata = cnts7.substring( p, j );
  507. p = j + 1;
  508. k = k + 1;
  509. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", sdata.replace("\n","") );
  510. }
  511. if ( p<cnts7.length){ // 제일 마지막 엔터 뒤 문장 처리
  512. var sdata = cnts7.substring( p, cnts7.length );
  513. k = k + 1;
  514. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", sdata.replace("\n","") );
  515. }
  516. } else { //엔터없을때 처리
  517. k = k + 1;
  518. model.makeNode("/root/rex/reptdetl");
  519. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", cnts7);
  520. }
  521. if ( cnts8.indexOf("\n",p ) >=0 ){
  522. while ( (j = cnts8.indexOf("\n",p ))>=0){
  523. var sdata = cnts8.substring( p, j );
  524. p = j + 1;
  525. k = k + 1;
  526. model.makeValue("/root/rex/reptdetl/item[1]/cnts8info["+k+"]/cnts8", sdata.replace("\n","") );
  527. }
  528. if ( p<cnts8.length){ // 제일 마지막 엔터 뒤 문장 처리
  529. var sdata = cnts8.substring( p, cnts8.length );
  530. k = k + 1;
  531. model.makeValue("/root/rex/reptdetl/item[1]/cnts8info["+k+"]/cnts8", sdata.replace("\n","") );
  532. }
  533. } else { //엔터없을때 처리
  534. k = k + 1;
  535. model.makeNode("/root/rex/reptdetl");
  536. model.makeValue("/root/rex/reptdetl/item[1]/cnts8info["+k+"]/cnts8", cnts8);
  537. }
  538. if ( cnts9.indexOf("\n",p ) >=0 ){
  539. while ( (j = cnts9.indexOf("\n",p ))>=0){
  540. var sdata = cnts9.substring( p, j );
  541. p = j + 1;
  542. k = k + 1;
  543. model.makeValue("/root/rex/reptdetl/item[1]/cnts9info["+k+"]/cnts9", sdata.replace("\n","") );
  544. }
  545. if ( p<cnts9.length){ // 제일 마지막 엔터 뒤 문장 처리
  546. var sdata = cnts9.substring( p, cnts9.length );
  547. k = k + 1;
  548. model.makeValue("/root/rex/reptdetl/item[1]/cnts9info["+k+"]/cnts9", sdata.replace("\n","") );
  549. }
  550. } else { //엔터없을때 처리
  551. k = k + 1;
  552. model.makeNode("/root/rex/reptdetl");
  553. model.makeValue("/root/rex/reptdetl/item[1]/cnts9info["+k+"]/cnts9", cnts9);
  554. }
  555. if ( cnts10.indexOf("\n",p ) >=0 ){
  556. while ( (j = cnts10.indexOf("\n",p ))>=0){
  557. var sdata = cnts10.substring( p, j );
  558. p = j + 1;
  559. k = k + 1;
  560. model.makeValue("/root/rex/reptdetl/item[1]/cnts10info["+k+"]/cnts10", sdata.replace("\n","") );
  561. }
  562. if ( p<cnts10.length){ // 제일 마지막 엔터 뒤 문장 처리
  563. var sdata = cnts10.substring( p, cnts10.length );
  564. k = k + 1;
  565. model.makeValue("/root/rex/reptdetl/item[1]/cnts10info["+k+"]/cnts10", sdata.replace("\n","") );
  566. }
  567. } else { //엔터없을때 처리
  568. k = k + 1;
  569. model.makeNode("/root/rex/reptdetl");
  570. model.makeValue("/root/rex/reptdetl/item[1]/cnts10info["+k+"]/cnts10", cnts10);
  571. }
  572. if ( cnts11.indexOf("\n",p ) >=0 ){
  573. while ( (j = cnts11.indexOf("\n",p ))>=0){
  574. var sdata = cnts11.substring( p, j );
  575. p = j + 1;
  576. k = k + 1;
  577. model.makeValue("/root/rex/reptdetl/item[1]/cnts11info["+k+"]/cnts11", sdata.replace("\n","") );
  578. }
  579. if ( p<cnts11.length){ // 제일 마지막 엔터 뒤 문장 처리
  580. var sdata = cnts11.substring( p, cnts11.length );
  581. k = k + 1;
  582. model.makeValue("/root/rex/reptdetl/item[1]/cnts11info["+k+"]/cnts11", sdata.replace("\n","") );
  583. }
  584. } else { //엔터없을때 처리
  585. k = k + 1;
  586. model.makeNode("/root/rex/reptdetl");
  587. model.makeValue("/root/rex/reptdetl/item[1]/cnts11info["+k+"]/cnts11", cnts11);
  588. }
  589. if ( cnts12.indexOf("\n",p ) >=0 ){
  590. while ( (j = cnts12.indexOf("\n",p ))>=0){
  591. var sdata = cnts12.substring( p, j );
  592. p = j + 1;
  593. k = k + 1;
  594. model.makeValue("/root/rex/reptdetl/item[1]/cnts12info["+k+"]/cnts12", sdata.replace("\n","") );
  595. }
  596. if ( p<cnts12.length){ // 제일 마지막 엔터 뒤 문장 처리
  597. var sdata = cnts12.substring( p, cnts12.length );
  598. k = k + 1;
  599. model.makeValue("/root/rex/reptdetl/item[1]/cnts12info["+k+"]/cnts12", sdata.replace("\n","") );
  600. }
  601. } else { //엔터없을때 처리
  602. k = k + 1;
  603. model.makeNode("/root/rex/reptdetl");
  604. model.makeValue("/root/rex/reptdetl/item[1]/cnts12info["+k+"]/cnts12", cnts12);
  605. }
  606. if ( cnts13.indexOf("\n",p ) >=0 ){
  607. while ( (j = cnts13.indexOf("\n",p ))>=0){
  608. var sdata = cnts13.substring( p, j );
  609. p = j + 1;
  610. k = k + 1;
  611. model.makeValue("/root/rex/reptdetl/item[1]/cnts13info["+k+"]/cnts13", sdata.replace("\n","") );
  612. }
  613. if ( p<cnts13.length){ // 제일 마지막 엔터 뒤 문장 처리
  614. var sdata = cnts13.substring( p, cnts13.length );
  615. k = k + 1;
  616. model.makeValue("/root/rex/reptdetl/item[1]/cnts13info["+k+"]/cnts13", sdata.replace("\n","") );
  617. }
  618. } else { //엔터없을때 처리
  619. k = k + 1;
  620. model.makeNode("/root/rex/reptdetl");
  621. model.makeValue("/root/rex/reptdetl/item[1]/cnts13info["+k+"]/cnts13", cnts13);
  622. }
  623. if ( cnts21.indexOf("\n",p ) >=0 ){
  624. while ( (j = cnts21.indexOf("\n",p ))>=0){
  625. var sdata = cnts21.substring( p, j );
  626. p = j + 1;
  627. k = k + 1;
  628. model.makeValue("/root/rex/reptdetl/item[1]/cnts21info["+k+"]/cnts21", sdata.replace("\n","") );
  629. }
  630. if ( p<cnts21.length){ // 제일 마지막 엔터 뒤 문장 처리
  631. var sdata = cnts21.substring( p, cnts21.length );
  632. k = k + 1;
  633. model.makeValue("/root/rex/reptdetl/item[1]/cnts21info["+k+"]/cnts21", sdata.replace("\n","") );
  634. }
  635. } else { //엔터없을때 처리
  636. k = k + 1;
  637. model.makeNode("/root/rex/reptdetl");
  638. model.makeValue("/root/rex/reptdetl/item[1]/cnts21info["+k+"]/cnts21", cnts21);
  639. }
  640. if ( cnts22.indexOf("\n",p ) >=0 ){
  641. while ( (j = cnts22.indexOf("\n",p ))>=0){
  642. var sdata = cnts22.substring( p, j );
  643. p = j + 1;
  644. k = k + 1;
  645. model.makeValue("/root/rex/reptdetl/item[1]/cnts22info["+k+"]/cnts22", sdata.replace("\n","") );
  646. }
  647. if ( p<cnts22.length){ // 제일 마지막 엔터 뒤 문장 처리
  648. var sdata = cnts22.substring( p, cnts22.length );
  649. k = k + 1;
  650. model.makeValue("/root/rex/reptdetl/item[1]/cnts22info["+k+"]/cnts22", sdata.replace("\n","") );
  651. }
  652. } else { //엔터없을때 처리
  653. k = k + 1;
  654. model.makeNode("/root/rex/reptdetl");
  655. model.makeValue("/root/rex/reptdetl/item[1]/cnts22info["+k+"]/cnts22", cnts22);
  656. }
  657. if ( cnts23.indexOf("\n",p ) >=0 ){
  658. while ( (j = cnts23.indexOf("\n",p ))>=0){
  659. var sdata = cnts23.substring( p, j );
  660. p = j + 1;
  661. k = k + 1;
  662. model.makeValue("/root/rex/reptdetl/item[1]/cnts23info["+k+"]/cnts23", sdata.replace("\n","") );
  663. }
  664. if ( p<cnts23.length){ // 제일 마지막 엔터 뒤 문장 처리
  665. var sdata = cnts23.substring( p, cnts23.length );
  666. k = k + 1;
  667. model.makeValue("/root/rex/reptdetl/item[1]/cnts23info["+k+"]/cnts23", sdata.replace("\n","") );
  668. }
  669. } else { //엔터없을때 처리
  670. k = k + 1;
  671. model.makeNode("/root/rex/reptdetl");
  672. model.makeValue("/root/rex/reptdetl/item[1]/cnts23info["+k+"]/cnts23", cnts23);
  673. }
  674. if ( cnts24.indexOf("\n",p ) >=0 ){
  675. while ( (j = cnts24.indexOf("\n",p ))>=0){
  676. var sdata = cnts24.substring( p, j );
  677. p = j + 1;
  678. k = k + 1;
  679. model.makeValue("/root/rex/reptdetl/item[1]/cnts24info["+k+"]/cnts24", sdata.replace("\n","") );
  680. }
  681. if ( p<cnts24.length){ // 제일 마지막 엔터 뒤 문장 처리
  682. var sdata = cnts24.substring( p, cnts24.length );
  683. k = k + 1;
  684. model.makeValue("/root/rex/reptdetl/item[1]/cnts24info["+k+"]/cnts24", sdata.replace("\n","") );
  685. }
  686. } else { //엔터없을때 처리
  687. k = k + 1;
  688. model.makeNode("/root/rex/reptdetl");
  689. model.makeValue("/root/rex/reptdetl/item[1]/cnts24info["+k+"]/cnts24", cnts24);
  690. }
  691. if ( cnts25.indexOf("\n",p ) >=0 ){
  692. while ( (j = cnts25.indexOf("\n",p ))>=0){
  693. var sdata = cnts25.substring( p, j );
  694. p = j + 1;
  695. k = k + 1;
  696. model.makeValue("/root/rex/reptdetl/item[1]/cnts25info["+k+"]/cnts25", sdata.replace("\n","") );
  697. }
  698. if ( p<cnts25.length){ // 제일 마지막 엔터 뒤 문장 처리
  699. var sdata = cnts25.substring( p, cnts25.length );
  700. k = k + 1;
  701. model.makeValue("/root/rex/reptdetl/item[1]/cnts25info["+k+"]/cnts25", sdata.replace("\n","") );
  702. }
  703. } else { //엔터없을때 처리
  704. k = k + 1;
  705. model.makeNode("/root/rex/reptdetl");
  706. model.makeValue("/root/rex/reptdetl/item[1]/cnts25info["+k+"]/cnts25", cnts25);
  707. }
  708. exeReportPreview("PSIRB00400", "XMLSTR" , "/root/rex");
  709. }
  710. ]]>
  711. </script>
  712. </button>
  713. <caption id="caption1" class="cell_1" style="left:905px; top:56px; width:115px; height:23px; text-align:center; vertical-align:middle; ">진행례수</caption>
  714. <input id="ipt_prcsidxcase" ref="/root/main/reptdetl/item/prcsidxcase" class="input_default" style="left:1022px; top:58px; width:90px; height:19px; "/>
  715. <caption id="caption2" class="cell_1" style="left:38px; top:135px; width:135px; height:23px; text-align:center; vertical-align:middle; ">중도탈락례수</caption>
  716. <input id="ipt_cnts1" ref="/root/main/reptdetl/item/cnts1" class="input_default" style="left:175px; top:137px; width:100px; height:19px; "/>
  717. <caption id="caption3" class="cell_1" style="left:278px; top:135px; width:97px; height:23px; text-align:center; vertical-align:middle; ">중도 탈락 사유</caption>
  718. <input id="ipt_cnts2" ref="/root/main/reptdetl/item/cnts2" class="input_default" style="left:378px; top:136px; width:734px; height:19px; "/>
  719. <caption id="caption4" class="cell_1" style="left:38px; top:160px; width:135px; height:24px; text-align:center; vertical-align:middle; ">발생한 원내SAE 수</caption>
  720. <input id="ipt_cnts3" ref="/root/main/reptdetl/item/cnts3" class="input_default" style="left:175px; top:162px; width:100px; height:19px; "/>
  721. <caption id="caption5" class="cell_1" style="left:278px; top:160px; width:97px; height:23px; text-align:center; vertical-align:middle; ">원내 SAE 사유</caption>
  722. <input id="ipt_cnts4" ref="/root/main/reptdetl/item/cnts4" class="input_default" style="left:378px; top:161px; width:734px; height:19px; "/>
  723. <caption id="caption6" class="cell_1" style="left:576px; top:186px; width:267px; height:35px; text-align:center; vertical-align:middle; ">계획서 위반 내용</caption>
  724. <caption id="caption9" class="cell_1" style="left:845px; top:186px; width:267px; height:35px; text-align:center; vertical-align:middle; ">계획서 예외 적용 여부</caption>
  725. <caption id="caption10" class="cell_1" style="left:576px; top:472px; width:267px; height:50px; text-align:center; vertical-align:middle; ">임상연구 진행 중 발생된 기타 문제점</caption>
  726. <textarea id="tar_cnts5" ref="/root/main/reptdetl/item/cnts5" style="left:576px; top:223px; width:267px; height:50px; "/>
  727. <textarea id="tar_cnts6" ref="/root/main/reptdetl/item/cnts6" style="left:845px; top:223px; width:267px; height:50px; "/>
  728. <textarea id="tar_cnts7" ref="/root/main/reptdetl/item/cnts7" style="left:845px; top:472px; width:267px; height:50px; "/>
  729. <line id="line13" class="line_3" style="x1:5px; y1:524px; x2:1113px; y2:524px; "/>
  730. <input id="ipt_fstplanjudgdd" ref="/root/main/reptdetl/item/fstplanjudgdd" class="input_search" disabled="true" inputtype="date" style="left:392px; top:33px; width:100px; height:19px; "/>
  731. <line id="line2" class="line_1" style="x1:5px; y1:26px; x2:1112px; y2:26px; "/>
  732. <button id="btn_filedel" class="btn5_letter4" _auth="X" style="left:734px; top:5px; width:64px; height:19px; ">
  733. <caption>첨부삭제</caption>
  734. <script type="javascript" ev:event="DOMActivate">
  735. <![CDATA[
  736. //접수 후 수정불가
  737. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  738. messageBox("이미 접수되어 저장 또는 수정", "E001");
  739. return;
  740. } else {
  741. if (submit("TXIRS00198")) {
  742. messageBox("첨부파일이 삭제되었습니다.","I999");
  743. model.refresh();
  744. }
  745. }
  746. if ( model.getValue("/root/hidden/ret/reptseqno") != '' ) {
  747. submit("TRIRB00104"); //지속심의 내용 조회
  748. }
  749. ]]>
  750. </script>
  751. </button>
  752. <input id="ipt_filenm" ref="/root/main/reptdetl/item/attfile" class="input_default" style="left:460px; top:5px; width:200px; height:19px; "/>
  753. <button id="btn_fileatt" class="btn2_letter4" _auth="X" style="left:662px; top:5px; width:64px; height:19px; ">
  754. <caption>파일첨부</caption>
  755. <script type="javascript" ev:event="DOMActivate">
  756. <![CDATA[
  757. if ( model.getValue("/root/main/reptdetl/item/acptyn") == '' ) {
  758. messageBox("임시저장 후 첨부파일을 올리세요", "I");
  759. return;
  760. }
  761. var maxsize = upload1.attribute("filesize");
  762. files = window.fileDialog("open", "|", true);
  763. filelist = files.split("|");
  764. for(var i = 0 ; i < filelist.length ; i++ ) {
  765. grd_attach.addRow(false);
  766. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  767. if (!checkFileSize(upload1)){
  768. grd_attach.removeItem();
  769. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  770. return;
  771. }
  772. }
  773. if ( filelist[0] != "") {
  774. if (submit("TXIRS00199")) {
  775. messageBox("Upload가 성공적으로 이루어졌습니다.","I999");
  776. model.removeNodeset("/root/send/attach");
  777. parent.model.setValue("/root/temp/ivieweryn", "N"); //중간보고서 iviewer 호출 여부 = N
  778. parent.btn_report8.selected = true;
  779. parent.btn_report8.dispatch("DOMActivate");
  780. model.refresh();
  781. }
  782. }
  783. submit("TRIRB00104"); //지속심의 내용 조회
  784. model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  785. model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  786. model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
  787. model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
  788. model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
  789. model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
  790. model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
  791. model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
  792. model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
  793. model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
  794. model.refresh();
  795. ]]>
  796. </script>
  797. </button>
  798. <button id="btn_tmpsave" class="btn2_letter4" _auth="X" style="left:802px; top:5px; width:64px; height:19px; ">
  799. <caption>임시저장</caption>
  800. <script type="javascript" ev:event="DOMActivate">
  801. <![CDATA[
  802. //접수 후 수정불가
  803. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  804. messageBox("이미 접수되어 저장 또는 수정", "E001");
  805. return;
  806. }
  807. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  808. if ( reptseqno != '') {
  809. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  810. }
  811. model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
  812. model.setValue("/root/send/savedata/reptkind", "8"); //보고서종류=지속심의서(8)
  813. model.setValue("/root/send/savedata/acptyn", "N"); //접수여부=미접수(N)
  814. model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
  815. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  816. var instcd = model.getValue("/root/send/savedata/instcd");
  817. if ( instcd == '' ) {
  818. messageBox("병원을 ", "C002");
  819. }
  820. else {
  821. submit("TXIRB00102");
  822. }
  823. } else {
  824. submit("TXIRB00101");
  825. }
  826. model.setValue("/root/main/reptdetl/item/acptyn", "N"); //접수여부를 미접수로 보여줌.
  827. model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
  828. model.refresh();
  829. parent.model.setValue("/root/temp/ivieweryn", "N"); //지속심의서 iviewer 호출 여부 = N
  830. parent.btn_report8.selected = true;
  831. parent.btn_report8.dispatch("DOMActivate");
  832. model.removeNodeset("/root/send/savedata");
  833. model.makeNode("/root/send/savedata");
  834. model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
  835. ]]>
  836. </script>
  837. </button>
  838. <button id="btn_reptacpt" class="btn2_letter5" _auth="X" style="left:917px; top:5px; width:75px; height:19px; ">
  839. <caption>보고서접수</caption>
  840. <script type="javascript" ev:event="DOMActivate">
  841. <![CDATA[
  842. //접수 후 수정불가
  843. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  844. messageBox("이미 접수되어 저장 또는 수정", "E001");
  845. return;
  846. }
  847. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  848. if ( reptseqno != '') {
  849. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  850. }
  851. model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
  852. model.setValue("/root/send/savedata/reptkind", "8"); //보고서종류=지속심의서(8)
  853. model.setValue("/root/send/savedata/acptyn", "Y"); //접수여부=접수(Y)
  854. model.setValue("/root/send/savedata/acptdd", getCurrentDate()); //접수일=오늘날짜
  855. model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
  856. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  857. var instcd = model.getValue("/root/send/savedata/instcd");
  858. if ( instcd == '' ) {
  859. messageBox("병원을 ", "C002");
  860. }
  861. else {
  862. submit("TXIRB00102");
  863. }
  864. } else {
  865. submit("TXIRB00101");
  866. }
  867. model.setValue("/root/main/reptdetl/item/acptyn", "Y"); //접수여부를 접수로 보여줌.
  868. model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
  869. model.refresh();
  870. parent.model.setValue("/root/temp/ivieweryn", "N"); //지속심의서 iviewer 호출 여부 = N
  871. parent.btn_report8.selected = true;
  872. parent.btn_report8.dispatch("DOMActivate");
  873. model.removeNodeset("/root/send/savedata");
  874. model.makeNode("/root/send/savedata");
  875. model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
  876. ]]>
  877. </script>
  878. </button>
  879. <caption id="caption7" class="tit_2" style="left:10px; top:10px; width:140px; height:14px; ">지속심의</caption>
  880. <caption id="caption8" class="cell_1" style="left:38px; top:276px; width:267px; height:35px; text-align:center; vertical-align:middle; ">계획서 변경 여부</caption>
  881. <textarea id="textarea1" ref="/root/main/reptdetl/item/cnts8" style="left:38px; top:313px; width:267px; height:50px; "/>
  882. <caption id="caption11" class="cell_1" style="left:307px; top:276px; width:267px; height:35px; text-align:center; vertical-align:middle; ">
  883. <![CDATA[동의획득과정의 적법성 및 동의서내용의
  884. 변경여부]]>
  885. </caption>
  886. <textarea id="textarea2" ref="/root/main/reptdetl/item/cnts9" style="left:307px; top:314px; width:267px; height:50px; "/>
  887. <textarea id="textarea3" ref="/root/main/reptdetl/item/cnts10" style="left:576px; top:314px; width:267px; height:50px; "/>
  888. <caption id="caption12" class="cell_1" style="left:576px; top:276px; width:267px; height:35px; text-align:center; vertical-align:middle; ">참여 연구자 추가 또는 탈퇴 여부</caption>
  889. <caption id="caption13" class="cell_1" style="left:845px; top:276px; width:267px; height:35px; text-align:center; vertical-align:middle; ">공동 연구기관의 추가 또는 탈퇴 여부</caption>
  890. <textarea id="textarea4" ref="/root/main/reptdetl/item/cnts11" style="left:845px; top:314px; width:267px; height:50px; "/>
  891. <caption id="caption14" class="cell_1" style="left:38px; top:366px; width:267px; height:50px; font-size:8pt; text-align:center; vertical-align:middle; ">
  892. <![CDATA[의뢰자와 새로이 이해갈등관계가 생긴 연구자
  893. 발생여부
  894. (*해당시 이해갈등 관계를 밝히는 서류첨부)]]>
  895. </caption>
  896. <textarea id="textarea5" ref="/root/main/reptdetl/item/cnts12" style="left:38px; top:418px; width:267px; height:50px; "/>
  897. <caption id="caption15" class="cell_1" style="left:307px; top:366px; width:267px; height:50px; font-size:8pt; text-align:center; vertical-align:middle; ">
  898. <![CDATA[본연구와 관련되어위험/이익평가에 영향을 줄 수
  899. 있는 새로운 정보가 문헌에 발표되거나 이 연구나
  900. 유사한 연구를 통해 도출 되었는지 여부]]>
  901. </caption>
  902. <textarea id="textarea6" ref="/root/main/reptdetl/item/cnts13" style="left:307px; top:418px; width:267px; height:50px; "/>
  903. <button id="btn_filedown" class="btn2_letter4" visibility="hidden" _auth="R" style="left:665px; top:5px; width:64px; height:19px; ">
  904. <caption>내려받기</caption>
  905. <script type="javascript" ev:event="DOMActivate">
  906. <![CDATA[
  907. var s = model.getValue("/root/main/reptdetl/item/attfile");
  908. var ss = s.split("/");
  909. var filepath = "";
  910. var filenm = "";
  911. for ( var i = 0; i < ss.length; i ++){
  912. if ( i < ss.length -2 ) {
  913. filepath = filepath+ss[i] +"/";
  914. } else if ( i < ss.length -1 ) {
  915. filepath = filepath+ss[i] ;
  916. } else {
  917. filenm = ss[i];
  918. }
  919. }
  920. var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
  921. if (localfile != "") {
  922. model.download(getActionURL("TRIRS00105")+"&filepath="+filepath,localfile);
  923. var rtn = messageBox("파일을", "Q004");
  924. if( rtn == 6 ) {
  925. window.exec(localfile);
  926. }
  927. }
  928. ]]>
  929. </script>
  930. </button>
  931. <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="52428800" validate="true" style="left:920px; top:10px; width:100px; height:20px; "/>
  932. <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="파일경로^" colwidth="644" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:315px; top:50px; width:665px; height:150px; ">
  933. <col ref="file"/>
  934. </datagrid>
  935. <button id="button1" class="btn5_letter2" _auth="X" style="left:870px; top:5px; width:42px; height:19px; ">
  936. <caption>삭제</caption>
  937. <script type="javascript" ev:event="DOMActivate">
  938. <![CDATA[
  939. //접수 후 수정불가
  940. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  941. messageBox("이미 접수되어 저장 또는 수정", "E001");
  942. return;
  943. }
  944. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  945. if ( reptseqno != '') {
  946. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  947. }
  948. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  949. submit("TXIRB00104");
  950. } else {
  951. submit("TXIRB00103");
  952. }
  953. model.refresh();
  954. parent.model.setValue("/root/temp/ivieweryn", "N"); //지속심의서 iviewer 호출 여부 = N
  955. parent.btn_report8.selected = true;
  956. parent.btn_report8.dispatch("DOMActivate");
  957. ]]>
  958. </script>
  959. </button>
  960. <caption id="caption16" class="cell_1" style="left:38px; top:82px; width:135px; height:25px; text-align:center; vertical-align:middle; ">현재연구진행상태</caption>
  961. <select1 id="cmb_research" ref="/root/main/reptdetl/item/prestdystate" class="combo_search" appearance="minimal" style="left:175px; top:85px; width:522px; height:19px; ">
  962. <choices>
  963. <item>
  964. <label>피험자 등록 및 연구 관련 절차 진행중</label>
  965. <value>1</value>
  966. </item>
  967. <item>
  968. <label>피험자 등록은 종료되었으며 기등록된 피험자의 연구 관련 절차 진행중</label>
  969. <value>2</value>
  970. </item>
  971. <item>
  972. <label>모든 피험자의 연구 관련 절차가 종료되었으며 연구 정보 수집중</label>
  973. <value>3</value>
  974. </item>
  975. <item>
  976. <label>피험자의 개인 정보 수집 완료</label>
  977. <value>4</value>
  978. </item>
  979. </choices>
  980. </select1>
  981. <caption id="caption17" class="cell_1" style="left:700px; top:82px; width:115px; height:28px; text-align:center; vertical-align:middle; ">
  982. <![CDATA[연구개시 시점부터
  983. 등록된 피험자수]]>
  984. </caption>
  985. <input id="input1" ref="/root/main/reptdetl/item/subtesteecnt1" class="input_default" maxlength="10" format="9999999999" ime-mode="disabled" style="left:817px; top:85px; width:85px; height:19px; "/>
  986. <caption id="caption18" class="cell_1" style="left:905px; top:81px; width:115px; height:28px; text-align:center; vertical-align:middle; ">
  987. <![CDATA[지난 지속심사 이후
  988. 등록된 피험자수]]>
  989. </caption>
  990. <input id="input2" ref="/root/main/reptdetl/item/subtesteecnt2" class="input_default" maxlength="10" format="9999999999" style="left:1022px; top:85px; width:90px; height:19px; "/>
  991. <caption id="caption19" class="cell_1" style="left:38px; top:109px; width:135px; height:24px; text-align:center; vertical-align:middle; ">등록된 취약한 피험자수</caption>
  992. <caption id="caption20" class="cell_1" style="left:175px; top:109px; width:100px; height:24px; text-align:center; vertical-align:middle; ">미성년자</caption>
  993. <input id="input3" ref="/root/main/reptdetl/item/subtesteecnt3" class="input_default" maxlength="10" format="9999999999" style="left:278px; top:111px; width:95px; height:19px; "/>
  994. <caption id="caption22" class="cell_1" style="left:376px; top:109px; width:121px; height:24px; text-align:center; vertical-align:middle; ">소속학생 또는 직원</caption>
  995. <input id="input4" ref="/root/main/reptdetl/item/subtesteecnt4" class="input_default" maxlength="10" format="9999999999" style="left:500px; top:111px; width:97px; height:19px; "/>
  996. <caption id="caption27" class="cell_1" style="left:600px; top:110px; width:99px; height:23px; text-align:center; vertical-align:middle; ">인지가능 결여자</caption>
  997. <input id="input5" ref="/root/main/reptdetl/item/subtesteecnt5" class="input_default" maxlength="10" format="9999999999" style="left:701px; top:113px; width:112px; height:19px; "/>
  998. <caption id="caption28" class="cell_1" style="left:816px; top:110px; width:86px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  999. <input id="input6" ref="/root/main/reptdetl/item/subtesteecnt6" class="input_default" maxlength="10" format="9999999999" style="left:905px; top:113px; width:207px; height:19px; "/>
  1000. <caption id="caption29" class="cell_1" style="left:38px; top:186px; width:267px; height:35px; text-align:center; vertical-align:middle; ">
  1001. <![CDATA[예상가능성 여부와 관계없이 "위해/이익"을
  1002. 받은 피험자가 있는가?]]>
  1003. </caption>
  1004. <caption id="caption30" class="cell_1" style="left:307px; top:186px; width:267px; height:35px; text-align:center; vertical-align:middle; ">예상하지 못한 문제 발생 내용</caption>
  1005. <textarea id="textarea7" ref="/root/main/reptdetl/item/cnts22" style="left:307px; top:223px; width:267px; height:50px; "/>
  1006. <textarea id="textarea8" ref="/root/main/reptdetl/item/cnts21" style="left:38px; top:223px; width:267px; height:50px; "/>
  1007. <textarea id="textarea9" ref="/root/main/reptdetl/item/cnts23" style="left:576px; top:418px; width:267px; height:50px; "/>
  1008. <caption id="caption31" class="cell_1" style="left:576px; top:366px; width:267px; height:50px; text-align:center; vertical-align:middle; ">중간분석으로부터 얻어진 결과 여부</caption>
  1009. <caption id="caption32" class="cell_1" style="left:845px; top:366px; width:267px; height:50px; text-align:center; vertical-align:middle; ">
  1010. <![CDATA[연구와 관련된 피험자 안정성 정보의
  1011. 보고 여부]]>
  1012. </caption>
  1013. <textarea id="textarea10" ref="/root/main/reptdetl/item/cnts24" style="left:845px; top:418px; width:267px; height:50px; "/>
  1014. <caption id="caption33" class="cell_1" style="left:38px; top:472px; width:267px; height:50px; text-align:center; vertical-align:middle; ">
  1015. <![CDATA[해당 연구의 위험성이나 피험자에 대한
  1016. 잠재적 이익중 변경된 사항이 있는지 여부]]>
  1017. </caption>
  1018. <textarea id="textarea11" ref="/root/main/reptdetl/item/cnts25" style="left:307px; top:472px; width:267px; height:50px; "/>
  1019. </xhtml:body>
  1020. </xhtml:html>