123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- <?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="">
- <main>
- <acptcncllist>
- <acptcncllist>
- <chk/>
- <pid/>
- <hngnm/>
- <cretno/>
- <age/>
- <sex>M</sex>
- <indd/>
- <mainsymp/>
- <cancelrsn/>
- <highbp/>
- <lowbp/>
- <mntpulsecnt/>
- <mntbrethcnt/>
- <chosbdtp/>
- <oxyconcen/>
- <medispcl/>
- <intern/>
- <codi/>
- <status/>
- </acptcncllist>
- </acptcncllist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <pid/>
- <hngnm/>
- <acptcncllist/>
- </send>
- <source>
- <srchcond/>
- <pid/>
- </source>
- <temp/>
- <codeinfo>
- <codeinfo>
- <codelist/>
- </codeinfo>
- </codeinfo>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_patlist.fixedcellcheckbox(0, grd_patlist.colRef("chk")) = true;
-
- model.copyNode("/root/temp","/root/send");
-
- fGetNursHardCdInfo("'227'", getCurrentDate());
-
- model.copyNode("/root/send","/root/temp");
- model.refresh();
-
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
-
- model.removeNodeset("/root/main/acptcncllist/acptcncllist");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function ChkDate(){
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
-
- if( fromdd > todd ){
- messageBox("시작일자가 종료일자보다 클 수","I004"); //없습니다.
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
- return false;
- }else if( todd > getCurrentDate() ){
- messageBox("종료일자가 현재일자("+getCurrentDate()+")보다 클 수","I004");//없습니다.
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
- return false;
- }
- return true;
- }
- ]]>
- </script>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo/codelist"/>
- <submission id="TRMMO06000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/acptcncllist"/>
- <submission id="TXMMO06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acptcncllist" resultref="/root/main/acptcncllist"/>
- </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="../../../emr/carecomweb/js/CareCom.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:399px; height:15px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">응급실 접수취소 환자리스트</caption>
- <group id="group2" style="left:0px; top:21px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1002px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rtn = ChkDate();
-
- if( rtn == true ){
- model.setValue("/root/send/fromdd", model.getValue("/root/send/fromdd"));
- model.setValue("/root/send/todd", model.getValue("/root/send/todd"));
- model.setValue("/root/send/pid", model.getValue("/root/send/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/send/hngnm"));
-
- if (!submit("TRMMO06000")){
- messageBox("조회를","E009");
- }else{
- grd_patlist.colDisabled(grd_patlist.colRef("cancelrsn")) = true;
- }
- model.refresh();
- }else{
- return;
- }
-
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:992px; y1:7px; x2:992px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:18px; top:9px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회일자 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:107px; top:9px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ChkDate();
- ]]>
- </script>
- </input>
- <caption id="caption5" style="left:209px; top:13px; width:15px; height:13px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:223px; top:9px; width:100px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ChkDate();
- ]]>
- </script>
- </input>
- <button id="btn_excel" class="btn6_letter2" style="left:1124px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
- var dt = "";
-
- if(fromdd == todd) {
- dt = fromdd;
- } else {
- dt = fromdd + "~" + todd;
- }
-
- var fileName = window.fileDialog("save", ",", false, "응급실접수취소", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- grd_patlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
-
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:340px; top:8px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">등록번호 :</caption>
- <caption id="caption3" class="search_name" style="left:520px; top:8px; width:66px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">성명 :</caption>
- <input id="ipt_pid" ref="/root/send/pid" style="left:430px; top:9px; width:76px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", ipt_pid.currentText);
- modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.makeValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.makeValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
- ipt_hngnm.refresh();
- ipt_pid.refresh();
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/send/hngnm" style="left:585px; top:9px; width:76px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setValue("/root/source/srchcond", "2");
- model.setValue("/root/source/hngnm", ipt_hngnm.currentText);
- modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.makeValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.makeValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
- ipt_hngnm.refresh();
- ipt_pid.refresh();
- }
-
- ]]>
- </script>
- </input>
- <button id="button61" class="icon_search" style="left:667px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/send/pid") != "" ){
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", ipt_pid.currentText);
- }else if( model.getValue("/root/send/hngnm") != "" ){
- model.setValue("/root/source/srchcond", "2");
- model.setValue("/root/source/hngnm", ipt_hngnm.currentText);
- }else{
- model.setValue("/root/source/srchcond", "2");
- }
-
- modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.makeValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.makeValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- ipt_hngnm.refresh();
- ipt_pid.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn6_letter2" style="left:1064px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(grd_patlist.findRow("Y",1, grd_patlist.colRef("chk")) != -1){
- model.setValue("/root/send/acptcncllist", grd_patlist.getUpdateData("update", "status"));
-
- if (!submit("TXMMO06001")){
- messageBox("삭제를","E009");//실패하였습니다.
- }
- }else{
- messageBox("삭제 할 데이터가", "I004");//없습니다.
- return;
- }
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_patlist" nodeset="/root/main/acptcncllist/acptcncllist" class="datagrid4" caption="^등록번호^환자명^cretno^나이^성별^내원일시^주증상^접수취소사유^기타사유^수축기혈압^이완기혈압^맥박수^호흡수^체온^산소포화도(%)^전문의^인턴^코디네이터" colsep="^" colwidth="23, 70, 75, 45, 36, 36, 101, 100, 154, 100, 68, 68, 44, 44, 44, 87, 57, 57, 80" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="label" style="left:0px; top:76px; width:1195px; height:670px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="pid"/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="age" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="mainsymp"/>
- <col ref="cancelrsn" type="combo" style="left:485px; top:23px; width:100px; height:23px; ">
- <choices>
- <itemset nodeset="/root/codeinfo/codeinfo/codelist[cdgrupid='227']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="etc"/>
- <col ref="highbp" style="text-align:center; "/>
- <col ref="lowbp" style="text-align:center; "/>
- <col ref="mntpulsecnt" style="text-align:center; "/>
- <col ref="mntbrethcnt" style="text-align:center; "/>
- <col ref="chosbdtp" style="text-align:center; "/>
- <col ref="oxyconcen" style="text-align:center; "/>
- <col ref="medispcl" style="text-align:center; "/>
- <col ref="intern"/>
- <col ref="codi" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_patlist.isCell(event.target) && grd_patlist.mouseRow > 0){
- var Param = model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/pid")+"▦"
- + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/hngnm")+"▦"
- + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/indd")+"▦"
- + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/cretno")+"▦"
- + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/sex")+"▦"
- + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/age")+"▩";
- setParameter("SMMMO06000_Param", Param);
- modal("SMMMO06000");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line8" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
- <shape id="roundrect2" class="roundrect_example" appearance="roundrect" style="left:0px; top:750px; width:1195px; height:30px; "/>
- <caption id="caption26" class="hand" style="left:10px; top:753px; width:1180px; height:22px; vertical-align:middle; ">등록번호 미발생환자의 경우 이름, 등록번호 검색이 되지 않습니다.</caption>
- <button id="button2" class="btn3_letter12" style="left:1010px; top:754px; width:176px; height:22px; ">
- <caption>응급실접수취소 신규입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SMMMO06000_Param", "");
- modal("SMMMO06000");//응급실접수취소
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|