123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SPPIZ01600_보험인정기준조회.xrw
- * 수정이력
- * - 2008.04.21 / 최초작성 / 박지욱
- *
- * - opener 에서 전달받는 조건 경로
- /root/send/item3/calcscorcd (수가코드)
- -->
- <?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>
- <limt/>
- </list1>
- <!-- 탭3의 질의사항 목록 -->
- <list2>
- <lmsg/>
- </list2>
- <!-- 탭1, 탭2 내용 -->
- <item1>
- <limresn/>
- <limmsg/>
- </item1>
- </main>
- <send>
- <!-- 조회조건 -->
- <item1>
- <ioflag/>
- <insukindcd/>
- <orddeptcd/>
- <orddrid/>
- <calcflag/>
- <calcscorcd/>
- <fromdd/>
- </item1>
- <!-- 질의사항 조회를 위한 조건 -->
- <item2>
- <calcscorcd/>
- <seq/>
- </item2>
- <!-- opener에서 넘어오는 정보 -->
- <item3>
- <calcscorcd/>
- </item3>
- </send>
- <init>
- <!-- 보험유형 -->
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- </P0008>
- </P0008list>
- <!-- 진료과 -->
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <!-- 진료의사 -->
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 1. 공통코드 조회
- zbcfGetCodeList(
- new Array("P0008"),
- new Array("/root/init/P0008list"));
- pamGetDeptCDDrIDList();
-
- model.makeValue("/root/init/orddeptcd/orddeptcdlist["+ 1 +"]/nm","");
- model.makeValue("/root/init/orddeptcd/orddeptcdlist["+ 1 +"]/cd","");
- model.makeValue("/root/init/orddrid/orddridlist["+ 1 +"]/nm","");
- model.makeValue("/root/init/orddrid/orddridlist["+ 1 +"]/cd","");
-
- // 2. 조회필드 초기화
- model.setValue("/root/send/item1/ioflag", "-");
- model.setValue("/root/send/item1/insukindcd", "");
- model.setValue("/root/send/item1/orddeptcd", "");
- model.setValue("/root/send/item1/orddrid", "");
- model.setValue("/root/send/item1/calcflag", "1");
- model.setValue("/root/send/item1/calcscorcd", "");
- model.setValue("/root/send/item1/fromdd", "");
- // 3. 보험인정기준 목록 조회
- fGetInsuLimtList();
-
- // 4. opener에서 넘어온 수가코드가 있으면 그 수가코드에 대한 정보 조회
- // root/send/item3/calcscorcd 로 넘겨받는다.
- fShowInsuLimtInfo();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 보험인정기준 목록 조회
- function fGetInsuLimtList() {
- model.removenode("/root/main/list1");
- model.removenode("/root/main/list2");
- model.makeNode("/root/main/list1");
- model.removenode("/root/main/list2");
- model.resetInstanceNode("/root/main/item1");
-
- submit("TRPIZ01601");
- }
-
- // Opener에서 넘어온 코드에 대한 보험인정기준 정보 조회
- function fShowInsuLimtInfo() {
-
- // 보험인정기준 목록에서 수가코드를 찾아 더블클릭한 상태와 같이 만들어준다.
- var openercd = model.getValue("/root/send/item3/calcscorcd");
- if (openercd != "") {
- // 보험인정기준 목록에서 맞는 수가코드가 있는지 찾는다.
- var ret = false;
- for (var i = 1; i < grd_limtlist.rows && ret != true; i++) {
- var calcscorcd = model.getValue("/root/main/list1/limt[" + i + "]/calcscorcd");
- if (openercd == calcscorcd) {
- grd_limtlist.select(i, 1) = true;
- grd_limtlist.row= i;
- grd_limtlist.topRow = i;
- ret = true;
- }
- }
- // 보험인정기준 목록에서 맞는 수가코드를 찾았으면
- if (ret == true) {
- fGetInsuLimtInfo();
- }
- }
- }
-
- // 보험인정기준 목록에서 더블클릭시 우측 심사규제MSG와 질문사항목록을 조회한다.
- function fGetInsuLimtInfo() {
- // 1. 선택된 보험인정기준 코드에 대한 심사규제요약MSG, 심사규제MSG 조회
- var row = grd_limtlist.row;
- model.setValue("/root/main/item1/limresn", grd_limtlist.valueMatrix(row, grd_limtlist.colRef("limresn")));
- model.setValue("/root/main/item1/limmsg", grd_limtlist.valueMatrix(row, grd_limtlist.colRef("limmsg")));
-
- // 2. 선택된 보험인정기준 코드에 대한 질의사항목록 조회
- model.setValue("/root/send/item2/calcscorcd", grd_limtlist.valueMatrix(row, grd_limtlist.colRef("calcscorcd")));
- model.setValue("/root/send/item2/seq", grd_limtlist.valueMatrix(row, grd_limtlist.colRef("seq")));
- submit("TRPIZ01602");
- }
- ]]>
- </script>
- <submission id="TRPIZ01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/main/list1"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPIZ01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item2" resultref="/root/main/list2"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1120" pageheight="600" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1095px; height:575px; ">
- <group id="group2" style="left:0px; top:20px; width:1091px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1088px; height:65px; "/>
- <caption id="caption2" class="search_name" style="left:240px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
- <caption id="caption4" class="search_name" style="left:9px; top:9px; width:86px; height:17px; ">내원유형 :</caption>
- <caption id="caption1" class="search_name" style="left:495px; top:9px; width:86px; height:17px; ">진료과 :</caption>
- <caption id="caption3" class="search_name" style="left:730px; top:9px; width:86px; height:17px; ">진료의사 :</caption>
- <input id="ipt_calcscorcd" ref="/root/send/item1/calcscorcd" class="input_search" style="left:269px; top:36px; width:135px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:9px; top:37px; width:86px; height:17px; ">수가코드 :</caption>
- <caption id="caption6" class="search_name" style="left:495px; top:37px; width:86px; height:17px; ">적용일 :</caption>
- </group>
- <button id="btn_search" class="btn1_letter2" style="left:983px; top:41px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- messageBox("진료과, 진료의사에 대한 조회는", "E001");
- fGetInsuLimtList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:965px; y1:27px; x2:965px; y2:78px; "/>
- <select1 id="cmb_ioflag" ref="/root/send/item1/ioflag" class="combo_search" appearance="minimal" style="left:110px; top:28px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_insukind" ref="/root/send/item1/insukindcd" class="combo_search" appearance="minimal" style="left:340px; top:28px; width:89px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddept" ref="/root/send/item1/orddeptcd" class="combo_search" appearance="minimal" style="left:580px; top:28px; width:87px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddrid" ref="/root/send/item1/orddrid" class="combo_search" appearance="minimal" style="left:825px; top:28px; width:79px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption36" class="tit_2" style="left:1px; top:91px; width:194px; height:14px; vertical-align:middle; ">
- <![CDATA[보험인정기준/제한규정코드]]>
- </caption>
- <datagrid id="grd_limtlist" nodeset="/root/main/list1/limt" caption="수가코드^한글명^단가^구분^수가종료일^EDI코드^seq^limresn^limmsg" colsep="^" colwidth="77, 205, 60, 65, 80, 65, 100, 100, 100" ellipsis="true" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:110px; width:445px; height:455px; ">
- <col ref="calcscorcd"/>
- <col ref="hngnm"/>
- <col ref="unitcost" format="#,###" style="text-align:right; "/>
- <col ref="ordinptflag" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="edicd"/>
- <col ref="seq" visibility="hidden"/>
- <col ref="limresn" visibility="hidden"/>
- <col ref="limmsg" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_limtlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fGetInsuLimtInfo();
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <switch id="switch1" style="left:451px; top:110px; width:639px; height:460px; ">
- <case id="case1" selected="true">
- <textarea id="tar_sw1" ref="/root/main/item1/limresn" editable="false" style="left:3px; top:4px; width:630px; height:449px; "/>
- </case>
- <case id="case2">
- <textarea id="tar_sw2" ref="/root/main/item1/limmsg" editable="false" style="left:3px; top:4px; width:630px; height:449px; "/>
- </case>
- <case id="case3">
- <datagrid id="grd_queslist" nodeset="/root/main/list2/lmsg" disabled="true" autoresize="true" caption="질문사항^급여구분" colsep="^" colwidth="480, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:3px; top:5px; width:630px; height:449px; ">
- <col disabled="true" ref="quesmsg"/>
- <col disabled="true" ref="payflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>급여</label>
- <value>0</value>
- </item>
- <item>
- <label>전액본인부담</label>
- <value>1</value>
- </item>
- <item>
- <label>비급여</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- </datagrid>
- </case>
- </switch>
- </group>
- <caption id="caption11" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; vertical-align:middle; ">보험인정기준 안내</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:106px; x2:445px; y2:106px; "/>
- <button id="btn_sw2" class="btn_sw" group="tab" style="left:610px; top:90px; width:139px; height:22px; font-size:8pt; ">
- <caption>심사규제 Message</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case2");
- ]]>
- </script>
- </button>
- <button id="btn_sw1" class="btn_sw" group="tab" selected="true" style="left:451px; top:90px; width:159px; height:22px; font-size:8pt; ">
- <caption>심사규제요약 Message</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <button id="btn_sw3" class="btn_sw" group="tab" style="left:749px; top:90px; width:105px; height:22px; font-size:8pt; ">
- <caption>진료팝업</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case3");
- ]]>
- </script>
- </button>
- <select1 id="rdo_calcflag" ref="/root/send/item1/calcflag" class="radio_search" navindex="11" appearance="full" cols="4" overflow="visible" style="left:108px; top:58px; width:130px; height:15px; ">
- <choices>
- <item>
- <label>수가</label>
- <value>1</value>
- </item>
- <item>
- <label>EDI</label>
- <value>2</value>
- </item>
- <item>
- <label>명칭</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="btn_calcsearch" class="icon_search" style="left:409px; top:58px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/temp/picmmech");
- //setParameter("iParam_mother_view", "SMPIB00400_보험인정기준코드관리");
- model.makeNode("/root/send/data1/con4_search2");
- model.setValue("/root/send/data1/con4_search2", model.getValue("/root/main/right/h_limt/limt/limt_calcscorcd"));
- modal("SMPIC00200_수가조회", "", "200", "200" ,"SMPIC00200_수가조회", "/root/send/data1/con4_search2", "/root/temp", "", "");
-
- // 수가 정보 보여주기
- fShowCalcInfo2();
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/item1/fromdd" class="input_search" inputtype="date" style="left:580px; top:56px; width:88px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|