123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350 |
- <?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>STEMI</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <pid/>
- <hngnm/>
- <age/>
- <sex/>
- <mpphontel/>
- <hometel/>
- <orddd/>
- <chosflag/>
- <instcd/>
- <cretno/>
- </patinfo>
- <result>
- <paminfo>
- <list/>
- </paminfo>
- </result>
- <cond>
- <stemifromdd/>
- <stemitodd/>
- <recflag/>
- <srchpid/>
- <radio_select/>
- </cond>
- </main>
- <send>
- <stemi>
- <stemi1/>
- <stemi2/>
- <stemi3/>
- <stemi4/>
- <stemi5/>
- <stemi6/>
- <stemi7/>
- <stemi8/>
- <stemi9/>
- <stemi10/>
- <stemi11/>
- <stemi12/>
- <stemi13/>
- <stemi14/>
- <stemi15/>
- <stemi16/>
- <fstrgstrid/>
- <lastupdtrid/>
- <orddd/>
- <instcd/>
- <insrowcnt/>
- </stemi>
- <reqdata>
- <stemidd/>
- <srchflag/>
- </reqdata>
- </send>
- <hidden/>
- <init>
- <drinfolist/>
- <hardcditem/>
- <patstemiinfo/>
- <flag/>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- if(model.getValue("/root/init/savechk")!="Y"){
- var chk=messageBox("", "Q002", ""); //예:6 아니오:7 취소:2
-
- if(chk=="6"){
- model.makeValue("/root/send/stemi/recflag", "2"); // 구분(스태미:2)
- if(model.getValue("/root/init/flag")=="U"){
- submit("TXMMR05802");
- }else{
- submit("TXMMR05801");
- }
- }
- }
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SPMMR05800();
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
- <submission id="TRMMR05800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
- <submission id="TRMMR05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/drinfolist"/>
- <submission id="TRMMR05802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stemi" resultref="/root/init/patstemiinfo"/>
- <submission id="TXMMR05800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
- <submission id="TXMMR05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stemi"/>
- <submission id="TXMMR05802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/stemi"/>
- </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/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../emr/medirecweb/js/SPMMR05800.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="915" pageheight="410" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_stemi" style="left:0px; top:0px; width:895px; height:385px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; ">STEMI</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:15px; x2:520px; y2:15px; "/>
- <caption id="caption1" class="cell_1" style="left:205px; top:25px; width:74px; height:20px; vertical-align:middle; ">환자명</caption>
- <caption id="caption2" class="cell_1" style="left:205px; top:55px; width:74px; height:20px; vertical-align:middle; ">연 락 처</caption>
- <caption id="caption4" class="cell_1" style="left:20px; top:55px; width:74px; height:20px; vertical-align:middle; ">나이/성별</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:100px; width:191px; height:23px; vertical-align:middle; ">순환기내과 당직 전임의 호출시각</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:218px; width:191px; height:23px; vertical-align:middle; ">심혈관촬영실 도착시각</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:244px; width:191px; height:23px; vertical-align:middle; ">기 타</caption>
- <caption id="caption27" class="cell_1" style="left:20px; top:25px; width:74px; height:20px; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_hngnm" ref="/root/send/stemi/stemi2" disabled="true" style="left:281px; top:27px; width:102px; height:19px; "/>
- <input id="ipt_age" ref="/root/send/stemi/stemi3" disabled="true" autonext="false" imemode="disabled" maxlength="3" format="#" style="left:96px; top:57px; width:44px; height:19px; "/>
- <select1 id="cmb_sex" ref="/root/send/stemi/stemi4" disabled="true" appearance="minimal" style="left:142px; top:57px; width:56px; height:19px; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <line id="line4" class="line_1" style="x1:526px; y1:15px; x2:880px; y2:15px; "/>
- <caption id="caption28" class="tit_2" style="left:527px; top:1px; width:180px; height:13px; vertical-align:middle; ">Stemi 환자리스트</caption>
- <caption id="caption29" class="search_name" style="left:533px; top:71px; width:87px; height:17px; ">검색일자 :</caption>
- <input id="ipt_pid" ref="/root/send/stemi/stemi1" disabled="true" autonext="false" imemode="disabled" maxlength="10" style="left:96px; top:27px; width:102px; height:19px; "/>
- <caption id="caption30" class="cell_1" style="left:0px; top:192px; width:191px; height:23px; vertical-align:middle; ">심혈관촬영실 이동 요청시각</caption>
- <caption id="caption32" class="cell_1" style="left:0px; top:125px; width:191px; height:23px; vertical-align:middle; ">순환기내과 Staff 호출시각</caption>
- <caption id="caption33" class="cell_1" style="left:0px; top:150px; width:191px; height:23px; vertical-align:middle; ">심혈관촬영팀 호출시각</caption>
- <input id="ipt_tel" ref="/root/send/stemi/stemi5" disabled="true" style="left:280px; top:55px; width:102px; height:19px; "/>
- <select1 id="combo1" ref="/root/send/stemi/stemi6" appearance="minimal" style="left:205px; top:100px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drinfolist[cdseqno=1]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_1" ref="/root/send/stemi/stemi7" editable="true" format="yyyy-mm-dd hh24:mm" style="left:395px; top:100px; width:115px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:520px; y2:95px; "/>
- <line id="line2" class="line_1" style="x1:0px; y1:371px; x2:520px; y2:371px; "/>
- <button id="btn_2" class="btn2_letter4" style="left:325px; top:125px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/send/stemi/stemi8" appearance="minimal" style="left:205px; top:125px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drinfolist[cdseqno=2]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_2" ref="/root/send/stemi/stemi9" editable="true" format="yyyy-mm-dd hh24:mm" style="left:395px; top:125px; width:115px; height:19px; "/>
- <button id="btn_3" class="btn2_letter4" style="left:325px; top:150px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <select1 id="combo3" ref="/root/send/stemi/stemi10" appearance="minimal" style="left:205px; top:150px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drinfolist[cdseqno=3]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_3" ref="/root/send/stemi/stemi11" editable="true" format="yyyy-mm-dd hh24:mm" style="left:395px; top:150px; width:115px; height:19px; "/>
- <select1 id="combo4" ref="/root/send/stemi/stemi12" appearance="minimal" style="left:205px; top:171px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/drinfolist[cdseqno=4]">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_4" ref="/root/send/stemi/stemi13" editable="true" format="yyyy-mm-dd hh24:mm" style="left:395px; top:171px; width:115px; height:19px; "/>
- <input id="ipt_5" ref="/root/send/stemi/stemi14" editable="true" format="yyyy-mm-dd hh24:mm" style="left:395px; top:192px; width:115px; height:19px; "/>
- <input id="ipt_6" ref="/root/send/stemi/stemi15" editable="true" format="yyyy-mm-dd hh24:mm" style="left:395px; top:213px; width:115px; height:19px; "/>
- <textarea id="txt_1" ref="/root/send/stemi/stemi16" scroll="auto" style="left:1px; top:271px; width:509px; height:94px; "/>
- <datagrid id="grd_stemipatlist" nodeset="/root/main/patinfo" caption="등록번호^환자명^수진일" colsep="^" colwidth="121, 107, 106" mergecellsfixedrows="bycolrec" rowsep="|" style="left:525px; top:100px; width:355px; height:275px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.resetInstanceNode("/root/send/stemi");
- var iRow = grd_stemipatlist.row;
- if(iRow > 0){
- model.makeValue("/root/send/stemi/pid", model.getValue("/root/main/patinfo["+iRow+"]/pid"));
- model.makeValue("/root/send/stemi/orddd", model.getValue("/root/main/patinfo["+iRow+"]/orddd"));
- model.makeValue("/root/send/stemi/cretno",model.getValue("/root/main/patinfo["+iRow+"]/cretno"));
- model.makeValue("/root/send/stemi/chosflag", model.getValue("/root/main/patinfo["+iRow+"]/chosflag"));
- model.makeValue("/root/send/stemi/instcd", model.getValue("/root/main/patinfo["+iRow+"]/instcd"));
- model.makeValue("/root/send/stemi/fstrgstrid", getUserInfo("userid")); //등록자
- model.makeValue("/root/send/stemi/lastupdtrid", getUserInfo("userid")); //등록자
- model.makeValue("/root/send/stemi/recflag", "2"); // 구분(스태미:2)
- if(model.getValue("/root/main/cond/radio_select")=="0"){
- fLoadStemi();
- }
- //if(model.getValue("/root/init/patstemiinfo/pid")==""){
- if(model.getValue("/root/main/cond/radio_select")=="1"){
- model.resetInstanceNode("/root/init/flag");
- model.makeValue("/root/send/stemi/insrowcnt", model.getValue("/root/init/hardcditem/hardcd[cdseqno=5]/hardcd"));
- model.makeValue("/root/send/stemi/stemi1", model.getValue("/root/main/patinfo["+iRow+"]/pid"));
- model.makeValue("/root/send/stemi/stemi2", model.getValue("/root/main/patinfo["+iRow+"]/hngnm"));
- model.makeValue("/root/send/stemi/stemi3", model.getValue("/root/main/patinfo["+iRow+"]/age"));
- model.makeValue("/root/send/stemi/stemi4", model.getValue("/root/main/patinfo["+iRow+"]/sex"));
- if(model.getValue("/root/main/patinfo["+iRow+"]/mpphontel")!=""){
- model.makeValue("/root/send/stemi/stemi5", model.getValue("/root/main/patinfo["+iRow+"]/mpphontel"));
- }else{
- model.makeValue("/root/send/stemi/stemi5", model.getValue("/root/main/patinfo["+iRow+"]/hometel"));
- }
- }
-
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_1" class="btn2_letter4" style="left:325px; top:100px; width:64px; height:19px; ">
- <caption>시간입력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/send/stemi/stemi6")==""){
- alert("당직 전임의를 선택해주세요!");
- return;
- }else{
- var day = getCurrentDate();
- var tm = getCurrentTime();
- model.setValue("/root/send/stemi/stemi7", day + tm);
- }
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_4" class="btn2_letter4" style="left:325px; top:171px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSmsCallDr(event.currentTarget);
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" style="left:325px; top:192px; width:64px; height:19px; ">
- <caption>시간입력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var day = getCurrentDate();
- var tm = getCurrentTime();
- model.setValue("/root/send/stemi/stemi14", day + tm);
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:325px; top:213px; width:64px; height:19px; ">
- <caption>시간입력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var day = getCurrentDate();
- var tm = getCurrentTime();
- model.setValue("/root/send/stemi/stemi15", day + tm);
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:718px; top:70px; width:20px; height:20px; ">~</caption>
- <caption id="caption5" class="search_name" style="left:534px; top:40px; width:87px; height:17px; ">환자번호 :</caption>
- <input id="input2" ref="/root/main/cond/srchpid" autonext="false" imemode="disabled" maxlength="10" style="left:625px; top:40px; width:85px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/cond/radio_select" appearance="full" cols="2" rows="1" overflow="visible" style="left:720px; top:41px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>검색</label>
- <value>0</value>
- </item>
- <item>
- <label>전송</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- </group>
- <button id="button2" class="btn4_letter2" style="left:445px; top:70px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:445px; top:47px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/send/stemi/stemi1")!=""){
- fSaveStemi();
- alert("저장되었습니다!");
- model.makeValue("/root/init/savechk", "Y");
- }else if(model.getValue("/root/send/stemi/stemi1")==""){
- alert("환자가 선택되지 않았습니다!");
- return;
- }
-
- ]]>
- </script>
- </button>
- <input id="ipt_7" ref="/root/main/cond/stemifromdd" class="input" autonext="false" inputtype="date" style="left:625px; top:70px; width:87px; height:19px; "/>
- <input id="input1" ref="/root/main/cond/stemitodd" class="input" autonext="false" inputtype="date" style="left:735px; top:70px; width:87px; height:19px; "/>
- <button id="button5" class="btn4_letter2" style="left:825px; top:70px; width:56px; height:22px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/cond/radio_select")=="" ){
- alert("검색 또는 전송을 선택해주세요!");
- }else{
- fStemiPatList();
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|