123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432 |
- <?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>
- <fromdd/>
- <todd/>
- <clsflag>P</clsflag>
- <searflag>O</searflag>
- <elbulbodstat>-</elbulbodstat>
- <patflagstat>-</patflagstat>
- <userid/>
- <concsliplist/>
- <deptflag>0</deptflag>
- <mypatflag/>
- <opstatcd>A</opstatcd>
- <perfdeptlist/>
- <ordrecflag>Y</ordrecflag>
- <ocsflag>N</ocsflag>
- </cond>
- <outpatinfo>
- <outpatlist/>
- </outpatinfo>
- <opprcpinfo/>
- <info>
- <concslippatlist>
- <orddeptcd/>
- <pid/>
- <hangnm/>
- <sa/>
- </concslippatlist>
- </info>
- <inpatinfo>
- <inpatlist/>
- </inpatinfo>
- <oppatinfo>
- <oppatlist/>
- </oppatinfo>
- <opprcpinfo>
- <opprcpinfo/>
- </opprcpinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <hidden/>
- <init>
- <orddept/>
- <userlist/>
- <userscrnenvinfo/>
- <rsltgetdata>
- <getdata/>
- </rsltgetdata>
- <concsliplist/>
- <pamkey/>
- <M0015/>
- <opdept/>
- <searflag>
- <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>
- </searflag>
- </init>
- <cpflag/>
- </root>
- </instance>
- <submission id="TRMMO04207" 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/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/SPMMO04200.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04300.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04500.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var cur_day = getCurrentDate();
- var idate = new Date();
- var peveDate = idate.getAddDate(-1, "D");
-
- zbcfGetCodeList(new Array("M0015"), new Array("/root/init/M0015"));
- // model.setValue("/root/main/cond/fromdd", peveDate.getDateFormat());
- model.setValue("/root/main/cond/fromdd", cur_day);
- model.setValue("/root/main/cond/todd" , cur_day );
- model.setValue("/root/main/cond/userid", getUserId());
-
- if(getUserInfo("dutplcecd") != "2090000000"){
- // cmb_searflag.attribute("itemcount")=4;
- // cmb_searflag.attribute("rows")=4;
- // cmb_searflag.attribute("overflow")="hidden";
- // cmb_searflag.item(3).attribute("visibility") = "hidden"
- model.removeNodeset("/root/init/searflag/itemlist[flag='N']");
- }
- fGrdInit() ;
-
- mainObj = getMainViewer();
- curCpObj = mainObj.javascript.getOpenWindow("SMMMP00800"); //활성화된 CP Main 화면 object loading
- curPrcpObj = mainObj.javascript.getOpenWindow("SMMMO00100"); //활성화된 처방Main 화면 object loading
-
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "/root/init/orddept";
- var sort_method = "depthngnm";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_method);
-
- addComboItem("cmb_orddept", "", "", "above");
-
- fChkGetData() ;
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="radio_search" scroll="auto" onBlur="window.focus()" pagewidth="336" pageheight="650" guideline="1,8;1,328;2,100;2,620;2,625;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:8px; top:0px; width:320px; height:100px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:12px; top:5px; width:91px; height:17px; ">조회기간 :</caption>
- <caption id="caption2" class="search_name" style="left:12px; top:29px; width:86px; height:17px; ">분류구분 :</caption>
- <caption id="caption3" class="search_name" style="left:12px; top:53px; width:86px; height:17px; ">검색구분 :</caption>
- <caption id="caption4" class="search_name" visibility="hidden" style="left:12px; top:77px; width:86px; height:17px; ">환자구분 :</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:100px; top:5px; width:92px; height:19px; "/>
- <caption id="caption19" class="search_no_b" visibility="hidden" style="left:193px; top:7px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" disabled="false" visibility="hidden" inputtype="date" style="left:208px; top:5px; width:92px; height:19px; "/>
- <select1 id="rdo_clsflag" ref="/root/main/cond/clsflag" class="radio_search" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:100px; top:28px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>P</value>
- </item>
- <item>
- <label>과</label>
- <value>G</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_searflag" ref="/root/main/cond/searflag" appearance="minimal" style="left:100px; top:52px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/searflag/itemlist">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGrdInit();
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_concslip" ref="/root/main/cond/concsliplist" class="combo_search" visibility="visible" appearance="minimal" style="left:187px; top:52px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/concsliplist/concsliplist">
- <label ref="slipnm"/>
- <value ref="slipno"/>
- </itemset>
- </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:100px; top:75px; width:228px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>접수</label>
- <value>0</value>
- </item>
- <item>
- <label>대기</label>
- <value>1</value>
- </item>
- <item>
- <label>완료</label>
- <value>2</value>
- </item>
- <item>
- <label>보류</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- <select1 id="rdo_patflagstat" ref="/root/main/cond/patflagstat" class="radio_search" appearance="full" cols="5" overflow="visible" style="left:100px; top:75px; 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>
- <line id="line1" class="line_1" style="x1:8px; y1:102px; x2:328px; y2:102px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:269px; top:52px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChkGetData();
- ]]>
- </script>
- </button>
- <button id="button27" class="btn3_letter6" style="left:224px; top:625px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter6.gif; ">
- <caption>관심슬립관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var xpt = window.screenleft;
- var ypt = window.screentop;
- modal ("SPMMO08600", 20, xpt + 15, ypt+33);
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:8px; top:105px; width:320px; height:515px; ">
- <case id="case1">
- <datagrid id="grd_outpatlist" nodeset="/root/main/outpatinfo/outpatlist" caption="등록번호^cretno^orddd^instcd^이름^SA^구분^" colsep="^" colwidth="86, 0, 0, 0, 88, 70, 70" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:316px; height:513px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="cretno"/>
- <col ref="orddd"/>
- <col ref="instcd"/>
- <col ref="hngnm"/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="roomcd" 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" selected="true">
- <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:px; width:318px; height:513px; ">
- <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>
- <case id="case3">
- <datagrid id="grd_bfprcplist" nodeset="/root/main/info/concslippatlist" caption="^등록번호^이름^S/A" colsep="^" colwidth="56, 88, 99, 69" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:0px; width:318px; height:513px; ">
- <col ref="orddept"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="sa" style="text-align:center; "/>
- </datagrid>
- </case>
- <case id="case4">
- <datagrid id="grd_oppatlist" nodeset="/root/main/oppatinfo/oppatlist" caption="상태^등록번호^이름^S/A" colsep="^" colwidth="56, 88, 99, 69" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:6px; width:318px; height:513px; ">
- <col editmode="search" ref="opstatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0015/M0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm"/>
- <col ref="sa" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- fMiniOpPat();
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <bool id="chk_myPat" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/mypatflag" style="left:215px; top:28px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkGetData();
- ]]>
- </script>
- </bool>
- <caption id="caption5" visibility="hidden" style="left:235px; top:28px; width:88px; height:20px; font-weight:bold; text-align:left; vertical-align:middle; ">내환자 포함</caption>
- <select1 id="rdo_opstatcd" ref="/root/main/cond/opstatcd" appearance="full" cellspacing="1" cols="5" overflow="visible" style="left:100px; top:75px; width:270px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>미착</label>
- <value>M</value>
- </item>
- <item>
- <label>준비</label>
- <value>R</value>
- </item>
- <item>
- <label>진행</label>
- <value>I</value>
- </item>
- <item>
- <label>완료</label>
- <value>F</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetOpPatList();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddept" ref="/root/main/cond/perfdeptlist" class="combo_search" visibility="hidden" appearance="minimal" style="left:99px; top:28px; width:93px; height:20px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkGetData() ;
- ]]>
- </script>
- </select1>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/ocsflag" style="left:203px; top:53px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/main/cond/ocsflag", "Y");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- model.setValue("/root/main/cond/ocsflag", "N");
- ]]>
- </script>
- </bool>
- <caption id="caption6" style="left:226px; top:53px; width:32px; height:20px; ">
- <![CDATA[OCS]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClkCheckBoxOCS();
- ]]>
- </script>
- </caption>
- </xhtml:body>
- </xhtml:html>
|