SSIRB00500_SAE(원내).xrw 43 KB

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