123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>On Call 관리 (도착등록)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- <orddept/>
- <userlist/>
- </init>
- <main>
- <cond>
- <condflag/>
- <condpid/>
- <fromdd/>
- <todd/>
- <codnstat/>
- <conddeptcd/>
- <conddrid/>
- </cond>
- <userinfo>
- <orddeptcd/>
- <orddeptnm/>
- <orddrid/>
- <orddrnm/>
- <mpphonno/>
- <pdano/>
- </userinfo>
- <oncallinfo>
- <saveflag>U</saveflag>
- <appdt/>
- <appseq/>
- <statcd/>
- <acptyn/>
- <arvdt/>
- <arvdd/>
- <arvtm/>
- <enddt/>
- <enddd/>
- <endtm/>
- <pid/>
- <hngnm/>
- <patflagcd>E</patflagcd>
- <calldeptcd/>
- <calldrid/>
- <appdeptcd/>
- <apporddrid/>
- <appmpphonno/>
- <appcnts/>
- <workcnts/>
- <arvrgstdt/>
- <endrgstdt/>
- </oncallinfo>
- <oncalllist/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO33201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/oncalllist"/>
- <submission id="TXMMO33201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/oncalllist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "031" && getCurrentDate() >= "20150831") { // 본원일경우 온콜 수답 집계 변경 내용 팝업 2015.08.24 엄영만
- modal("SPMMO33410");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitOnCall("R");
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO33200.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="800" style="margin-left:8; margin-right:8; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:695px; height:14px; ">OnCall 도착등록</caption>
- <group id="group1" style="left:0px; top:15px; width:880px; height:760px; ">
- <caption id="caption7" class="cell_1" style="left:255px; top:541px; width:80px; height:25px; text-align:left; vertical-align:middle; ">환자번호</caption>
- <caption id="caption8" class="cell_1" style="left:443px; top:567px; width:80px; height:25px; text-align:left; vertical-align:middle; ">전화번호</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:567px; width:80px; height:25px; text-align:left; vertical-align:middle; ">진료과</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:593px; width:80px; height:111px; text-align:left; vertical-align:middle; ">신청내용</caption>
- <caption id="caption11" class="cell_1" style="left:443px; top:541px; width:80px; height:25px; text-align:left; vertical-align:middle; ">성명</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:541px; width:80px; height:25px; text-align:left; vertical-align:middle; ">환자구분</caption>
- <caption id="caption13" class="cell_1" style="left:255px; top:567px; width:80px; height:25px; text-align:left; vertical-align:middle; ">진료의사</caption>
- <input id="input1" ref="/root/main/oncallinfo/pid" disabled="true" editable="false" style="left:337px; top:543px; width:103px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:565px; x2:880px; y2:565px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:591px; x2:880px; y2:591px; "/>
- <input id="input2" ref="/root/main/oncallinfo/appmpphonno" disabled="true" editable="false" style="left:525px; top:569px; width:145px; height:19px; "/>
- <input id="input5" ref="/root/main/oncallinfo/hngnm" disabled="true" editable="false" style="left:525px; top:543px; width:145px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/oncallinfo/patflagcd" disabled="true" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:82px; top:544px; width:170px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급실</label>
- <value>E</value>
- </item>
- <item>
- <label>일반</label>
- <value>S</value>
- </item>
- <item>
- <label>외상</label>
- <value>T</value>
- </item>
- </choices>
- </select1>
- <textarea id="textarea1" ref="/root/main/oncallinfo/appcnts" disabled="true" editable="false" style="left:82px; top:595px; width:793px; height:105px; "/>
- <button id="button3" class="btn4_letter4" style="left:736px; top:732px; width:80px; height:22px; ">
- <caption>도착등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = 1; i < grd_oncalllist.cols - 1; i++) {
- if (grd_oncalllist.colSort(i) != "none") {
-
- xSortCol = i;
- xSortType = grd_oncalllist.colsort(i);
-
- break;
- }
- }
-
- fSaveOnCallInfo("R");
-
- if (xSortCol != -1) {
- grd_oncalllist.colSort(xSortCol) = xSortType;
- grd_oncalllist.sort(1, 1, grd_oncalllist.rows - 1, grd_oncalllist.cols - 1) = "usersort";
- grd_oncalllist.gridToInstance();
- }
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_orddept" ref="/root/main/oncallinfo/calldeptcd" disabled="true" appearance="minimal" style="left:82px; top:569px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddr" ref="/root/main/oncallinfo/calldrid" disabled="true" appearance="minimal" style="left:337px; top:569px; width:103px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:880px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:10px; top:9px; width:86px; height:17px; ">신청일자 :</caption>
- <input id="input3" ref="/root/main/cond/fromdd" inputtype="date" style="left:100px; top:8px; width:100px; height:19px; "/>
- <input id="input6" ref="/root/main/cond/todd" inputtype="date" style="left:220px; top:8px; width:100px; height:19px; "/>
- <caption id="caption1" style="left:205px; top:9px; width:11px; height:20px; ">~</caption>
- <button id="button1" class="btn1_letter2" style="left:810px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOnCallList();
- ]]>
- </script>
- </button>
- <line id="line2" style="x1:798px; y1:7px; x2:798px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:536px; x2:880px; y2:536px; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:55px; x2:880px; y2:55px; "/>
- <caption id="caption15" class="tit_2" style="left:0px; top:40px; width:188px; height:13px; text-align:left; ">환자별 신청 내역</caption>
- <button id="button2" class="btn4_letter2" style="left:818px; top:732px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="cell_1" style="left:0px; top:705px; width:80px; height:25px; text-align:left; vertical-align:middle; ">도착시간</caption>
- <line id="line7" class="line_3" style="x1:0px; y1:729px; x2:880px; y2:729px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:703px; x2:880px; y2:703px; "/>
- <button id="button4" class="icon_clock" style="left:233px; top:709px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/oncallinfo/arvdd", getCurrentDate());
- model.setValue("/root/main/oncallinfo/arvtm", getCurrentTime());
- ipt_arvdd.refresh();
- ipt_arvtm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_arvdd" ref="/root/main/oncallinfo/arvdd" inputtype="date" style="left:82px; top:707px; width:100px; height:19px; "/>
- <caption id="cap_arvdd" class="cell_1" visibility="hidden" style="left:270px; top:705px; width:35px; height:25px; text-align:left; vertical-align:middle; ">도착일자</caption>
- <input id="ipt_arvtm" ref="/root/main/oncallinfo/arvtm" format="hh:nn" style="left:184px; top:707px; width:45px; height:19px; "/>
- <caption id="cap_arvtm" class="cell_1" visibility="hidden" style="left:305px; top:705px; width:35px; height:25px; text-align:left; vertical-align:middle; ">도착시간</caption>
- <datagrid id="grd_oncalllist" nodeset="/root/main/oncalllist/info" caption="saveflag^등록번호^성명^상태^acptyn^신청일시^appseq^arvdt^arvdd^arvtm^enddt^enddd^endtm^patflagcd^calldeptcd^진료과^calldrid^진료의^callmpphonno^appdeptcd^appdeptnm^apporddrid^신청자^신청 전화번호^신청 내용^workcnts^arvrgstdt^endrgstdt" colsep="^" colwidth="0, 70, 65, 40, 0, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, 60, 0, 0, 0, 0, 60, 85, 260, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:60px; width:880px; height:475px; ">
- <col ref="saveflag"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col disabled="true" ref="statcd" type="combo">
- <choices>
- <item>
- <label>신청</label>
- <value>A</value>
- </item>
- <item>
- <label>도착</label>
- <value>R</value>
- </item>
- <item>
- <label>완료</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- <col ref="acptyn"/>
- <col ref="appdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="appseq"/>
- <col ref="arvdt"/>
- <col ref="arvdd"/>
- <col ref="arvtm"/>
- <col ref="enddt"/>
- <col ref="enddd"/>
- <col ref="endtm"/>
- <col ref="patflagcd"/>
- <col ref="calldeptcd"/>
- <col ref="calldeptnm"/>
- <col ref="calldrid"/>
- <col ref="calldrnm"/>
- <col ref="callmpphonno"/>
- <col ref="appdeptcd"/>
- <col ref="appdeptnm"/>
- <col ref="apporddrid"/>
- <col ref="apporddrnm"/>
- <col ref="appmpphonno"/>
- <col ref="appcnts"/>
- <col ref="workcnts"/>
- <col ref="arvrgstdt"/>
- <col ref="endrgstdt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fGetOnCallInfo("A");
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_oncalllist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_oncalllist.mouseCol > 0 && grd_oncalllist.mouseRow == 0) {
-
- if (grd_oncalllist.colSort(grd_oncalllist.mouseCol) == "desc") {
- grd_oncalllist.colSort(grd_oncalllist.mouseCol) = "asc";
- } else {
- grd_oncalllist.colSort(grd_oncalllist.mouseCol) = "desc";
- }
-
- for (var i = 1; i < grd_oncalllist.cols - 1; i++) {
- if ( grd_oncalllist.mouseCol != i) {
- grd_oncalllist.colSort(i) = "none";
- }
- }
-
- grd_oncalllist.sort(1, 1, grd_oncalllist.rows - 1, grd_oncalllist.cols - 1) = "usersort";
- grd_oncalllist.gridToInstance();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption4" class="search_name" style="left:338px; top:9px; width:81px; height:17px; ">진 료 과:</caption>
- <caption id="caption3" class="search_name" style="left:582px; top:9px; width:79px; height:17px; ">진 료 의:</caption>
- <select1 id="cmb_orddr2" ref="/root/main/cond/conddrid" class="combo_s_essential" navindex="3" appearance="minimal" style="left:662px; top:8px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddept2" ref="/root/main/cond/conddeptcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:423px; top:8px; width:140px; 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[
- fGetOrdDrList1(cmb_orddept2.value);
- ]]>
- </script>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|