123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPIS00300_삭제환자조회.xrw
- * 수정이력
- * - 2008.09.30 / 최초작성 / 강종태
- ************************************************
- * [ Maps ]
- * TRZBC00102 : 공통코드(청구 구분)
- * TRPID20309 : 진료과
- * TRPID20407 : 청구차수
- * TRPID20201 : 청구과
- -->
- <?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>
- <grdlist>
- <delpatlist>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <clamym/>
- <clamflagcd/>
- <clamdg/>
- <ioflag/>
- <insukind/>
- <suppkind/>
- <clamdeptnm/>
- <orddeptcd/>
- <orddrnm/>
- <judgendyn/>
- <clamendyn/>
- <acptno/>
- <docuseqno/>
- <ordfromdd/>
- <fromdd/>
- <todd/>
- <judgyn/>
- <delreason/>
- <rtnrsncd1/>
- <rtnrsncd2/>
- <edimedcaretotamt/>
- <ediownbamt/>
- <ediinsuclamamt/>
- <ediownbmaxexamt/>
- <edisuppamt/>
- <edisubtamt/>
- <edihandcaprfund/>
- <judgrid/>
- <judgenddd/>
- <insuno/>
- </delpatlist>
- </grdlist>
- </main>
- <init>
- <!-- 청구구분 -->
- <P0155list>
- <P0155>
- <cdnm/>
- <cdid/>
- <cdengabbrnm/>
- </P0155>
- </P0155list>
- <!-- 청구분야 -->
- <P0291list>
- <P0291>
- <cdnm/>
- <cdid/>
- </P0291>
- </P0291list>
- <!-- 청구년월 -->
- <clamdg/>
- <clamdgfrom>
- <clamdglist>
- <clamdgnm/>
- <clamdgcd/>
- </clamdglist>
- </clamdgfrom>
- <clamdgto>
- <clamdglist>
- <clamdgnm/>
- <clamdgcd/>
- </clamdglist>
- </clamdgto>
- <!-- 진료과 -->
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </init>
- <send>
- <clamflag/>
- <clamym/>
- <clamymfrom/>
- <clamdgfrom/>
- <clamymto/>
- <clamdgto/>
- <ioflag/>
- <ordfildcd/>
- <clamdeptcd/>
- <orddeptcd/>
- <deltype/>
- <clamsrchflag>C</clamsrchflag>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면 초기화
- fInitialize();
- ]]>
- </script>
- <!-- submission -->
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPIS00300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/tmp"/>
- <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/tmp"/>
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/clamdg"/>
- </model>
- <!-- js import -->
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <!-- 뽕숑 -->
- <script type="javascript">
- <![CDATA[
-
- // 화면 초기화
- function fInitialize()
- {
- rdo_ioflag.value = "A"; // 내원유형:전체
- model.removeNodeset("/root/main/grdlist/delpatlist"); // 그리드 초기화
- fGetOrdDept(); // 진료과 콤보 리스트
- zbcfGetCodeList(new Array("P0155","P0291")
- ,new Array("/root/init/P0155list","/root/init/P0291list")
- ,false); // 청구구분,청구분야
- cmb_clamflag.refresh();
-
- // 청구년월, 차수 셋팅 시작
- var today = new Date();
- var baseyear = today.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
- var basemonth = today.getDateFormat("MM");
- var currentym = baseyear + basemonth;
- model.setValue("/root/send/clamymfrom",currentym);
- // model.setValue("/root/send/clamymto",currentym);
- ipt_clamymfrom.refresh();
- // ipt_clamymto.refresh();
- pidfGetClamdg();
-
- cmb_clamdgfrom.select(0);
- // cmb_clamdgto.select(0);
- cmb_clamdgfrom.refresh();
- // cmb_clamdgto.refresh();
- // 청구년월 셋팅 끝
-
- fGetClamDept(); // 청구과 콤보 리스트
-
- rdo_del.select(0);
- }
-
- // 진료과 리스트 가져오기
- function fGetOrdDept()
- {
- submit("TRPID20309");
- }
-
- // 청구년월 함수
- function pidfGetClamdg() {
- model.removeNodeset("/root/init/clamdg");
- model.makeNode("/root/init/clamdg");
- model.setValue("/root/send/clamym",model.getValue("/root/send/clamymfrom").substring(0,6) );
- submit("TRPID20407");
- model.copyNode("/root/init/clamdgfrom","/root/init/clamdg");
- addComboItem("cmb_clamdgfrom", "전체", "", "above");
- cmb_clamdgfrom.refresh();
- cmb_clamdgfrom.select(0);
-
- // model.setValue("/root/send/clamym",model.getValue("/root/send/clamymto"));
- // submit("TRPID20407");
- // model.copyNode("/root/init/clamdgto","/root/init/clamdg");
- }
-
- // 청구과 함수
- function fGetClamDept()
- {
- submit("TRPID20201");
- }
-
- // 청구년월 차수 기간 체크
- function fChkClamym()
- {
- var fromym = model.getValue("/root/send/clamymfrom");
- var toym = model.getValue("/root/send/clamymto");
-
- if( fromym != toym )
- {
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
- }
- else
- {
- cmb_clamdgfrom.disabled = false;
- cmb_clamdgto.disabled = false;
- cmb_clamdgfrom.select(0);
- cmb_clamdgto.select(0);
- }
-
- cmb_clamdgto.refresh();
- cmb_clamdgfrom.refresh();
- }
-
- // 조회
- function fSearch()
- {
- var chk_ord = model.getValue("/root/send/ordfildcd");
- var chk_clamym = model.getValue("/root/send/clamymfrom");
- var chk_clamdg = model.getValue("/root/send/clamdgfrom");
-
- // 2009.02.26 청구분야 필수조건 제외
- // if ( chk_ord == "")
- // {
- // messageBox("청구분야는 ", "I003");
- // }
-
- if ( chk_clamym == "")
- {
- messageBox("청구년월은 ", "I003");
- }
- else
- {
- submit("TRPIS00300");
- }
- // else if ( chk_clamdg == "")
- // {
- // messageBox("청구차수는 ", "I003");
- // }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1212;2,785;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <!-- TITLE -->
- <group id="group1" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">삭제환자조회</caption>
- </group>
- <!-- 전체 그룹 -->
- <group id="group2" scroll="auto" style="left:0px; top:13px; width:1211px; height:732px; ">
- <!-- 조회조건 -->
- <group id="group3" style="left:0px; top:10px; width:1210px; height:55px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1210px; height:55px; "/>
- <caption id="caption2" class="search_name" style="left:10px; top:6px; width:81px; height:17px; ">청구 구분</caption>
- <select1 id="cmb_clamflag" ref="/root/send/clamflag" class="combo_search" appearance="minimal" style="left:100px; top:5px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line1" class="line_4" style="x1:1109px; y1:5px; x2:1109px; y2:47px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="2" style="left:1134px; top:15px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption26" class="search_name" style="left:390px; top:6px; width:76px; height:17px; ">청구년월</caption>
- <input id="ipt_clamymfrom" ref="/root/send/clamymfrom" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:480px; top:5px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- pidfGetClamdg();
- // fChkClamym();
- var clamymfrom = ipt_clamymfrom.value.substring(0,6);
- ipt_clamymto.value = clamymfrom + ""+ (clamymfrom + "01").toDate().getMonthDay();
- ]]>
- </script>
- </input>
- <select1 id="cmb_clamdgfrom" ref="/root/send/clamdgfrom" class="combo_search" appearance="minimal" style="left:568px; top:5px; width:57px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdgfrom/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:695px; top:5px; width:76px; height:17px; ">내원유형</caption>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:785px; top:5px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetOrdDept(); // 진료과 콤보 리스트
- fGetClamDept(); // 청구과 콤보 리스트
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:10px; top:30px; width:81px; height:17px; ">청구 분야</caption>
- <select1 id="cmb_ordfildcd" ref="/root/send/ordfildcd" class="combo_search" appearance="minimal" style="left:100px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/clamdeptcd", "");
-
- var ordfildcd = model.getValue("/root/send/ordfildcd");
- if (ordfildcd) {
- cmb_clamdeptcd.choices.itemset.attribute("nodeset") = "/root/init/tmp/clamdept/clamdeptlist[cdval='" + ordfildcd + "']";
- } else {
- cmb_clamdeptcd.choices.itemset.attribute("nodeset") = "/root/init/tmp/clamdept/clamdeptlist";
- }
-
- cmb_clamdeptcd.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:390px; top:30px; width:81px; height:17px; ">청구과</caption>
- <select1 id="cmb_clamdeptcd" ref="/root/send/clamdeptcd" class="combo_search" appearance="minimal" style="left:480px; top:30px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tmp/clamdept/clamdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption6" class="search_name" style="left:695px; top:29px; width:81px; height:17px; ">진료과</caption>
- <select1 id="input3" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:785px; top:29px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tmp/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_clamymto" ref="/root/send/clamymto" class="input_search" navindex="1" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:590px; top:5px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //pidfGetClamdg();
- //fChkClamym();
- ]]>
- </script>
- </input>
- <select1 id="cmb_clamdgto" ref="/root/send/clamdgto" class="combo_search" visibility="hidden" appearance="minimal" style="left:685px; top:5px; width:40px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdgto/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" visibility="hidden" style="left:573px; top:8px; width:15px; height:15px; ">~</caption>
- <select1 id="rdo_del" ref="/root/send/deltype" appearance="full" cols="2" overflow="visible" style="left:940px; top:30px; width:78px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>심사삭제</label>
- <value>judgdel</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="search_name" style="left:933px; top:6px; width:76px; height:17px; ">삭제유형</caption>
- <caption id="caption10" class="search_name" style="left:215px; top:5px; width:76px; height:17px; ">조회구분</caption>
- <select1 id="rdo_clamsrchflag" ref="/root/send/clamsrchflag" appearance="full" cols="1" overflow="visible" style="left:300px; top:5px; width:80px; height:35px; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>C</value>
- </item>
- <item>
- <label>심사완료일</label>
- <value>E</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var clamymfrom = model.getValue("/root/send/clamymfrom").substring(0,6);
- var clamymto = model.getValue("/root/send/clamymto");
-
- if (rdo_clamsrchflag.value == "C") {
- ipt_clamymfrom.attribute("visibility") = "visible";
- cmb_clamdgfrom.attribute("visibility") = "visible";
- caption7.attribute("visibility") = "hidden";
- ipt_clamymto.attribute("visibility") = "hidden";
- cmb_clamdgto.attribute("visibility") = "hidden";
- ipt_clamymfrom.attribute("format") = "yyyy-mm";
- ipt_clamymfrom.value = clamymfrom;
-
- } else {
- ipt_clamymfrom.attribute("visibility") = "visible";
- cmb_clamdgfrom.attribute("visibility") = "hidden";
- caption7.attribute("visibility") = "visible";
- ipt_clamymto.attribute("visibility") = "visible";
- cmb_clamdgto.attribute("visibility") = "hidden";
- ipt_clamymfrom.attribute("format") = "yyyy-mm-dd";
-
- if (model.getValue("/root/send/clamymfrom").length == 6) {
- ipt_clamymfrom.value = clamymfrom + "01";
- }
- if (clamymto == "") {
- ipt_clamymto.value = clamymfrom + ""+ (clamymfrom + "01").toDate().getMonthDay();
- }
- }
- ipt_clamymfrom.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1137px; top:68px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_outjudg.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "삭제환자조회_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- // grd_clbsmast.saveExcel(fileName, "SheetName", true, true, "", "", true);
- grd_outjudg.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상이 ", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:0px; top:75px; width:100px; height:14px; ">환자 리스트</caption>
- <datagrid id="grd_outjudg" nodeset="/root/main/grdlist/delpatlist" class="datagrid2" caption="등록번호^성명^주민번호^청구월^구분^차수^내원유형^유형^보조^청구과^진료과^진료의^심사상태^명세서 상태^접수번호^명일련^진료개시일^유형시작일^종료일^심사결정^삭제사유^삭제상세사유^반송사유^반송사유^총진료비^본인부담액^청구액^상한액^지원금^대불금^장애인^심사자^심사완료일^조합기호^최종수정자^최종수정일자" colsep="^" colwidth="62, 49, 103, 56, 39, 52, 37, 20, 23, 92, 61, 55, 66, 72, 66, 54, 78, 80, 70, 37, 144, 100, 29, 29, 75, 75, 75, 75, 75, 75, 75, 59, 83, 80, 69, 100" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:90px; width:1210px; height:640px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col disabled="true" ref="clamflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdengabbrnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamdg" style="text-align:right; "/>
- <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="suppkind" style="text-align:center; "/>
- <col ref="clamdeptnm"/>
- <col ref="orddeptcd"/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="judgendyn"/>
- <col ref="clamendyn"/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:right; "/>
- <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="judgyn" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="delreason"/>
- <col ref="adjtresndesc"/>
- <col ref="rtnrsncd1"/>
- <col ref="rtnrsncd2"/>
- <col ref="edimedcaretotamt" format="#,###" style="text-align:right; "/>
- <col ref="ediownbamt" format="#,###" style="text-align:right; "/>
- <col ref="ediinsuclamamt" format="#,###" style="text-align:right; "/>
- <col ref="ediownbmaxexamt" format="#,###" style="text-align:right; "/>
- <col ref="edisuppamt" format="#,###" style="text-align:right; "/>
- <col ref="edisubtamt" format="#,###" style="text-align:right; "/>
- <col ref="edihandcaprfund" format="#,###" style="text-align:right; "/>
- <col ref="judgrid" style="text-align:center; "/>
- <col ref="judgenddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="insuno" style="text-align:right; "/>
- <col ref="lastupdtrid" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- </datagrid>
- <button id="button1" class="btn2_letter2" style="left:1094px; top:68px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/send/rexid");
- model.makeNode("/root/send/userid");
-
- model.setValue("/root/send/rexid", "RPPIS00300");
- model.setValue("/root/send/userid", getUserId());
- exeReportPreview("RPPIS00300", "XMLSTR");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|