123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <cond>
- <orddd/>
- <ordtype>O</ordtype>
- <elbulbodstat>1</elbulbodstat>
- <patflagstat>-</patflagstat>
- <userid/>
- <orddeptcd/>
- <orddrid/>
- <delayflag/>
- <delaytime/>
- <delayexpt/>
- </cond>
- <outpatinfo>
- <outpatlist/>
- </outpatinfo>
- <opprcpinfo/>
- <inpatinfo>
- <inpatlist/>
- </inpatinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <hidden/>
- <init>
- <orddept/>
- <userlist/>
- <userscrnenvinfo/>
- <rsltgetdata>
- <getdata/>
- </rsltgetdata>
- <concsliplist/>
- <pamkey/>
- <M0015/>
- <opdept/>
- <ordtype>
- <itemlist>
- <value>O</value>
- <label>외래</label>
- <flag>Y</flag>
- </itemlist>
- <itemlist>
- <value>I</value>
- <label>입원</label>
- <flag>Y</flag>
- </itemlist>
- <itemlist>
- <value>P</value>
- <label>관심슬립</label>
- <flag>Y</flag>
- </itemlist>
- <itemlist>
- <value>A</value>
- <label>수술</label>
- <flag>N</flag>
- </itemlist>
- </ordtype>
- </init>
- <cpflag/>
- </root>
- </instance>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/selectpatinfo"/>
- <submission id="TRMMO02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/outpatinfo"/>
- <submission id="TRMMO04205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inpatinfo"/>
- <submission id="TRMMO04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inpatinfo"/>
- <submission id="TRMMO04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/rsltgetdata"/>
- <submission id="TRMMO04109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opprcpinfo"/>
- <submission id="TRMMO04206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oppatinfo"/>
- <submission id="TRMMB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/concsliplist"/>
- <submission id="TRMMB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/info"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/pamkeyinfo"/>
- <submission id="TRMMO04305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/getdata"/>
- </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/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04100.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO02900.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMO02900();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="hidden" guideline="1,8;1,380;2,80;2,636;">
- <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:4px; width:371px; height:72px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:7px; top:9px; width:91px; height:17px; ">진료일 :</caption>
- <caption id="caption2" class="search_name" style="left:7px; top:31px; width:86px; height:17px; ">진료과 :</caption>
- <caption id="caption4" class="search_name" visibility="hidden" style="left:7px; top:52px; width:86px; height:17px; ">환자구분 :</caption>
- <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input_s_essential" inputtype="date" style="left:85px; top:9px; width:92px; height:19px; "/>
- <bool id="chk_delay" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/delayflag" style="left:187px; top:10px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkGetData();
- ]]>
- </script>
- </bool>
- <input id="ipt_delaytime" ref="/root/main/cond/delaytime" class="input_search" visibility="hidden" format="##" style="left:212px; top:10px; width:25px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //지연시간을 체크 한다.
- var delayTime = model.getValue("/root/main/cond/delaytime");
- if(!delayTime.isNumber()){
- messageBox("지연시간은 숫자만 입력 가능 합니다", "I");
- model.setFocus("ipt_delaytime");
- }
- ]]>
- </script>
- </input>
- <caption id="caption9" visibility="hidden" style="left:237px; top:10px; width:70px; height:20px; ">
- <![CDATA[분 지연표시]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var delayflag = model.getValue("/root/main/cond/delayflag");
- if (delayflag =="Y") {
- model.setValue("/root/main/cond/delayflag", "N");
- } else {
- model.setValue("/root/main/cond/delayflag", "Y");
- }
- fChkGetData();
- ]]>
- </script>
- </caption>
- <select1 id="cmb_ordtype" ref="/root/main/cond/ordtype" visibility="hidden" appearance="full" cellspacing="1" cols="2" overflow="visible" style="left:280px; top:51px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <!--item>
- <label>입원</label>
- <value>I</value>
- </item-->
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGrdInit();
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- <select1 id="rdo_patflagstat" ref="/root/main/cond/patflagstat" class="radio_search" appearance="full" cols="5" overflow="visible" style="left:95px; top:52px; width:228px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>D</value>
- </item>
- <item>
- <label>입원예정</label>
- <value>P</value>
- </item>
- <item>
- <label>입실완료</label>
- <value>F</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- <select1 id="rdo_patflag" ref="/root/main/cond/elbulbodstat" class="radio_search" appearance="full" cols="5" overflow="visible" style="left:95px; top:53px; width:228px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>미접수</label>
- <value>9</value>
- </item>
- <item>
- <label>접수</label>
- <value>0</value>
- </item>
- <item>
- <label>대기</label>
- <value>1</value>
- </item>
- <item>
- <label>완료</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- <line id="line1" class="line_1" style="x1:3px; y1:78px; x2:382px; y2:78px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:313px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChkGetData();
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:3px; top:83px; width:378px; height:553px; ">
- <case id="case1" selected="true">
- <datagrid id="grd_outpatlist" nodeset="/root/main/outpatinfo/outpatlist" caption="instcd^orddd^cretno^시간^등록번호^이름^SA^초재진^보험유형^심사" colsep="^" colwidth="0, 0, 0, 40, 60, 60, 40, 45, 60, 40" ellipsis="true" explorerbar="sortshow" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:-4px; width:372px; height:552px; ">
- <col ref="instcd"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="ordtm" format="hh:ss" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="fsexamflagnm" style="text-align:center; "/>
- <col ref="insukindnm" style="text-align:center; "/>
- <col ref="bfjudgvalue" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- fMiniOutPat();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_outpatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="grd_inpatlist" nodeset="/root/main/inpatinfo/inpatlist" caption="등록번호^cretno^indd^instcd^이름^color^SA^병실^익일정규^ioflag^" colsep="^" colwidth="76, 0, 0, 0, 77, 0, 49, 57, 57, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:372px; height:548px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="cretno"/>
- <col ref="indd"/>
- <col ref="instcd"/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="color"/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="dayregular" style="text-align:center; "/>
- <col ref="ioflag"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell()==true) {
- fMiniInPat();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_outpatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:85px; top:32px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- var sOrdDd = model.getValue("/root/main/cond/orddd");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddept.value, "0330", "", "", sOrdDd);
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- cmb_orddrid.select(1);
- model.refresh();
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:215px; top:31px; width:86px; height:17px; ">진료의 :</caption>
- <select1 id="cmb_orddrid" ref="/root/main/cond/orddrid" class="combo_search" appearance="minimal" style="left:288px; top:32px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|