123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <?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>
- <medinfolist>
- <medinfo>
- <fhcd/>
- <fhkind/>
- <fhname/>
- <fhloccd/>
- <fhaddr/>
- <fhtelno/>
- </medinfo>
- </medinfolist>
- </main>
- <send>
- <reqdata>
- <fhaddr/>
- <fhname/>
- <text1/>
- </reqdata>
- <savedata/>
- <reqdata1>
- <fromdd/>
- <todd/>
- </reqdata1>
- </send>
- <hidden>
- <dept>
- <deptnm/>
- <deptcd/>
- </dept>
- <setnm/>
- <setcd/>
- <getflag>fhname</getflag>
- <text1/>
- </hidden>
- <init>
- <dept>
- <depthnm/>
- <deptcd/>
- </dept>
- <user>
- <nm/>
- <id/>
- </user>
- <flag/>
- <M0535list>
- <M0535/>
- </M0535list>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList( new Array("M0535"), new Array("/root/init/M0535list") );
- ]]>
- </script>
- <submission id="TRMRC0130" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chrtuser/chgrlist"/>
- <submission id="TRMMO07401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/medinfolist"/>
- </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/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="556" pageheight="450" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:190px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">의료기관명조회</caption>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/medinfolist/medinfo" caption="구분^요양기관명^주소^요양기관번호" colsep="^" colwidth="150, 140, 230, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:70px; width:540px; height:355px; ">
- <col ref="fhkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0535list/M0535">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="fhname"/>
- <col ref="fhaddr"/>
- <col ref="fhhscd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- opener.javascript.setParameter("SPMMO07400_rtnfhcdnm", model.getValue("/root/main/medinfolist/medinfo["+datagrid1.row+"]/fhname"));
- opener.javascript.setParameter("SPMMO07400_rtnfhcd", model.getValue("/root/main/medinfolist/medinfo["+datagrid1.row+"]/fhcd"));
- opener.javascript.setParameter("SPMMO07400_rtnfhkind", model.getValue("/root/main/medinfolist/medinfo["+datagrid1.row+"]/fhkind"));
- opener.javascript.setParameter("SPMMO07400_rtnfhhscd", model.getValue("/root/main/medinfolist/medinfo["+datagrid1.row+"]/fhhscd"));
-
- window.close();
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:540px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:470px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/medinfolist/medinfo");
-
- if (model.getValue("/root/hidden/getflag") =="" ||model.getValue("/root/send/reqdata/text1") =="") {
- messageBox ( "검색 조건을 입력해 주십시오", "I" );
- } else {
- if (model.getValue("/root/hidden/getflag") == "fhname"){
- model.setValue("/root/send/reqdata/fhname",model.getValue("/root/send/reqdata/text1"));
- }else {
- model.setValue("/root/send/reqdata/fhaddr",model.getValue("/root/send/reqdata/text1"));
- }
-
- submit("TRMMO07401");
- model.refresh();
- // fGetExternList(2);
- }
- ]]>
- </script>
- </button>
- <line id="line4" style="x1:460px; y1:25px; x2:460px; y2:55px; border-color:#ffcc99; "/>
- <caption id="caption4" class="search_name" style="left:10px; top:30px; width:95px; height:17px; ">검색조건 :</caption>
- <select1 id="combo1" ref="/root/hidden/getflag" appearance="minimal" style="left:105px; top:30px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>요양기관명</label>
- <value>fhname</value>
- </item>
- <item>
- <label>주소</label>
- <value>fhaddr</value>
- </item>
- </choices>
- </select1>
- <input id="input1" ref="/root/send/reqdata/text1" style="left:220px; top:30px; width:170px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button1", "DOMActivate");
-
- ]]>
- </script>
- </input>
- </xhtml:body>
- </xhtml:html>
|