123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <?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>
- <cond>
- <pid/>
- <orddd/>
- <orddeptcd/>
- <orddrid/>
- <hngnm/>
- </cond>
- <outpatinfo>
- <outpatlist/>
- </outpatinfo>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <send>
- <srchcond/>
- <pid/>
- <hngnm/>
- </send>
- <infecpatlist>
- <infecpatlist/>
- </infecpatlist>
- <opprcpinfo/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <srchcond/>
- <pid/>
- <hngnm/>
- </hidden>
- <init>
- <M0062/>
- <P0341/>
- <orddept/>
- <userlist/>
- </init>
- <temp>
- <cond/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var sOUTPATLIST_PATH = "/root/main/outpatinfo/outpatlist";
-
- model.removeNodeset(sOUTPATLIST_PATH);
- model.setValue("/root/main/cond/orddd", getCurrentDate());
- zbcfGetCodeList(new Array("M0062", "P0341"), new Array("/root/init/M0062","/root/init/P0341"));
-
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "O");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", getUserInfo("dutplcecd"), "0330");
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- model.setValue("/root/main/cond/orddeptcd", "2280000000"); // 응급의학과
- model.refresh();
-
- fOrddridList();
- ]]>
- </script>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRMNE12000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/outpatinfo"/>
- </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">
- <![CDATA[
- function fReqOutPatList() {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNE12000");
- }
-
- function fOrddridList() {
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddept.value, "0330");
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- cmb_orddrid.select(0);
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1120" guideline="1,0;1,1100;2,782;1,-3;" style="background-color:transparent; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:16px; width:1100px; height:34px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:1100px; y2:80px; "/>
- <caption id="caption30" class="search_name" style="left:628px; top:24px; width:76px; height:17px; ">등록번호</caption>
- <caption id="caption14" class="search_name" style="left:6px; top:24px; width:76px; height:17px; ">진 료 일</caption>
- <caption id="caption26" class="search_name" style="left:193px; top:24px; width:76px; height:17px; ">진 료 과</caption>
- <caption id="caption29" class="search_name" style="left:442px; top:24px; width:76px; height:17px; ">진 료 의</caption>
- <caption id="caption2" class="tit_2" style="left:0px; top:65px; width:126px; height:13px; font-family:굴림; vertical-align:middle; ">외래환자 리스트</caption>
- <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input" autonext="false" inputtype="date" style="left:85px; top:24px; width:90px; height:19px; "/>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" imemode="disabled" maxlength="10" isemptyformatted="false" style="left:707px; top:24px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_reqpatnm", "DOMActivate");
- ]]>
- </script>
- </input>
- <datagrid id="grd_outpatlist" nodeset="/root/main/outpatinfo/outpatlist" caption="구분^내원일시^성명^등록번호^S/A^진료과^예약구분^진료의^진단코드^진단명^오늘결과^One Stop^orddd^cretno^instcd^acptseqno^orgorddd^repltype^수납VIP사유코드^수납VIP사유^medamtpostyn^민원여부^color^orddrid" colsep="^" colwidth="50, 130, 70, 75, 55, 100, 100, 65, 85, 320, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:85px; width:1100px; height:697px; text-align:center; margin-left:0; margin-right:0; ">
- <col disabled="true" ref="elbulbodstat" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/M0062/M0062">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="pid"/>
- <col ref="sexage"/>
- <col ref="orddeptnm"/>
- <col disabled="true" ref="rsrvflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0341/P0341">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="icd10cd" style="text-align:center; "/>
- <col ref="diagnm" style="text-align:left; "/>
- <col ref="prcptdayaftrcptyn"/>
- <col ref="onestop"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="instcd"/>
- <col ref="orddrid" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_outpatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line3" style="x1:1020px; y1:20px; x2:1020px; y2:46px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption6" class="search_name" style="left:816px; top:25px; width:81px; height:17px; ">성 명</caption>
- <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_default" appearance="minimal" editmode="search" style="left:272px; top:24px; width:150px; 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[
- fOrddridList();
- ]]>
- </script>
- </select1>
- <input id="ipt_hngnm" ref="/root/main/cond/hngnm" class="input_search" style="left:890px; top:25px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13){
- model.setValue("/root/hidden/srchcond", "2");
- model.setValue("/root/hidden/hngnm", ipt_hngnm.currentText);
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden", "/root/send");
- var pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var hngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
-
- model.setValue("/root/main/cond/pid", pid);
- model.setValue("/root/main/cond/hngnm", hngnm);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="btn_req" class="btn1_letter2" style="left:1035px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqOutPatList();
- ]]>
- </script>
- </button>
- <button id="btn_patsrch" class="icon_search" style="left:987px; top:27px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500");
-
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/main/cond/pid", sPid);
- model.setValue("/root/main/cond/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddrid" ref="/root/main/cond/orddrid" appearance="minimal" itemcount="30" style="left:521px; top:24px; width:90px; 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[
- fReqOutPatList();
- ]]>
- </script>
- </select1>
- <button id="btn_reqpatnm" disabled="true" style="left:795px; top:25px; width:25px; height:20px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPidTrim("/root/main/cond/pid")
- var pid = model.getValue("/root/main/cond/pid");
- if(pid == ""){
- return;
- }
- if(reqPatInfo("pid", "ptbs", pid)==true){
- var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
- model.setValue("/root/main/cond/hngnm", hngnm);
- model.refresh();
-
- fReqOutPatList();
- }
- model.refresh();
- ]]>
- </script>
- <caption/>
- </button>
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; font-family:굴림; ">외래 환자 조회</caption>
- </xhtml:body>
- </xhtml:html>
|