123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPMNO02200_처방선택.xrw
- * 설 명 : 기준자료 처방선택
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <prcpinfo>
- <prcpinfolist>
- <check/>
- <prcpcd/>
- <prcpnm/>
- <applstage/>
- <deptcd/>
- <deptnm/>
- </prcpinfolist>
- </prcpinfo>
- <cond>
- <prcpcd/>
- <prcpnm/>
- <deptcd/>
- <deptnm/>
- <ordtype/>
- <baseflag/>
- <ordtypenm/>
- <prcpclscd/>
- <instcd/>
- </cond>
- </main>
- <send>
- <req/>
- <prcpinfo/>
- </send>
- <hidden>
- </hidden>
- <temp>
- <prcpinfo/>
- </temp>
- <init>
- <codelist>
- <code>
- <cdnm>전체</cdnm>
- <cdid/>
- </code>
- <code>
- <cdnm>진검</cdnm>
- <cdid>B2</cdid>
- </code>
- <code>
- <cdnm>영상</cdnm>
- <cdid>C2</cdid>
- </code>
- <code>
- <cdnm>처치</cdnm>
- <cdid>H4</cdid>
- </code>
- <code>
- <cdnm>병리</cdnm>
- <cdid>D2</cdid>
- </code>
- </codelist>
- </init>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- if(checkOpener()){
-
-
- var prcpcd = model.property("prcpcd");
- var prcpnm = model.property("prcpnm");
- var prcpclscd = model.property("prcpclscd");
-
- if(prcpcd != "") {
- model.setValue(ipt_prcpcd.attribute("ref"), prcpcd);
- ipt_prcpcd.refresh();
- }
-
- if(prcpnm != "") {
- model.setValue(ipt_prcpnm.attribute("ref"), prcpnm);
- ipt_prcpnm.refresh();
- }
-
- if(prcpclscd !="") {
- model.setValue(cmb_prcpclscd.attribute("ref"), prcpclscd);
- cmb_prcpclscd.refresh();
- }
-
- model.setFocus("btn_search");
- fSearch();
-
- } else {
- alert("본 화면은 팝업으로만 사용할수 있습니다.");
- model.close();
- }
- }
-
- function fSearch() {
- model.makeValue("/root/send/req/prcpcd", model.getValue(ipt_prcpcd.attribute("ref")));
- model.makeValue("/root/send/req/prcpnm", model.getValue(ipt_prcpnm.attribute("ref")));
- model.makeValue("/root/send/req/prcpclscd", model.getValue(cmb_prcpclscd.attribute("ref")));
-
- model.makeValue("/root/send/req/instcd", getUserInfo("dutplceinstcd"));
-
- submit("TRMNO04401");
- }
- function fCertPrcpInfo() {
-
- copyNodesetType("/root/temp/prcpinfo", "/root/main/prcpinfo/prcpinfolist[check='Y']");
-
- model.copyNode(opener.root.temp, "/root/temp");
- model.close();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNO04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/prcpinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="600" pageheight="400" guideline="1,21;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:35px; width:580px; height:326px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:194px; height:14px; ">처방 조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:576px; y2:25px; "/>
- <datagrid id="grd_prcpinfo" nodeset="/root/main/prcpinfo/prcpinfolist" class="datagrid2" caption="선택^처방코드^처방명^진료과^prcpcd" colsep="^" colwidth="32, 77, 263, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:1px; top:30px; width:576px; height:290px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm" style="text-align:left; "/>
- <col ref="deptcd"/>
- <col ref="deptnm" visibility="hidden"/>
- </datagrid>
- <input id="ipt_instcd" ref="/root/main/cond/instcd" style="left:145px; top:5px; width:100px; height:20px; "/>
- </group>
- <group id="group2" style="left:0px; top:0px; width:581px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35px; "/>
- <line id="line13" class="line_4" style="x1:515px; y1:7px; x2:515px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:520px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
-
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:0px; top:9px; width:80px; height:17px; ">검색어 :</caption>
- <input id="ipt_prcpcd" ref="/root/main/cond/prcpcd" class="input_default" navindex="2" imemode="alpha" maxlength="12" style="left:80px; top:8px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keycode == "13"){
- fPrcpListSrch();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_prcpnm" ref="/root/main/cond/prcpnm" class="input_default" style="left:190px; top:8px; width:250px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keycode == "13"){
- fPrcpListSrch();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_prcpclscd" ref="/root/main/cond/prcpclscd" appearance="minimal" style="left:445px; top:8px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/code">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:356px; width:580px; height:27px; ">
- <button id="btn_select" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCertPrcpInfo();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:520px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|