123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452 |
- <?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>On Call 관리 (응급실, 수술실)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- <orddept/>
- <userlist/>
- </init>
- <main>
- <cond>
- <condflag/>
- <condpid/>
- <fromdd/>
- <todd/>
- <codnstat>R</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/>
- <checkyn/>
- <checkynetc/>
- </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");
- }
-
- if(getUserInfo("dutplceinstcd") == "032")
- {
- checkbox1.disabled = true;
- input_checklist_etc.disabled = true;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitOnCall("E");
- ]]>
- </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">
- <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:780px; ">
- <caption id="caption7" class="cell_1" style="left:255px; top:450px; width:80px; height:25px; text-align:left; vertical-align:middle; ">환자번호</caption>
- <caption id="caption8" class="cell_1" style="left:443px; top:476px; width:80px; height:25px; text-align:left; vertical-align:middle; ">전화번호</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:476px; width:80px; height:25px; text-align:left; vertical-align:middle; ">진료과</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:502px; width:80px; height:85px; text-align:left; vertical-align:middle; ">신청내용</caption>
- <caption id="caption11" class="cell_1" style="left:443px; top:450px; width:80px; height:25px; text-align:left; vertical-align:middle; ">성명</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:450px; width:80px; height:25px; text-align:left; vertical-align:middle; ">환자구분</caption>
- <caption id="caption13" class="cell_1" style="left:255px; top:476px; 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:452px; width:103px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:474px; x2:880px; y2:474px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:500px; x2:880px; y2:500px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:588px; x2:880px; y2:588px; "/>
- <input id="input2" ref="/root/main/oncallinfo/appmpphonno" disabled="true" editable="false" style="left:525px; top:478px; width:145px; height:19px; "/>
- <input id="input5" ref="/root/main/oncallinfo/hngnm" disabled="true" editable="false" style="left:525px; top:452px; 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:453px; 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:504px; width:793px; height:82px; "/>
- <button id="button3" class="btn4_letter4" style="left:737px; top:758px; 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("E");
-
- 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:478px; 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:478px; 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:90px; height:19px; "/>
- <input id="input6" ref="/root/main/cond/todd" inputtype="date" style="left:205px; top:8px; width:90px; height:19px; "/>
- <caption id="caption1" style="left:192px; top:9px; width:11px; height:20px; ">~</caption>
- <button id="button1" class="btn1_letter2" style="left:820px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOnCallList();
- ]]>
- </script>
- </button>
- <line id="line2" style="x1:813px; y1:7px; x2:813px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:445px; x2:880px; y2:445px; "/>
- <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:819px; top:758px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:300px; top:9px; width:61px; height:17px; ">상태 :</caption>
- <select1 id="radio2" ref="/root/main/cond/codnstat" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:365px; top:8px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>도착</label>
- <value>R</value>
- </item>
- <item>
- <label>완료</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <button id="button4" class="icon_clock" style="left:232px; top:594px; 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>
- <caption id="caption3" class="cell_1" style="left:0px; top:590px; width:80px; height:25px; text-align:left; vertical-align:middle; ">도착시간</caption>
- <button id="button5" class="icon_clock" style="left:487px; top:594px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/oncallinfo/enddd", getCurrentDate());
- model.setValue("/root/main/oncallinfo/endtm", getCurrentTime());
- ipt_enddd.refresh();
- ipt_endtm.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:255px; top:590px; width:80px; height:25px; text-align:left; vertical-align:middle; ">완료시간</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:642px; width:80px; height:111px; text-align:left; vertical-align:middle; ">작업내역</caption>
- <line id="line1" class="line_2" style="x1:0px; y1:613px; x2:880px; y2:613px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:754px; x2:880px; y2:754px; "/>
- <textarea id="textarea2" ref="/root/main/oncallinfo/workcnts" navindex="3" style="left:82px; top:644px; width:793px; height:108px; "/>
- <input id="ipt_arvdd" ref="/root/main/oncallinfo/arvdd" editable="false" inputtype="date" style="left:82px; top:592px; width:100px; height:19px; "/>
- <caption id="cap_arvdd" class="cell_1" visibility="hidden" style="left:555px; top:590px; 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:592px; width:45px; height:19px; "/>
- <caption id="cap_arvtm" class="cell_1" visibility="hidden" style="left:590px; top:590px; width:35px; height:25px; text-align:left; vertical-align:middle; ">도착시간</caption>
- <input id="ipt_enddd" ref="/root/main/oncallinfo/enddd" navindex="1" editable="false" inputtype="date" style="left:337px; top:592px; width:100px; height:19px; "/>
- <caption id="cap_enddd" class="cell_1" visibility="hidden" style="left:625px; top:590px; width:35px; height:25px; text-align:left; vertical-align:middle; ">완료일자</caption>
- <input id="ipt_endtm" ref="/root/main/oncallinfo/endtm" navindex="2" format="hh:nn" style="left:439px; top:592px; width:45px; height:19px; "/>
- <caption id="cap_endtm" class="cell_1" visibility="hidden" style="left:660px; top:590px; 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^calldeptnm^calldrid^calldrnm^callmpphonno^appdeptcd^appdeptnm^apporddrid^신청자^신청 전화번호^신청 내용^workcnts^arvrgstdt^endrgstdt" colsep="^" colwidth="0, 75, 75, 120, 60, 0, 130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 75, 100, 300, 0, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:60px; width:880px; height:382px; ">
- <col ref="saveflag"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="rrgstno"/>
- <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>
- </datagrid-->
- <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:383px; ">
- <col ref="saveflag"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col disabled="true" ref="statcd" type="combo" style="text-align:center; ">
- <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>
- <select1 id="cmb_orddr2" ref="/root/main/cond/conddrid" class="combo_s_essential" navindex="3" appearance="minimal" style="left:730px; top:8px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" class="search_name" style="left:660px; top:9px; width:79px; height:17px; ">진료의:</caption>
- <select1 id="cmb_orddept2" ref="/root/main/cond/conddeptcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:548px; top:8px; width:102px; 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>
- <caption id="caption19" class="search_name" style="left:476px; top:9px; width:81px; height:17px; ">진료과:</caption>
- <button id="button6" class="btn4_letter2" style="left:675px; top:758px; width:56px; 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("X");
-
- 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>
- <caption id="caption14" class="cell_1" style="left:0px; top:616px; width:80px; height:25px; text-align:left; vertical-align:middle; ">작성여부</caption>
- <input id="input_checklist_etc" ref="/root/main/oncallinfo/checkynetc" style="left:410px; top:620px; width:465px; height:19px; "/>
- <select id="checkbox1" ref="/root/main/oncallinfo/checkyn" overflow="visible" appearance="full" cols="5" style="left:83px; top:620px; width:330px; height:20px; 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>
- <item>
- <label>마취기록</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>5</value>
- </item>
- </choices>
- </select>
- </group>
- </xhtml:body>
- </xhtml:html>
|