123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658 |
- <?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>
- <erdrcalllist>
- <erdrcalllist/>
- </erdrcalllist>
- <erdrinfo>
- <orddeptcd/>
- <orddrid/>
- <mainyn>EE</mainyn>
- <call1/>
- <call2/>
- <call3/>
- <call4/>
- <callcnts/>
- <callcnts2/>
- <callnm/>
- <callgbn>EE</callgbn>
- </erdrinfo>
- <medfeeinfo>
- <userid/>
- <passwd/>
- <deptcd/>
- <drnm/>
- <deptnm/>
- </medfeeinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden/>
- <init>
- <orddept/>
- <userlist/>
- <hardcd/>
- <macaddr/>
- <ercallno/>
- <callvisit/>
- <chkcallno/>
- <calltime/>
- <bpcallyn/>
- </init>
- <popmenu>
- <menu>
- <item>
- <name>재호출</name>
- <func>fReCall</func>
- </item>
- </menu>
- </popmenu>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SPMMO06700();
- ]]>
- </script>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- group1.attribute("height") = 0;
- ]]>
- </script>
- <submission id="TRMMO06701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/erdrcalllist"/>
- <submission id="TRMMO06702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/userinfo" resultref="/root/main/qualifyinfo"/>
- <submission id="TRMMO06703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
- <submission id="TRMMO06704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/userinfo" resultref="/root/main/userinfo"/>
- <submission id="TRMMO06705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/userinfo" resultref="/root/main/confirmyn"/>
- <submission id="TXMMO06701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/erdrcalllist"/>
- <submission id="TXMMO06702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/erdrcalllist"/>
- <submission id="TXMMO06703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/erdrcalllist"/>
- <submission id="TXMMO06704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/erdrcalllist"/>
- <submission id="TXMMO06705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/nocallinfo" resultref="/root/main/erdrcalllist"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO06706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/drinfo" resultref="/root/temp/drinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO06700.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1110" pageheight="500" guideline="1,1090;1,1110;1,388;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <button id="btn_rner" class="btn2_letter6" navindex="2" visibility="hidden" style="left:443px; top:33px; width:86px; height:19px; ">
- <caption>중증응급호출</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenNurseERCallDr();
- fReqERDrCallList();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn2_letter2" navindex="3" style="left:1004px; top:33px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelERCallInfo();
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter2" navindex="1" style="left:960px; top:33px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnAdd();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:0px; y1:55px; x2:1090px; y2:55px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:39px; width:161px; height:13px; vertical-align:middle; ">응급실의사 호출</caption>
- <caption id="caption1" class="tit_2" style="left:0px; top:295px; width:112px; height:13px; vertical-align:middle; ">호출내용</caption>
- <textarea id="tar_callcnts" ref="/root/main/erdrinfo/callcnts2" navindex="6" maxlength="80" style="left:0px; top:315px; width:1090px; height:75px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var currow = grd_erdrcalllist.row;
- if(currow < 1){
- return;
- }
- var callcnts = tar_callcnts.currentText;
- model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/callcnts", callcnts);
- model.refresh();
- ]]>
- </script>
- </textarea>
- <line id="line1" class="line_1" style="x1:0px; y1:310px; x2:1090px; y2:310px; "/>
- <button id="btn_call" class="btn5_letter2" navindex="4" style="left:1048px; top:33px; width:42px; height:19px; ">
- <caption>호출</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnCall();
- ]]>
- </script>
- </button>
- <button id="btn_exit" class="btn4_letter2" navindex="7" style="left:1034px; top:475px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_correct" class="btn2_letter2" navindex="2" visibility="hidden" style="left:620px; top:33px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- <datagrid id="grd_erdrcalllist" nodeset="/root/main/erdrcalllist/erdrcalllist" class="datagrid2" caption="상태^pid^indd^cretno^visitno^erorddoctcd^호출
횟수^callcntcno^callcnts^호출 진료과^호출의사^구분^호출구분^호출일시^callnm^callpsnid^도착일시^도착의사 진료과^도착의사^대행
여부^호출번호^호출 등록자^도착 등록 진료과^도착 등록자^callrecnt" colsep="^" colwidth="40, 0, 0, 0, 0, 0, 40, 0, 0, 90, 60, 40, 60, 105, 0, 0, 120, 100, 65, 40, 70, 70, 100, 70, 0" mergecellsfixedrows="bycolrec" rowsep="|" navindex="5" style="left:0px; top:60px; width:1090px; height:230px; ">
- <col disabled="true" ref="status" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value/>
- </item>
- <item>
- <label>신규</label>
- <value>i</value>
- </item>
- <item>
- <label>수정</label>
- <value>u</value>
- </item>
- <item>
- <label>삭제</label>
- <value>d</value>
- </item>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="indd"/>
- <col ref="cretno"/>
- <col ref="visitno"/>
- <col ref="erorddoctcd"/>
- <col ref="callno"/>
- <col ref="callcntcno"/>
- <col ref="callcnts"/>
- <col disabled="true" ref="erorddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="erorddoctnm"/>
- <col checkvalue="M,S" ref="mainyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>주</label>
- <value>M</value>
- </item>
- <item>
- <label>부</label>
- <value>S</value>
- </item>
- </choices>
- </col>
- <col ref="callgbn" type="combo">
- <choices>
- <item>
- <label>일반</label>
- <value>EE</value>
- </item>
- <item>
- <label>외상</label>
- <value>ET</value>
- </item>
- <item>
- <label>권역외상</label>
- <value>TT</value>
- </item>
- </choices>
- </col>
- <col ref="calldt" format="yyyy-mm-dd hh:nn" style="left:349px; top:23px; width:111px; height:23px; "/>
- <col ref="callnm"/>
- <col ref="callpsnid"/>
- <col editable="false" ref="arrivdt" type="inputbutton" format="yyyy-mm-dd hh:nn" validateformat="true"/>
- <col disabled="true" ref="arrivdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="arrivdoctnm"/>
- <col ref="agentyn" style="text-align:center; "/>
- <col ref="dispcallcntcno"/>
- <col ref="callpsnnm"/>
- <col disabled="true" ref="visitrgdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="visitrgstnm"/>
- <col ref="callrecnt"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_erdrcalllist", false, "/root/popmenu/menu/item", "name", "func");
-
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fClkBtnArrivDt();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fClkColMainYN();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fDispERDrCallCnts();
- ]]>
- </script>
- </datagrid>
- <group id="group1" style="left:255px; top:125px; width:285px; height:280px; background-color:#ffffff; border-color:transparent; border-style:solid; ">
- <caption id="caption4" class="cell_1" style="left:3px; top:22px; width:71px; height:22px; vertical-align:middle; ">호출진료과</caption>
- <button id="btn_cnfm" class="btn2_letter2" navindex="16" style="left:179px; top:254px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnCnfm();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" style="left:5px; top:3px; width:151px; height:14px; vertical-align:middle; ">응급실 호출의사 정보</caption>
- <caption id="caption3" class="cell_1" style="left:3px; top:45px; width:70px; height:20px; vertical-align:middle; ">호출의사</caption>
- <caption id="caption6" class="cell_1" style="left:3px; top:66px; width:70px; height:20px; vertical-align:middle; ">구분</caption>
- <line id="line4" class="line_1" style="x1:3px; y1:17px; x2:268px; y2:17px; "/>
- <button id="btn_cncl" class="btn2_letter2" navindex="17" style="left:223px; top:254px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnCncl();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:3px; top:108px; width:70px; height:20px; vertical-align:middle; ">호출번호</caption>
- <caption id="caption8" style="left:113px; top:108px; width:15px; height:20px; ">-</caption>
- <caption id="caption9" style="left:170px; top:108px; width:15px; height:20px; ">-</caption>
- <caption id="caption10" class="cell_1" style="left:3px; top:151px; width:70px; height:101px; vertical-align:middle; ">호출내용</caption>
- <textarea id="textarea2" ref="/root/main/erdrinfo/callcnts" navindex="15" maxlength="80" style="left:74px; top:152px; width:193px; height:99px; "/>
- <select1 id="cmb_orddeptcd" ref="/root/main/erdrinfo/orddeptcd" navindex="8" appearance="minimal" style="left:74px; top:24px; width:124px; 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[
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddeptcd.value, "0330", '', 'T');
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_mainsubflag" ref="/root/main/erdrinfo/mainyn" navindex="10" appearance="full" cellspacing="46" cols="2" overflow="visible" style="left:74px; top:66px; width:193px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>주</label>
- <value>M</value>
- </item>
- <item>
- <label>부</label>
- <value>S</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_cp1" ref="/root/main/erdrinfo/call1" navindex="11" imemode="disabled" maxlength="3" format="999" style="left:74px; top:108px; width:39px; height:19px; "/>
- <input id="ipt_cp2" ref="/root/main/erdrinfo/call2" navindex="12" imemode="disabled" maxlength="4" format="#" style="left:122px; top:108px; width:49px; height:19px; "/>
- <input id="ipt_cp3" ref="/root/main/erdrinfo/call3" navindex="13" imemode="disabled" maxlength="4" style="left:179px; top:108px; width:49px; height:19px; "/>
- <select1 id="cmb_orddrid" ref="/root/main/erdrinfo/orddrid" navindex="9" appearance="minimal" style="left:74px; top:44px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo[userid!='EMR' and userid!='11111']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddrid = model.getValue(sERDRCALLLIST_PATH + "[erorddoctcd='" + cmb_orddrid.value + "']/erorddoctcd");
- if(orddrid != ""){
- messageBox("[" + cmb_orddrid.label + "]은(는) 이미 호출한 의사", "E008");
- model.setValue("/root/main/erdrinfo/orddrid", "");
- return;
- }
- var chkcallno = model.getValue("/root/init/chkcallno/hardcd/hardcd");
- if (chkcallno =="Y") {
- var mpphonno = model.getValue("/root/init/userlist/usercombo[userid ='" + cmb_orddrid.value + "']/mpphonno");
- if (mpphonno.length == 11) {
- var call1 = mpphonno.substr(0, 3)
- var call2 = mpphonno.substr(3, 4)
- var call3 = mpphonno.substr(7, 4);
- model.setValue("/root/main/erdrinfo/call1", call1);
- model.setValue("/root/main/erdrinfo/call2", call2);
- model.setValue("/root/main/erdrinfo/call3", "****");
- model.setValue("/root/main/erdrinfo/call4", call3);
- } else if(mpphonno.length == 10){
- var call1 = mpphonno.substr(0, 3)
- var call2 = mpphonno.substr(3, 3)
- var call3 = mpphonno.substr(6, 4);
- model.setValue("/root/main/erdrinfo/call1", call1);
- model.setValue("/root/main/erdrinfo/call2", call2);
- model.setValue("/root/main/erdrinfo/call3", "****");
- model.setValue("/root/main/erdrinfo/call4", call3);
- }
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="cell_1" style="left:3px; top:129px; width:70px; height:21px; vertical-align:middle; ">호출자번호</caption>
- <input id="input1" ref="/root/main/erdrinfo/callnm" navindex="14" style="left:74px; top:130px; width:100px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:3px; top:87px; width:70px; height:20px; vertical-align:middle; ">호출구분</caption>
- <select1 id="radio1" ref="/root/main/erdrinfo/callgbn" navindex="10" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:74px; top:87px; width:193px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>일반환자</label>
- <value>EE</value>
- </item>
- <item>
- <label>외상환자</label>
- <value>ET</value>
- </item>
- </choices>
- </select1>
- </group>
- <button id="btn_scom" class="btn2_letter8" navindex="2" visibility="hidden" style="left:263px; top:33px; width:108px; height:19px; ">
- <caption>중증호출당직관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNE05100");
- ]]>
- </script>
- </button>
- <button id="btn_visit" class="btn2_letter6" navindex="2" visibility="hidden" style="left:531px; top:33px; width:86px; height:19px; ">
- <caption>중증Visit등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNE05300");
- ]]>
- </script>
- </button>
- <button id="btn_userm" class="btn2_letter11" navindex="2" visibility="hidden" style="left:119px; top:33px; width:141px; height:19px; ">
- <caption>중증호출사용자정보관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var bpcallyn = model.getValue("/root/init/bpcallyn/hardcd/hardcd");
- if ( !isNull(bpcallyn) && bpcallyn == "Y") {
- setParameter("SMMNE05000_bpcallyn", "Y");
- setParameter("SMMNE05000_param", "Y^Y^Y^Y^Y^Y^Y");
- } else {
- setParameter("SMMNE05000_bpcallyn", "N");
- setParameter("SMMNE05000_param", "Y^Y^Y^Y^N^Y^Y");
- }
- modal("SMMNE05000");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter6" navindex="2" visibility="hidden" style="left:443px; top:33px; width:86px; height:19px; ">
- <caption>중증응급호출</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenNurseERCallDr();
- fReqERDrCallList();
- ]]>
- </script>
- </button>
- <button id="btn_erdrcall" class="btn2_letter4" navindex="2" visibility="hidden" style="left:375px; top:33px; width:64px; height:19px; ">
- <caption>응급호출</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenERCallDr();
- fReqERDrCallList();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1_bakup" nodeset="/root/main/erdrcalllist/erdrcalllist" visibility="hidden" caption="상태^pid^indd^cretno^visitno^erorddoctcd^호출횟수^callcntcno^callcnts^진료과^담당의^구분^호출번호^호출일시^callnm^callpsnid^호출자^도착시간^도착일시^visitrgstrid^등록자" colsep="^" colwidth="46, 0, 0, 0, 0, 0, 59, 0, 0, 99, 64, 39, 91, 111, 0, 0, 63, 100, 133, 0, 80, 2" mergecellsfixedrows="bycolrec" rowsep="|" navindex="5" style="left:55px; top:160px; width:135px; height:45px; ">
- <col disabled="true" ref="status" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value/>
- </item>
- <item>
- <label>신규</label>
- <value>i</value>
- </item>
- <item>
- <label>수정</label>
- <value>u</value>
- </item>
- <item>
- <label>삭제</label>
- <value>d</value>
- </item>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="indd"/>
- <col ref="cretno"/>
- <col ref="visitno"/>
- <col ref="erorddoctcd"/>
- <col ref="callno"/>
- <col ref="callcntcno"/>
- <col ref="callcnts"/>
- <col disabled="true" ref="erorddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="erorddoctnm"/>
- <col checkvalue="M,S" ref="mainyn" type="combo">
- <choices>
- <item>
- <label>주</label>
- <value>M</value>
- </item>
- <item>
- <label>부</label>
- <value>S</value>
- </item>
- </choices>
- </col>
- <col ref="dispcallcntcno"/>
- <col ref="calldt" format="yyyy-mm-dd hh:nn" style="left:349px; top:23px; width:111px; height:23px; "/>
- <col ref="callnm"/>
- <col ref="callpsnid"/>
- <col ref="callpsnnm"/>
- <col ref="arrivdt1" format="yyyy-mm-dd hh:nn"/>
- <col editable="false" ref="arrivdt" type="inputbutton" format="yyyy-mm-dd hh:nn" validateformat="true"/>
- <col ref="visitrgstrid"/>
- <col ref="visitrgstnm"/>
- <col ref="callrecnt"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_erdrcalllist", false, "/root/popmenu/menu/item", "name", "func");
-
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fClkBtnArrivDt();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fClkColMainYN();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fDispERDrCallCnts();
- ]]>
- </script>
- </datagrid>
- <caption id="caption12" class="tit_2" style="left:0px; top:410px; width:337px; height:13px; vertical-align:middle; ">응급실 전문의 진찰료 발생 (호출 없는 도착등록)</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:425px; x2:1090px; y2:425px; "/>
- <caption id="caption13" style="left:25px; top:435px; width:112px; height:20px; ">사원번호 / 비밀번호</caption>
- <input id="input2" ref="/root/main/medfeeinfo/userid" navindex="14" style="left:145px; top:435px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if( event.keycode == 13 ){
- model.setfocus("secret_psw", true);
- }
- ]]>
- </script>
- </input>
- <line id="line3" class="line_1" style="x1:0px; y1:460px; x2:1090px; y2:460px; "/>
- <button id="btn_medfee" class="btn5_letter4" navindex="16" style="left:726px; top:435px; width:64px; height:19px; ">
- <caption>도착등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var userid = model.getValue("/root/main/medfeeinfo/userid");
- var passwd = model.getValue("/root/main/medfeeinfo/passwd");
-
- if ( userid == "" ) {
- messageBox("사원번호를 입력하세요", "I999");
- return;
- }
-
- if ( passwd == "" ) {
- messageBox("비밀번호를 입력하세요", "I999");
- return;
- }
-
- model.removeNode("/root/send/userinfo");
- model.makeValue("/root/send/userinfo/userid", userid);
- model.makeValue("/root/send/userinfo/passwd", passwd);
- submit("TRMMO06705");
-
- var confirmyn = model.getValue("/root/main/confirmyn/confirmyn");
- var usernm = model.getValue("/root/main/confirmyn/usernm");
-
- if (confirmyn == "N") {
- messageBox("비밀번호가 틀렸습니다.", "I999");
- return;
- }
-
- model.setValue("root/main/medfeeinfo/drnm", usernm);
-
- submit("TRMMO06704");
-
- var rowcnt = grd_deptlist.rows;
- var deptcd = "";
- var deptnm = "";
-
- if (rowcnt == 0) {
- messageBox("응급실 진찰료를 발생할 수 있는 전문의가 아닙니다.", "I999");
- return;
- } else if (rowcnt == 1) {
- model.setValue("root/main/medfeeinfo/deptcd", model.getValue("root/main/userinfo/deptlist[1]/deptcd"));
- model.setValue("root/main/medfeeinfo/deptnm", model.getValue("root/main/userinfo/deptlist[1]/deptnm"));
-
- fNoCallArrv();
- } else {
- grd_deptlist.visible = true;
- }
- ]]>
- </script>
- </button>
- <input id="input5" ref="/root/main/medfeeinfo/drnm" disabled="true" navindex="14" style="left:606px; top:435px; width:100px; height:19px; "/>
- <caption id="caption15" style="left:365px; top:435px; width:109px; height:20px; ">( 진료과 / 도착의사</caption>
- <caption id="caption16" style="left:711px; top:435px; width:15px; height:20px; ">)</caption>
- <caption id="cap_patinfo" ref="/root/main/patinfo/patinfo" style="left:0px; top:10px; width:885px; height:20px; font-size:12pt; font-weight:bold; color:#3366ff; vertical-align:middle; "/>
- <group id="grp_arrvdr" visibility="hidden" style="left:515px; top:140px; width:315px; height:85px; background-color:#ffffff; border-color:transparent; border-style:solid; ">
- <caption id="caption17" class="cell_1" style="left:3px; top:22px; width:71px; height:22px; vertical-align:middle; ">진료과</caption>
- <button id="button3" class="btn2_letter2" navindex="16" style="left:204px; top:44px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var currow = grd_erdrcalllist.row;
- model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/arrivdeptcd" , cmb_arrvdept.value);
- model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/arrivdoctcd" , cmb_arrvdr.value);
- model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/arrivdoctnm" , cmb_arrvdr.label);
- model.setValue(sERDRCALLLIST_PATH + "[" + currow + "]/agentyn" , "N");
- fClkColBtnVisitDT();
- grp_arrvdr.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption18" class="tit_2" style="left:5px; top:3px; width:151px; height:14px; vertical-align:middle; ">도착의사 정보</caption>
- <caption id="caption19" class="cell_1" style="left:3px; top:45px; width:70px; height:20px; vertical-align:middle; ">의사</caption>
- <line id="line6" class="line_1" style="x1:3px; y1:17px; x2:290px; y2:17px; "/>
- <button id="button4" class="btn2_letter2" navindex="17" style="left:248px; top:44px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_arrvdr.visible = false;
- ]]>
- </script>
- </button>
- <select1 id="cmb_arrvdept" ref="/root/main/erdrinfo/orddeptcd" disabled="true" navindex="8" appearance="minimal" style="left:74px; top:24px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_arrvdr" ref="/root/main/erdrinfo/orddrid" navindex="9" appearance="minimal" style="left:74px; top:44px; width:124px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo[userid!='EMR' and userid!='11111']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <secret id="secret_psw" ref="/root/main/medfeeinfo/passwd" navindex="15" imemode="disabled" style="left:248px; top:435px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- // if( event.keycode == 13 ){
- // btn_medfee.dispatch("DOMActivate");
- // }
- ]]>
- </script>
- </secret>
- <input id="input3" ref="/root/main/medfeeinfo/deptnm" disabled="true" navindex="14" style="left:479px; top:435px; width:125px; height:19px; "/>
- <datagrid id="grd_deptlist" nodeset="root/main/userinfo/deptlist" visibility="hidden" caption="진료과^deptcd" colsep="^" colwidth="200, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:620px; top:250px; width:215px; height:180px; ">
- <col ref="deptnm"/>
- <col ref="deptcd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_deptlist.row;
- model.setValue("root/main/medfeeinfo/deptcd", model.getValue("root/main/userinfo/deptlist[" + row + "]/deptcd"));
- model.setValue("root/main/medfeeinfo/deptnm", model.getValue("root/main/userinfo/deptlist[" + row + "]/deptnm"));
- model.refresh();
- grd_deptlist.visible = false;
-
- fNoCallArrv();
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|