123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <?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>응급실 접수취소</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptcnclinfo>
- <acptcnclinfo>
- <pid/>
- <hngnm/>
- <cretno/>
- <indd/>
- <brthdd/>
- <age/>
- <sex/>
- <highbp/>
- <lowbp/>
- <mntpulsecnt/>
- <mntbrethcnt/>
- <chosbdtp/>
- <oxyconcen/>
- <cancelrsn/>
- <rtnplace/>
- <etc/>
- <status/>
- </acptcnclinfo>
- </acptcnclinfo>
- </main>
- <send>
- <pid/>
- <indd/>
- <cretno/>
- </send>
- <savedata>
- <acptcnclinfo>
- <status/>
- <pid/>
- <hngnm/>
- <cretno/>
- <indd/>
- <brthdd/>
- <age/>
- <sex/>
- <highbp/>
- <lowbp/>
- <mntpulsecnt/>
- <mntbrethcnt/>
- <chosbdtp/>
- <oxyconcen/>
- <cancelrsn/>
- <rtnplace/>
- <etc/>
- </acptcnclinfo>
- </savedata>
- <temp>
- <acptcnclinfo/>
- </temp>
- </root>
- </instance>
- <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="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- init();
- ]]>
- </script>
- <submission id="TRMMO06000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/acptcnclinfo"/>
- <submission id="TXMMO06000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/savedata/acptcnclinfo" resultref="/root/temp/acptcnclinfo"/>
- <script type="javascript">
- <![CDATA[
- var sParamInfo = "";
- var status = "";
-
- function init(){
- sParamInfo = opener.javascript.getParameter("SMMMO06001_PARAM");
-
- var pid = getArrayData(sParamInfo,0,0,"▩","▦");
- var cretno = getArrayData(sParamInfo,0,5,"▩","▦");
- var indd = getArrayData(sParamInfo,0,6,"▩","▦");
-
- if( sParamInfo.length > 0 && indd != "" ){
- status = "u";
- model.setValue("/root/send/pid", pid);
- model.setValue("/root/send/indd", indd);
- model.setValue("/root/send/cretno", cretno);
-
- submit("TRMMO06000");
-
- if( getNodesetCount("/root/temp/acptcnclinfo/pid") > 0){
- model.copyNode("/root/main/acptcnclinfo/acptcnclinfo","/root/temp/acptcnclinfo");
- }else{
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/pid", pid);
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/hngnm", getArrayData(sParamInfo,0,1,"▩","▦"));
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/brthdd", getArrayData(sParamInfo,0,2,"▩","▦"));
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/sex", getArrayData(sParamInfo,0,3,"▩","▦"));
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/age", getArrayData(sParamInfo,0,4,"▩","▦"));
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/cretno", cretno);
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/indd", indd);
- }
- ipt_brthdd.disabled = true;
- ipt_age.disabled = true;
- cmb_sex.disabled = true;
- ipt_indd.disabled = true;
- }else{
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/pid", pid);
- }
- model.resetInstanceNode("/root/temp/acptcnclinfo");
- model.refresh();
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="822" pageheight="440" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="cap_mtitle" class="tit_1" style="left:0px; top:0px; width:800px; height:15px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">응급실 접수취소 ( 환자번호 미발생 )</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:804px; y2:21px; "/>
- <caption id="caption1" class="cell_1" style="left:696px; top:25px; width:105px; height:23px; vertical-align:middle; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:25px; width:67px; height:23px; vertical-align:middle; ">환자명</caption>
- <caption id="caption3" class="cell_1" style="left:165px; top:25px; width:67px; height:23px; vertical-align:middle; ">생년월일</caption>
- <caption id="caption4" class="cell_1" style="left:315px; top:25px; width:67px; height:23px; vertical-align:middle; ">나이/성별</caption>
- <caption id="caption5" class="cell_1" style="left:464px; top:25px; width:119px; height:23px; vertical-align:middle; ">내원일시(날짜+시간)</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:48px; x2:804px; y2:48px; "/>
- <caption id="cap_title1" class="tit_2" style="left:0px; top:70px; width:200px; height:13px; ">활력징후</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:85px; x2:804px; y2:85px; "/>
- <input id="ipt_hngnm" ref="/root/main/acptcnclinfo/acptcnclinfo/hngnm" class="input_essential" navindex="1" style="left:68px; top:27px; width:95px; height:19px; text-align:center; "/>
- <input id="ipt_brthdd" ref="/root/main/acptcnclinfo/acptcnclinfo/brthdd" class="input_essential" navindex="2" format="99-99-99" style="left:233px; top:27px; width:80px; height:19px; text-align:center; "/>
- <input id="ipt_age" ref="/root/main/acptcnclinfo/acptcnclinfo/age" navindex="3" maxlength="3" style="left:383px; top:27px; width:28px; height:19px; text-align:center; "/>
- <caption id="caption6" style="left:413px; top:28px; width:10px; height:20px; ">/</caption>
- <input id="ipt_indd" ref="/root/main/acptcnclinfo/acptcnclinfo/indd" class="input_essential" navindex="5" format="yyyy-mm-dd hh:nn" style="left:585px; top:27px; width:108px; height:19px; text-align:center; "/>
- <caption id="cap_title2" class="tit_2" style="left:0px; top:130px; width:200px; height:13px; ">접수취소사유</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:145px; x2:804px; y2:145px; "/>
- <caption id="cap_title3" class="tit_2" style="left:0px; top:235px; width:200px; height:13px; ">귀가 또는 전원병원명</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:250px; x2:804px; y2:250px; "/>
- <caption id="cap_title4" class="tit_2" style="left:0px; top:325px; width:200px; height:13px; ">기타</caption>
- <line id="line5" class="line_1" style="x1:0px; y1:340px; x2:804px; y2:340px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:688px; top:405px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var hngnm = model.getValue("/root/main/acptcnclinfo/acptcnclinfo/hngnm");
- var brthdd = model.getValue("/root/main/acptcnclinfo/acptcnclinfo/brthdd");
- var indd = model.getValue("/root/main/acptcnclinfo/acptcnclinfo/indd");
- var cancelrsn = model.getValue("/root/main/acptcnclinfo/acptcnclinfo/cancelrsn");
-
- if( hngnm == "" ){
- messageBox("환자명은","I003");// 필수입력입니다.
- return;
- }else if( brthdd == "" ){
- messageBox("생년월일은","I003");
- return;
- }else if( indd == ""){
- messageBox("내원일자는","I003");
- return;
- }else if( cancelrsn == "" ){
- messageBox("접수취소사유는","I003");
- return;
- }
-
- var rtnval = messageBox("","Q002");
- if( rtnval == "6"){
- if( status == "" ){
- model.makeValue("/root/main/acptcnclinfo/acptcnclinfo/status", "i");
- }else{
- model.makeValue("/root/main/acptcnclinfo/acptcnclinfo/status", "u");
- }
- model.copyNode("/root/savedata/acptcnclinfo", "/root/main/acptcnclinfo/acptcnclinfo");
-
- if(submit("TXMMO06000")){
- messageBox("저장되었습니다.","I");
- model.copyNode("/root/main/acptcnclinfo/acptcnclinfo", "/root/temp/acptcnclinfo");
- model.resetInstanceNode("/root/savedata/acptcnclinfo");
- ipt_brthdd.disabled = true;
- ipt_age.disabled = true;
- cmb_sex.disabled = true;
- ipt_indd.disabled = true;
- status = "u";
- }else{
- messageBox("저장 실패하였습니다.","E");
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:748px; top:405px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="cell_1" style="left:0px; top:89px; width:77px; height:23px; vertical-align:middle; ">수축기혈압</caption>
- <caption id="caption10" class="cell_1" style="left:134px; top:89px; width:77px; height:23px; vertical-align:middle; ">이완기혈압</caption>
- <caption id="caption11" class="cell_1" style="left:670px; top:89px; width:77px; height:23px; vertical-align:middle; ">산소포화도</caption>
- <caption id="caption12" class="cell_1" style="left:268px; top:89px; width:77px; height:23px; vertical-align:middle; ">분당맥박수</caption>
- <caption id="caption13" class="cell_1" style="left:402px; top:89px; width:77px; height:23px; vertical-align:middle; ">분당호흡수</caption>
- <caption id="caption14" class="cell_1" style="left:536px; top:89px; width:77px; height:23px; vertical-align:middle; ">내원시 체온</caption>
- <input id="ipt_highbp" ref="/root/main/acptcnclinfo/acptcnclinfo/highbp" navindex="7" maxlength="3" format="999" style="left:78px; top:91px; width:55px; height:19px; "/>
- <input id="ipt_lowbp" ref="/root/main/acptcnclinfo/acptcnclinfo/lowbp" navindex="8" maxlength="3" format="999" style="left:212px; top:91px; width:55px; height:19px; "/>
- <input id="ipt_oxyconcen" ref="/root/main/acptcnclinfo/acptcnclinfo/oxyconcen" navindex="12" maxlength="3" format="999" style="left:748px; top:91px; width:55px; height:19px; "/>
- <input id="ipt_mntbrethcnt" ref="/root/main/acptcnclinfo/acptcnclinfo/mntbrethcnt" navindex="10" maxlength="3" format="999" style="left:480px; top:91px; width:55px; height:19px; "/>
- <input id="ipt_chosbdtp" ref="/root/main/acptcnclinfo/acptcnclinfo/chosbdtp" navindex="11" maxlength="3" format="999" style="left:614px; top:91px; width:55px; height:19px; "/>
- <input id="ipt_mntpulsecnt" ref="/root/main/acptcnclinfo/acptcnclinfo/mntpulsecnt" navindex="9" maxlength="3" format="999" style="left:346px; top:91px; width:55px; height:19px; "/>
- <line id="line7" class="line_3" style="x1:1px; y1:112px; x2:805px; y2:112px; "/>
- <textarea id="txa_cancel" ref="/root/main/acptcnclinfo/acptcnclinfo/cancelrsn" class="text_essential" navindex="13" maxlength="2000" style="left:0px; top:150px; width:804px; height:64px; "/>
- <textarea id="txa_rtnplce" ref="/root/main/acptcnclinfo/acptcnclinfo/rtnplace" navindex="14" maxlength="2000" style="left:0px; top:255px; width:804px; height:50px; "/>
- <textarea id="txa_etc" ref="/root/main/acptcnclinfo/acptcnclinfo/etc" navindex="15" maxlength="2000" style="left:0px; top:345px; width:804px; height:50px; "/>
- <line id="line9" class="line_3" style="x1:0px; y1:214px; x2:804px; y2:214px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:305px; x2:804px; y2:305px; "/>
- <line id="line11" class="line_3" style="x1:0px; y1:395px; x2:804px; y2:395px; "/>
- <button id="button1" class="btn4_letter2" style="left:630px; top:405px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtnval = messageBox("","Q001");
- if( rtnval == "6"){
- model.setValue("/root/main/acptcnclinfo/acptcnclinfo/status", "d");
- model.copyNode("/root/savedata/acptcnclinfo", "/root/main/acptcnclinfo/acptcnclinfo");
-
- if(submit("TXMMO06000")){
- messageBox("삭제되었습니다.","I");
- model.resetInstanceNode("/root/main/acptcnclinfo/acptcnclinfo");
- btn_close.dispatch("DOMActivate");
- }else{
- messageBox("삭제 실패하였습니다.","E");
- }
- }
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/main/acptcnclinfo/acptcnclinfo/pid" class="input_essential" disabled="true" navindex="6" visibility="hidden" style="left:707px; top:27px; width:95px; height:19px; text-align:center; "/>
- <select1 id="cmb_sex" ref="/root/main/acptcnclinfo/acptcnclinfo/sex" navindex="4" appearance="minimal" style="left:423px; top:27px; width:39px; height:19px; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|