123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529 |
- <?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="">
- <init>
- <pdabpnolist>
- <pdabpnm/>
- <pdabpno/>
- </pdabpnolist>
- <movewaylist>
- <movewayno/>
- <movewaynm/>
- </movewaylist>
- <M0556list/>
- <M0557list/>
- <M0558list/>
- <issdept/>
- </init>
- <main>
- <cond>
- <refdd/>
- <dept/>
- <prcsstat/>
- <trtargetetc/>
- <patnm/>
- <end/>
- <cncl/>
- <endcncl/>
- <roomcd/>
- <pid/>
- <calldeptflag/>
- <patsearflag>1</patsearflag>
- <trflag/>
- <trno/>
- <issdept/>
- </cond>
- <trancalllist>
- <chkflag/>
- <trflag/>
- <trflag2/>
- <startposcd/>
- <roomcd/>
- <pid/>
- <patnm/>
- <trtarget/>
- <trtargetetc/>
- <trtargetetc2/>
- <newElement/>
- <newElement/>
- <newElement/>
- <startposcd/>
- <arvposcd/>
- <calltm/>
- <rsrvdt/>
- <movewaynm/>
- <prepfact/>
- <prepfact2/>
- <remarkno/>
- <wardtel/>
- <prcsstat/>
- <prcsstat2/>
- <remark/>
- <trsmresultcd/>
- <prcpdd/>
- <trno/>
- <indd/>
- <cretno/>
- <arvposnm2/>
- <userid/>
- <trno/>
- </trancalllist>
- <cmbdata>
- <rgstdeptlist>
- <rgstdeptcd/>
- <rgstdeptnm/>
- </rgstdeptlist>
- </cmbdata>
- </main>
- <hidden>
- <orddeptlist>
- <dept>
- <depthngnm/>
- <deptcd/>
- </dept>
- </orddeptlist>
- </hidden>
- <send>
- <reqdata/>
- <savedata/>
- <report>
- <instcd/>
- <calldd/>
- <pid/>
- <pdabpno/>
- <wardcd/>
- <prcsstat/>
- <kind/>
- <patnm/>
- </report>
- <userdeptcd/>
- <newElement/>
- </send>
- <temp>
- <refstatus/>
- </temp>
- <recresult/>
- </root>
- </instance>
- <submission id="TRMNB01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/trancalllist"/>
- <submission id="TRMNB01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init"/>
- <submission id="TXMNB01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/trancalllist"/>
- <submission id="TXMNB01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/trancalllist"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance" resultref="/root/hidden/orddeptlist"/>
- <submission id="TXMNR00705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/recresult"/>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- model.setValue("/root/temp/refstatus", "C");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit(); //초기화
- ]]>
- </script>
- <submission id="TRMNB01811" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cmbdata"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/code/codelist"/>
- <submission id="TRMNB01803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/roomcdgrup"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/wardcareweb/js/SMMNB01800.js"/>
- <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:129px; height:14px; ">이송요원호출</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1194px; height:744px; ">
- <datagrid id="grd_trancalllist" nodeset="/root/main/trancalllist" class="datagrid2" caption="^이송flag^진행
상태^부서^병실^등록번호^환자명^이송구분^종류^출발지^도착지^전송
일시^예약
일시^처방명^약품^약품번호^이송검체^물품/기타^이송대상flag^이동
수단^준비
사항^준비사항^Remark^Remarkno^회신
번호^진행
상태flag^이송대상^전송결과^prcpdd^trno" colsep="^" colwidth="30, 66, 40, 62, 45, 60, 56, 57, 35, 90, 91, 40, 40, 60, 60, 60, 60, 60, 52, 55, 111, 60, 79, 65, 36, 71, 100, 56, 100, 53" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:83px; width:1194px; height:630px; ">
- <col ref="chkflag" type="checkbox"/>
- <col ref="trflag" visibility="hidden"/>
- <col ref="prcsstat2" style="text-align:center; "/>
- <col ref="startposcd"/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="trflag2" style="text-align:center; "/>
- <col disabled="true" ref="prcpnmdetl" style="text-align:center; "/>
- <col disabled="true" ref="startposcd" style="text-align:center; "/>
- <col disabled="true" ref="arvposcd" style="text-align:center; "/>
- <col ref="calltm" format="mm:hh" style="text-align:center; "/>
- <col ref="rsrvdt" format="mm:hh" style="text-align:center; "/>
- <col ref="prcpnm"/>
- <col disabled="true" ref="drugnm" style="text-align:center; "/>
- <col disabled="true" ref="drugnmdetl" style="text-align:center; "/>
- <col disabled="true" ref="transpc" style="text-align:center; "/>
- <col disabled="true" ref="goodetc" style="text-align:center; "/>
- <col ref="trtargetetc" visibility="hidden"/>
- <col ref="movewaynm" style="text-align:center; "/>
- <col ref="prepfact" visibility="hidden" style="text-align:center; "/>
- <col ref="prepfact2"/>
- <col ref="remark"/>
- <col ref="remarkno" visibility="hidden"/>
- <col ref="wardtel"/>
- <col ref="prcsstat" visibility="hidden"/>
- <col ref="trtarget" visibility="hidden"/>
- <col ref="trsmresultcd" visibility="hidden"/>
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="trno" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fDblClick();
- fSearchTranCall();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- grd_trancalllist.tooltipText(grd_trancalllist.mouseRow, grd_trancalllist.mouseCol) = grd_trancalllist.labelMatrix(grd_trancalllist.mouseRow, grd_trancalllist.mouseCol);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_trancalllist.gridToInstance();
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <group id="group5" style="left:0px; top:10px; width:1194px; height:65px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_ref" class="btn1_letter3" style="left:1123px; top:10px; width:68px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.getValue("/root/hidden/init/orddeptcd[cd=2380000000]/nm")
- fSearchTranCall();
- ]]>
- </script>
- </button>
- <line id="line16" class="line_4" style="x1:833px; y1:7px; x2:833px; y2:56px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption17" class="search_name" style="left:3px; top:11px; width:86px; height:17px; ">업무일자:</caption>
- <caption id="caption18" class="search_name" visibility="visible" style="left:179px; top:11px; width:62px; height:17px; ">부서:</caption>
- <input id="ipt_refdd" ref="/root/main/cond/refdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:84px; top:10px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRoom();
- fSearchTranCall();
- ]]>
- </script>
- </input>
- <select1 id="cmb_dept" class="combo_search" visibility="hidden" appearance="minimal" style="left:125px; top:0px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/cmbdata/rgstdeptlist">
- <label ref="rgstdeptnm"/>
- <value ref="rgstdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRoom();
- fSearchTranCall();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:360px; top:12px; width:86px; height:17px; ">병실 :</caption>
- <caption id="caption2" class="search_name" style="left:359px; top:37px; width:86px; height:17px; ">진행상태 :</caption>
- <select1 id="cmb_prcsstat" ref="/root/main/cond/prcsstat" class="combo_search" appearance="minimal" style="left:444px; top:35px; width:68px; height:19px; ">
- <choices>
- <item>
- <label>- 전체 -</label>
- <value/>
- </item>
- <item>
- <label>전송</label>
- <value>1</value>
- </item>
- <item>
- <label>접수</label>
- <value>2</value>
- </item>
- <item>
- <label>재전송</label>
- <value>3</value>
- </item>
- <item>
- <label>완료</label>
- <value>4</value>
- </item>
- <item>
- <label>취소</label>
- <value>5</value>
- </item>
- <item>
- <label>보류</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearchTranCall();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:179px; top:37px; width:61px; height:17px; ">종류:</caption>
- <select1 id="cmb_trtargetetc" ref="/root/main/cond/trtargetetc" class="combo_search" appearance="minimal" style="left:236px; top:37px; width:99px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0557list/M0557">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearchTranCall();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:515px; top:10px; width:147px; height:17px; ">환자명/등록번호 :</caption>
- <input id="ipt_patnm" ref="/root/main/cond/patnm" class="input_search" disabled="true" imemode="hangul" style="left:649px; top:10px; width:81px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_ref", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:515px; top:35px; width:85px; height:17px; ">제외 :</caption>
- <select id="chk_endcncl" ref="/root/main/cond/end" class="checkbox_search" overflow="visible" appearance="full" cols="2" style="left:581px; top:35px; width:48px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>완료</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ( model.getValue("/root/main/cond/end") == "1" )&&( model.getValue("/root/main/cond/cncl") == "2" ) ) {//완료, 취소 둘다 체크
- model.setValue("/root/main/cond/endcncl", "3");
- }else if( model.getValue("/root/main/cond/end") == "1" ) {
- model.setValue("/root/main/cond/endcncl", model.getValue("/root/main/cond/end"));
- }else {
- model.setValue("/root/main/cond/endcncl", model.getValue("/root/main/cond/cncl"));
- }
- //model.copyNode("/root/send/reqdata", "/root/main/cond");
- //submit("TRMNB01801");
- ]]>
- </script>
- </select>
- <button id="btn_excelsave" class="btn1_letter3" style="left:1123px; top:35px; width:68px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_trancalllist.rows <= 1) {
- messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }
- var fileName = window.fileDialog("save", ",", false, "이송요원호출", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_trancalllist.saveExcel(fileName, "SheetName", false, false, "", "", false);
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_transave" class="btn4_letter3" style="left:1052px; top:35px; width:68px; height:22px; ">
- <caption>완료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fTranEnd();
- ]]>
- </script>
- </button>
- <button id="btn_rete" class="btn1_letter3" style="left:910px; top:35px; width:68px; height:22px; ">
- <caption>보류</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReteCall();
- ]]>
- </script>
- </button>
- <button id="btn_cncl" class="btn1_letter3" style="left:839px; top:35px; width:68px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fTranCallCncl();
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn1_letter3" style="left:839px; top:10px; width:68px; height:22px; ">
- <caption>전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddTranCall();
- ]]>
- </script>
- </button>
- <button id="btn_return" class="btn1_letter3" style="left:981px; top:10px; width:68px; height:22px; ">
- <caption>Return</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRtnCall();
- ]]>
- </script>
- </button>
- <button id="btn_recall" class="btn1_letter3" style="left:910px; top:10px; width:68px; height:22px; ">
- <caption>재전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReInsTranCall();
- ]]>
- </script>
- </button>
- <button id="btn_repet" class="btn1_letter3" style="left:1052px; top:10px; width:68px; height:22px; ">
- <caption>반복</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReptCall();
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn4_letter3" style="left:981px; top:35px; width:68px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAcptTranCall();
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/main/cond/cncl" overflow="visible" appearance="full" style="left:631px; top:35px; width:49px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>취소</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ( model.getValue("/root/main/cond/end") == "1" )&&( model.getValue("/root/main/cond/cncl") == "2" ) ) {//완료, 취소 둘다 체크
- model.setValue("/root/main/cond/endcncl", "3");
- }else if( model.getValue("/root/main/cond/end") == "1" ) {
- model.setValue("/root/main/cond/endcncl", model.getValue("/root/main/cond/end"));
- }else {
- model.setValue("/root/main/cond/endcncl", model.getValue("/root/main/cond/cncl"));
- }
- //model.copyNode("/root/send/reqdata", "/root/main/cond");
- //submit("TRMNB01801");
- ]]>
- </script>
- </select>
- <select1 id="cmb_roomcd" ref="/root/main/cond/roomcd" class="combo_search" appearance="minimal" style="left:422px; top:10px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/roomcdgrup/roomcdgruplist">
- <label ref="roomnm"/>
- <value ref="roomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearchTranCall();
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/main/cond/pid" class="input_search" disabled="false" imemode="hangul" style="left:731px; top:10px; width:79px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_ref", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_patsear" class="icon_search" style="left:816px; top:12px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var refCond = model.getValue("/root/main/cond/pid");
- if( refCond.isNumber() ) {//숫자이면 등록번호, 아니면 환자명 체크
- model.setValue("/root/main/cond/patsearflag", "2");
- }else {
- model.setValue("/root/main/cond/patsearflag", "1");
- }
-
- setParameter("refnm", refCond);
- modal("SMMNB00700" ,"", "400", "150", "SMMNB00700", "/root/main/cond/patsearflag", "/root/main/cond/refflag");
-
- var getData = model.getValue("/root/properties/parameters/SendData/SendDatavalue");
- var getDataTemp = getData.split("|");
-
- if( getData == "" ) {
- return;
- }else {
- model.setValue("/root/main/cond/pid", getDataTemp[0]);
- input1.refresh();
- model.setValue("/root/main/cond/patnm", getDataTemp[1]);
- model.setValue("/root/main/cond/dept", getDataTemp[9]);
- model.setValue("/root/main/cond/roomcd", getDataTemp[10]);
- model.setValue("/root/main/cond/patsearflag", getDataTemp[11]);
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption9" class="search_name" style="left:3px; top:36px; width:97px; height:17px; ">이송구분:</caption>
- <select1 id="cmb_trflag" ref="/root/main/cond/trflag" class="combo_search" visibility="visible" appearance="minimal" style="left:84px; top:35px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0556list/M0556">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearchTranCall();
- ]]>
- </script>
- </select1>
- </group>
- <button id="btn_issdept" class="icon_search" visibility="visible" style="left:340px; top:23px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SPMMB02600_trgtnode_path", "/root/main/cond/dept");
- modal("SPMMB02600");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_issdept" ref="/root/main/cond/dept" class="combo_s_essential" appearance="minimal" editmode="search" itemcount="40" style="left:235px; top:20px; width:100px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/issdept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- cmb_issdept.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- cmb_issdept.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // model.setValue("/root/main/cond/dept",model.getValue("/root/init/issdept"));
-
- fGetRoom();
- fSearchTranCall();
- ]]>
- </script>
- </select1>
- <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:1194px; y2:79px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|