123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <?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>
- <list1>
- <grdpatreflist/>
- </list1>
- </main>
- <send>
- <data1>
- <refcond/>
- <refcondnm/>
- <judgflag/>
- <rsltflag/>
- <pid/>
- </data1>
- </send>
- <init>
- <P0350list>
- <P0350>
- <cdnm/>
- <cdid/>
- </P0350>
- </P0350list>
- </init>
- <hidden>
- <uid>
- <myself/>
- <opener/>
- </uid>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- /*
- model.setValue("/root/send/data1/refcond","");
- model.setValue("/root/send/data1/refcondnm","");
- model.setValue("/root/send/data1/judgflag","");
- model.setValue("/root/send/data1/rsltflag","");
- model.setValue("/root/send/data1/pid","00036823");
- */
-
- if(submit("TRPMC00901")) {
-
- var patrefcnt = getNodesetCount("/root/hidden/rcv/list1/grdpatreflist");
-
- if (patrefcnt > 0) {
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- } else {
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
- }
- }
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMC00901" ref="/root/send/data1" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden/rcv"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="343" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:316px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:95px; height:13px; ">환자조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:517px; y2:20px; "/>
- <datagrid id="grd_patrefl" nodeset="/root/main/list1/grdpatreflist" caption="일련번호^접수일자^발송일자^환자번호^환자성명^감정구분^첨부자료구분" colwidth="80, 87, 87, 87, 87, 104, 104" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" navindex="7" style="left:0px; top:25px; width:517px; height:270px; ">
- <col ref="judgseqno" style="text-align:center; "/>
- <col ref="courtacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="judgflag" type="combo" disabled="true">
- <choices>
- <item>
- <label>신체감정</label>
- <value>1</value>
- </item>
- <item>
- <label>필름감정</label>
- <value>2</value>
- </item>
- <item>
- <label>진료기록감정</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="attdataflag"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if ( checkOpener() ) {
- row = grd_patrefl.row;
-
- if( row > 0 ){
- if( getNodesetCount("/root/main/list1/grdpatreflist") > 0 ){
- opener.model.setValue("/root/send/data5/pid",grd_patrefl.valueMatrix(row,4));
- opener.model.setValue("/root/send/data5/judgseqno",grd_patrefl.valueMatrix(row,1));
-
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "ok");
-
- opener.model.refresh();
- window.close();
- }
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if( event.keyCode == 13 ){
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:518px; height:27px; ">
- <button id="btn_confirm" navindex="8" class="btn4_letter2" style="left:402px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( checkOpener() ) {
- row = grd_patrefl.row;
-
- opener.model.setValue("/root/main/popupendflag", "cancel");
-
- if( row > 0 ){
-
- if( getNodesetCount("/root/main/list1/grdpatreflist") > 0 ){
- opener.model.copyNode("/root/send/data5/pid",grd_patrefl.valueMatrix(row,4));
- opener.model.copyNode("/root/send/data5/judgseqno",grd_patrefl.valueMatrix(row,1));
-
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "ok");
- }
-
- }else {
- messageBox("행이 정확히 선택되지", "E007");
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" navindex="9" class="btn4_letter2" style="left:461px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.model.setValue("/root/main/popupendflag", "cancel");
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|