123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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="">
- <send>
- <data1>
- <pid/>
- <clamym/>
- <clamdg/>
- <ioflag/>
- </data1>
- </send>
- <main>
- <list1>
- </list1>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <init>
- <!-- 명세서구분코드(청구구분) -->
- <P0155list>
- <P0155>
- <cdnm/>
- <cdid/>
- </P0155>
- </P0155list>
- </init>
- <hidden>
- <sppmc02500>
- <cond>
- <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- <popup>
- <pid/>
- </popup>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(
- new Array("P0155"), new Array("/root/init/P0155list"));
-
- // 2. 화면초기화
- fInitialize();
- ]]>
- </script>
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/init/clamdg"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPID20901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" 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" src="../../../pam/aftjudgweb/js/SMPID20000.js"/>
- <script type="javascript">
- <![CDATA[
-
- // 화면 초기화
- function fInitialize() {
-
- // 1. 조회부 초기화
- model.setValue("/root/send/data1/pid", "");
- var today = new Date();
- var baseyear = today.getDateFormat("YYYY");
- var basemonth = today.getDateFormat("MM");
- var baseday = today.getDateFormat("DD");
- var currentym = baseyear + basemonth;
- var currentdd = baseyear + basemonth + baseday;
- model.setValue("/root/send/data1/clamym", currentym);
- model.setValue("/root/send/data1/clamdg", "");
- model.setValue("/root/send/data1/ioflag", "-");
-
- // 청구년월에 대한 청구차수 조회
- pidfGetClamdg();
-
- // 2. 그리드 초기화
- model.removenode("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- // 3. 팝업인 경우 넘겨받은 pid를 넣어준다.
- model.setValue("/root/send/data1/pid", model.getValue("/root/hidden/popup/pid"));
-
- model.refresh();
- }
-
- // 환자단위 삭감내역 조회
- function fGetClodCutList() {
- if (model.getValue("/root/send/data1/pid") == "") {
- messageBox("환자번호가", "I004");
- return false;
- }
- if (model.getValue("/root/send/data1/clamym") == "") {
- messageBox("청구년월이", "I004");
- return false;
- }
-
- if (submit("TRPID20901")) {
- grd_clodcutlist.refresh();
- grd_clodcutlist.row = 2;
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,850;2,494;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:850px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:181px; height:13px; ">환자단위 최근삭감내역 조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:850px; height:452px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:60px; width:95px; height:13px; ">처방삭감내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:850px; y2:75px; "/>
- <datagrid id="grd_clodcutlist" nodeset="/root/main/list1/clod" caption="청구
년월^차
수^청구
구분^그룹코드^수가코드^수가명^처방^처방^처방^처방^삭감^삭감^삭감^삭감^삭감사유|청구
년월^차
수^청구
구분^그룹코드^수가코드^수가명^투여량^횟수^일수^금액^투여량^횟수^일수^금액^삭감사유" colsep="^" colwidth="45, 21, 60, 80, 80, 150, 43, 35, 35, 53, 43, 35, 35, 53, 55" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:0px; top:80px; width:850px; height:370px; ">
- <col ref="clamym" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col disabled="true" ref="clamflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="grupcalcscorcd" style="text-align:left; "/>
- <col ref="snglcalcscorcd" style="text-align:left; "/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="drugqty" format="#.00" style="text-align:right; "/>
- <col ref="tims" format="#.00" style="text-align:right; "/>
- <col ref="dayno" format="#.00" style="text-align:right; "/>
- <col ref="amt" format="#,###" style="text-align:right; "/>
- <col ref="cutdrugqty" format="#.00" style="text-align:right; "/>
- <col ref="cuttims" format="#.00" style="text-align:right; "/>
- <col ref="cutdayno" format="#.00" style="text-align:right; "/>
- <col ref="cutamt" format="#,###" style="text-align:right; "/>
- <col ref="cutcd" style="text-align:left; "/>
- </datagrid>
- <button id="button5" class="btn2_letter4" style="left:781px; top:54px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_clodcutlist.rows == 2) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_clodcutlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- messageBox("EXCEL 저장이 완료되었습니다.","I999");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:467px; width:850px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter3" style="left:779px; top:5px; width:56px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:850px; height:43px; "/>
- <caption id="caption2" class="search_name" style="left:10px; top:32px; width:86px; height:17px; ">환자번호 :</caption>
- <button id="btn_down" class="icon_down" style="left:438px; top:42px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 청구년월 이전월
- var nowym = model.getValue("/root/send/data1/clamym");
- var downym;
- downym = pidfCalMonth(-1, nowym);
- model.setValue("/root/send/data1/clamym", downym);
- ipt_clamym.refresh();
-
- // 청구년월에 대한 청구차수 조회
- model.setValue("/root/send/data1/clamdg", "");
- cmb_clamdg.refresh();
- pidfGetClamdg();
- ]]>
- </script>
- </button>
- <select1 id="cmb_clamdg" ref="/root/send/data1/clamdg" navindex="3" appearance="minimal" editmode="input" style="left:453px; top:32px; width:62px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdg/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:275px; top:32px; width:86px; height:17px; ">청구년월 :</caption>
- <button id="btn_up" class="icon_up" style="left:438px; top:32px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 청구년월 다음월
- var nowym = model.getValue("/root/send/data1/clamym");
- var upym;
- upym = pidfCalMonth(1, nowym);
- model.setValue("/root/send/data1/clamym", upym);
- ipt_clamym.refresh();
-
- // 청구년월에 대한 청구차수 조회
- model.setValue("/root/send/data1/clamdg", "");
- cmb_clamdg.refresh();
- pidfGetClamdg();
- ]]>
- </script>
- </button>
- <input id="ipt_clamym" ref="/root/send/data1/clamym" class="input_search" navindex="2" inputtype="date" format="yyyy-mm" style="left:365px; top:32px; width:69px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 청구년월에 대한 청구차수 조회
- model.setValue("/root/send/data1/clamdg", "");
- cmb_clamdg.refresh();
- pidfGetClamdg();
- ]]>
- </script>
- </input>
- <line id="line3" class="line_4" style="x1:759px; y1:30px; x2:759px; y2:52px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="32" style="left:775px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetClodCutList();
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/send/data1/pid" class="input_search" navindex="1" inputtype="button" maxlength="10" style="left:100px; top:32px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- // 1. 환자조회 팝업 호출
- var pid = model.getValue("/root/send/data1/pid");
- if (pid != "") {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1");
- model.setValue("/root/hidden/sppmc02500/cond/pid", pid);
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- modal("SPPMC02500", "1", "150", "150", "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", "");
-
- // 2. 조회된 환자번호 입력
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (srch_pid) {
- model.removeNodeset("/root/main/patinfo/patinfolist");
- model.makeNode("/root/main/patinfo/patinfolist");
- model.setValue("/root/send/data1/pid", srch_pid);
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- </xhtml:body>
- </xhtml:html>
|