123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <erpatinfo>
- <erpatlist/>
- <erpatcnt/>
- </erpatinfo>
- <cond>
- <pid/>
- <orddeptcd/>
- <medispclid/>
- <hngnm/>
- <srchflag>1</srchflag>
- <srchdd/>
- <orddd/>
- <section>-</section>
- <sortcol/>
- <orderby/>
- <staytm>1</staytm>
- <atdoctid/>
- <erorddeptcd/>
- <ermedispclid/>
- <mypatflag>N</mypatflag>
- </cond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send/>
- <hidden>
- <srchcond/>
- <pid/>
- <hngnm/>
- <pattriagelist/>
- <erincnclinfo/>
- </hidden>
- <init>
- <orddept/>
- <userlist/>
- <section>-</section>
- <rsltgetdata>
- <getdata/>
- </rsltgetdata>
- <userscrnenvinfo/>
- <hardcdno/>
- <colorflag/>
- <calltime/>
- <bpcallyn/>
- <M0623/>
- <erorddept/>
- <eruserlist/>
- <userlist2/>
- <M0720/>
- </init>
- <popupmenu>
- <menu>
- <item>
- <name>관심환자등록</name>
- <func>fCallWndConcPatRgst</func>
- </item>
- <item>
- <name>주의요망환자관리</name>
- <func>fCallWndWarnPat</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>Triage등록</name>
- <func>fOpenERTriage</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>전공의 적용</name>
- <func>fRgstCnclAtDoct</func>
- </item>
- <!--item>
- <name>내 환자 적용</name>
- <func>fRgstCnclMyPat</func>
- </item-->
- <item>
- <name>인턴등록</name>
- <func>fOpenErInternMngt</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>의사호출</name>
- <func>fOpenERCallDr</func>
- </item>
- <item>
- <name>의사호출현황</name>
- <func>fOpenErCallDrHist</func>
- </item>
- <item>
- <name>권역외상센터의사호출</name>
- <func>fOpenTRCallDr</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>중증응급 등록/해제</name>
- <func>fErRecoverWardRgst</func>
- </item>
- <item>
- <name>중증응급 환자조회</name>
- <func>fErRecoverWardSrch</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>간호TPR 조회</name>
- <func>fCallCareTPRInfo</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>의사결정</name>
- <func>fIntensionDecision</func>
- </item>
- <item>
- <name>빈병상현황</name>
- <func>fEmptyBedCheck</func>
- </item>
- <item>
- <name>입원의뢰서</name>
- <func>fEnterHosReq</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>환자바코드 출력</name>
- <func>fPrintPatLabel</func>
- </item>
- <item>
- <name>안전사고보고</name>
- <func>fPatQi</func>
- </item>
- <!--
- <item>
- <name>RC환자정보</name>
- <func>fA</func>
- </item>
- <item>
- <name>심사전달사항</name>
- <func>fB</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>V/S조회</name>
- <func>fC</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- -->
- </menu>
- </popupmenu>
- <popupmenu2>
- <menu>
- <item>
- <name>관심환자등록</name>
- <func>fCallWndConcPatRgst</func>
- </item>
- <item>
- <name>주의요망환자관리</name>
- <func>fCallWndWarnPat</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>Triage등록</name>
- <func>fOpenERTriage</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>전공의 적용</name>
- <func>fRgstCnclAtDoct</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>인턴등록</name>
- <func>fOpenErInternMngt</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>의사호출 사용자관리</name>
- <func>fOpenDrList</func>
- </item>
- <item>
- <name>응급스케쥴등록</name>
- <func>fSaveErCallVisit</func>
- </item>
- <item>
- <name>일반의사호출</name>
- <func>fOpenERCallDr</func>
- </item>
- <item>
- <name>의사호출현황</name>
- <func>fOpenErCallDrHist</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>중증 호출 당직관리</name>
- <func>fOpenNurseERDrScheDrList</func>
- </item>
- <item>
- <name>중증 응급 호출</name>
- <func>fOpenNurseERCallDr</func>
- </item>
- <!--
- <item>
- <name>중증 Visit 등록</name>
- <func>fOpenNurseERVisitDr</func>
- </item>
- -->
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>중증응급</name>
- <func>fErRecoverWardRgst</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>의사호출 Deactivation</name>
- <func>fOpenDrCallDeaction</func>
- </item>
- <item>
- <name>의사호출 Addition</name>
- <func>fOpenDrCallAddition</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>간호TPR 조회</name>
- <func>fCallCareTPRInfo</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>안전사고보고</name>
- <func>fPatQi</func>
- </item>
- <!--
- <item>
- <name>RC환자정보</name>
- <func>fA</func>
- </item>
- <item>
- <name>심사전달사항</name>
- <func>fB</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>V/S조회</name>
- <func>fC</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- -->
- </menu>
- </popupmenu2>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SMMMO04400();
- ]]>
- </script>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRMMO04401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/erpatinfo"/>
- <submission id="TRMMO04402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/section"/>
- <submission id="TRMMO04403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/pattriagelist"/>
- <submission id="TRMMO04404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/erincnclinfo"/>
- <submission id="TRMMB01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/userscrnenvinfo"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/rsltgetdata"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/recinfo"/>
- <submission id="TRMMO02705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/aftcert" resultref="/root/hidden/aftcert"/>
- <submission id="TRMMB04107" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- </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="../../../emr/prcpmngtweb/js/MMO001.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/SMMMO04100.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04400.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1174;2,718;2,716;2,64;2,10;1,4;" style="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:1px; width:1174px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption7" class="search_name" style="left:343px; top:9px; width:76px; height:17px; ">진료과</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:79px; x2:1174px; y2:79px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:64px; width:126px; height:13px; vertical-align:middle; ">응급환자 리스트</caption>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" imemode="disabled" maxlength="10" style="left:760px; top:36px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_reqpatnm", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:837px; top:36px; width:60px; height:17px; ">성 명</caption>
- <caption id="caption4" class="search_name" style="left:681px; top:36px; width:76px; height:17px; ">등록번호</caption>
- <input id="input3" ref="/root/main/cond/hngnm" class="input_search" style="left:899px; top:36px; 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", input3.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>
- <caption id="caption6" class="search_name" style="left:192px; top:9px; width:64px; height:17px; ">구 역</caption>
- <button id="btn_prcpclsnm" class="icon_search" style="left:993px; top:37px; 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>
- <button id="btn_reqpatnm" disabled="true" style="left:475px; top:35px; width:45px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPidTrim("/root/main/cond/pid");
- var pid = model.getValue("/root/main/cond/pid");
- if(pid == ""){
- return;
- }
-
- var pid = model.getValue("/root/main/cond/pid");
- if(reqPatInfo("pid", "ptbs", pid)==true){
- var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
- model.setValue("/root/main/cond/hngnm", hngnm);
- model.refresh();
- fReqERPatList();
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/cond/section" class="combo" appearance="minimal" style="left:260px; top:10px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/section/section">
- <label ref="typenm"/>
- <value ref="typecd"/>
- </itemset>
- </choices>
- </select1>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/mypatflag" style="left:272px; top:34px; width:20px; height:20px; "/>
- <caption id="caption11" style="left:290px; top:35px; width:54px; height:19px; font-weight:bold; ">
- <![CDATA[내환자]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var mypatflag = model.getValue("/root/main/cond/mypatflag");
- if(mypatflag == "Y"){
- model.setValue("/root/main/cond/mypatflag", "N");
- }else{
- model.setValue("/root/main/cond/mypatflag", "Y");
- }
- model.refresh();
- ]]>
- </script>
- <hint>
- <![CDATA[전문의/담당의/호출의에 포함된 환자]]>
- </hint>
- </caption>
- <select1 id="radio1" ref="/root/main/cond/srchflag" appearance="full" cellspacing="10" cols="4" rows="1" overflow="visible" style="left:86px; top:38px; width:181px; height:19px; border-style:none; ">
- <choices>
- <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[
- fReqERPatList();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:530px; top:36px; width:76px; height:17px; ">호출의</caption>
- <caption id="caption5" class="search_name" style="left:837px; top:11px; width:76px; height:17px; ">재원환자</caption>
- <output id="out_curpatcnt" ref="/root/main/erpatinfo/erpatcnt/ercurpatcnt" style="left:915px; top:11px; width:30px; height:19px; text-align:right; "/>
- <caption id="caption9" style="left:945px; top:11px; width:10px; height:20px; ">/</caption>
- <output id="out_epatcnt" ref="/root/main/erpatinfo/erpatcnt/erpattotalcnt" style="left:955px; top:11px; width:34px; height:19px; text-align:right; "/>
- <caption id="caption8" style="left:990px; top:11px; width:20px; height:20px; font-weight:bold; ">명</caption>
- <button id="button1" class="btn3_letter3" style="left:1025px; top:25px; width:68px; height:22px; ">
- <caption>Triage</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMNE04400");
- fReqERPatList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_search" appearance="minimal" style="left:410px; top:9px; width:111px; 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");
-
- if(cmb_orddept.value == "-"){
- model.removeNode("/root/init/userlist/usercombo");
- model.makeValue("/root/init/userlist/usercombo/userid", "-");
- model.makeValue("/root/init/userlist/usercombo/usernm", "전체");
- model.removeNode("/root/init/userlist2/usercombo");
- model.makeValue("/root/init/userlist2/usercombo/userid", "-");
- model.makeValue("/root/init/userlist2/usercombo/usernm", "전체");
- }else{
- var sOrdDd = model.getValue("/root/main/cond/srchdd");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cmb_orddept.value, "0330", "", "M", sOrdDd); //진료과 의사콤보 조회
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist2" , cmb_orddept.value, "0330", "", "A", sOrdDd); //진료과 의사콤보 조회
- addComboInstance("/root/init/userlist2", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- }
- model.setValue("/root/main/cond/medispclid", "-");
- model.setValue("/root/main/cond/atdoctid", "-");
- model.refresh();
-
- fReqERPatList();
- ]]>
- </script>
- </select1>
- <caption id="caption12" class="search_name" style="left:4px; top:9px; width:76px; height:17px; ">조회일자</caption>
- <input id="input2" ref="/root/main/cond/srchdd" inputtype="date" style="left:84px; top:9px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/orddept");
- model.makeNode("/root/init/orddept/dept");
-
- var sOrdDd = model.getValue("/root/main/cond/srchdd");
- var sOrdDeptCd = model.getValue("/root/main/cond/orddeptcd");
-
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "D", sOrdDd); // 진료일자 기준으로 진료과를 다시 조회
- addComboInstance("/root/init/orddept" , "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
-
- if(isNull(model.getValue("/root/init/orddept/dept[deptcd='"+sOrdDeptCd+"']/deptcd"))) {
- if(fContainsHardCD("445", sOrdDeptCd)) { // 소아청소년과 분과 이면 소아청소년과로 설정.
- model.setValue("/root/main/cond/orddeptcd", "2110000000");
- cmb_orddept.dispatch("xforms-value-changed");
- cmb_erorddeptcd.dispatch("xforms-value-changed");
- } else {
- messageBox ( "선택일자에 존재하지 않는 진료과 입니다.\n\n진료과를 다시 선택 하세요.", "I" );
- model.setValue("/root/main/cond/orddeptcd", "-");
- }
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_req" class="btn1_letter2" style="left:1110px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cond/orderby", "");
- model.setValue("/root/main/cond/sortcol", "");
- fReqERPatList();
- ]]>
- </script>
- </button>
- <line id="line1" style="x1:1015px; y1:7px; x2:1015px; y2:57px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_orddrid" ref="/root/main/cond/ermedispclid" class="combo_search" appearance="minimal" style="left:599px; top:36px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/eruserlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_erpatlist" nodeset="/root/main/erpatinfo/erpatlist" class="datagrid2" caption="질병군분류^BED^특이^의사결정^입원장^상태^등록번호^중증^Triage^KTAS^성명^환자명^S/A^진료과^전문의^담당의^호출진료과^진료과코드^호출의사^의사번호^진단명^주호소^병실^Remark^Remark2^내원일시^인턴1^인턴2^Call Time^Visit Time^체류시간^선택진료여부^DRG^indd^cretno^orddeptcd^visitno^rrgstno1^color^adrvcolor^recovwardcd^actsymp^dschdclrtyn^tmcolorm^staytime^prcpcolor" colsep="^" colwidth="70, 46, 30, 55, 45, 30, 65, 35, 35, 40, 0, 100, 45, 80, 55, 55, 80, 0, 55, 0, 145, 145, 47, 112, 100, 104, 74, 72, 70, 67, 80, 100, 50, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:84px; width:1174px; height:601px; ">
- <col ref="drginfo" style="text-align:center; "/>
- <col ref="bed" style="text-align:center; "/>
- <col ref="spclflag" style="text-align:center; "/>
- <col disabled="true" ref="adflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0720/M0720">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="adrvflag" style="text-align:center; "/>
- <col ref="patstat" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="recovwardnm" style="text-align:center; "/>
- <col ref="serdiagflag" style="text-align:center; "/>
- <col ref="serdiagflag2" style="text-align:center; "/>
- <col disabled="true" ref="hngnm" style="text-align:center; "/>
- <col disabled="true" ref="dispnm2" style="text-align:center; "/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="ordindeptnm"/>
- <col ref="medispclnm" style="text-align:center; "/>
- <col ref="atdoctnm" style="text-align:center; "/>
- <col disabled="true" ref="orddeptnm"/>
- <col ref="erorddeptcd" visibility="hidden"/>
- <col ref="orddoctnm" style="text-align:center; "/>
- <col ref="orddoctid" visibility="hidden"/>
- <col ref="diagnm"/>
- <col ref="mainsynom" style="left:847px; top:32px; width:145px; height:23px; "/>
- <col ref="roomcd"/>
- <col ref="remark1"/>
- <col ref="remark2"/>
- <col ref="chosdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="internnm1" style="text-align:center; "/>
- <col ref="internnm2" style="text-align:center; "/>
- <col ref="calltm" format="hh:nn:ss" style="text-align:center; "/>
- <col ref="visttm" format="hh:nn:ss" style="text-align:center; "/>
- <col ref="staytm" style="text-align:center; "/>
- <col disabled="true" ref="specordtype" type="combo">
- <choices>
- <itemset nodeset="/root/init/M0623/M0623">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drgyn" style="text-align:center; "/>
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="visitno" visibility="hidden"/>
- <col ref="rrgstno1" visibility="hidden"/>
- <col ref="color" visibility="hidden"/>
- <col ref="adrvcolor" visibility="hidden"/>
- <col ref="recovwardcd" visibility="hidden"/>
- <col ref="actsymp" visibility="hidden"/>
- <col ref="dschdclrtyn" visibility="hidden"/>
- <col ref="tmcolor" visibility="hidden"/>
- <col ref="staytime" visibility="hidden"/>
- <col ref="prcpcolor" visibility="hidden"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(model.getValue("/root/init/calltime/hardcd/hardcd") != "-"){
- setPopupMenu("grd_erpatlist", false, "/root/popupmenu2/menu/item", "name", "func");
- }else{
- setPopupMenu("grd_erpatlist", false, "/root/popupmenu/menu/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- setGlobalVariable("OrderMainRefresh", "Y"); // 처방 메인 refresh 단일화를 위한 글로벌 변수 셋팅 - 20081212 by Moonsh
- if ( fChkBfPrcpLoad("E") == false ) {
- return;
- }
- fSelectERPat();
- }
- //박유진 091104 간호TPR 기록창이 떠있는 경우에만 적용
- if (findChildWindowByScreenID("SMMNR00900") != null){
- //테스트중
- fCallCareTPRInfo();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_erpatlist.isCell(event.target)){
- var currow = grd_erpatlist.row;
- var curcol = grd_erpatlist.col;
- if(currow == 0){ //grid sort
- if(sORDERBY == "asc"){
- sORDERBY = "desc";
- }else{
- sORDERBY = "asc";
- }
- model.setValue("/root/main/cond/sortcol", curcol);
- model.setValue("/root/main/cond/orderby", sORDERBY);
- model.copyNode(opener.root.cond.erpatlist, root.main.cond);
- //nodeListSort(grd_erpatlist.nodeset, grd_erpatlist.colAttribute(curcol, "ref"), sORDERBY);
- fChngColorERPatList();
- grd_erpatlist.refresh();
-
- }else{
- var pid = model.getValue("/root/main/erpatinfo/erpatlist[" + grd_erpatlist.row + "]/pid");
- model.setValue(opener.root.source.pid, pid);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_erpatlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:4px; top:690px; width:1085px; height:26px; ">
- <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:525px; top:0px; width:554px; height:26px; background-color:#ffffff; border-color:#3366ff; "/>
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:0px; width:511px; height:26px; background-color:#ffffff; border-color:#3366ff; "/>
- <shape id="rectangle4" appearance="rectangle" style="left:715px; top:4px; width:30px; height:19px; background-color:#ccffcc; border-color:#000000; "/>
- <shape id="rectangle5" appearance="rectangle" style="left:885px; top:4px; width:30px; height:19px; background-color:#ffcc99; border-color:#000000; "/>
- <shape id="rectangle6" appearance="rectangle" style="left:535px; top:4px; width:30px; height:19px; background-color:#ffffff; border-color:#000000; "/>
- <caption id="caption17" style="left:13px; top:5px; width:493px; height:15px; ">◇ : 응급실 입원장 발행 ◆ : 응급실 입원장 발행, 원무에서 접수 ◎ : 외래 입원장 발행</caption>
- <caption id="caption18" style="left:745px; top:4px; width:124px; height:19px; ">응급입원후 6시간 이상</caption>
- <caption id="caption19" style="left:565px; top:4px; width:134px; height:19px; ">의사처방이존재하는경우</caption>
- <caption id="caption29" style="left:920px; top:4px; width:136px; height:19px; ">6시간미만, 의사처방 X</caption>
- </group>
- <select1 id="combo3" ref="/root/main/cond/medispclid" class="combo_search" appearance="minimal" style="left:599px; top:10px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption36" class="search_name" style="left:530px; top:10px; width:65px; height:17px; ">전문의</caption>
- <caption id="caption37" class="search_name" style="left:343px; top:35px; width:76px; height:17px; ">호출과</caption>
- <select1 id="cmb_erorddeptcd" ref="/root/main/cond/erorddeptcd" class="combo_search" appearance="minimal" style="left:410px; top:35px; width:111px; 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/eruserlist");
- model.makeNode("/root/init/eruserlist/usercombo");
-
- if(cmb_orddept.value == "-"){
- model.removeNode("/root/init/eruserlist/usercombo");
- model.makeValue("/root/init/eruserlist/usercombo/userid", "-");
- model.makeValue("/root/init/eruserlist/usercombo/usernm", "전체");
- }else{
- var sOrdDd = model.getValue("/root/main/cond/srchdd");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/eruserlist" , cmb_erorddeptcd.value, "0330", "", "", sOrdDd); //진료과 의사콤보 조회
- addComboInstance("/root/init/eruserlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- }
- model.setValue("/root/main/cond/ermedispclid", "-");
- model.refresh();
-
- fReqERPatList();
- ]]>
- </script>
- </select1>
- <select1 id="combo5" ref="/root/main/cond/atdoctid" class="combo_search" appearance="minimal" style="left:760px; top:10px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist2/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption38" class="search_name" style="left:681px; top:10px; width:76px; height:17px; ">담 당 의</caption>
- <caption id="caption10" class="search_name" style="left:4px; top:35px; width:76px; height:17px; ">조회조건</caption>
- </xhtml:body>
- </xhtml:html>
|