123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPID33000_사전신청요법현황.xrw
- * 수정이력
- * - 2013.01.19 / 최초작성 / 이경민
- -->
- <?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>사전신청요법현황</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <dpcdlist>
- <dpcd/>
- </dpcdlist>
- </main>
- <send>
- <dpcdlist>
- </dpcdlist>
- <regmcd/>
- <instcd>031</instcd>
- <execdd/>
- <ioflag/>
- <pid/>
- </send>
- <init>
- <genrflagcd/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면을 초기화한다.
- fInitialize();
-
- ]]>
- </script>
- <submission id="TRPPI01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
-
- var gToday = new Date();
- var gBaseyear = gToday.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
- var gBasemonth = gToday.getDateFormat("MM");
- var gBaseday = gToday.getDateFormat("DD");
- var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
- var gCurrentym = gBaseyear + gBasemonth;
-
- // -----------------------
- // ▶ 화면초기화
- // -----------------------
- function fInitialize() {
-
- zbcfGetCodeList(new Array( "M0010"),
- new Array("/root/init/genrflagcd"));
- model.refresh();
-
- btn_select.dispatch("DOMActivate");
-
- }
-
- // ----------------------------------------------------------------------
- // ▶ 동일진료일 명세서조회
- // ----------------------------------------------------------------------
- function fGetDocuList() {
-
- var chk = true;
- // if (model.getValue("/root/send/orddd") == "") {
- // chk = false;
- // messageBox("기준년월은", "I003"); //I003=필수입력입니다.
- // model.setFocus("ipt_orddd");
- // }
-
-
- if (chk == true) {
- submit("TRPPI01103");
- }
- }
-
- // 화면을 초기화한다.
- function fSpclGridInsertRow(){
- grd_dpcdlist.AddRow();
- grd_dpcdlist.bottomRow = grd_dpcdlist.rows;
- }
-
- function fSpclGridDeleteRow(){
- for (var i = 0; i < grd_dpcdlist.selectedRows; i++) {
- var sel = grd_dpcdlist.selectedRow(i);
- grd_dpcdlist.rowstatus(sel) = "4";
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="780" guideline="1,1160;2,726;2,739;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:865px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:216px; height:15px; ">사전신청요법현황</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:28px; width:1160px; height:698px; ">
- <datagrid id="grd_dpcdlist" nodeset="/root/main/dpcdlist/dpcd" class="datagrid3" allowuserresize="true" autoresize="true" caption="이름^주민번호^환자번호^성별^요법코드^암종^세부암종^항암화학요법^투여대상^투여단계^투여요법^급여상세사항^기타사항^시작일자^종료일자^사용
여부^등록자^등록일자^수정자^수정일자" colsep="^" colwidth="63, 68, 74, 35, 66, 110, 82, 205, 387, 100, 107, 100, 100, 66, 66, 41, 68, 100, 69, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:77px; width:1160px; height:621px; ">
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="rrgstno1" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col disabled="true" ref="regmcd" type="output" maxlength="16" style="left:332px; top:32px; width:53px; height:23px; text-align:center; "/>
- <col ref="cncrkind" type="output"/>
- <col disabled="false" ref="cncrdetl" type="output" maxlength="3" style="text-align:left; "/>
- <col ref="antichem" type="output"/>
- <col ref="drugtrgt" type="output"/>
- <col ref="drugstage" type="output"/>
- <col ref="drugregm" type="output"/>
- <col ref="paydetl" type="output"/>
- <col ref="etcdetl" type="output"/>
- <col ref="fromdd" type="output" format="yyyy-mm-dd" maxlength="8"/>
- <col ref="todd" type="output" format="yyyy-mm-dd" maxlength="8"/>
- <col checkvalue="1,0" ref="useyn" type="output"/>
- <col ref="fstrgstrid" type="output" style="text-align:center; "/>
- <col ref="fstrgstdt" type="output" format="yyyy-mm-dd hh:nn"/>
- <col ref="lastupdtrid" style="text-align:center; "/>
- <col ref="lastupdtdt" visibility="visible" format="yyyy-mm-dd hh:nn"/>
- </datagrid>
- <caption id="cap_judgtrgtman" class="tit_2" style="left:4px; top:56px; width:234px; height:15px; ">사전신청요법현황 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:1160px; y2:72px; "/>
- <group id="group1" style="left:0px; top:5px; width:1160px; height:40px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:40px; "/>
- <button id="btn_select" class="btn1_letter2" navindex="32" style="left:1095px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDocuList();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1080px; y1:5px; x2:1080px; y2:38px; "/>
- <caption id="caption30" class="search_name" style="left:8px; top:11px; width:87px; height:17px; ">환자번호 :</caption>
- <input id="ipt_diagcd" ref="/root/send/pid" style="left:100px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == 13) {
- setInputNodeCurText(",");
- fGetDocuList();
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:433px; top:11px; width:87px; height:17px; ">내원구분:</caption>
- <caption id="caption2" class="search_name" style="left:623px; top:11px; width:112px; height:17px; ">시행일 :</caption>
- <select1 id="combo1" ref="/root/send/ioflag" disabled="false" appearance="minimal" style="left:520px; top:10px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/genrflagcd/M0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetDocuList();
- ]]>
- </script>
- </select1>
- <input id="input2" ref="/root/send/execdd" disabled="false" inputtype="date" format="yyyy-mm-dd" style="left:700px; top:10px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == 13) {
- setInputNodeCurText(",");
- fGetDocuList();
- }
- ]]>
- </script>
- </input>
- <input id="input1" ref="/root/send/regmcd" style="left:310px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == 13) {
- setInputNodeCurText(",");
- fGetDocuList();
- }
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:218px; top:11px; width:87px; height:17px; ">요법코드 :</caption>
- </group>
- <button id="btn_excelsave" class="btn2_letter4" _auth="P" style="left:1094px; top:52px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_dpcdlist.gridToInstance();
- if (grd_dpcdlist.rows > 1) {
- var fileName = window.fileDialog("save", "", false, cap_title.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_dpcdlist.saveExcel(fileName, "sheetname:;colhiddenextend:true;rowhiddenextend:false;col_3:label;col_4:label;col_5:label;col_6:label;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|