123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 |
- <?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/>
- </cond>
- <userinfo>
- <orddeptcd/>
- <orddeptnm/>
- <orddrid/>
- <orddrnm/>
- <mpphonno/>
- <pdano/>
- </userinfo>
- <patinfolist>
- <pid/>
- </patinfolist>
- <oncallinfo>
- <saveflag>I</saveflag>
- <appdt/>
- <appseq/>
- <statcd/>
- <acptyn/>
- <arvdt/>
- <arvdd/>
- <arvtm/>
- <enddt/>
- <enddd/>
- <endtm/>
- <pid/>
- <hngnm/>
- <patflagcd>E</patflagcd>
- <calldeptcd/>
- <calldeptnm/>
- <calldrid/>
- <calldrnm/>
- <callmpphonno/>
- <appdeptcd/>
- <apporddrid/>
- <appmpphonno/>
- <appcnts>환자의 위급한 상황으로 on call</appcnts>
- <workcnts/>
- <arvrgstdt/>
- <endrgstdt/>
- <sendsmsyn>N</sendsmsyn>
- </oncallinfo>
- <oncalllist/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <temp>
- <patinfo/>
- <callinfo/>
- </temp>
- </root>
- </instance>
- <submission id="TRMMO02505" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/srchinfo"/>
- <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="TRMMO33202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/oncallinfo" resultref="/root/temp/patinfo"/>
- <submission id="TRMMO33203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/oncallinfo" resultref="/root/temp/callinfo"/>
- <submission id="TXMMO33201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/oncalllist"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fInitOnCall("A");
- ]]>
- </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="600" style="margin-left:8; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:695px; height:13px; ">OnCall 신청</caption>
- <group id="group1" style="left:0px; top:15px; width:880px; height:560px; ">
- <line id="line6" class="line_2" style="x1:0px; y1:114px; x2:880px; y2:114px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:5px; width:80px; height:25px; text-align:left; vertical-align:middle; ">진료과</caption>
- <caption id="caption2" class="cell_1" style="left:235px; top:5px; width:80px; height:25px; text-align:left; vertical-align:middle; ">성명 / 사번</caption>
- <caption id="caption4" class="cell_1" style="left:522px; top:5px; width:118px; height:25px; text-align:left; vertical-align:middle; ">휴대폰 / NZone</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:116px; width:80px; height:118px; text-align:left; vertical-align:middle; ">신청내용</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:56px; x2:880px; y2:56px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:87px; x2:880px; y2:87px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:232px; x2:880px; y2:232px; "/>
- <textarea id="textarea1" ref="/root/main/oncallinfo/appcnts" navindex="4" style="left:82px; top:117px; width:795px; height:114px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:880px; y2:0px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:29px; x2:880px; y2:29px; "/>
- <button id="button3" class="btn4_letter2" style="left:821px; top:32px; width:56px; height:22px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveOnCallInfo("A");
- ]]>
- </script>
- </button>
- <caption id="caption15" class="tit_2" style="left:0px; top:245px; width:188px; height:13px; text-align:left; ">환자별 신청 내역</caption>
- <line id="line8" class="line_3" style="x1:0px; y1:557px; x2:880px; y2:557px; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:260px; x2:880px; y2:260px; "/>
- <input id="input6" ref="/root/main/userinfo/orddeptnm" editable="false" style="left:82px; top:7px; width:150px; height:19px; "/>
- <input id="input7" ref="/root/main/userinfo/mpphonno" editable="false" style="left:643px; top:7px; width:137px; height:19px; "/>
- <input id="input8" ref="/root/main/userinfo/orddrnm" editable="false" style="left:317px; top:7px; width:90px; height:19px; "/>
- <input id="input9" ref="/root/main/userinfo/orddrid" editable="false" style="left:428px; top:7px; width:90px; height:19px; "/>
- <input id="input10" ref="/root/main/userinfo/pdano" editable="false" style="left:795px; top:7px; width:82px; height:19px; "/>
- <select1 id="cmb_orddept" ref="/root/main/oncallinfo/calldeptcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:82px; top:92px; 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[
- fGetOrdDrList();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddr" ref="/root/main/oncallinfo/calldrid" class="combo_s_essential" navindex="3" appearance="minimal" style="left:317px; top:92px; width:118px; 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[
- fGetUserCallInfo();
- ]]>
- </script>
- </select1>
- <input id="ipt_pid" ref="/root/main/oncallinfo/pid" class="input_s_essential" style="left:317px; top:65px; width:118px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keycode == 13 ){
- fGetPatBaseInfo();
- }
- ]]>
- </script>
- </input>
- <caption id="cap_pid" class="cell_1" style="left:235px; top:63px; width:80px; height:25px; text-align:left; vertical-align:middle; ">환자번호</caption>
- <caption id="cap_hngnm" class="cell_1" style="left:438px; top:63px; width:80px; height:25px; text-align:left; vertical-align:middle; ">성명</caption>
- <input id="ipt_hngnm" ref="/root/main/oncallinfo/hngnm" class="input_s_essential" style="left:522px; top:65px; width:118px; height:19px; "/>
- <input id="ipt_appmpphonno" ref="/root/main/oncallinfo/appmpphonno" class="input_s_essential" navindex="1" format="99999999999999999999" style="left:730px; top:65px; width:146px; height:19px; "/>
- <caption id="cap_appmpphonno" class="cell_1" style="left:643px; top:63px; width:83px; height:25px; text-align:left; vertical-align:middle; ">신청 전화번호</caption>
- <select1 id="rdo_patflagcd" ref="/root/main/oncallinfo/patflagcd" appearance="full" cols="3" overflow="visible" style="left:85px; top:65px; width:150px; 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>
- <caption id="cap_patflagcd" class="cell_1" style="left:0px; top:61px; width:80px; height:25px; text-align:left; vertical-align:middle; ">환자구분</caption>
- <caption id="cap_orddept" class="cell_1" style="left:0px; top:89px; width:80px; height:25px; text-align:left; vertical-align:middle; ">진료과</caption>
- <caption id="cap_orddr" class="cell_1" style="left:235px; top:89px; width:80px; 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, 75, 65, 40, 0, 105, 110, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 60, 85, 260, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:265px; width:880px; height:290px; ">
- <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="calldeptnm"/>
- <col ref="calldrnm"/>
- <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="calldrid"/>
- <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[
- if(model.getValue("/root/main/oncalllist/info["+grd_oncalllist.row+"]/statcd") == "E"){
- button3.disabled = true;
- ipt_pid.disabled = true;
- ipt_hngnm.disabled = true;
- rdo_patflagcd.disabled = true;
- cmb_orddept.disabled = true;
- cmb_orddr.disabled = true;
- input1.disabled = true;
- ipt_appmpphonno.disabled = true;
- textarea1.disabled = true;
- }else{
- button3.disabled = false;
- ipt_pid.disabled = false;
- ipt_hngnm.disabled = false;
- rdo_patflagcd.disabled = false;
- cmb_orddept.disabled = false;
- cmb_orddr.disabled = false;
- input1.disabled = false;
- ipt_appmpphonno.disabled = false;
- textarea1.disabled = false;
- }
- fGetOnCallInfo("A");
- ]]>
- </script>
- </datagrid>
- <caption id="caption7" class="cell_1" style="left:438px; top:89px; width:80px; height:25px; text-align:left; vertical-align:middle; ">전화번호</caption>
- <input id="input1" ref="/root/temp/callinfo/info/mpphonno2" class="input_s_essential" navindex="1" editable="false" format="99999999999999999999" style="left:522px; top:92px; width:118px; height:19px; "/>
- <caption id="caption3" style="left:413px; top:7px; width:10px; height:20px; ">/</caption>
- <caption id="caption5" style="left:785px; top:7px; width:10px; height:20px; ">/</caption>
- <button id="button1" class="btn3_letter2" style="left:760px; top:32px; width:56px; height:22px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- button3.disabled = false;
- ipt_pid.disabled = false;
- ipt_hngnm.disabled = false;
- rdo_patflagcd.disabled = false;
- cmb_orddept.disabled = false;
- cmb_orddr.disabled = false;
- input1.disabled = false;
- ipt_appmpphonno.disabled = false;
- textarea1.disabled = false;
-
- model.setValue("/root/main/oncallinfo/saveflag","I");
- model.setValue("/root/main/oncallinfo/appdt","");
- model.setValue("/root/main/oncallinfo/appseq","");
- model.setValue("/root/main/oncallinfo/statcd","");
- model.setValue("/root/main/oncallinfo/acptyn","");
- model.setValue("/root/main/oncallinfo/arvdt","");
- model.setValue("/root/main/oncallinfo/arvdd","");
- model.setValue("/root/main/oncallinfo/arvtm","");
- model.setValue("/root/main/oncallinfo/enddt","");
- model.setValue("/root/main/oncallinfo/endtm","");
- model.setValue("/root/main/oncallinfo/pid","");
- model.setValue("/root/main/oncallinfo/hngnm","");
- model.setValue("/root/main/oncallinfo/patflagcd","");
- model.setValue("/root/main/oncallinfo/calldeptcd","");
- model.setValue("/root/main/oncallinfo/calldeptnm","");
- model.setValue("/root/main/oncallinfo/calldrid","");
- model.setValue("/root/main/oncallinfo/calldrnm","");
- model.setValue("/root/main/oncallinfo/callmpphonno","");
- model.setValue("/root/main/oncallinfo/appdeptcd","");
- model.setValue("/root/main/oncallinfo/apporddrid","");
- model.setValue("/root/main/oncallinfo/appmpphonno","");
- model.setValue("/root/main/oncallinfo/appcnts","환자의 위급한 상황으로 on call");
- model.setValue("/root/main/oncallinfo/workcnts","");
- model.setValue("/root/main/oncallinfo/arvrgstdt","");
- model.setValue("/root/main/oncallinfo/endrgstdt","");
-
- fInitOnCall("A");
- ]]>
- </script>
- </button>
- <bool id="chk_smsyn" checkvalue="Y,N" ref="/root/main/oncallinfo/sendsmsyn" style="left:642px; top:95px; width:20px; height:15px; "/>
- <caption id="caption8" style="left:662px; top:95px; width:66px; height:15px; ">
- <![CDATA[SMS 발송]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var chk_prcp = model.getValue("/root/main/oncallinfo/sendsmsyn");
- if (chk_prcp =="Y") {
- model.setValue("/root/main/oncallinfo/sendsmsyn", "N");
- } else {
- model.setValue("/root/main/oncallinfo/sendsmsyn", "Y");
- }
- model.refresh();
-
- ]]>
- </script>
- </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|