123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?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>
- <ercalcscorgpc>
- <ercalcscorlist>
- <pid/>
- <hngnm/>
- <sa/>
- <orddd/>
- <prcpcd/>
- <prcpnm/>
- <ersympresncd/>
- <rgstdt/>
- <rgstnm/>
- <ersympresnnm/>
- </ercalcscorlist>
- </ercalcscorgpc>
- <cond>
- <orddd/>
- <pid/>
- <hngnm/>
- </cond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <hidden/>
- <init/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //그리드 초기화
- model.removeNodeset("/root/main/ercalcscorgpc/ercalcscorlist");
- //진료일자 현재날짜로 받아옴
- model.setValue("/root/main/cond/orddd",getCurrentDate());
- model.refresh();
- ]]>
- </script>
- <submission id="TRMMO06303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ercalcscorgpc"/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/hngnm"/>
- </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/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body guideline="2,376;1,1194;2,784;" style="margin-left:8; margin-right:8; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:10px; width:185px; height:13px; ">응급의료관리료 발생현황</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1194px; height:50px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:17px; top:38px; width:105px; height:17px; ">진료일자 :</caption>
- <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input_search" inputtype="date" appearance="input" style="left:105px; top:37px; width:87px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:247px; top:38px; width:93px; height:17px; ">등록번호:</caption>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" maxlength="10" appearance="input" style="left:331px; top:38px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- //그리드 초기화
- model.removeNodeset("/root/main/ercalcscorgpc/ercalcscorlist");
- //입력한 등록번호를 가지고 등록번호에 해당하는 환자명을 조회하러 간다
- inputEnterKey("btn_reqpatnm", "DOMActivate");
- //등록번호에 해당하는 환자를 조회
- inputEnterKey("btn_req", "DOMActivate");
- ]]>
- </script>
- <hint>
- <![CDATA[등록번호를 입력하세요]]>
- </hint>
- </input>
- <caption id="caption4" class="search_name" style="left:471px; top:38px; width:107px; height:17px; ">성 명 :</caption>
- <input id="ipt_hngnm" ref="/root/main/cond/hngnm" class="input_search" disabled="true" appearance="input" style="left:543px; top:38px; width:106px; height:19px; ">
- <hint>
- <![CDATA[환자명은 입력할 수 없습니다.]]>
- </hint>
- </input>
- <button id="button1" class="icon_search" navindex="3" style="left:654px; top:38px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ipt_hngnm.value = '';
- ipt_pid.value = '';
- //원무팀의 환자명을 받아오는 팝업창을 띠운다.
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- //input박스에 데이타를 받아온다.
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/main/cond/pid", sPid);
- model.setValue("/root/main/cond/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" style="x1:1115px; y1:30px; x2:1115px; y2:60px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_req" class="btn1_letter2" navindex="6" style="left:1127px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //조건에 맞는 데이타조회
- model.copyNode("/root/send/reqdata","/root/main/cond");
- submit("TRMMO06303");
- ]]>
- </script>
- </button>
- <caption id="caption25" class="tit_2" style="left:0px; top:81px; width:230px; height:13px; ">응급의료관리료 발생현황 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1194px; y2:96px; "/>
- <datagrid id="grd_ercalcscorlist" nodeset="/root/main/ercalcscorgpc/ercalcscorlist" caption="등록번호^성 명^나이/성별^진료일자^처방코드^처방명^응급증상사유코드^응급증상사유^등록일시^등록자명" colsep="^" colwidth="60, 70, 70, 70, 80, 280, 0, 338, 120, 70" ellipsis="true" explorerbar="sortshow" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" navindex="7" style="left:0px; top:101px; width:1194px; height:683px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="sa"/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="ersympresncd"/>
- <col ref="ersympresnnm"/>
- <col ref="rgstdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="rgstnm"/>
- </datagrid>
- <button id="btn_excel" class="btn2_letter3" style="left:1137px; top:74px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //파일 선택 다이얼로그 띄운다. - "응급실호출현황"이라는 이름으로 저장 위치를 지정하는 팝업을 띄움
- var fileName = window.fileDialog("save", ",", false, "응급실의료관리료 발생현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- //파일저장주소를 받아온 것을 가지고 그리드내용을 엑셀로 저장
- if (fileName != "")
- {
- //그리드의 내용을 Excel 파일로 저장하는 함수로.. 파일이름을 받아온것을 가지고 저장하러 간다.
- grd_ercalcscorlist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
- ]]>
- </script>
- </button>
- <button id="btn_reqpatnm" disabled="true" navindex="4" style="left:455px; top:40px; width:10px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //등록번호를 입력하면 등록번호에 해당하는 환자명을 조회하고 환자명입력창에 환자명 넣어줌
- model.removenode("/root/init/patnm/patnm");
- //reqPatInfo: 환자정보 조회 - 함수 (MMO0001에 있음)
- reqPatInfo("pid", "ptbs",model.getValue("/root/main/cond/pid"));
- //받아온 환자명을 환자명 input박스에 넣어준다
- model.setValue("/root/main/cond/hngnm", model.getValue("/root/init/patnm/patnm/hngnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|