123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315 |
- <?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>피험자조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <subjlist>
- <item>
- <subjno/>
- <stdyno/>
- <itemnm/>
- <stdysubjnm/>
- <reqnm/>
- <stdytermfrom/>
- <stdytermto/>
- <clincflag/>
- <judgdg/>
- <ioflag/>
- <pid/>
- <subjid/>
- </item>
- </subjlist>
- <testeelist>
- <item>
- <sel/>
- <pid/>
- <patnm/>
- <orddd/>
- <screenno/>
- <subtesteephosid/>
- <subtesteephosnm/>
- <enddd/>
- <ioflag/>
- <pamorddd/>
- </item>
- </testeelist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <paminfo/>
- <miginfo>
- <patinfolist>
- <pidold011/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <pidnew012/>
- <pidold012/>
- <bmtflag/>
- <motionflag/>
- </patinfolist>
- <transpatinfolist>
- <pidold011/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <pidnew012/>
- <pidold012/>
- <orddrid/>
- <orddrnm/>
- <drddeptcd/>
- <orddeptas/>
- <maxdate/>
- <motionflag/>
- </transpatinfolist>
- </miginfo>
- </main>
- <send>
- <data>
- <testeedata/>
- <subjno/>
- </data>
- <srchdata>
- <srchflag>1</srchflag>
- <reqphos/>
- <subjno/>
- <srchsubjno/>
- <srchflag/>
- <srchsubjendyn/>
- <pid/>
- <srchmode/>
- </srchdata>
- <req>
- <pid/>
- <orddept/>
- </req>
- <smartdata>
- <pid/>
- <screenno/>
- <smartdate/>
- </smartdata>
- </send>
- <init/>
- <hidden/>
- <temp>
- <ret/>
- <stdydata>
- <empno/>
- <pid/>
- </stdydata>
- </temp>
- <popupmenu>
- <menu>
- <item>
- <name>통합기록조회</name>
- <func>fOpenMedirecList</func>
- </item>
- <item>
- <name>통합결과조회</name>
- <func>fOpenMediresList</func>
- </item>
- <item>
- <name>여의도성모-영상차트조회</name>
- <func>fOpenSMMediRecList</func>
- </item>
- <item>
- <name>여의도성모-처방조회</name>
- <func>fOpenPrcpList</func>
- </item>
- <item>
- <name>여의도성모-결과조회</name>
- <func>fOpenSMMediResList</func>
- </item>
- </menu>
- </popupmenu>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //model.setValue("/root/send/srchdata/reqphos", getUserId() );
- //opener 화면에서 파라메터값을 넘겨주면, 해당 조건으로 검색하도록 추가 (2009.09.28 JJE)
- if( !isNull(getOpenerUID()) ){ //Opener의 UID가 존재하면,
- var param_subjno = opener.javascript.getParameter("param_subjno");
-
- if( !isNull(param_subjno) ){
- model.setValue("/root/send/srchdata/srchsubjno", param_subjno);
- model.setValue("/root/send/srchdata/srchflag", "2"); // 검색 조건이 '일치' (equal 비교)
- model.setValue("/root/send/srchdata/srchmode", "A"); // 진료조회모드:E(로그인 의사의 피험자만 조회)/약국조회모드:A(모든 피험자 조회)
- }
- } else {
-
- if ( model.getValue("/root/properties/menu/menuparam") == "CRC" ) {
-
- }else if ( model.getValue("/root/properties/menu/menuparam") == "CRA" ) {
- model.setValue("/root/send/srchdata/reqphos", getUserId() );
- model.setValue("/root/send/srchdata/srchmode", "CRA" );
- }
- }
-
- // 20120130_laboru_전송일자 오늘로 셋팅
- model.setValue("/root/send/smartdata/smartdate", getCurrentDate());
-
- submit("TRATB00104");
-
- ]]>
- </script>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../ast/crccweb/js/SMATP00200.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <submission id="TRATP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/testeelist"/>
- <submission id="TRATB00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/subjlist"/>
- <submission id="TRMRC03191" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/miginfo/patinfolist"/>
- <submission id="TRMRC03192" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/miginfo/transpatinfolist"/>
- <submission id="TRATP00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/smartdata"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="810" pageheight="495" guideline="2,15;1,1194;2,784;2,757;1,791;2,481;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:25px; width:790px; height:430px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:95px; height:13px; ">피험자조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:775px; y2:26px; "/>
- <datagrid id="grd_subjlist" nodeset="/root/main/subjlist/item" caption="과제번호^연구코드^연구명^학술명^회사명^시험자^caption3^시작일^종료일^단계^회차^caption1^caption2^과제ID" colsep="^" colwidth="106, 69, 159, 156, 126, 60, 22, 73, 72, 48, 50, 100, 100, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:30px; width:775px; height:155px; ">
- <col ref="subjno"/>
- <col ref="stdyno"/>
- <col ref="itemnm"/>
- <col ref="stdysubjnm"/>
- <col ref="reqnm"/>
- <col ref="empnm"/>
- <col ref="empid" visibility="hidden"/>
- <col ref="stdytermfrom" format="yyyy-mm-dd"/>
- <col ref="stdytermto" format="yyyy-mm-dd"/>
- <col ref="clincflag" style="text-align:center; "/>
- <col ref="judgdg" style="text-align:center; "/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( grd_subjlist.isCell(event.target) && grd_subjlist.row >= grd_subjlist.fixedRows ) {
- model.setValue("/root/send/data/subjno", model.getValue("/root/main/subjlist/item["+grd_subjlist.row+"]/subjid"));
- model.setValue("/root/send/srchdata/subjno", model.getValue("/root/main/subjlist/item["+grd_subjlist.row+"]/subjid"));
- submit("TRATP00101");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_subjlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_testeelist" nodeset="/root/main/testeelist/item" caption="^등록번호^환자명^입원/등록일^Screening No^Random No^피험자약어^종료일^caption1" colsep="^" colwidth="24, 106, 106, 106, 115, 107, 106, 106, 100, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:195px; width:775px; height:225px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox" visibility="hidden"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="screenno"/>
- <col ref="subtesteephosid"/>
- <col ref="subtesteephosnm"/>
- <col ref="enddd" format="yyyy-mm-dd"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="pamorddd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_testeelist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if( grd_testeelist.isCell(event.target) && grd_testeelist.row >= grd_testeelist.fixedRows ){
- setPopupMenu("grd_testeelist", false, "/root/popupmenu/menu/item", "name", "func");
- // setPopupMenu(ctrlID, onmenuEvent, itemNodeset, label, value)
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var pamorddd = model.getValue("/root/main/testeelist/item["+grd_testeelist.row+"]/pamorddd");
- var pamkey = pamorddd.split("^");
-
- schk = "N";
-
- if ( pamkey[2] =="O" || pamkey[2] == "S"){
- var pat_info = "O▦"+ model.getValue("/root/main/testeelist/item["+grd_testeelist.row+"]/pid") +"▦"+pamkey[0]+"▦"+pamkey[1]+"▦"+getUserInfo("dutplcecd")+"▦1▦"+pamkey[0];
- schk = "Y";
- }
-
- else if ( pamkey[2]=="I" ){
- var pat_info = "I▦"+ model.getValue("/root/main/testeelist/item["+grd_testeelist.row+"]/pid") +"▦"+pamkey[0]+"▦"+pamkey[1]+"▦"+getUserInfo("dutplcecd")+"▦"+pamkey[0];
- schk = "Y";
- }
-
- else if ( pamkey[2]=="E" ){
- var pat_info = "E▦"+ model.getValue("/root/main/testeelist/item["+grd_testeelist.row+"]/pid") +"▦"+pamkey[0]+"▦"+pamkey[1]+"▦"+getUserInfo("dutplcecd");
- schk = "Y";
- }
-
- if (schk == "Y"){
- setParameter("condparam", pat_info);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
-
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:456px; width:790px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" style="left:730px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="button1" class="btn6_letter2" visibility="hidden" style="left:195px; top:4px; width:56px; height:22px; ">
- <caption>전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var check = "";
-
- for ( var i = 1 ; i<grd_testeelist.rows; i++){
- if(model.getValue("/root/main/testeelist/item["+i+"]/sel")=="Y"){
- if(model.getValue("/root/main/testeelist/item["+i+"]/screenno") != "" && model.getValue("/root/main/testeelist/item["+i+"]/screenno") != "-") {
- model.setValue("/root/send/smartdata/pid", model.getValue("/root/main/testeelist/item["+i+"]/pid"));
- model.setValue("/root/send/smartdata/screenno", model.getValue("/root/main/testeelist/item["+i+"]/screenno"));
- submit("TRATP00201");
- } else {
- check = "Y";
- }
- } else {
- //check = "Y";
- }
- }
-
- if(check == "Y") {
- messageBox("Screening No 가 없는 환자가 존재합니다.","I999");
- } else {
- //submit("TRATP00201");
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" visibility="hidden" style="left:5px; top:6px; width:91px; height:17px; ">전송일자 :</caption>
- <input id="input1" ref="/root/send/smartdata/smartdate" class="input_s_essential" visibility="hidden" inputtype="date" style="left:95px; top:5px; width:90px; height:19px; "/>
- </group>
- <button id="button51" class="btn2_letter2" navindex="34" style="left:680px; top:462px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //---------------(20091015)-----------------------
- if (grd_testeelist.rows > 1) {
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_testeelist.saveExcel(file);
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|