123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330 |
- <?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>원외처방환수조회(SMPIF60210)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF60211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRPIF60212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0001list"/>
- <submission id="TRPIF60213" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0002list"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var selectValue2 = 1;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //grd_excel.attribute("visibility") = "hidden";
- CommCode_Load();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- function Node_Init() {
- // NodeSet 초기화
- model.resetInstanceNode("/root/main/list01");
- model.refresh();
- }
-
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0287"), new Array( "/root/init/P0287list"));
- //zbcfGetCodeList(new Array("P0247"), new Array( "/root/init/P0247list"));
- //zbcfGetCodeList(new Array("P0261"), new Array( "/root/init/P0261list"));
- //zbcfGetCodeList(new Array("P0295"), new Array( "/root/init/P0295list"));
- //model.refresh();
- ipt_srchcond1.disabled = true;
- cmb_srchcond2.disabled = true;
- cmb_clamno.disabled = true;
- ipt_docuseqno.disabled = true;
- }
-
- function fGetInAftJudgTrgtManList(){
-
- // 환자단위조회를 하는 경우
- var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
- model.setValue("/root/send/patunitsrch1", patunitsrch1);
- if (patunitsrch1 == "") {
- model.setValue("/root/send/patunitsrch2", "");
- }
- else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
- /** [2007.03.23 jumi]
- Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
- */
- // if (patunitsrch1.length < 8) {
- // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- // }
- model.setValue("/root/send/patunitsrch2", "pidSrch");
- } else { // 문자가 입력된 경우 환자이름으로 조회한다.
- if (patunitsrch1.length > 1) {
- model.setValue("/root/send/patunitsrch2", "nmSrch");
- } else {
- model.setValue("/root/send/patunitsrch2", "");
- model.refresh();
- messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
- return;
- }
- }
- }
-
- function search() {
- model.removenode("/root/main/list01");
- model.resetInstanceNode("/root/main/list01");
-
- // 진료월 시작일 및 종료일 체크
- if(rdo_termflag.value == "ordym") {
- if(ipt_fromdd.value == "") {
- messageBox("진료월 시작일을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(ipt_todd.value == "") {
- messageBox("진료월 종료일을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- }
-
- // 공문도착일자 시작일 및 종료일 체크
- if(rdo_termflag.value == "clamym") {
- if(ipt_fromdd.value == "") {
- messageBox("청구월 시작일을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(ipt_todd.value == "") {
- messageBox("청구월 종료일을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- }
-
- // 공문도착일자 시작일 및 종료일 체크
- if(rdo_termflag.value == "arvym") {
- if(ipt_fromdd.value == "") {
- messageBox("도착월 시작일을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(ipt_todd.value == "") {
- messageBox("도착월 종료일을","C001");
- model.setFocus("ipt_todd");
- return false;
- }
- }
-
- // 심사차수 체크
- /*if(ipt_judgdg.value == "") {
- messageBox("심사차수를","C001");
- model.setFocus("ipt_judgdg");
- return false;
- }*/
-
- if(rdo_insukind.value == "") {
- messageBox("보험유형을","C002");
- return false;
- }
-
- if(ipt_patunitsrch.value == "") {
- model.setValue("/root/send/patunitsrch2","");
- } else {
- fGetInAftJudgTrgtManList();
- }
-
- model.removenode("/root/main/list01/gridoprcprtndetl");
-
- submit("TRPIF60211");
- }
-
- model.copyNode("/root/main/list01/gridoprcprtndetl","/root/main/list05/gridoprcprtndetl");
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="datagrid2" guideline="1,1197;2,831;" 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:281px; height:14px; ">월별청구현황</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:90px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:540px; top:10px; width:96px; height:17px; ">보험유형 :</caption>
- <line id="line13" class="line_4" style="x1:1108px; y1:35px; x2:1108px; y2:57px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- search();
- if(rdo_insukind.value == "11") {
- grd_oprcprtndetl.colHidden(17) = true; // 시군구(입금보장기관기호)컬럼 숨김
- } else {
- grd_oprcprtndetl.colHidden(17) = false; // 시군구(입금보장기관기호)컬럼 보여줌
- }
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:333px; top:8px; width:108px; height:17px; ">청구분야 :</caption>
- <caption id="caption3" style="left:229px; top:10px; width:15px; height:15px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="3" inputtype="date" maxlength="6" format="yyyy-mm" style="left:140px; top:7px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="4" inputtype="date" maxlength="6" format="yyyy-mm" style="left:243px; top:7px; width:83px; height:19px; "/>
- <select1 id="rdo_termflag" ref="/root/send/termflag" class="radio_search" appearance="full" cols="3" rows="1" overflow="visible" style="left:15px; top:8px; width:120px; height:16px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>clamym</value>
- </item>
- <item>
- <label>송신월</label>
- <value>sendym</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_clamno" ref="/root/send/clamno" class="combo_search" appearance="minimal" style="left:423px; top:8px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0002list/U0002">
- <label ref="clamno"/>
- <value ref="clamno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_docuseqno");
- ]]>
- </script>
- </select1>
- <select1 id="combo1" ref="/root/send/clamno" class="combo_search" appearance="minimal" style="left:423px; top:35px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0002list/U0002">
- <label ref="clamno"/>
- <value ref="clamno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_docuseqno");
- ]]>
- </script>
- </select1>
- <caption id="caption6" class="search_name" style="left:333px; top:35px; width:83px; height:17px; ">청 구 과 :</caption>
- <select1 id="combo3" ref="/root/send/clamno" class="combo_search" appearance="minimal" style="left:423px; top:60px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0002list/U0002">
- <label ref="clamno"/>
- <value ref="clamno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_docuseqno");
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:333px; top:60px; width:108px; height:17px; ">청구구분 :</caption>
- <caption id="caption8" class="search_name" style="left:15px; top:35px; width:96px; height:17px; ">내원유형 :</caption>
- <select1 id="radio1" ref="/root/send/insukind" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:105px; top:35px; width:130px; 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[
- if(rdo_insukind.value == "00" || rdo_insukind.value == "11") {
- cpt_cpcd.visible = false;
- cpt_assocd.visible = false;
- cmb_cpcd.visible = false;
- cmb_assocd.visible = false;
- }
- if(rdo_insukind.value == "21") {
- cpt_cpcd.visible = true;
- cpt_assocd.visible = true;
- cmb_cpcd.visible = true;
- cmb_assocd.visible = true;
- }
- ]]>
- </script>
- </select1>
- <select id="checkbox1" overflow="visible" appearance="full" cols="1" style="left:630px; top:11px; width:55px; height:69px; border-style:none; ">
- <choices>
- <item>
- <label>보험</label>
- <value>11</value>
- </item>
- <item>
- <label>보호</label>
- <value>22</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- <item>
- <label>자보</label>
- <value>31</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" overflow="visible" appearance="full" cols="1" style="left:705px; top:10px; width:95px; height:70px; border-style:none; ">
- <choices>
- <item>
- <label>시군구별</label>
- <value>22</value>
- </item>
- <item>
- <label>손보사별</label>
- <value>31</value>
- </item>
- <item>
- <label>산재청구처별</label>
- <value>41</value>
- </item>
- <item>
- <label>DRG</label>
- <value>drg</value>
- </item>
- </choices>
- </select>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:114px; width:131px; height:14px; ">월별청구현황</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:131px; x2:1194px; y2:131px; "/>
- <button id="button1" class="btn2_letter4" style="left:1127px; top:108px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, cap_title.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_pirhobtspec.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|