123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>임상시험 프로토콜 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <!--
- <prmsprcpsetinfo>
- <prmsprcpsetlist>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <setkindcd/>
- <setclscd/>
- <settrgtcd/>
- <setnm/>
- <settypecd/>
- <ioflag/>
- </prmsprcpsetlist>
- <result/>
- </prmsprcpsetinfo>
- -->
- <iptbox>
- <setnm/>
- </iptbox>
- <!--
- <cond>
- <foldernm/>
- <prmsflag/>
- <deptsetcd/>
- <settypecd/>
- <ioflag>O</ioflag>
- </cond>
- -->
- <subjinfo>
- <subjlist>
- <subjno/>
- <stdyno/>
- <subjenddd/>
- <instcd/>
- <stdysubjnm/>
- <cpgno/>
- <cpghistseq/>
- <cpgnm/>
- <ioflag/>
- </subjlist>
- </subjinfo>
- <subjprtlinfo>
- <subjprtllist>
- <lev/>
- <cpgno/>
- <stepno/>
- <stepnm/>
- <cpghistseq/>
- <setno/>
- <ioflag/>
- <refseq/>
- <status/>
- </subjprtllist>
- </subjprtlinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <!--
- <prmsprcpsetinfo>
- <prmsprcpsetlist>
- <status/>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <setkindcd/>
- <setclscd/>
- <settrgtcd/>
- <setnm/>
- <settypecd/>
- <ioflag/>
- </prmsprcpsetlist>
- </prmsprcpsetinfo>
- -->
- <subjinfo>
- <subjlist>
- <subjno/>
- <stdyno/>
- <subjenddd/>
- <instcd/>
- <stdysubjnm/>
- <cpgno/>
- <cpghistseq/>
- <cpgnm/>
- <ioflag/>
- </subjlist>
- </subjinfo>
- <!--
- <subjprtlinfo>
- <subjprtllist>
- <lev/>
- <cpgno/>
- <stepno/>
- <stepnm/>
- <cpghistseq/>
- <setno/>
- <ioflag/>
- <status/>
- </subjprtllist>
- </subjprtlinfo>
- -->
- </hidden>
- <init>
- <totstep/>
- <height/>
- <weight/>
- <BSA/>
- </init>
- <temp>
- <trvsubjsteplist/>
- <!--
- <copy>
- <setno/>
- <settypecd/>
- <setkindcd/>
- <setclscd/>
- <settrgtcd/>
- <setnm/>
- <supsetno/>
- <trgtsettypecd/>
- <trgtsetkindcd/>
- <trgtsettrgtcd/>
- <trgtsetclscd/>
- <trgtioflag/>
- <ioflag/>
- </copy>
- -->
- </temp>
- <trvprcpmenu>
- <menu>
- <menu>
- <label>새폴더</label>
- <func>fAddSubjPrtlSet</func>
- </menu>
- <menu>
- <label>폴더이름 바꾸기</label>
- <func>fUpdtPrtlSet</func>
- </menu>
- <menu>
- <label>폴더삭제</label>
- <func>fDelSubjPrtlSet</func>
- </menu>
- </menu>
- </trvprcpmenu>
- <!--
- <trvetcmenu>
- <menu>
- <menu>
- <label>새폴더</label>
- <func>fAddPrmsDiagSet</func>
- </menu>
- <menu>
- <label>폴더이름 바꾸기</label>
- <func>fUpdtPrmsDiagSet</func>
- </menu>
- <menu>
- <label>폴더삭제</label>
- <func>fDelPrmsDiagSet</func>
- </menu>
- <menu>
- <label/>
- <func/>
- </menu>
- <menu>
- <label>붙여넣기</label>
- <func>fPasteCD</func>
- </menu>
- </menu>
- </trvetcmenu>
- <trvothrmenu>
- <menu>
- <menu>
- <label>폴더복사</label>
- <func>fFolderCopy</func>
- </menu>
- <menu>
- <label>폴더붙여넣기</label>
- <func>fFolderPaste</func>
- </menu>
- </menu>
- </trvothrmenu>
- <trvothrmenu2>
- <menu>
- <menu>
- <label>폴더복사</label>
- <func>fFolderCopy</func>
- </menu>
- </menu>
- </trvothrmenu2>
- -->
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fClkBtnPrcpTab();
- // radio1.attribute("visibility") = "hidden";
- // model.setValue("/root/main/cond/ioflag", "O");
- submit("TRMMB08301", true);
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- group1.attribute("height") = 0;
- ]]>
- </script>
- <!--
- <submission id="TXMMB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TRMMB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TXMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
- <submission id="TRMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
- <submission id="TRMMB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptlist"/>
- <submission id="TRMMO03111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/deptindxcdlist"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMMB00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB00600.js"/>
- -->
- <submission id="TRMMB08301" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/subjinfo/subjlist"/>
- <submission id="TXMMB08301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/subjprtlinfo/subjprtllist"/>
- <submission id="TXMMB08302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/subjprtlinfo/subjprtllist"/>
- <submission id="TXMMB08303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/subjprtlinfo/subjprtllist"/>
- <submission id="TXMMB08304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/subjprtlinfo/subjprtllist"/>
- <submission id="TRMMB08302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tempsubj/reqdata" resultref="/root/tempsubj/result"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB08300.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body visibility="visible" pagewidth="1210" pageheight="790" style="border-color:#c7a3cf; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <iviewer id="iviewer1" style="left:230px; top:20px; width:963px; height:739px; border-color:transparent; border-style:solid; "/>
- <treeview id="trv_prmsprcpsetlist" ref="/root/temp/trvsubjsteplist" dragmode="true" dropmode="true" expanddepth="1" fullrowselect="false" itemsettype="depth" style="left:0px; top:377px; width:227px; height:381px; border-color:#c7a3cf; border-style:solid; ">
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- // fMouseRghtBtnPopup();
- if(event.button == 3){
- var rowpos = trv_prmsprcpsetlist.mouseRow;
- trv_prmsprcpsetlist.select(rowpos);
- }
- setPopupMenu("trv_prmsprcpsetlist", false, "/root/trvprcpmenu/menu/menu" , "label", "func");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fReqSubjPrtlStepSet();
- ]]>
- </script>
- <script type="javascript" ev:event="ondragover">
- <![CDATA[
- fDragOverColorChng();
- ]]>
- </script>
- <script type="javascript" ev:event="ondrop">
- <![CDATA[
- fDropTrvItem();
- ]]>
- </script>
- <itemset nodeset="/root/main/subjprtlinfo/subjprtllist">
- <label ref="stepnm"/>
- <value ref="stepno"/>
- <depth ref="lev"/>
- </itemset>
- </treeview>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">임상시험 프로토콜 관리</caption>
- <group id="group1" style="left:1px; top:482px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
- <caption id="caption4" style="left:5px; top:5px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">폴더명</caption>
- <input id="ipt_setnm" ref="/root/main/iptbox/setnm" class="input_default" style="left:55px; top:5px; width:154px; height:19px; border-color:#3366ff; border-style:solid; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_cnfm", "DOMActivate");
- var keycode = event.keyCode;
- if(keycode == 27){
- group1.attribute("height") = 0;
- model.setFocus("trv_etcprmsprcpsetlist");
- return;
- }
- ]]>
- </script>
- </input>
- <button id="btn_cnfm" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnCnfm();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.attribute("height") = 0;
- ]]>
- </script>
- </button>
- </group>
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:201px; width:227px; height:171px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:5px; top:252px; width:86px; height:17px; ">과제명</caption>
- <caption id="caption5" class="search_name" style="left:5px; top:209px; width:95px; height:17px; ">과제번호</caption>
- <caption id="caption1" class="search_name" style="left:5px; top:346px; width:81px; height:17px; ">총회차 :</caption>
- <datagrid id="grd_subjlist" nodeset="/root/main/subjinfo/subjlist" caption="과제번호^연구코드^종료일" colsep="^" colwidth="120, 95, 83" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:22px; width:227px; height:173px; ">
- <col ref="subjno"/>
- <col ref="stdyno"/>
- <col ref="subjenddd" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_subjlist.isCell(event.target) && grd_subjlist.row >= grd_subjlist.fixedRows ){
- copyNodeType("/root/send/reqdata", "/root/main/subjinfo/subjlist[" + grd_subjlist.row + "]", "replace");
-
- model.removeNodeset("/root/main/subjprtlinfo/subjprtllist");
- model.refresh();
-
- submit("TXMMB08301", false);
-
- // 프로토콜정보(mmphcinf)에대해 조회된 정보를 그리드에 다시 세팅. (lev='1')
- model.setValue("/root/main/subjinfo/subjlist[" + grd_subjlist.row + "]/cpgno", model.getValue("/root/main/subjprtlinfo/subjprtllist[lev='1']/cpgno") );
- model.setValue("/root/main/subjinfo/subjlist[" + grd_subjlist.row + "]/cpghistseq", model.getValue("/root/main/subjprtlinfo/subjprtllist[lev='1']/cpghistseq") );
- model.setValue("/root/main/subjinfo/subjlist[" + grd_subjlist.row + "]/cpgnm", model.getValue("/root/main/subjprtlinfo/subjprtllist[lev='1']/stepnm") );
- model.setValue("/root/main/subjinfo/subjlist[" + grd_subjlist.row + "]/ioflag", model.getValue("/root/main/subjprtlinfo/subjprtllist[lev='1']/ioflag") );
-
- copyNodeType("/root/hidden/subjinfo/subjlist", "/root/main/subjinfo/subjlist[" + grd_subjlist.row + "]", "replace");
-
- model.setValue("/root/main/subjprtlinfo/subjprtllist[lev='1']/stepnm", model.getValue("/root/hidden/subjinfo/subjlist/subjno")+" "+model.getValue("/root/main/subjprtlinfo/subjprtllist[lev='1']/stepnm") );
-
- if ( getNodesetCount("/root/main/subjprtlinfo/subjprtllist") > 1 ) {
- btn_savestep.disabled = true;
- ipt_totstep.disabled = true;
- } else {
- btn_savestep.disabled = false;
- ipt_totstep.disabled = false;
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <output id="opt_subjno" ref="/root/hidden/subjinfo/subjlist/subjno" class="output_fix" style="left:23px; top:228px; width:188px; height:19px; "/>
- <line id="line3" class="line_1" style="x1:0px; y1:16px; x2:1194px; y2:16px; "/>
- <textarea id="txt_subjnm" ref="/root/hidden/subjinfo/subjlist/stdysubjnm" class="output_fix" style="left:23px; top:271px; width:189px; height:65px; "/>
- <button id="btn_savestep" class="btn2_letter4" disabled="true" style="left:138px; top:345px; width:59px; height:19px; ">
- <caption>최초생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue("/root/init/totstep") == "" || parseInt(model.getValue("/root/init/totstep")) == 0 ) {
- messageBox("총 회차를", "C001");
- return -1;
- } else if ( parseInt(model.getValue("/root/init/totstep")) >= 20 ) {
- messageBox("총 회차가 20 이 넘습니다.", "Q003");
- return -1;
- }
-
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata/totstep");
- copyNodeType("/root/send/reqdata", "/root/hidden/subjinfo/subjlist", "after");
- model.setValue("/root/send/reqdata/totstep", model.getValue("/root/init/totstep") );
-
- submit("TXMMB08303", false); // 회차 자동생성.
-
- model.setValue("/root/main/subjprtlinfo/subjprtllist[lev='1']/stepnm", model.getValue("/root/hidden/subjinfo/subjlist/subjno")+" "+model.getValue("/root/main/subjprtlinfo/subjprtllist[lev='1']/stepnm") );
- if ( getNodesetCount("/root/main/subjprtlinfo") > 1 )
- btn_savestep.disabled = true;
- else
- btn_savestep.disabled = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_totstep" ref="/root/init/totstep" class="output_fix" autonext="false" maxlength="2" format="##" style="left:88px; top:345px; width:45px; height:19px; text-align:center; "/>
- <caption id="caption3" class="search_name" style="left:230px; top:765px; width:94px; height:17px; ">BSA 계산 =</caption>
- <caption id="caption11" style="left:330px; top:765px; width:355px; height:20px; font-weight:bold; vertical-align:middle; ">((신장 cm x 체중 kg) / 3600)^(1/2) =</caption>
- <button id="button1" class="btn5_letter2" style="left:810px; top:765px; width:42px; height:19px; ">
- <caption>계산</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue("/root/init/height") == "" || model.getValue("/root/init/weight") == "" ) {
- messageBox("신장 또는 체중을 입력하십시오.", "C010");
- return;
- }
-
- if ( parseFloat(model.getValue("/root/init/height")) == 0 || parseFloat(model.getValue("/root/init/weight")) == 0 ) {
- messageBox("신장 또는 체중을 확인하십시오.", "C010");
- return;
- }
-
- var sBSA = Math.pow( (parseFloat(model.getValue("/root/init/height")) * parseFloat(model.getValue("/root/init/weight")) / 3600 ) , 0.5);
- sBSA = Math.round( sBSA * 100) /100;
- model.setValue("/root/init/BSA", sBSA);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_height" ref="/root/init/height" maxlength="6" style="left:372px; top:765px; width:60px; height:19px; "/>
- <input id="ipt_weight" ref="/root/init/weight" maxlength="4" style="left:497px; top:765px; width:55px; height:19px; "/>
- <output id="opt_BSA" ref="/root/init/BSA" class="output_fix" style="left:703px; top:765px; width:100px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|