123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465 |
- <?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>Acute Stroke</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <acutecd1/>
- <acutecd2/>
- <acutecd3/>
- <acutecd4/>
- <acutecd5/>
- <acutecd6/>
- <acutecd7/>
- <acutecd8/>
- <acutecd9/>
- <acutecd10/>
- <acutecd11/>
- <acutecd12/>
- <acutecd13/>
- <acutecd14/>
- <acutecd15/>
- <acutecd16/>
- <acutecd17/>
- <acutecd18/>
- <acutecd19/>
- <acutecd20/>
- <acutecd21/>
- <acutecd22/>
- <acutecd23/>
- <acutecd24/>
- <acutecd25/>
- <acutecd26/>
- <acutecd27/>
- <acutecd28/>
- <acutecd29/>
- <acutecd30/>
- <acutecd31/>
- <acutecd32/>
- <pid/>
- <orddd/>
- <cretno/>
- <chosflag/>
- <recflag/>
- <fstrgstrid/>
- <lastupdtrid/>
- <instcd/>
- </send>
- <main>
- <result>
- <paminfo>
- <list/>
- </paminfo>
- </result>
- </main>
- <init>
- <item/>
- <userlist1/>
- <userlist2/>
- <userlist3/>
- <userlist4/>
- <userlist5/>
- <userlist6/>
- <userlist7/>
- <userlist8/>
- <userlist9/>
- <userlist10/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var pamInfoCvs = getGlobalVariable("paminfo");
- if(pamInfoCvs == null || pamInfoCvs == ""){
- alert("환자를 먼저 선택하세요!");
- model.makeValue("/root/main/patchk", "N");
- window.close();
- }else{
- fInitialize_SPMMR05100();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- if(model.getValue("/root/main/patchk")=="N" || model.getValue("/root/main/saveyn")=="Y"){
- //window.close();
- }else{
- var chk=messageBox("", "Q002", ""); //예:6 아니오:7 취소:2
-
- if(chk=="6"){
- if(model.getValue("/root/init/flag")=="U"){
- submit("TXMMR05102");
- alert("저장되었습니다!");
- }else{
- model.refresh();
- submit("TXMMR05100");
- alert("저장되었습니다!");
- }
- }/*else if(chk=="7"){
- alert("7");
- }
- */
- }
- ]]>
- </script>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMMR05100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRMMR05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist1"/>
- <submission id="TRMMR05102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist2"/>
- <submission id="TRMMR05103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist3"/>
- <submission id="TRMMR05104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist4"/>
- <submission id="TRMMR05105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist5"/>
- <submission id="TRMMR05106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist6"/>
- <submission id="TRMMR05107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist7"/>
- <submission id="TRMMR05108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist8"/>
- <submission id="TRMMR05109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist9"/>
- <submission id="TRMMR05110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/userlist10"/>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
- <submission id="TXMMR05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
- <submission id="TRMMR05111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/acuteinfo"/>
- <submission id="TXMMR05102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/medirecweb/js/SPMMR05100.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="695" pageheight="390" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="rectangle1" appearance="rectangle" style="left:10px; top:10px; width:660px; height:340px; "/>
- <caption id="caption1" style="left:30px; top:15px; width:162px; height:20px; ">CP activation에 해당합니까?</caption>
- <select1 id="radio1" ref="/root/send/acutecd1" appearance="full" cols="2" rows="1" overflow="visible" style="left:200px; top:15px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>0</value>
- </item>
- <item>
- <label>N</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- chkradio();
- ]]>
- </script>
- </select1>
- <select1 id="combo1" ref="/root/send/acutecd2" appearance="minimal" style="left:348px; top:15px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist1">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/send/acutecd3" editable="false" style="left:540px; top:15px; width:115px; height:19px; "/>
- <caption id="caption2" style="left:30px; top:40px; width:162px; height:20px; ">신경과 당직 전공의 호출시각</caption>
- <select1 id="combo2" ref="/root/send/acutecd4" appearance="minimal" style="left:200px; top:40px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/item/hardcd[cdseqno=1]">
- <label ref="hardcdnm"/>
- <value ref="hardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- //조건값을 받아옴
- var getdept = model.getValue("/root/send/acutecd4");
- var getuser = model.getValue("/root/send/acutecd5");
-
- //진료과를 조회하여 온다
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", combo2.value, "0330");
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- model.setValue("/root/send/acutecd5", "-");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <select1 id="combo3" ref="/root/send/acutecd5" appearance="minimal" style="left:348px; top:40px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist2">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/acutecd7", model.getValue("/root/init/item/hardcd[cdseqno=2]/hardcd"));
- ]]>
- </script>
- </select1>
- <input id="input2" ref="/root/send/acutecd6" editable="false" style="left:540px; top:39px; width:115px; height:19px; "/>
- <caption id="caption3" style="left:30px; top:65px; width:162px; height:20px; ">코디네이터</caption>
- <select1 id="combo4" ref="/root/send/acutecd7" appearance="minimal" style="left:348px; top:65px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist9">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button2" class="btn2_letter4" style="left:470px; top:40px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/send/acutecd2")==""){
- alert("응급의를 선택해주세요!");
- return;
- }else{
- fSmsCallDr(event.currentTarget);
- }
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/send/acutecd8" editable="false" style="left:540px; top:63px; width:115px; height:19px; "/>
- <caption id="caption4" style="left:30px; top:112px; width:162px; height:20px; ">신경과 수석 전공의</caption>
- <select1 id="combo7" ref="/root/send/acutecd12" appearance="minimal" style="left:200px; top:112px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/item/hardcd[cdseqno=1]">
- <label ref="hardcdnm"/>
- <value ref="hardcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo8" ref="/root/send/acutecd13" appearance="minimal" style="left:348px; top:112px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist4">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input5" ref="/root/send/acutecd14" editable="false" style="left:540px; top:111px; width:115px; height:19px; "/>
- <button id="button4" class="btn2_letter4" style="left:469px; top:112px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:469px; top:137px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <caption id="caption5" style="left:30px; top:137px; width:162px; height:20px; ">신경과 Staff</caption>
- <select1 id="combo9" ref="/root/send/acutecd15" appearance="minimal" style="left:200px; top:137px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/item/hardcd[cdseqno=1]">
- <label ref="hardcdnm"/>
- <value ref="hardcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo10" ref="/root/send/acutecd16" appearance="minimal" style="left:348px; top:137px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist5[userid=98081]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input6" ref="/root/send/acutecd17" editable="false" style="left:540px; top:135px; width:115px; height:19px; "/>
- <button id="button7" class="btn2_letter4" style="left:469px; top:182px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <caption id="caption6" style="left:30px; top:182px; width:162px; height:20px; ">MRI 기사</caption>
- <select1 id="combo12" ref="/root/send/acutecd20" appearance="minimal" style="left:348px; top:182px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist6[jobkindcd=7020]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input8" ref="/root/send/acutecd21" editable="false" style="left:540px; top:183px; width:115px; height:19px; "/>
- <button id="button8" class="btn2_letter4" style="left:469px; top:207px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <select1 id="combo14" ref="/root/send/acutecd23" appearance="minimal" style="left:348px; top:207px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist7[userid=93325]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" style="left:30px; top:207px; width:162px; height:20px; ">영상의학과 Staff</caption>
- <select1 id="combo13" ref="/root/send/acutecd22" appearance="minimal" style="left:200px; top:207px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/item/hardcd[cdseqno=4]">
- <label ref="hardcdnm"/>
- <value ref="hardcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="input9" ref="/root/send/acutecd24" editable="false" style="left:540px; top:207px; width:115px; height:19px; "/>
- <input id="input11" ref="/root/send/acutecd28" editable="false" style="left:540px; top:255px; width:115px; height:19px; "/>
- <button id="button10" class="btn2_letter4" style="left:469px; top:254px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <caption id="caption8" style="left:30px; top:257px; width:162px; height:20px; ">뇌혈관 조영술 방사선 기사</caption>
- <select1 id="combo16" ref="/root/send/acutecd27" appearance="minimal" style="left:348px; top:254px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist8[jobkindcd=7020]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(model.getValue("/root/send/acutecd27")==model.getValue("/root/init/item/hardcd[cdseqno=8]/hardcd")){
-
- model.setValue("/root/send/acutecd29", model.getValue("/root/init/item/hardcd[cdseqno=9]/hardcd"));
- }else if(model.getValue("/root/send/acutecd27")==model.getValue("/root/init/item/hardcd[cdseqno=10]/hardcd")){
-
- model.setValue("/root/send/acutecd29", model.getValue("/root/init/item/hardcd[cdseqno=11]/hardcd"));
- }else if(model.getValue("/root/send/acutecd27")==model.getValue("/root/init/item/hardcd[cdseqno=12]/hardcd")){
-
- model.setValue("/root/send/acutecd29", model.getValue("/root/init/item/hardcd[cdseqno=13]/hardcd"));
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="input13" ref="/root/send/acutecd31" editable="true" format="yyyy-mm-dd hh24:mm" style="left:540px; top:303px; width:115px; height:19px; "/>
- <caption id="caption9" style="left:30px; top:302px; width:162px; height:20px; ">IV tPA 주입시각</caption>
- <button id="button3" class="btn2_letter4" style="left:469px; top:85px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <caption id="caption10" style="left:30px; top:85px; width:162px; height:20px; ">진단검사의학과</caption>
- <select1 id="combo5" ref="/root/send/acutecd9" appearance="minimal" style="left:200px; top:85px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/item/hardcd[cdseqno=3]">
- <label ref="hardcdnm"/>
- <value ref="hardcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo6" ref="/root/send/acutecd10" appearance="minimal" style="left:348px; top:85px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist3">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input4" ref="/root/send/acutecd11" editable="false" style="left:540px; top:85px; width:115px; height:19px; "/>
- <input id="input14" ref="/root/send/acutecd32" editable="true" format="yyyy-mm-dd hh24:mm" style="left:540px; top:327px; width:115px; height:19px; "/>
- <caption id="caption11" style="left:30px; top:325px; width:162px; height:20px; ">응급실 이탈시각</caption>
- <button id="button11" class="btn2_letter3" style="left:602px; top:355px; width:53px; height:19px; ">
- <caption>저 장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/init/flag")=="U"){
- submit("TXMMR05102");
- alert("저장되었습니다!");
- model.makeValue("/root/main/saveyn", "Y");
- }else{
- submit("TXMMR05100");
- alert("저장되었습니다!");
- model.makeValue("/root/main/saveyn", "Y");
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" style="left:470px; top:16px; width:64px; height:19px; ">
- <caption>시간입력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/send/acutecd2")==""){
- alert("응급의를 선택해주세요!");
- return;
- }else{
- var day = getCurrentDate().substr(0, 4) + "-" + getCurrentDate().substr(4, 2) + "-" + getCurrentDate().substr(6, 2);
- var tm = getCurrentTime().substring(0, 2) + ":" + getCurrentTime().substring(2,4)+":"+getCurrentTime().substring(4,6);
- model.setValue("/root/send/acutecd3", day + " " + tm);
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input12" ref="/root/send/acutecd30" editable="false" style="left:540px; top:279px; width:115px; height:19px; "/>
- <select1 id="combo17" ref="/root/send/acutecd29" appearance="minimal" style="left:348px; top:278px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist10">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button6" class="btn2_letter4" style="left:469px; top:160px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <select1 id="combo11" ref="/root/send/acutecd18" appearance="minimal" style="left:348px; top:160px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist5[userid=03098]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input7" ref="/root/send/acutecd19" editable="false" style="left:540px; top:159px; width:115px; height:19px; "/>
- <input id="input10" ref="/root/send/acutecd26" editable="false" style="left:540px; top:231px; width:115px; height:19px; "/>
- <button id="button9" class="btn2_letter4" style="left:469px; top:230px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <select1 id="combo15" ref="/root/send/acutecd25" appearance="minimal" style="left:348px; top:230px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist7[userid=00073]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|