123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374 |
- <?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="">
- <main>
- <list01>
- <gridclamcut/>
- </list01>
- <list02>
- <comboclamdg>
- <clamdgval/>
- <clamdglab/>
- </comboclamdg>
- </list02>
- <list03>
- <comboclamdg>
- <clamdgval/>
- <clamdglab/>
- </comboclamdg>
- </list03>
- <list04>
- <comboclamdeptcd>
- <clamdeptcdval/>
- <clamdeptcdlab/>
- </comboclamdeptcd>
- </list04>
- <list05>
- <comboorddeptcd>
- <orddeptcdval/>
- <orddeptcdlab/>
- </comboorddeptcd>
- </list05>
- <list06>
- <comboorddrid>
- <orddridval/>
- <orddridlab/>
- </comboorddrid>
- </list06>
- </main>
- <send>
- <clamflag/>
- <ioflag/>
- <prcpcd/>
- <prcpcdflag/>
- <insukind/>
- <orddrid/>
- <orddeptcd/>
- <clamdeptcd/>
- <clamfromym/>
- <clamfromdg/>
- <clamtoym/>
- <clamtodg/>
- <offset/>
- <pagesize>500</pagesize>
- </send>
- <init>
- <P0408list>
- <P0408>
- <cdid/>
- <cdnm/>
- </P0408>
- </P0408list>
- <P0008list>
- <P0008>
- <cdid/>
- <cdnm/>
- </P0008>
- </P0008list>
- </init>
- <tmp>
- <send1>
- <clamym/>
- </send1>
- <send2>
- <clamym/>
- </send2>
- </tmp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- CommCode_Load();
-
- // 그리드 행을 모두 삭제한다.
- model.removeNodeset("/root/main/list01/gridclamcut");
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIE02300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/list01"/>
- <submission id="TRPIE02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp/send1" resultref="/root/main/list02"/>
- <submission id="TRPIE02302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp/send2" resultref="/root/main/list03"/>
- <submission id="TRPIE02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list04"/>
- <submission id="TRPIE02304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list05"/>
- <submission id="TRPIE02305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list06"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0408"), new Array("/root/init/P0408list"));
- zbcfGetCodeList(new Array("P0008"), new Array("/root/init/P0008list"));
-
- rdo_ioflag.select(0);
- rdo_prcpcdflag.select(0);
- model.refresh();
- }
- function fSubmitOnScroll() {
- if (grd_clamcut.vscroll.attribute("max") != 0 && grd_clamcut.vscroll.attribute("pos") != 0) {
- // end of scroll
- if (grd_clamcut.vscroll.attribute("max") == grd_clamcut.vscroll.attribute("pos")) {
- model.setValue("/root/send/offset",grd_clamcut.rows-1); // grid의 header row는 제외
- submit("TRPIE02300");
- grd_clamcut.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">처방별환자조회(청구/삭감)</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group6" style="left:0px; top:5px; width:1194px; height:70px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption42" class="search_name" style="left:15px; top:40px; width:90px; height:17px; ">내원유형 :</caption>
- <select1 id="rdo_ioflag" ref="/root/send/ioflag" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:105px; top:40px; width:135px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption43" style="left:497px; top:15px; width:15px; height:10px; ">~</caption>
- <caption id="caption41" class="search_name" style="left:770px; top:40px; width:90px; height:17px; ">보험유형 :</caption>
- <line id="line28" class="line_4" style="x1:1108px; y1:12px; x2:1108px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:251px; top:12px; width:109px; height:17px; ">청구월/차수 :</caption>
- <select1 id="cmb_clamflag" ref="/root/send/clamflag" class="combo_search" navindex="4" appearance="minimal" style="left:108px; top:10px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0408list/P0408">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:16px; top:12px; width:90px; height:17px; ">청구구분 :</caption>
- <caption id="caption3" class="search_name" style="left:252px; top:40px; width:75px; height:17px; ">청구과 :</caption>
- <caption id="caption4" class="search_name" style="left:420px; top:40px; width:75px; height:17px; ">진료과 :</caption>
- <caption id="caption5" class="search_name" style="left:605px; top:40px; width:75px; height:17px; ">진료의 :</caption>
- <select1 id="cmb_fromclamdg" ref="/root/send/clamfromdg" class="combo_search" appearance="minimal" style="left:434px; top:10px; width:56px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/list02/comboclamdg">
- <label ref="clamdglab"/>
- <value ref="clamdgval"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_toclamym");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_toclamdg" ref="/root/send/clamtodg" class="combo_search" appearance="minimal" style="left:590px; top:10px; width:56px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/list03/comboclamdg">
- <label ref="clamdglab"/>
- <value ref="clamdgval"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // [청구월/차수 ~ 청구월/차수]로 [청구과],[진료과],[진료의]를 획득한다.
- // 먼저 청구월을 /send 아래 복사해 두어야 한다.
- // model.setValue("/root/send/clamfromym",model.getValue("/root/tmp/send1/clamym"));
- // model.setValue("/root/send/clamtoym",model.getValue("/root/tmp/send2/clamym"));
- submit("TRPIE02303");
- submit("TRPIE02304");
- // submit("TRPIE02305");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_clamdeptcd" ref="/root/send/clamdeptcd" class="combo_search" appearance="minimal" style="left:330px; top:39px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/list04/comboclamdeptcd">
- <label ref="clamdeptcdlab"/>
- <value ref="clamdeptcdval"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddrid" ref="/root/send/orddrid" class="combo_search" appearance="minimal" style="left:680px; top:39px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/list06/comboorddrid">
- <label ref="orddridlab"/>
- <value ref="orddridval"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_insukind" ref="/root/send/insukind" class="combo_search" appearance="minimal" style="left:860px; top:39px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_send" class="btn1_letter2" style="left:1123px; top:23px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/tmp/send1/clamym") == ""){
- messageBox("청구시작월을 입력해 주십시오.", "C009");
- }else if(model.getValue("/root/send/clamfromdg") == ""){
- messageBox("청구시작차수를 입력해 주십시오.", "C009");
- }else if(model.getValue("/root/tmp/send2/clamym") == ""){
- messageBox("청구종료월을 입력해 주십시오.", "C009");
- }else if(model.getValue("/root/send/clamtodg") == ""){
- messageBox("청구종료차수를 입력해 주십시오.", "C009");
- }else{
- model.removeNodeset("/root/main/list01/gridclamcut");
-
- model.setValue("/root/send/offset","0");
-
- submit("TRPIE02300");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_prcpcd" ref="/root/send/prcpcd" class="input_search" navindex="4" inputtype="button" style="left:825px; top:10px; width:100px; height:19px; "/>
- <select1 id="rdo_prcpcdflag" ref="/root/send/prcpcdflag" class="radio_search" appearance="full" cols="2" rows="1" overflow="visible" style="left:725px; top:12px; width:90px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>수가</label>
- <value>1</value>
- </item>
- <item>
- <label>EDI</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:660px; top:12px; width:60px; height:17px; ">코드 :</caption>
- <input id="ipt_fromclamym" ref="/root/tmp/send1/clamym" class="input_search" disabled="false" required="true" style="left:360px; top:10px; width:71px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_getclamfromdg", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_toclamym" ref="/root/tmp/send2/clamym" class="input_search" disabled="false" required="true" style="left:516px; top:10px; width:71px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_getclamtodg", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:500px; top:40px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/list05/comboorddeptcd">
- <label ref="orddeptcdlab"/>
- <value ref="orddeptcdval"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- submit("TRPIE02305");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption36" class="tit_2" style="left:5px; top:90px; width:102px; height:14px; ">청구/삭감내역</caption>
- <line id="line27" class="line_1" style="x1:0px; y1:105px; x2:1194px; y2:105px; "/>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:85px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_clamcut.rows == 2) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_clamcut.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_clamcut" nodeset="/root/main/list01/gridclamcut" class="datagrid2" caption="등록번호^성명^내원유형^청구월^구분^차수^유형^보조^청구과^진료과^진료의^주상병^접수번호^명일련^줄번호^처방코드^EDI코드^한글명^단가^수량^횟수^일수^총투여량^금액^입원일자^유형시작일자^종료일^처방의^심사결정^삭감투여량^삭감횟수^삭감일수^총투삭감량" colsep="^" colwidth="70, 60, 30, 55, 30, 30, 30, 30, 65, 70, 70, 70, 60, 45, 45, 80, 80, 450, 100, 50, 50, 50, 50, 100, 65, 65, 65, 65, 50, 50, 50, 50, 50" dataheight="25" ellipsis="false" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:110px; width:1194px; height:632px; ">
- <col ref="pid" visibility="visible" style="text-align:center; "/>
- <col ref="patnm" visibility="visible" style="text-align:center; "/>
- <col ref="ioflag" visibility="visible" style="text-align:center; "/>
- <col ref="clamym" visibility="visible" style="text-align:center; "/>
- <col ref="clamflag" visibility="visible" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="insukind" style="text-align:center; "/>
- <col ref="suppkind" style="text-align:center; "/>
- <col ref="clamdeptcd" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="orddrid" style="text-align:center; "/>
- <col ref="diagcd" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="edilnno" format="#,###" style="text-align:center; "/>
- <col ref="snglcalcscorcd" format="#,###" style="text-align:center; "/>
- <col ref="edicd" format="#,###" style="text-align:center; "/>
- <col ref="cdnm" visibility="hidden" format="#,###" style="text-align:left; "/>
- <col ref="ediunitcost" format="#,###" style="text-align:right; "/>
- <col ref="edidrugqty" format="999999-9999999" style="text-align:right; "/>
- <col ref="tims" style="text-align:right; "/>
- <col ref="edidayno" style="text-align:right; "/>
- <col ref="totqty" style="text-align:right; "/>
- <col ref="ediamt" format="#,###" style="text-align:right; "/>
- <col ref="indd" style="text-align:center; "/>
- <col ref="cretfromdd" style="text-align:center; "/>
- <col ref="crettodd" style="text-align:center; "/>
- <col visibility="hidden" style="text-align:center; "/>
- <col ref="cutcd" style="text-align:center; "/>
- <col ref="cutdrugqty" style="text-align:right; "/>
- <col ref="cuttims" style="text-align:right; "/>
- <col ref="cutdayno" style="text-align:right; "/>
- <col ref="cuttotqty" style="text-align:right; "/>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- fSubmitOnScroll();
- ]]>
- </script>
- </datagrid>
- <button id="btn_getclamfromdg" class="btn2_letter11" visibility="hidden" style="left:55px; top:180px; width:141px; height:19px; ">
- <caption>[인풋박스]청구차수받기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/clamfromym","");
- model.setValue("/root/send/clamfromdg","");
- submit("TRPIE02301")
- model.setValue("/root/send/clamfromym",model.getValue("/root/tmp/send1/clamym"));
- ]]>
- </script>
- </button>
- <button id="btn_getclamtodg" class="btn2_letter11" visibility="hidden" style="left:65px; top:190px; width:141px; height:19px; ">
- <caption>[인풋박스]청구차수받기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/clamtoym","");
- model.setValue("/root/send/clamtodg","");
- submit("TRPIE02302")
- model.setValue("/root/send/clamtoym",model.getValue("/root/tmp/send2/clamym"));
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|