123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?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>
- <rsamiptlist>
- <rsamiptinfo>
- <indd/>
- <cretno/>
- <pid/>
- <pathngnm/>
- <chosdd/>
- <chostm/>
- <chosresn/>
- <erclincrslt/>
- <tmprts/>
- <recovwardcd/>
- </rsamiptinfo>
- </rsamiptlist>
- <rscviptlist>
- <rscviptinfo>
- <indd/>
- <cretno/>
- <pid/>
- <pathngnm/>
- <chosdd/>
- <chostm/>
- <chosresn/>
- <erclincrslt/>
- <tmprts/>
- <recovwardcd/>
- </rscviptinfo>
- </rscviptlist>
- </main>
- <send>
- </send>
- <init>
- <srch_kind/>
- <srch_startdd/>
- <srch_enddd/>
- <srch_flag/>
- </init>
- <hidden/>
- </root>
- </instance>
- <submission id="TRMMO32501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsamiptlist"/>
- <submission id="TRMMO32502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rscviptlist"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/rsamiptlist/rsamiptinfo");
- model.removeNodeset("/root/main/rscviptlist/rscviptinfo");
- model.setValue("/root/init/srch_flag", "1");
- if(model.getValue("/root/init/srch_flag") == "1"){
- grd_rsamiptinfo.visible = true;
- }else{
- grd_rscviptinfo.visible = false;
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- //응급심장질환 조회
- function Search_Heart(){
- model.removeNodeset ("/root/main/rsamiptlist/rsamiptinfo");
- model.removeNodeSet ("/root/send" );
- model.makeValue("/root/send/cond1/srch_kind", model.getValue("/root/init/srch_kind") );
- model.makeValue("/root/send/cond1/srch_startdd", model.getValue("/root/init/srch_startdd") );
- model.makeValue("/root/send/cond1/srch_enddd", model.getValue("/root/init/srch_enddd") );
- submit("TRMMO32501");
- }
-
- //응급뇌질환 조회
- function Search_Brain(){
- model.removeNodeset ("/root/main/rscviptlist/rscviptinfo");
- model.removeNodeSet ("/root/send" );
- model.makeValue("/root/send/cond1/srch_kind", model.getValue("/root/init/srch_kind") );
- model.makeValue("/root/send/cond1/srch_startdd", model.getValue("/root/init/srch_startdd") );
- model.makeValue("/root/send/cond1/srch_enddd", model.getValue("/root/init/srch_enddd") );
- submit("TRMMO32502");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="830" pageheight="700" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:805px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:805px; y2:65px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:730px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/init/srch_flag") == "1"){
- Search_Heart();
- }else{
- Search_Brain();
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_rsamiptinfo" nodeset="/root/main/rsamiptlist/rsamiptinfo" visibility="hidden" caption="indd^cretno^환자번호^환자명^내원일자^내원시간^내원사유^응급진료결과" colsep="^" colwidth="37, 48, 69, 76, 74, 73, 99, 119" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:70px; width:805px; height:610px; ">
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="pid" visibility="visible" style="text-align:center; "/>
- <col ref="pathngnm" visibility="visible" style="text-align:center; "/>
- <col ref="chosdd"/>
- <col ref="chostm" style="text-align:center; "/>
- <col ref="chosresn" style="text-align:center; "/>
- <col ref="erclincrslt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- var currow = grd_rsamiptinfo.row;
- setParameter("SPMMO32600_pid", model.getValue("/root/main/rsamiptlist/rsamiptinfo[" + currow + "]/pid"));
- setParameter("SPMMO32600_orddd", model.getValue("/root/main/rsamiptlist/rsamiptinfo[" + currow + "]/indd"));
- setParameter("SPMMO32600_cretno", model.getValue("/root/main/rsamiptlist/rsamiptinfo[" + currow + "]/cretno"));
- open("SPMMO32600", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsamiptinfo.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="combo3" ref="/root/init/srch_kind" class="combo_search" appearance="minimal" style="left:105px; top:31px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>퇴원일</label>
- <value>1</value>
- </item>
- <item>
- <label>내원일</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/init/srch_startdd" class="input_search" inputtype="date" style="left:205px; top:31px; width:93px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </input>
- <input id="input1" ref="/root/init/srch_enddd" class="input_search" inputtype="date" style="left:323px; top:31px; width:93px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:305px; top:31px; width:20px; height:20px; ">~</caption>
- <caption id="caption8" class="search_name" style="left:10px; top:31px; width:95px; height:17px; ">검색조건 :</caption>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">응급질환 입력대상자 조회</caption>
- <line id="line2" style="x1:710px; y1:29px; x2:710px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="radio1" ref="/root/init/srch_flag" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:465px; top:32px; width:190px; height:20px; border-style:none; ">
- <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[
- if(model.getValue("/root/init/srch_flag") == "1"){
- grd_rsamiptinfo.visible = true;
- grd_rscviptinfo.visible = false;
- }else{
- grd_rsamiptinfo.visible = false;
- grd_rscviptinfo.visible = true;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <datagrid id="grd_rscviptinfo" nodeset="/root/main/rscviptlist/rscviptinfo" visibility="hidden" caption="indd^cretno^환자번호^환자명^내원일자^내원시간^내원사유^응급진료결과" colsep="^" colwidth="37, 48, 69, 76, 74, 73, 99, 119" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:70px; width:805px; height:610px; ">
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="pid" visibility="visible" style="text-align:center; "/>
- <col ref="pathngnm" visibility="visible" style="text-align:center; "/>
- <col ref="chosdd"/>
- <col ref="chostm" style="text-align:center; "/>
- <col ref="chosresn" style="text-align:center; "/>
- <col ref="erclincrslt" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- var currow = grd_rscviptinfo.row;
- setParameter("SPMMO32700_pid", model.getValue("/root/main/rscviptlist/rscviptinfo[" + currow + "]/pid"));
- setParameter("SPMMO32700_orddd", model.getValue("/root/main/rscviptlist/rscviptinfo[" + currow + "]/indd"));
- setParameter("SPMMO32700_cretno", model.getValue("/root/main/rscviptlist/rscviptinfo[" + currow + "]/cretno"));
- open("SPMMO32700", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; min:hidden, max:hidden;");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rscviptinfo.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|