123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <datagrid>
- <ioflag/>
- <insuflag/>
- <ordfildcd/>
- <bfcnt/>
- <afcnt/>
- <bfeditotordamt/>
- <afeditotordamt/>
- <bfinsuclamamt/>
- <afinsuclamamt/>
- <bfownbmaxexamt/>
- <afownbmaxexamt/>
- <bfhedisuppamt/>
- <afhedisuppamt/>
- <bfledisuppamt/>
- <afledisuppamt/>
- <bfedihandcaprfundamt/>
- <afedihandcaprfundamt/>
- <bfallinsuclamamt/>
- <afallinsuclamamt/>
- <afdiffamt/>
- <avrgeditotordamt/>
- </datagrid>
- </main>
- <hidden>
- <isexist/>
- </hidden>
- <send>
- <clamym/>
- <datagrid/>
- <research/>
- <ordfildcd/>
- </send>
- <init>
- <P0291list/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 화면을 초기화한다.
- fInitialize();
- ]]>
- </script>
- <submission id="TRPIF73200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/datagrid"/>
- <submission id="TXPIF73200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/tmp"/>
- </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[
-
- // -----------------------
- // ▶ 화면초기화
- // -----------------------
- function fInitialize() {
-
- zbcfGetCodeList(
- new Array("P0291" // 보험유형
- ),
- new Array("/root/init/P0291list"
- ) );
-
- //addComboItem( "cmb_ordfildcd", "정신과", "7", "above");
- //addComboItem( "cmb_ordfildcd", "소계", "소계", "above");
-
- ipt_clamym.value = getCurrentDate().substring(0,6);
- ipt_clamym.refresh();
-
- if ( model.getValue("/root/main/datagrid[1]/isexist") == "O") {
- btn_prnt.disabled = false;
- } else {
- btn_prnt.disabled = true;
- }
- }
-
- function fGetDocuList () {
- submit("TRPIF73200");
-
- for (i=grd_clbsmast.fixedRows; i < grd_clbsmast.rows; i++) {
-
- if (grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("isexist")) == 'I') {
- grd_clbsmast.rowStatus(i) = 3;
- }
-
- }
-
- grd_clbsmast.subtotalposition="below";
-
-
-
- for (i=3; i < grd_clbsmast.cols; i++) {
- grd_clbsmast.subtotal("sum", grd_clbsmast.colRef("ioflag"), i, "(-)#,###", "background-color:#99ff99", 3, "합계" , false);
- }
-
-
- for (i=4; i < grd_clbsmast.cols; i++) {
- grd_clbsmast.subtotal("sum", grd_clbsmast.colRef("insuflag"), i, "(-)#,###", "background-color:#99ccff", null, null, true);
- }
- grd_clbsmast.merge();
-
-
- for (i=grd_clbsmast.fixedRows; i < grd_clbsmast.rows; i++) {
- if (grd_clbsmast.isSubtotal(i) == true ) {
- grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("avrgeditotordamt")) = grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("afeditotordamt")) / grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("afcnt"));
- }
-
- }
-
- if ( model.getValue("/root/main/datagrid[1]/isexist") == "O") {
- btn_prnt.disabled = false;
- } else {
- btn_prnt.disabled = true;
- }
-
- }
-
- function fGetListExistChk() {
- if (grd_clbsmast.valueMatrix(grd_clbsmast.fixedRows + 1, grd_clbsmast.colRef("isexist")) == 'O') {
- model.setValue("/root/hidden/isexist", "Y");
- } else {
- model.setValue("/root/hidden/isexist", "N");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1215" pageheight="800" guideline="1,1197;2,771;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">진료비 청구심사 조정내역</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:762px; ">
- <datagrid id="grd_clbsmast" nodeset="/root/main/datagrid" class="datagrid2" caption="구분^구분^진료과^건수^건수^총진료비^총진료비^청구액^청구액^상한액^상한액^희귀^희귀^결핵^결핵^장애인^장애인^청구액
상한+희귀+결핵^청구액
상한+희귀+결핵^청구차액^총 청구차액
상한+희귀+결핵^건당 진료비^caption1^caption2|구분^구분^진료과^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^심사전^심사후^청구차액^총 청구차액
상한+희귀+결핵^건당 진료비^caption1^caption2" colsep="^" colwidth="48, 58, 60, 50, 50, 95, 95, 95, 95, 70, 70, 70, 70, 70, 70, 70, 84, 95, 95, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="9" mergecells="byrestriccol" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:72px; width:1194px; height:686px; ">
- <col disabled="true" ref="ioflag" type="combo">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="insuflag" type="combo" visibility="visible">
- <choices>
- <item>
- <label>건강보험</label>
- <value>1</value>
- </item>
- <item>
- <label>DRG</label>
- <value>D</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>2</value>
- </item>
- <item>
- <label>자보</label>
- <value>3</value>
- </item>
- <item>
- <label>산재</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>5</value>
- </item>
- <item>
- <label>장기이식</label>
- <value>9</value>
- </item>
- <item>
- <label>완화</label>
- <value>B</value>
- </item>
- </choices>
- </col>
- <col id="cmb_ordfildcd" disabled="true" ref="ordfildcd" type="combo">
- <choices>
- <item>
- <label>의과</label>
- <value>1</value>
- </item>
- <item>
- <label>치과</label>
- <value>6</value>
- </item>
- <item>
- <label>정액</label>
- <value>7</value>
- </item>
- <item>
- <label>DRG</label>
- <value>D</value>
- </item>
- <item>
- <label>소계</label>
- <value/>
- </item>
- <item>
- <label>완화</label>
- <value>B</value>
- </item>
- </choices>
- </col>
- <col ref="bfcnt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="afcnt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfeditotordamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="afeditotordamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfinsuclamamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="afinsuclamamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfownbmaxexamt" type="output" format="(-)#,###" style="left:332px; top:32px; width:53px; height:23px; text-align:right; "/>
- <col ref="afownbmaxexamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfhedisuppamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="afhedisuppamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfledisuppamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="afledisuppamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfedihandcaprfundamt" type="output" format="(-)#,###" style="text-align:right; "/>
- <col ref="afedihandcaprfundamt" type="output" format="(-)#,###" style="left:1234px; top:72px; width:88px; height:23px; text-align:right; "/>
- <col ref="bfallinsuclamamt" visibility="visible" format="#,###" style="text-align:right; "/>
- <col ref="afallinsuclamamt" visibility="visible" format="#,###" style="text-align:right; "/>
- <col ref="afdiffamt" format="#,###" style="text-align:right; "/>
- <col ref="afalldiffamt" format="#,###" style="text-align:right; "/>
- <col ref="avrgeditotordamt" format="#,###" style="text-align:right; "/>
- <col ref="isexist" visibility="hidden"/>
- <col ref="uncaym" visibility="hidden"/>
- </datagrid>
- <caption id="cap_judgtrgtman" class="tit_2" style="left:5px; top:52px; width:245px; height:15px; ">진료비 청구심사 조정내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:67px; x2:1194px; y2:67px; "/>
- <group id="group1" style="left:0px; top:4px; width:1195px; height:41px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption30" class="search_name" style="left:10px; top:7px; width:85px; height:17px; ">청구년월</caption>
- <input id="ipt_clamym" ref="/root/send/clamym" class="input_search" navindex="1" editable="true" inputtype="date" format="yyyy-mm" style="left:91px; top:7px; width:69px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <button id="btn_select" class="btn1_letter2" navindex="32" style="left:1130px; top:6px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/research", "");
- fGetDocuList();
-
- fGetListExistChk();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1120px; y1:7px; x2:1120px; y2:29px; "/>
- <caption id="caption1" class="search_name" style="left:170px; top:7px; width:85px; height:17px; ">진료분야</caption>
- <select1 id="combo1" ref="/root/send/ordfildcd" appearance="minimal" style="left:255px; top:7px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>치과</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- </group>
- <button id="btn_cancel" class="btn4_letter2" style="left:1139px; top:45px; width:56px; height:22px; ">
- <caption>마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var gridStatusCheck = getGridUpdateData(grd_clbsmast);
- if (gridStatusCheck == "") {
- messageBox("변경된 정보가 없습니다.", "");
- return;
- }
- if (model.getValue("/root/hidden/isexist") == "Y") {
- var retMes = messageBox("이미 저장된 데이터가 존재합니다. \n이전의 데이터 삭제 후 ", "Q002");
- if ( retMes != 6) return;
- for (i=grd_clbsmast.fixedRows; i < grd_clbsmast.rows; i++) {
-
- if (grd_clbsmast.valueMatrix(i, grd_clbsmast.colRef("isexist")) == 'O') {
- grd_clbsmast.rowStatus(i) = 3;
- }
- }
- } else {
- var retMes = messageBox("", "Q002");
- }
-
- if ( retMes != 6) return;
-
- model.setValue("/root/send/datagrid",grd_clbsmast.getUpdateData());
- submit("TXPIF73200");
- model.setValue("/root/send/research", "");
- btn_select.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn6_letter2" style="left:1013px; top:45px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_clbsmast.gridToInstance();
- exeReportPreview("RPPIF73200", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn1_letter3" navindex="32" style="left:1070px; top:45px; width:68px; height:22px; ">
- <caption>재생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/research", "Y");
- fGetDocuList();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|