123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPID23500_중복 명세서조회.xrw
- * 수정이력
- * - 2012.07.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>
- <list1>
- <clbs/>
- </list1>
- </main>
- <send>
- <item1>
- <clamym/>
- <pid/>
- <pidsn/>
- <ordym/>
- <judgrid/>
- <ioflag>O</ioflag>
- <ordfildcdyn/>
- <searchgb>SD</searchgb>
- <diagcd/>
- <stsioflag/>
- </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>
- <PAM>
- <PK108list/>
- <PK109list/>
- <PK110list/>
- </PAM>
- </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"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면을 초기화한다.
- fInitialize();
-
- ]]>
- </script>
- <submission id="TRPID23501" 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" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.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"
- ) );
- pamfGetCodeList(new Array(
- "PK108"
- ,"PK109"
- ,"PK110"
- ),
- new Array("/root/init/PAM/PK108list"
- ,"/root/init/PAM/PK109list"
- ,"/root/init/PAM/PK110list"
- ));
- 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() {
-
- grd_clbsmast.colType(3) = "combo";
- grd_clbsmast.colType(4) = "combo";
- grd_clbsmast.colType(5) = "combo";
- grd_clbsmast.colType(6) = "combo";
- grd_clbsmast.colType(7) = "combo";
- model.refresh();
-
- var chk = true;
- if (model.getValue("/root/send/item1/clamym") == "") {
- chk = false;
- messageBox("청구년월은", "I003"); //I003=필수입력입니다.
- model.setFocus("ipt_clamym");
- } else if (model.getValue("/root/send/item1/ioflag") == "") {
- chk = false;
- messageBox("내원구분", "I003"); //I003=필수입력입니다.
- model.setFocus("cmb_ioflag");
- }
- var searchgb = model.getValue("/root/send/item1/searchgb");
- if (chk == true) {
- model.setValue("/root/send/item1/diagcd", model.getValue("/root/init/PAM/PK108list/PK108[cdid='"+searchgb+"']/cdnm"));
- submit("TRPID23501");
- }
- if (searchgb == "G2"){
- grd_clbsmast.valueMatrix(0,1) = "한글명" ;
- grd_clbsmast.valueMatrix(0,2) = "수가코드" ;
- grd_clbsmast.valueMatrix(0,3) = "EDI코드" ;
- grd_clbsmast.valueMatrix(0,4) = "대분류" ;
- grd_clbsmast.valueMatrix(0,5) = "중분류" ;
- grd_clbsmast.valueMatrix(0,6) = "소분류" ;
- grd_clbsmast.valueMatrix(0,7) = "적용일자" ;
- grd_clbsmast.valueMatrix(0,8) = "수가메모" ;
- grd_clbsmast.valueMatrix(0,10) = "수가메세지" ;
- grd_clbsmast.valueMatrix(0,11) = "" ;
- grd_clbsmast.valueMatrix(0,12) = "" ;
-
- grd_clbsmast.colType(3) = "output";
- grd_clbsmast.colType(4) = "output";
- grd_clbsmast.colType(5) = "output";
- grd_clbsmast.colType(6) = "output";
- grd_clbsmast.colType(7) = "output";
- grd_clbsmast.colAttribute(7, "format") = "yyyy-mm-dd";
- }
-
- }
-
- // ----------------------------------------------------------------------
- // ▶ 환자조회
- // ----------------------------------------------------------------------
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1030" pageheight="750" guideline="1,1163;2,720;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:15px; width:1005px; height:705px; ">
- <datagrid id="grd_clbsmast" nodeset="/root/main/list1/clbs" class="datagrid2" autoresize="true" caption="등록번호^환자명^진료분야^보험유형^청구과^진료과^진료의^진료개시일^청구년월^출장시작일
(사망일)^출장종료일^(상병,처방)
코드^내원
구분" colsep="^" colwidth="74, 67, 69, 79, 114, 114, 72, 81, 72, 67, 69, 70, 42" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:225px; width:995px; height:477px; ">
- <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="ordfildcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="clamdeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/tmp/clamdept/clamdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <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 disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/tmp/orddrid2/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clamym" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
- <col ref="holi_f" format="yyyy-mm-dd"/>
- <col ref="holi_t" format="yyyy-mm-dd"/>
- <col ref="diagcd"/>
- <col ref="ioflag" type="combo">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- // 그리드 내용 복사
- if (grd_clbsmast.selectedRows == 1) { // 한줄
- var row = grd_clbsmast.row;
- var col = grd_clbsmast.col;
- //if (col == grd_clbsmast.colRef("pid") || col == grd_clbsmast.colRef("patnm")) {
- // 상병코드/상병명
- var clip = grd_clbsmast.labelMatrix(row, col);
- window.clipBoardData = clip;
- //}
- }
- ]]>
- </script>
- </datagrid>
- <caption id="cap_judgtrgtman" class="tit_2" style="left:4px; top:201px; width:126px; height:13px; ">대상자조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:220px; x2:995px; y2:220px; "/>
- <group id="group1" style="left:0px; top:5px; width:1000px; height:190px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:998px; height:188px; "/>
- <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:97px; top:13px; 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:935px; top:69px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDocuList();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:925px; y1:9px; x2:925px; y2:185px; "/>
- <select1 id="rdo_searchgb" ref="/root/send/item1/searchgb" appearance="full" cols="3" overflow="visible" style="left:97px; top:39px; width:823px; height:146px; border-style:none; ">
- <choices>
- <item>
- <label>동일과/일자 외래중복 조회</label>
- <value>SD</value>
- </item>
- <item>
- <label>입원/외래 중복 명세조회</label>
- <value>IO</value>
- </item>
- <item>
- <label>개시일 종료일 불일치 조회</label>
- <value>NS</value>
- </item>
- <item>
- <label>경증환자 특정내역 검증 조회</label>
- <value>CP</value>
- </item>
- <item>
- <label>건강보험 자격확인</label>
- <value>MT</value>
- </item>
- <item>
- <label>급여 혈액투석 당일 내과중복 조회</label>
- <value>HM</value>
- </item>
- <item>
- <label>동일일자 동일상병 외래중복 조회</label>
- <value>DI</value>
- </item>
- <item>
- <label>의사출장 진찰료 조회</label>
- <value>DB</value>
- </item>
- <item>
- <label>MT014 있고 중증번호 없는 명세서 조회</label>
- <value>MR</value>
- </item>
- <item>
- <label>상병코드 앞 3자리 동일상병 조회</label>
- <value>D3</value>
- </item>
- <item>
- <label>재원/외래 중복 명세조회</label>
- <value>JO</value>
- </item>
- <item>
- <label>상병 30개 이상 명세서 조회</label>
- <value>DC</value>
- </item>
- <item>
- <label>사망 후 진료 명세서 조회</label>
- <value>DE</value>
- </item>
- <item>
- <label>급여 본인부담면제 환자 Vcode 조회</label>
- <value>MV</value>
- </item>
- <item>
- <label>진찰료 중복 명세서 조회</label>
- <value>G1</value>
- </item>
- <item>
- <label>급여 신규 약제</label>
- <value>G2</value>
- </item>
- <item>
- <label>자료수집 시행월을 포함한 KTAS 4-5등급의 재원환자 현황</label>
- <value>KP</value>
- </item>
- <item>
- <label>주진단으로 사용할 수 없는 질병코드</label>
- <value>DN</value>
- </item>
- <item>
- <label>당뇨병 관련 병용코딩</label>
- <value>DY</value>
- </item>
- <item>
- <label>요통 관련 병용코딩</label>
- <value>DX</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetDocuList();
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:8px; top:36px; width:86px; height:17px; ">조회구분 :</caption>
- <select1 id="combo1" ref="/root/send/item1/stsioflag" appearance="minimal" style="left:270px; top:13px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>DSC/CHEMO</label>
- <value>D</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:180px; top:11px; width:87px; height:17px; ">내원유형 :</caption>
- </group>
- <button id="btn_excelsave" class="btn2_letter4" _auth="P" style="left:931px; top:197px; 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>
- <caption id="caption2" style="left:348px; top:201px; width:285px; height:14px; font-weight:bold; color:#ff0000; background-color:#ccffcc; ">외래상기도감염 항생제 처방조회는 하셨습니까?</caption>
- <button id="button1" class="btn2_letter15" _auth="P" style="left:636px; top:197px; width:185px; height:19px; ">
- <caption>외래상기도감염 항생제 처방조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMPIS01000", "1", "20", "80" ,"", "", "");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter8" visibility="hidden" _auth="P" style="left:822px; top:197px; width:108px; height:19px; ">
- <caption>재정산 내역 조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMPID23600", "1", "20", "80" ,"", "", "");
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_cancel" class="btn4_letter2" style="left:940px; top:725px; width:56px; height:22px; ">
- <caption>종료</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </xhtml:body>
- </xhtml:html>
|