123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPID23600_재정산 내역 조회.xrw
- * 수정이력
- * - 2013.09.29 / 최초작성 / 이은정
- -->
- <?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>
- <list1>
- <clbs/>
- </list1>
- </main>
- <send>
- <item1>
- <clamym/>
- <pid/>
- <pidsn/>
- <ordym/>
- <judgrid/>
- <ioflag>O</ioflag>
- <ordfildcdyn/>
- <searchgb>SD</searchgb>
- </item1>
- <list1>
- <clbs>
- </clbs>
- </list1>
- </send>
- <init>
- <!-- 진료분야 -->
- <P0291list>
- <P0291>
- <cdnm/>
- <cdid/>
- </P0291>
- </P0291list>
- <!-- 청구구분 -->
- <P0155list>
- <P0155>
- <cdnm/>
- <cdid/>
- </P0155>
- </P0155list>
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </P0008list>
- </init>
- <hidden>
- <item1>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ordym/>
- </item1>
- <sppmc02500>
- <cond>
- <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- <item1>
- <maxclamdg/>
- </item1>
- <smpid20400>
- <rslt>
- <oldPid/>
- </rslt>
- <cond>
- <pid/>
- </cond>
- </smpid20400>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1/ioflag" resultref="root/hidden/tmp"/>
- <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/tmp"/>
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/clamdg"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면을 초기화한다.
- fInitialize();
-
- ]]>
- </script>
- <submission id="TRPID23601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" 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() {
-
- // ---------------------------------------------------------------
- // 공통코드를 조회한다.
- // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
- // ---------------------------------------------------------------
- zbcfGetCodeList(
- new Array( "P0291","P0008"
- ),
- new Array("/root/init/P0291list","/root/init/P0008list"
- ) );
-
- var lv_date = gCurrentym.toDate("YYYYMM" + "01");
- lv_date = lv_date.getAddDate(-1, "M")
- gCurrentym = lv_date.getDateFormat("YYYYMM")
-
- model.setValue("/root/send/item1/clamym", gCurrentym);
- model.setValue("/root/send/item1/ordym", gCurrentym);
- // ---------------------------------------------------------------
- // 청구과, 심사자, 진료과, 주치의, 청구차수, 삼시자선택 초기화
- // ---------------------------------------------------------------
- model.refresh();
- submit("TRPID20201",false);
-
- }
-
- // ----------------------------------------------------------------------
- // ▶ 동일진료일 명세서조회
- // ----------------------------------------------------------------------
- function fGetDocuList() {
-
- var chk = true;
- if (model.getValue("/root/send/item1/clamym") == "") {
- chk = false;
- messageBox("청구년월은", "I003"); //I003=필수입력입니다.
- model.setFocus("ipt_clamym");
- }
-
-
- if (chk == true) {
- submit("TRPID23601");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1020" pageheight="660" guideline="1,1163;2,727;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:995px; height:592px; ">
- <datagrid id="grd_clbsmast" nodeset="/root/main/list1/clbs" class="datagrid2" caption="환자번호^환자명^진료과^진료개시일^수가코드^원내/외
구분^수납일자^보험유형^보험유형^보조유형^보조유형^급비구분^급비구분^수가명|환자번호^환자명^진료과^진료개시일^수가코드^원내/외
구분^수납일자^사후^원무^사후^원무^사후^원무^수가명" colsep="^" colwidth="65, 55, 110, 70, 90, 53, 70, 35, 35, 35, 35, 35, 35, 220" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="8" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:77px; width:990px; height:514px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="left:332px; top:32px; width:53px; height:23px; text-align:center; "/>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/tmp/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="snglcalcscorcd"/>
- <col ref="ioflag"/>
- <col ref="rcptexecdd"/>
- <col ref="insukind_s"/>
- <col ref="insukind_o"/>
- <col ref="suppkind_s"/>
- <col ref="suppkind_o"/>
- <col ref="payflag_s"/>
- <col ref="payflag_o"/>
- <col ref="hngnm"/>
- </datagrid>
- <caption id="cap_judgtrgtman" class="tit_2" style="left:4px; top:56px; width:126px; height:13px; ">대상자조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:988px; y2:72px; "/>
- <group id="group1" style="left:0px; top:5px; width:995px; height:40px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:995px; height:40px; "/>
- <caption id="caption30" class="search_name" style="left:8px; top:11px; width:87px; height:17px; ">청구년월 :</caption>
- <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:95px; top:10px; width:69px; height:19px; text-align:center; "/>
- <!-- 기존 ID : 1214 => P0235 => P0291 -->
- <!-- 기존 : /root/InitData2/comccodem => P0287 확인해볼 것 -->
- <button id="btn_select" class="btn1_letter2" navindex="32" style="left:925px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDocuList();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:910px; y1:4px; x2:910px; y2:37px; "/>
- </group>
- <button id="btn_excelsave" class="btn2_letter4" _auth="P" style="left:926px; top:52px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_clbsmast.gridToInstance();
- if (grd_clbsmast.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "중복 명세서조회", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_clbsmast.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>
- <button id="btn_cancel" class="btn4_letter2" style="left:934px; top:622px; width:56px; height:22px; ">
- <caption>종료</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </xhtml:body>
- </xhtml:html>
|