123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457 |
- <?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>
- <M0556list/>
- <M0557list/>
- <M0558list/>
- <issdept/>
- </init>
- <main>
- <tranempinfo>
- <pid/>
- <patnm/>
- <wardcd/>
- <roomcd/>
- <trtarget/>
- <trtargetetc/>
- <startposcd/>
- <arvposcd/>
- <movewayno/>
- <remark/>
- <freetext/>
- <freeflag/>
- <patsearflag>1</patsearflag>
- <callflag>1</callflag>
- <trno/>
- <trposstm/>
- <prcsstat/>
- <rsrvdd/>
- <rsrvdt/>
- <wardtel/>
- <tremp/>
- <rsrvyn/>
- <rsrvtm/>
- <startposnm/>
- <calldeptflag/>
- <trflag/>
- <prepfact/>
- <trflagnm/>
- <prcpno/>
- <arvposnm/>
- </tranempinfo>
- <cmbdata>
- <movewaylist>
- <movewayno/>
- <movewaynm/>
- </movewaylist>
- <remarklist>
- <remarkno/>
- <cnts/>
- </remarklist>
- <rgstdeptlist>
- <rgstdeptcd/>
- <rgstdeptnm/>
- </rgstdeptlist>
- <arvposlist>
- <arvposcd/>
- <arvposnm/>
- </arvposlist>
- </cmbdata>
- <cond>
- <status/>
- <trno/>
- </cond>
- </main>
- <hidden>
- <orddeptlist>
- <dept>
- <depthngnm/>
- <deptcd/>
- </dept>
- </orddeptlist>
- </hidden>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <temp>
- <tranempinfo/>
- <patinfo>
- <pid/>
- <patnm/>
- <wardcd/>
- <roomcd/>
- </patinfo>
- <deptsear>
- <cd/>
- <nm/>
- <kk/>
- </deptsear>
- </temp>
- <code>
- <codelist>
- <cdnm/>
- <cdid/>
- </codelist>
- </code>
- </root>
- </instance>
- <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="TRMNB01812" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/tranempinfo"/>
- <submission id="TXMNB01811" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- <submission id="TRMNB01813" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/deptlist"/>
- <submission id="TRMNB01814" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/patinfo"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/temp/deptsear"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/orddeptlist"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/code/codelist"/>
- <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="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/wardcareweb/js/SMMNB01810.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="525" pageheight="235" guideline="1,1;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:175px; ">
- <select1 id="radio1" ref="/root/main/tranempinfo/trflag" appearance="full" cols="5" overflow="visible" style="left:73px; top:55px; width:427px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/M0556list/M0556">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/tranempinfo/trflag") =="1") {
- caption14.visible = true;
- ipt_trtarget.visible = true;
- caption6.visible = true;
- cmb_trtargetetc.visible = true;
-
- caption9.visible = false;
- input2.visible = false;
- caption10.visible = false;
- combo2.visible = false;
- caption13.visible = false;
- input3.visible = false;
- caption17.visible = false;
- input4.visible = false;
- }
- else if(model.getValue("/root/main/tranempinfo/trflag") =="2") {
- caption9.visible = true;
- input2.visible = true;
- caption10.visible = true;
- combo2.visible = true;
-
- caption14.visible = false;
- ipt_trtarget.visible = false;
- caption6.visible = false;
- cmb_trtargetetc.visible = false;
- caption13.visible = false;
- input3.visible = false;
- caption17.visible = false;
- input4.visible = false;
- }
- else if(model.getValue("/root/main/tranempinfo/trflag") =="3") {
- caption13.visible = true;
- input3.visible = true;
-
- caption14.visible = false;
- ipt_trtarget.visible = false;
- caption6.visible = false;
- cmb_trtargetetc.visible = false;
- caption9.visible = false;
- input2.visible = false;
- caption10.visible = false;
- combo2.visible = false;
- caption17.visible = false;
- input4.visible = false;
- }
- else if(model.getValue("/root/main/tranempinfo/trflag") =="4" || model.getValue("/root/main/tranempinfo/trflag") =="5") {
- caption17.visible = true;
- input4.visible = true;
-
- caption14.visible = false;
- ipt_trtarget.visible = false;
- caption6.visible = false;
- cmb_trtargetetc.visible = false;
- caption9.visible = false;
- input2.visible = false;
- caption10.visible = false;
- combo2.visible = false;
- caption13.visible = false;
- input3.visible = false;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:244px; height:14px; ">이송업무 등록 및 수정</caption>
- <button id="btn_save" class="btn2_letter2" navindex="12" style="left:457px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSaveTranCall();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:500px; y2:25px; "/>
- <input id="ipt_pid" ref="/root/main/tranempinfo/pid" class="output_fix" disabled="true" navindex="1" style="left:322px; top:31px; width:74px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_patsear", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line2" class="line_2" style="x1:1px; y1:52px; x2:501px; y2:52px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:30px; width:70px; height:23px; vertical-align:middle; ">환자정보</caption>
- <output id="opt_room" ref="/root/main/tranempinfo/roomcd" class="output_fix" style="left:248px; top:31px; width:71px; height:19px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:76px; x2:500px; y2:76px; "/>
- <caption id="caption4" class="cell_1" style="left:71px; top:30px; width:35px; height:23px; vertical-align:middle; ">병동</caption>
- <caption id="caption5" class="cell_1" style="left:209px; top:29px; width:36px; height:23px; vertical-align:middle; ">병실</caption>
- <caption id="caption6" class="cell_1" visibility="hidden" style="left:330px; top:78px; width:58px; height:23px; vertical-align:middle; ">종류</caption>
- <select1 id="cmb_trtargetetc" ref="/root/main/tranempinfo/trtargetetc" class="combo_default" navindex="3" appearance="minimal" style="left:390px; top:80px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0557list/M0557">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line4" class="line_2" style="x1:0px; y1:125px; x2:500px; y2:125px; "/>
- <select1 id="cmb_moveway" ref="/root/main/tranempinfo/movewayno" class="combo_s_essential" navindex="5" appearance="minimal" style="left:73px; top:129px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/cmbdata/movewaylist">
- <label ref="movewaynm"/>
- <value ref="movewayno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/tranempinfo/startposcd") == "" ) {
- model.setFocus("cmb_startpos");
- }else {
- model.copyNode("/root/send/reqdata", "/root/main/tranempinfo");
- //submit("TRMNB01812", false);
- model.setValue("/root/main/tranempinfo/wardtel", model.getValue("/root/temp/tranempinfo/wardtel"));
- ipt_wardtel.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_remark" ref="/root/main/tranempinfo/remark" class="combo_default" appearance="minimal" style="left:73px; top:152px; width:182px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/cmbdata/remarklist">
- <label ref="cnts"/>
- <value ref="remarkno"/>
- </itemset>
- </choices>
- </select1>
- <line id="line5" class="line_2" style="x1:0px; y1:149px; x2:500px; y2:149px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:127px; width:70px; height:23px; vertical-align:middle; ">이동수단</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:151px; width:70px; height:23px; vertical-align:middle; ">Remark</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:173px; x2:500px; y2:173px; "/>
- <input id="ipt_remark" ref="/root/main/tranempinfo/freetext" navindex="10" style="left:73px; top:152px; width:182px; height:19px; "/>
- <select id="chk_freetext" ref="/root/main/tranempinfo/freeflag" overflow="visible" appearance="full" style="left:258px; top:153px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>직접입력</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var flag = model.getValue("/root/main/tranempinfo/freeflag");
- if( flag == "1" ) {
- ipt_remark.visible = true;
- cmb_remark.visible = false;
- model.setValue("/root/main/tranempinfo/remark", "");
- }else {
- ipt_remark.visible = false;
- cmb_remark.visible = true;
- model.setValue("/root/main/tranempinfo/freetext", "");
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption11" class="cell_1" style="left:0px; top:103px; width:70px; height:23px; vertical-align:middle; ">출발지</caption>
- <caption id="caption12" class="cell_1" style="left:166px; top:103px; width:70px; height:23px; vertical-align:middle; ">도착지</caption>
- <select1 id="cmb_arvpos" ref="/root/main/tranempinfo/arvposcd" class="combo_s_essential" navindex="6" appearance="minimal" editmode="inputsearch" style="left:238px; top:105px; width:90px; height:19px; ">
- <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_arvpos.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- cmb_arvpos.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_patsear" class="icon_search" style="left:477px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var refCond = model.getValue("/root/main/tranempinfo/pid");
- if( refCond.isNumber() ) {//숫자이면 등록번호, 아니면 환자명 체크
- model.setValue("/root/main/tranempinfo/patsearflag", "2");
- }else {
- model.setValue("/root/main/tranempinfo/patsearflag", "1");
- }
-
- setParameter("refnm", refCond);
- modal("SMMNB00700" ,"", "400", "150", "SMMNB00700", "/root/main/tranempinfo/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/tranempinfo/pid", getDataTemp[0]);
- ipt_pid.refresh();
- model.setValue("/root/main/tranempinfo/patnm", getDataTemp[1]);
- model.setValue("/root/main/tranempinfo/wardcd", getDataTemp[9]);
- model.setValue("/root/main/tranempinfo/roomcd", getDataTemp[10]);
- model.setValue("/root/main/tranempinfo/patsearflag", getDataTemp[11]);
- model.setFocus("cmb_trtargetetc");
- model.refresh();
- }
-
- model.setFocus("ipt_trtarget");
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/main/tranempinfo/patnm" class="output_fix" style="left:399px; top:31px; width:74px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:78px; width:70px; height:23px; vertical-align:middle; ">처방명</caption>
- <input id="ipt_trtarget" ref="/root/main/tranempinfo/trtarget" class="input_default" navindex="2" style="left:73px; top:80px; width:255px; height:19px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:101px; x2:500px; y2:101px; "/>
- <select1 id="combo1" ref="/root/main/tranempinfo/wardcd" disabled="true" appearance="minimal" style="left:108px; top:31px; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption15" class="cell_1" style="left:330px; top:103px; width:58px; height:23px; vertical-align:middle; ">예약일시</caption>
- <input id="output2" ref="/root/main/tranempinfo/rsrvdt" class="input_default" navindex="7" format="hh:nn" style="left:460px; top:105px; width:40px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:330px; top:149px; width:58px; height:23px; vertical-align:middle; ">회신번호</caption>
- <input id="ipt_wardtel" ref="/root/main/tranempinfo/wardtel" class="input_s_essential" navindex="9" format="9999" style="left:390px; top:152px; width:110px; height:19px; "/>
- <input id="input1" ref="/root/main/tranempinfo/rsrvdd" disabled="true" format="yyyy-mm-dd" style="left:390px; top:105px; width:68px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:54px; width:70px; height:23px; vertical-align:middle; ">이송구분</caption>
- <input id="input2" ref="/root/main/tranempinfo/trtarget" class="input_default" navindex="2" style="left:73px; top:80px; width:255px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:78px; width:70px; height:23px; vertical-align:middle; ">이송약품</caption>
- <caption id="caption10" class="cell_1" visibility="hidden" style="left:330px; top:78px; width:58px; height:23px; vertical-align:middle; ">약품번호</caption>
- <input id="combo2" ref="/root/main/tranempinfo/prcpno" class="input_default" navindex="2" style="left:390px; top:80px; width:110px; height:19px; "/>
- <input id="input3" ref="/root/main/tranempinfo/trtarget" class="input_default" navindex="2" style="left:72px; top:80px; width:428px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:79px; width:70px; height:23px; vertical-align:middle; ">이송검체</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:79px; width:70px; height:23px; vertical-align:middle; ">물품/기타</caption>
- <input id="input4" ref="/root/main/tranempinfo/trtarget" class="input_default" navindex="2" style="left:72px; top:80px; width:428px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:166px; top:127px; width:70px; height:23px; vertical-align:middle; ">준비사항</caption>
- <select id="checkbox1" ref="/root/main/tranempinfo/prepfact" overflow="visible" appearance="full" cols="4" sep="^" style="left:238px; top:130px; width:260px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/M0558list/M0558">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:176px; width:501px; height:27px; ">
- <button id="btn_cncl" class="btn4_letter2" navindex="13" style="left:444px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("refstatus", "C");
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_issdept" class="icon_search" visibility="visible" style="left:50px; top:105px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SPMMB02600_trgtnode_path", "/root/main/tranempinfo/startposcd");
- modal("SPMMB02600");
-
- model.removenode("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/startposcd", model.getValue("/root/main/tranempinfo/startposcd"));
- submit("TRMNB01812");
- model.setValue("/root/main/tranempinfo/wardtel", model.getValue("/root/temp/tranempinfo/wardtel"));
-
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_startpos" ref="/root/main/tranempinfo/startposcd" class="combo_s_essential" appearance="minimal" editmode="inputsearch" itemcount="40" style="left:72px; top:105px; width:92px; 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_startpos.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- cmb_startpos.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removenode("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/startposcd", model.getValue("/root/main/tranempinfo/startposcd"));
- submit("TRMNB01812");
- model.setValue("/root/main/tranempinfo/wardtel", model.getValue("/root/temp/tranempinfo/wardtel"));
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="bnt_arvpos" class="icon_search" visibility="visible" style="left:215px; top:105px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SPMMB02600_trgtnode_path", "/root/main/tranempinfo/arvposcd");
- modal("SPMMB02600");
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|