123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>SAE(원외)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <reptdetl>
- <item>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <judgappdg/>
- <reptkind/>
- <fstplanjudgdd/>
- <acptyn/>
- <acptdd/>
- <reptcls/>
- <trobreactcls/>
- <cnts1/>
- <cnts2/>
- <cnts3/>
- <acptdd/>
- <attfile/>
- <screenmenu/>
- <stdykind2/>
- <rc/>
- <resercnfmyn/>
- <resercnfmdd/>
- <reptclsyn1/>
- <reptclsyn2/>
- <reptclsyn3/>
- <trobreactreptyn1/>
- <trobreactreptyn2/>
- <cnts19/>
- <subtesteeproctyn1/>
- <subtesteeproctyn2/>
- <cnts11/>
- </item>
- <test>
- <subjid/>
- <reptkind/>
- <reptseqno/>
- <testeeid/>
- <instcd/>
- <testeenm/>
- <subtesteegndr/>
- <subtesteeht/>
- <subtesteebdwt/>
- <subtesteebrthdd/>
- </test>
- </reptdetl>
- </main>
- <send>
- <savedata>
- </savedata>
- <searchitem>
- <reptkind/>
- <subjid/>
- <instcd/>
- <reptseqno/>
- <consorflag/>
- <croinstcd/>
- </searchitem>
- <attach/>
- </send>
- <hidden/>
- <init>
- <hosp>
- <ret>
- <instcd/>
- <hospnm/>
- </ret>
- </hosp>
- </init>
- <rex>
- <view>
- <appformhead>
- <subjnm/>
- <subjno/>
- <hospnm/>
- <depthngnm/>
- <cdnm/>
- <usernm/>
- <hospcd/>
- <acptdd/>
- <engsubjnm/>
- <telnumber/>
- </appformhead>
- <irsdcollareser>
- <subjid/>
- <instcd/>
- <userid/>
- <userkind/>
- <usernm/>
- <posnm/>
- <jobposnm/>
- <telnumber/>
- </irsdcollareser>
- <imcmreqinst>
- <cmpynm/>
- <prsdnm/>
- <jobposnm/>
- </imcmreqinst>
- </view>
- <reptdetl>
- <item>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <judgappdg/>
- <reptkind/>
- <fstplanjudgdd/>
- <acptyn/>
- <acptdd/>
- <reptcls/>
- <trobreactcls/>
- <cnts1/>
- <cnts2/>
- <cnts3/>
- <reptclsyn1/>
- <reptclsyn2/>
- <reptclsyn3/>
- <trobreactreptyn1/>
- <trobreactreptyn2/>
- <cnts11/>
- <cnts19/>
- </item>
- <test>
- <subjid/>
- <reptkind/>
- <reptseqno/>
- <testeeid/>
- <instcd/>
- <testeenm/>
- <subtesteegndr/>
- <subtesteeht/>
- <subtesteebdwt/>
- <subtesteebrthdd/>
- </test>
- </reptdetl>
- <basesubjinfo>
- <basesubjinfo>
- <subjid/>
- <perchgrid/>
- <acptyn/>
- <judgkind/>
- <subjnm/>
- <subjpwd/>
- <clinictrgtflag/>
- <reqinstflag/>
- <stdycostsuppinst/>
- <stdycostsuppinstnm/>
- <itemnm/>
- <comnm/>
- <allidxcase/>
- <stdystartdd/>
- <stdyenddd/>
- <appdd/>
- <testeeaprvflag/>
- <relprstdata1/>
- <relprstdata2/>
- <relprstdata3/>
- <relprstdata4/>
- <relprstdata5/>
- <prstdataetc5/>
- <resercd/>
- <reqinstcd/>
- <concernrela/>
- <verplan/>
- <veraprv/>
- <vercrf/>
- <verib/>
- <consorflag/>
- <deptcd/>
- <reqcnfmyn/>
- <inqrgoal/>
- <trgtsick/>
- <inqrmthd/>
- <stdykind1/>
- <etctrgt1/>
- <stdykind2/>
- <etctrgt2/>
- <stdykind3/>
- <manynation/>
- <manyinst/>
- <cmcinstcnt/>
- <stdykind4/>
- <etctrgt4/>
- <stdytrgt/>
- <etctrgt/>
- <agenestdyflag/>
- <cellcurestdyyn/>
- <testeestat/>
- <fratesteeflag/>
- <stdyspcl1/>
- <stdyspcl2/>
- <stdyspcl3/>
- <stdyspcl4/>
- <stdyspcl5/>
- <stdyspcl6/>
- <stdyspcl7/>
- <examadjthosp/>
- <examadjtprf/>
- <allexamresppos/>
- <allexamrespnm/>
- <foodscrtgovpassyn/>
- <prmisnnatiyn/>
- <intermarketyn/>
- <judgkindcode/>
- </basesubjinfo>
- </basesubjinfo>
- <data>
- <a/>
- </data>
- </rex>
- <temp/>
- </root>
- </instance>
- <submission id="TRIRB00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/reptdetl"/>
- <submission id="TRIRB00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/hosp"/>
- <submission id="TXIRB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
- <submission id="TRIRS00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/view"/>
- <submission id="TXIRB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
- <submission id="TRIRS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/basesubjinfo"/>
- <submission id="TRIRS00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TXIRS00199" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TXIRB00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
- <submission id="TXIRB00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
- <submission id="TXIRS00198" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function add_validationchk()
- {
- if (model.getValue("/root/main/reptdetl/item/trobreactreptyn2") == "Y")
- {
- if (model.getValue("/root/main/reptdetl/item/trobreactcls") == "")
- {
- messageBox("중대한 이상반응이 체크되었습니다. 그러므로 [이상반응분류]를", "C002");
- return false;
- }
- }
- if (model.getValue("/root/main/reptdetl/item/cnts11") == "1")
- {
- if (model.getValue("/root/main/reptdetl/item/cnts19") == "")
- {
- messageBox("예상가능이 [예]입니다. 그러므로 [근거]를", "C001");
- return false;
- }
- }
- return true;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/reptdetl/test");
-
- //권한이 없는경우 보고서 상단의 파일첨부,첨부삭제,임시저장,보고서접수 버튼 숨기기
- if ( opener.javascript.getParameter("actionyn") == "N" ) {
- ipt_filenm.visible = true;
- btn_fileatt.visible = false;
- btn_filedel.visible = false;
- btn_tmpsave.visible = false;
- btn_reptacpt.visible = false;
- btn_filedown.visible=true;
- button1.visible = false;
- }
-
- if ( parent.model.getValue("/root/send/report") == "Y" ) {
- ipt_filenm.visible = true;
- btn_fileatt.visible = false;
- btn_filedel.visible = false;
- btn_tmpsave.visible = false;
- btn_reptacpt.visible = false;
- btn_filedown.visible=true;
- button1.visible = false;
- }
-
- submit("TRIRB00102"); //병원 조회
-
- var consorflag = parent.model.getValue("/root/send/searchitem/consorflag");
-
- if ( consorflag == "Y") {
- model.setValue("/root/send/searchitem/consorflag", "Y");
- }
-
- model.setValue("/root/send/searchitem/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
- model.setValue("/root/send/searchitem/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
- model.setValue("/root/send/searchitem/reptseqno", parent.model.getValue("/root/send/searchitem2/reptseqno"));
- model.setValue("/root/send/searchitem/reptkind", parent.model.getValue("/root/send/searchitem2/reptkind"));
-
- //화면 오픈시 Y일 경우만 자동조회하고 Y가 아닐 경우는 빈 양식 오픈후 필수값만 세팅해준다.
- if ( parent.model.getValue("/root/send/searchitem2/autosrchyn") == "Y" ) {
- submit("TRIRB00104"); //SAE(원외) 내용 조회
- }
- model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
- model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
- model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
- //model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
- //model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
- model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
- model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
- model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
- model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
-
- model.makeValue("/root/main/reptdetl/item/resercnfmyn", parent.model.getValue("/root/send/searchitem2/resercnfmyn"));
-
- model.setValue("/root/send/searchitem/croinstcd", parent.model.getValue("/root/send/searchitem2/croinstcd"));
-
- model.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,542;">
- <input id="ipt_judgappdg" ref="/root/main/reptdetl/item/judgappdg" class="input_default" disabled="true" style="left:107px; top:32px; width:100px; height:19px; "/>
- <caption id="caption40" class="cell_1" style="left:5px; top:298px; width:160px; height:28px; text-align:center; vertical-align:middle; ">연구자 인과관계 평가</caption>
- <caption id="caption30" class="cell_1" style="left:210px; top:30px; width:180px; height:23px; text-align:center; vertical-align:middle; ">최초임상시험 계획서 심사일자</caption>
- <caption id="caption31" class="cell_1" style="left:495px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">선택된병원</caption>
- <datagrid id="grd_test" nodeset="/root/main/reptdetl/test" caption="^^^^피험자번호^피험자약자^성별^생년월일^키 CM^몸무게 Kg" colsep="^" colwidth="0, 0, 0, 0, 110, 100, 70, 108, 85, 93" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:5px; top:80px; width:610px; height:75px; ">
- <col ref="subjid" visibility="hidden"/>
- <col ref="reptkind" visibility="hidden"/>
- <col ref="reptseqno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="testeeid" type="input" maxlength="30"/>
- <col ref="testeenm" type="input" maxlength="30"/>
- <col class="gridcombo" ref="subtesteegndr" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </col>
- <col ref="subtesteebrthdd" type="inputdate"/>
- <col ref="subtesteeht" type="input" maxlength="10" style="text-align:right; "/>
- <col ref="subtesteebdwt" type="input" maxlength="10" style="text-align:right; "/>
- <col ref="awardd" visibility="hidden"/>
- <col ref="genrdd" visibility="hidden"/>
- </datagrid>
- <button id="btn_rowadd" class="btn2_letter3" _auth="X" style="left:504px; top:60px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_test.addRow();
- model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- //해당 보고서가 신규작성일 경우 보고서일련번호가 없으므로 최초시작번호인 1로 셋팅한다.
- if ( model.getValue("/root/send/searchitem/reptseqno") != "" ) {
- model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- } else {
- model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/reptseqno", 1);
- }
- model.setValue("/root/main/reptdetl/test["+ grd_test.row +"]/reptkind", "4"); //보고서종류=SAE(원외)(4)
- ]]>
- </script>
- </button>
- <button id="btn_rowdel" class="btn2_letter3" _auth="X" style="left:559px; top:60px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_test.deleterow(grd_test.row);
- ]]>
- </script>
- </button>
- <caption id="caption32" class="cell_1" style="left:700px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접수여부</caption>
- <caption id="caption33" class="tit_2" style="left:10px; top:62px; width:140px; height:13px; ">피험자 정보</caption>
- <caption id="caption34" class="tit_2" style="left:10px; top:162px; width:140px; height:13px; ">이상 약물 반응</caption>
- <input id="ipt_cnts1" ref="/root/main/reptdetl/item/cnts1" class="input_default" style="left:136px; top:207px; width:479px; height:19px; "/>
- <caption id="caption35" class="cell_1" style="left:5px; top:180px; width:129px; height:23px; text-align:center; vertical-align:middle; ">보고분류</caption>
- <caption id="caption36" class="cell_1" style="left:5px; top:205px; width:129px; height:23px; text-align:center; vertical-align:middle; ">Report No/ Patient No</caption>
- <line id="line17" class="line_1" style="x1:5px; y1:28px; x2:1070px; y2:27px; "/>
- <line id="line18" class="line_3" style="x1:5px; y1:54px; x2:1070px; y2:54px; "/>
- <select1 id="cmb_instcd" ref="/root/main/reptdetl/item/instcd" class="combo_search" disabled="true" appearance="minimal" style="left:598px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hosp/ret">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line19" class="line_3" style="x1:5px; y1:177px; x2:615px; y2:177px; "/>
- <caption id="caption38" class="cell_1" style="left:5px; top:230px; width:48px; height:66px; text-align:center; vertical-align:middle; ">
- <![CDATA[이상
- 반응]]>
- </caption>
- <select1 id="cmb_acptyn" ref="/root/main/reptdetl/item/acptyn" class="combo_search" disabled="true" appearance="minimal" style="left:803px; top:32px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>접수</label>
- <value>Y</value>
- </item>
- <item>
- <label>미접수</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption39" class="cell_1" style="left:5px; top:328px; width:610px; height:23px; text-align:center; vertical-align:middle; ">이상반응내용</caption>
- <button id="button11" class="btn2_letter14" _auth="P" style="left:896px; top:32px; width:174px; height:19px; ">
- <caption>이상반응 발생보고서(원외) 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TRIRS00101")) {
- submit("TRIRS00102");
- model.copyNode("/root/rex/reptdetl", "/root/main/reptdetl");
-
- var testeeid = "";
- var testeenm ="";
- var data = "";
-
- for ( var i =1; i < grd_test.rows; i++ ) {
- testeeid = model.getValue("/root/main/reptdetl/test["+i+"]/testeeid");
- testeenm = model.getValue("/root/main/reptdetl/test["+i+"]/testeenm");
- data += testeeid + "/" + testeenm + "\n";
- }
-
- model.makeValue("/root/rex/view/appformhead/data", data);
-
- if ( model.getValue("/root/main/reptdetl/item/apctdd") != '') {
- model.makeValue("/root/rex/view/appformhead/acptdd", model.getValue("/root/main/reptdetl/item/apctdd"));
- } else {
- model.makeValue("/root/rex/view/appformhead/acptdd", getCurrentDate());
- }
-
- var data = model.getValue("/root/rex/reptdetl/item/cnts2");
- var j = 0;
- var p = 0;
- var k = 0;
-
- if ( data.indexOf("\n",p ) >=0 ){
- while ( (j = data.indexOf("\n",p ))>=0){
-
- var sdata = data.substring( p, j );
-
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", sdata.replace("\n","") );
-
- }
- if ( p<data.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = data.substring( p, data.length );
- k = k + 1;
- model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/reptdetl");
- model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", data);
- }
-
- exeReportPreview("PSIRB00600", "XMLSTR" , "/root/rex");
- }
- ]]>
- </script>
- </button>
- <caption id="caption28" class="cell_1" style="left:5px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
- <textarea id="tar_cnts2" ref="/root/main/reptdetl/item/cnts2" style="left:5px; top:353px; width:610px; height:135px; "/>
- <input id="ipt_fstplanjudgdd" ref="/root/main/reptdetl/item/fstplanjudgdd" class="input_search" disabled="true" inputtype="date" style="left:392px; top:32px; width:100px; height:19px; "/>
- <select1 id="cmb_trobreactcls" ref="/root/main/reptdetl/item/trobreactcls" class="combo_search" disabled="true" appearance="minimal" style="left:166px; top:252px; width:449px; height:19px; ">
- <choices>
- <item>
- <label>사망</label>
- <value>1</value>
- </item>
- <item>
- <label>생명을 위협하는 경우</label>
- <value>2</value>
- </item>
- <item>
- <label>입원 또는 입원 기간의 연장이 필요한 경우</label>
- <value>3</value>
- </item>
- <item>
- <label>지속적 또는 의미있는 불구나 기능저하를 초래하는 경우</label>
- <value>4</value>
- </item>
- <item>
- <label>선천적 기형 또는 이상을 초래하는 경우</label>
- <value>5</value>
- </item>
- <item>
- <label>기타 의학적으로 중요한 경우</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- <button id="btn_filedel" class="btn5_letter4" _auth="X" style="left:818px; top:5px; width:64px; height:19px; ">
- <caption>첨부삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //접수 후 수정불가
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
- messageBox("이미 접수되어 저장 또는 수정", "E001");
- return;
- } else {
-
- if (submit("TXIRS00198")) {
- messageBox("첨부파일이 삭제되었습니다.","I999");
-
- model.refresh();
- }
- }
- if ( model.getValue("/root/hidden/ret/reptseqno") != '' ) {
- submit("TRIRB00104"); //SAE(원외) 내용 조회
- }
- ]]>
- </script>
- </button>
- <input id="ipt_filenm" ref="/root/main/reptdetl/item/attfile" class="input_default" style="left:550px; top:5px; width:200px; height:19px; "/>
- <button id="btn_fileatt" class="btn2_letter4" _auth="X" style="left:752px; top:5px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == '' ) {
- messageBox("임시저장 후 첨부파일을 올리세요", "I");
- return;
- }
-
- var maxsize = upload1.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
- for(var i = 0 ; i < filelist.length ; i++ ) {
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- if (!checkFileSize(upload1)){
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- return;
- }
- }
-
- if ( filelist[0] != "") {
-
- if (submit("TXIRS00199")) {
- messageBox("Upload가 성공적으로 이루어졌습니다.","I999");
- model.removeNodeset("/root/send/attach");
- parent.model.setValue("/root/temp/ivieweryn", "N"); //중간보고서 iviewer 호출 여부 = N
- parent.btn_report4.selected = true;
- parent.btn_report4.dispatch("DOMActivate");
- model.refresh();
- }
- }
-
- submit("TRIRB00104"); //SAE(원외) 내용 조회
- model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
- model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
- model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
- model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
- model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
- model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
- model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
- model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
- model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
- model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_tmpsave" class="btn2_letter4" _auth="X" style="left:885px; top:5px; width:64px; height:19px; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //접수 후 수정불가
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
- messageBox("이미 접수되어 저장 또는 수정", "E001");
- return;
- }
- // ***** 2009.10.23(김재우 추가) *****
- if (add_validationchk() == false){
- return;
- }
- // ***** 2009.10.23 *****
- var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
- if ( reptseqno != '') {
- model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
-
- model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
- model.setValue("/root/send/savedata/reptkind", "4"); //보고서종류=SAE(원외)(4)
- model.setValue("/root/send/savedata/acptyn", "N"); //접수여부=미접수(N)
- model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
- model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
-
- //피험자정보 그리드 필수입력항목 체크
- /* var update = getGridUpdateData(grd_test);
- if ( update != "" ) {
- for ( i=1; i<grd_test.rows; i++ ) {
- if ( model.getValue("/root/main/reptdetl/test["+ i +"]/testeeid") == "" ) {
- messageBox("피험자번호를", "C001");
- return;
- }
- }
- model.makeNode("/root/send/savedata/test");
- model.setValue("/root/send/savedata/test", update);
- }
- */
- for ( i = 1; i < grd_test.rows; i++ ) {
- model.setValue("/root/main/reptdetl/test["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- }
-
- var update1 = instance1.selectNodes("/root/main/reptdetl/test");
- var rCSV1 = getNodeListCSV(update1);
-
- if ( rCSV1 != null ) {
- for ( i = 1; i < grd_test.rows; i++ ) {
- if ( model.getValue("/root/main/reptdetl/test["+ i +"]/testeeid") == "" ) {
- messageBox("피험자번호를", "C001");
- return;
- }
- }
- model.makeNode("/root/send/savedata/test");
- model.setValue("/root/send/savedata/test", rCSV1);
- }
-
-
- if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
- var instcd = model.getValue("/root/send/savedata/instcd");
- if ( instcd == '' ) {
- messageBox("병원을 ", "C002");
- }
- else {
- submit("TXIRB00102");
- }
- } else {
- submit("TXIRB00101");
- }
-
- grd_test.clearStatus();
-
- model.resetInstanceNode("/root/send/savedata");
- model.removenode("/root/send/savedata/test");
-
- model.setValue("/root/main/reptdetl/item/acptyn", "N"); //접수여부를 미접수로 보여줌.
- model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
- model.refresh();
- parent.model.setValue("/root/temp/ivieweryn", "N"); //SAE(원외) iviewer 호출 여부 = N
- parent.btn_report4.selected = true;
- parent.btn_report4.dispatch("DOMActivate");
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- ]]>
- </script>
- </button>
- <button id="btn_reptacpt" class="btn2_letter5" _auth="X" style="left:997px; top:5px; width:75px; height:19px; ">
- <caption>보고서접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //접수 후 수정불가
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
- messageBox("이미 접수되어 저장 또는 수정", "E001");
- return;
- }
- // ***** 2009.10.23(김재우 추가) *****
- if (add_validationchk() == false){
- return;
- }
- // ***** 2009.10.23 *****
- var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
- if ( reptseqno != '') {
- model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
-
- model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
- model.setValue("/root/send/savedata/reptkind", "4"); //보고서종류=SAE(원외)(4)
- model.setValue("/root/send/savedata/acptyn", "Y"); //접수여부=접수(Y)
- model.setValue("/root/send/savedata/acptdd", getCurrentDate()); //접수일=오늘날짜
- model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
- model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
-
- /* //피험자정보 그리드 필수입력항목 체크
- var update = getGridUpdateData(grd_test);
- if ( update != "" ) {
- for ( i=1; i<grd_test.rows; i++ ) {
- if ( model.getValue("/root/main/reptdetl/test["+ i +"]/testeeid") == "" ) {
- messageBox("피험자번호를", "C001");
- return;
- }
- }
- model.makeNode("/root/send/savedata/test");
- model.setValue("/root/send/savedata/test", update);
- }
- */
-
- for ( i = 1; i < grd_test.rows; i++ ) {
- model.setValue("/root/main/reptdetl/test["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- }
-
- var update1 = instance1.selectNodes("/root/main/reptdetl/test");
- var rCSV1 = getNodeListCSV(update1);
-
- if ( rCSV1 != null ) {
- for ( i = 1; i < grd_test.rows; i++ ) {
- if ( model.getValue("/root/main/reptdetl/test["+ i +"]/testeeid") == "" ) {
- messageBox("피험자번호를", "C001");
- return;
- }
- }
- model.makeNode("/root/send/savedata/test");
- model.setValue("/root/send/savedata/test", rCSV1);
- }
-
- if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
- var instcd = model.getValue("/root/send/savedata/instcd");
- if ( instcd == '' ) {
- messageBox("병원을 ", "C002");
- }
- else {
- submit("TXIRB00102");
- }
- } else {
- submit("TXIRB00101");
- }
-
- model.resetInstanceNode("/root/send/savedata");
- model.removenode("/root/send/savedata/test");
-
- model.setValue("/root/main/reptdetl/item/acptyn", "Y"); //접수여부를 접수로 보여줌.
- model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
- model.refresh();
- parent.model.setValue("/root/temp/ivieweryn", "N"); //SAE(원외) iviewer 호출 여부 = N
- parent.btn_report4.selected = true;
- parent.btn_report4.dispatch("DOMActivate");
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- ]]>
- </script>
- </button>
- <caption id="caption7" class="tit_2" style="left:10px; top:10px; width:140px; height:14px; ">SAE(원외)</caption>
- <button id="btn_filedown" class="btn2_letter4" visibility="hidden" _auth="R" style="left:755px; top:5px; width:64px; height:19px; ">
- <caption>내려받기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var s = model.getValue("/root/main/reptdetl/item/attfile");
- var ss = s.split("/");
- var filepath = "";
- var filenm = "";
- for ( var i = 0; i < ss.length; i ++){
- if ( i < ss.length -2 ) {
- filepath = filepath+ss[i] +"/";
- } else if ( i < ss.length -1 ) {
- filepath = filepath+ss[i] ;
- } else {
- filenm = ss[i];
- }
-
- }
-
-
- var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- if (localfile != "") {
- model.download(getActionURL("TRIRS00105")+"&filepath="+filepath,localfile);
- var rtn = messageBox("파일을", "Q004");
- if( rtn == 6 ) {
- window.exec(localfile);
- }
- }
- ]]>
- </script>
- </button>
- <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="52428800" validate="true" style="left:695px; top:70px; width:100px; height:20px; "/>
- <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="파일경로^" colwidth="644" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:225px; top:50px; width:665px; height:150px; ">
- <col ref="file"/>
- </datagrid>
- <button id="button1" class="btn5_letter2" _auth="X" style="left:952px; top:5px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //접수 후 수정불가
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
- messageBox("이미 접수되어 저장 또는 수정", "E001");
- return;
- }
-
- var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
- if ( reptseqno != '') {
- model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
-
- if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
- submit("TXIRB00104");
- } else {
- submit("TXIRB00103");
- }
-
- model.refresh();
- parent.model.setValue("/root/temp/ivieweryn", "N"); //SAE(원외) iviewer 호출 여부 = N
- parent.btn_report4.selected = true;
- parent.btn_report4.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/reptdetl/item/cnts3" class="combo_search" appearance="minimal" style="left:167px; top:303px; width:448px; height:19px; ">
- <choices>
- <item>
- <label>관련성이 명백함</label>
- <value>1</value>
- </item>
- <item>
- <label>관련성이 많음</label>
- <value>2</value>
- </item>
- <item>
- <label>관련성이 의심됨</label>
- <value>3</value>
- </item>
- <item>
- <label>관련성이 적음</label>
- <value>4</value>
- </item>
- <item>
- <label>관련성이 없음</label>
- <value>5</value>
- </item>
- <item>
- <label>평가 불가능</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" style="left:645px; top:425px; width:450px; height:144px; font-size:10pt; font-weight:bold; color:#ff0000; vertical-align:top; line-spacing:9; ">
- <![CDATA[** 원외 이상반응 보고가 2건 이상인 경우에는 따로 작성하지 마시고,
- '이상반응내용' 입력란에 이상반응 여러 건을 한 번에 입력하여
- 주시기 바랍니다. 각 건당 필수 입력 사항은 위와 동일합니다.
- *** 위의 내용이 다 포함되지 않을 경우 보고서가 반려될 수도 있음을
- 알려드립니다.
- ]]>
- </caption>
- <caption id="caption2" style="left:665px; top:130px; width:410px; height:288px; font-size:10pt; font-weight:bold; color:#0000ff; vertical-align:top; line-spacing:9; ">
- <![CDATA[1. Report No./Patient No.
- 2. 보고 분류(초회/추적)
- 3. 이상반응 분류(심각도에 따른 6가지 분류 중 한 가지 선택)
- 4. 이상반응 내용
- 5. 연구자 인과 관계 평가(임상용 의약품과의 인과관계 여부)
- 6. 예상가능성 여부(expected or unexpected) - 예상 가능한
- 이상반응인 경우 근거 첨부
- 7. 스폰서 주도의 연구인 경우 스폰서의 의견
- 8. 계획서/동의서 변경이 필요한지 여부
- -> 임상용 의약품과 인과 관계가 있으면서 예상 불가능한
- 중대한 이상반응의 경우 본원 연구의 지속 여부에 대한
- 연구자의 의견을 첨부해 주시기 바랍니다.]]>
- </caption>
- <select id="checkbox1" ref="/root/main/reptdetl/item/reptclsyn1" overflow="visible" appearance="full" style="left:138px; top:183px; width:70px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>초회보고</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_reptcls" ref="/root/main/reptdetl/item/reptclsyn2" overflow="visible" appearance="full" style="left:212px; top:183px; width:70px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>추적보고</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/main/reptdetl/item/reptclsyn3" overflow="visible" appearance="full" style="left:287px; top:183px; width:70px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>최종보고</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/main/reptdetl/item/trobreactreptyn1" overflow="visible" appearance="full" style="left:55px; top:232px; width:375px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>이상반응(계획서에 보고하지 않아도 된다고 명시된 사항은 제외)</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox4" ref="/root/main/reptdetl/item/trobreactreptyn2" class="cell_1" overflow="visible" appearance="full" style="left:55px; top:252px; width:110px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>중대한 이상반응</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var trobreactyn = model.getValue("/root/main/reptdetl/item/trobreactreptyn2");
- if(trobreactyn == "Y")
- cmb_trobreactcls.disabled = false;
- else
- cmb_trobreactcls.disabled = true;
- ]]>
- </script>
- </select>
- <select1 id="combo2" ref="/root/main/reptdetl/item/cnts11" class="combo_search" appearance="minimal" style="left:167px; top:275px; width:63px; height:19px; ">
- <choices>
- <item>
- <label>예</label>
- <value>1</value>
- </item>
- <item>
- <label>아니오</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cnts11 = model.getValue("/root/main/reptdetl/item/cnts11");
- if(cnts11 == "1")
- input5.disabled = false;
- else
- input5.disabled = true;
- ]]>
- </script>
- </select1>
- <caption id="caption13" class="cell_1" style="left:233px; top:273px; width:46px; height:23px; text-align:center; vertical-align:middle; ">근거</caption>
- <caption id="caption5" class="cell_1" style="left:55px; top:273px; width:110px; height:23px; text-align:center; vertical-align:middle; ">예상가능</caption>
- <input id="input5" ref="/root/main/reptdetl/item/cnts19" class="input_default" disabled="true" style="left:282px; top:275px; width:333px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:5px; top:490px; width:100px; height:48px; text-align:center; vertical-align:middle; ">
- <![CDATA[피험자 보호를
- 위한 조치]]>
- </caption>
- <caption id="caption15" class="cell_1" style="left:106px; top:490px; width:294px; height:23px; text-align:left; vertical-align:middle; ">연구 계획서의 변경이 필요한가?</caption>
- <caption id="caption16" class="cell_1" style="left:106px; top:515px; width:294px; height:23px; text-align:left; vertical-align:middle; ">피험자 설명문 및 동의서 변경이 필요한가?</caption>
- <select1 id="combo8" ref="/root/main/reptdetl/item/subtesteeproctyn1" class="combo_search" appearance="minimal" style="left:408px; top:492px; width:207px; height:19px; ">
- <choices>
- <item>
- <label>
- <![CDATA[예(-> 변경계획서 첨부)]]>
- </label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo9" ref="/root/main/reptdetl/item/subtesteeproctyn2" class="combo_search" appearance="minimal" style="left:408px; top:517px; width:207px; height:19px; ">
- <choices>
- <item>
- <label>
- <![CDATA[예(-> 변경계획서 첨부)]]>
- </label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" style="left:645px; top:80px; width:430px; height:72px; font-size:10pt; font-weight:bold; color:#ff0000; vertical-align:top; line-spacing:9; ">
- <![CDATA[* 원외 이상반응 보고 시 다음과 같은 사항이 모두 기재되어 있는지
- 반드시 확인 후 제출하시기 바랍니다.
- ]]>
- </caption>
- <line id="line1" class="line_3" style="x1:5px; y1:540px; x2:615px; y2:540px; "/>
- </xhtml:body>
- </xhtml:html>
|