123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596 |
- <?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>
- <list1>
- <submitlist/>
- </list1>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <item1>
- <clamym/>
- <clamdg/>
- <insukindcd/>
- <ordfildcd/>
- <judgrid/>
- <patunitsrch1/>
- <patmode/>
- <orddeptcd/>
- <docuseqno1/>
- <docuseqno2/>
- <clamno/>
- <spclspec/>
- <ioflag/>
- </item1>
- </send>
- <init>
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- <cdnm>보험+급여</cdnm>
- <cdid>1</cdid>
- <cdnm>급여전체</cdnm>
- <cdid>2</cdid>
- </P0008>
- </P0008list>
- <P0291list>
- <P0291>
- <cdnm/>
- <cdid/>
- </P0291>
- </P0291list>
- <P0320list>
- <P0320>
- <cdnm/>
- <cdid/>
- </P0320>
- </P0320list>
- <P0080list>
- <P0080>
- <cdnm/>
- <cdid/>
- </P0080>
- </P0080list>
- <C0048list>
- <C0048/>
- </C0048list>
- </init>
- <hidden>
- <item_all>
- <clamym/>
- <iofalg/>
- </item_all>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- </hidden>
- <temp>
- <submitlist/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드를 조회한다.
- // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
- zbcfGetCodeList(
- new Array("P0008" // 보험유형
- ,"P0291" // 청구분야(진료분야)
- ,"P0320" // 제출자료내역
- //,"P0080" //내원구분
- ,"C0048" //기관코드
- ),
- new Array("/root/init/P0008list"
- ,"/root/init/P0291list"
- ,"/root/init/P0320list"
- //,"/root/init/P0080list"
- ,"/root/init/C0048list"
- ),
- false );
-
- fGetUserInfosSampling(); //세션/root/hidden/session
-
- INSTCD = model.getValue("/root/hidden/session/sess_dutplceinstcd");
-
- // Global 변수 선언
- 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;
-
-
- // 2008.06.04. smartselly
- // 화면기초combo(TRPID20401) + 심사차수(TRPID20405) + 심사자 default(TRPID20404) + 진료과,진료의(TRPID20309) 한번 submit 으로 통합
-
-
- var lv_date = gCurrentym.toDate("YYYYMM" + "01");
- lv_date = lv_date.getAddDate(-1, "M")
- gCurrentym = lv_date.getDateFormat("YYYYMM")
-
-
- // model.setValue("/root/hidden/item_all/clamym",gCurrentym);
- model.setValue("/root/send/item1/clamym",gCurrentym);
- model.setValue("/root/send/item1/ioflag", "O");
-
- pidfGetClamdg();
-
-
- submit("TRPID20201");
-
- model.removeNodeset("root/init/judgrid");
- //model.removeNodeset("root/init/orddrid");
- model.removeNodeset("root/init/orddeptcd");
-
- model.makeNode("/root/init/judgrid");
- //model.makeNode("/root/init/orddrid");
- model.makeNode("/root/init/orddeptcd");
-
- model.copyNode("/root/init/judgrid", "/root/init/tmp/judgrid");
- //model.copyNode("/root/init/orddrid", "/root/init/tmp/orddrid");
- model.copyNode("/root/init/orddeptcd", "/root/init/tmp/orddeptcd");
-
- // 제출자료내역 99[기타] 추가
- model.makeValue("/root/hidden/P0320list/P0320/cdnm","99[free text]");
- model.makeValue("/root/hidden/P0320list/P0320/cdid","99");
- copyNodeType("/root/init/P0320list","/root/hidden/P0320list","after");
-
- // 필요없는 인스턴스 / 임시추가 인스턴스 지우기
- model.removenode("root/init/tmp/judgrid");
- model.removenode("root/init/tmp/orddrid");
- model.removenode("root/init/tmp/orddeptcd");
- // 필요없는 인스턴스 / 임시추가 인스턴스 지우기
- model.removenode("/root/init/tmp/suppkind");
- model.removenode("/root/init/tmp/orddrid2");
- model.removenode("/root/init/tmp/clamdept");
- model.removenode("/root/init/tmp/orddeptcd2");
- model.removenode("/root/init/tmp/aftjudgerr");
- model.removenode("/root/init/tmp/clamdg");
- model.removenode("/root/hidden/P0320list");
-
-
- //fInitialize();
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/item_all" replace="instance" 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="TRPID25001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/main/list1/submitlist"/>
- </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="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript" src="../../../pam/insucomweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.resetInstanceNode("/root/send");
- model.refresh();
- }
-
- function pidfGetClamdg() {
-
- model.removeNodeset("/root/init/clamdg");
- model.makeNode("/root/init/clamdg");
- submit("TRPID20407");
-
- cmb_clamdg.select(0);
- model.refreshpart("/root/init/clamdg");
- }
-
- function SubMitListPrint(){
-
- model.removeNodeset("/root/temp/submitlist");
-
- model.makeNode("/root/temp/submitlist/hospitalnm");
- model.makeNode("/root/temp/submitlist/insukindnm");
- model.makeNode("/root/temp/submitlist/ordfildcd");
- model.makeNode("/root/temp/submitlist/year");
- model.makeNode("/root/temp/submitlist/month");
- model.makeNode("/root/temp/submitlist/ioflag");
-
- model.makeNode("/root/temp/submitlist/insukind");
- model.makeNode("/root/temp/submitlist/sumtypecd");
- model.makeNode("/root/temp/submitlist/docuseqno");
- model.makeNode("/root/temp/submitlist/pid");
- model.makeNode("/root/temp/submitlist/patnm");
- model.makeNode("/root/temp/submitlist/orddeptcd");
- model.makeNode("/root/temp/submitlist/judgrid");
- model.makeNode("/root/temp/submitlist/spclspec");
- model.makeNode("/root/temp/submitlist/spclspecnm");
- model.makeNode("/root/temp/submitlist/ioflag");
-
- var clamym = model.getValue("/root/send/item1/clamym");
-
- model.makeValue("/root/temp/submitlist/ordfildcd", cmb_ordfildcd.label);
- model.makeValue("/root/temp/submitlist/insukindnm", cmb_insukind.label);
- model.makeValue("/root/temp/submitlist/ioflag", combo1.label);
- model.makeValue("/root/temp/submitlist/year", clamym.substr(0,4));
- model.makeValue("/root/temp/submitlist/month", clamym.substr(4,2));
- /*
- if(INSTCD == '012'){
- model.makeValue("/root/temp/submitlist/hospitalnm", "서울성모");
- }else if(INSTCD == '013'){
- model.makeValue("/root/temp/submitlist/hospitalnm", "의정부성모");
- }else if(INSTCD == '014'){
- model.makeValue("/root/temp/submitlist/hospitalnm", "부천성모");
- }else if(INSTCD == '017'){
- model.makeValue("/root/temp/submitlist/hospitalnm", "빈센트");
- }
- */
- // 20100727 기관명칭 변경 ( 하드코딩 이게뭐니?)
- model.makeValue("/root/temp/submitlist/hospitalnm", model.getValue("/root/init/C0048list/C0048[cdid="+ INSTCD+"]/cdnm") );
-
- for (i = 1; i <= getNodesetCount("/root/main/list1/submitlist"); i++) {
- model.makeValue("/root/temp/submitlist[" + i + "]/insukind",grd_deptlist.labelmatrix(i, 1));
- model.makeValue("/root/temp/submitlist[" + i + "]/sumtypecd",grd_deptlist.labelmatrix(i, 2));
- model.makeValue("/root/temp/submitlist[" + i + "]/docuseqno",grd_deptlist.labelmatrix(i, 3));
- model.makeValue("/root/temp/submitlist[" + i + "]/pid",grd_deptlist.labelmatrix(i, 4));
- model.makeValue("/root/temp/submitlist[" + i + "]/patnm",grd_deptlist.labelmatrix(i, 5));
- model.makeValue("/root/temp/submitlist[" + i + "]/orddeptcd",grd_deptlist.labelmatrix(i, 6));
- model.makeValue("/root/temp/submitlist[" + i + "]/judgrid",grd_deptlist.labelmatrix(i, 7));
- model.makeValue("/root/temp/submitlist[" + i + "]/spclspec",grd_deptlist.labelmatrix(i, 8));
- model.makeValue("/root/temp/submitlist[" + i + "]/spclspecnm",grd_deptlist.labelmatrix(i, 9));
-
- }
-
- exeReportPreview("RPPID25000", "XMLSTR", "","", "false","","","","","false");
- }
-
- // 특정내역 중 MT015, MT016 내역을 조회하여 "소명자료" Btn (첨부물 자료관리) Popup 화면에 표시한다.
- function fGetAttachedDataList() {
-
- setParameter("openflag", 'S');
-
- open("SPPIZ00200", "","","","ccc","","","","");
- //modal("SPPIZ00200", "1", "10", "10", "SPPIZ00200", "", "", "", ""); // SPPIZ00200_첨부물자료관리.xrw
-
- }
-
-
- function pidfCalMonth(idc, av_ym){
-
- var lv_date = av_ym.toDate("YYYYMM" + "01");
- lv_date = lv_date.getAddDate(idc, "M")
-
- return lv_date.getDateFormat("YYYYMM");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;" 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:222px; height:14px; ">사후 심사 제출자료 목록 대상 조회</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- // grd_deptlist.rebuild();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group5" style="left:0px; top:5px; width:1195px; height:75px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:75px; "/>
- <line id="line13" class="line_4" style="x1:1106px; y1:12px; x2:1106px; y2:65px; border-color:#ffe4bb; border-left-style:solid; "/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- <button id="btn_search" class="btn1_letter2" style="left:1122px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue("/root/send/item1/clamym") == ""
- || model.getValue("/root/send/item1/clamdg") == ""
- ) {
- messageBox("청구년월, 청구차수는", "I003"); //I003=필수입력입니다.
- return;
- }
-
- submit("TRPID25001");
- ]]>
- </script>
- </button>
- <button id="btn_prvclamym" class="icon_down" style="left:165px; top:22px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- // 2008.06.05 neverdie 청구년월 이전월 클릭
- // 현재청구월에서 이전달을 구한다.
- var nowym = model.getValue("/root/send/item1/clamym");
- var downym;
-
- downym = pidfCalMonth(-1, nowym);
-
- model.setValue("/root/send/item1/clamym", downym);
- ipt_clamym.refresh();
-
- pidfGetClamdg();
- ]]>
- </script>
- </button>
- <select1 id="cmb_clamdg" ref="/root/send/item1/clamdg" class="combo_search" appearance="minimal" style="left:179px; top:12px; width:62px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdg/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_preclamym" class="icon_up" style="left:165px; top:11px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 2008.06.05 neverdie 청구년월 다음월 클릭
- // 현재청구월에서 다음달을 구한다.
- var nowym = model.getValue("/root/send/item1/clamym");
- var upym;
-
- upym = pidfCalMonth(1, nowym);
-
- model.setValue("/root/send/item1/clamym", upym);
- ipt_clamym.refresh();
- pidfGetClamdg();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:2px; top:14px; width:86px; height:17px; ">청구년월</caption>
- <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:86px; top:12px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- pidfGetClamdg();
- ]]>
- </script>
- </input>
- <output id="opt_insukind" ref="/root/send/item1/insukindcd" class="output_search" style="left:443px; top:12px; width:17px; height:19px; "/>
- <select1 id="cmb_insukind" ref="/root/send/item1/insukindcd" class="combo_search" navindex="16" appearance="minimal" style="left:344px; top:12px; width:97px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:260px; top:14px; width:86px; height:17px; ">보험유형</caption>
- <select1 id="cmb_ordfildcd" ref="/root/send/item1/ordfildcd" class="combo_search" navindex="13" appearance="minimal" style="left:563px; top:12px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:480px; top:14px; width:86px; height:17px; ">진료분야</caption>
- <caption id="caption46" class="search_name" style="left:480px; top:42px; width:73px; height:17px; ">진료과</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/item1/orddeptcd" class="combo_search" navindex="14" appearance="minimal" itemcount="20" style="left:563px; top:41px; width:116px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_judgrid" ref="/root/send/item1/judgrid" class="combo_search" navindex="8" appearance="minimal" style="left:780px; top:12px; width:96px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:696px; top:14px; width:73px; height:17px; ">심사자</caption>
- <input id="ipt_docuseqno1" ref="/root/send/item1/docuseqno1" class="input_search" navindex="19" maxlength="15" style="left:780px; top:41px; width:39px; height:19px; ">
- <hint>
- <![CDATA[시작번호]]>
- </hint>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var docuseqno1 = model.getValue("/root/send/item1/docuseqno1");
- if (docuseqno1) {
- //docuseqno1 = docuseqno1.getLeftPad(5, "0"); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- //model.setValue("/root/send/item1/docuseqno1", docuseqno1);
- model.setValue("/root/send/item1/docuseqno2", docuseqno1);
- //model.refreshpart("/root/send/item1/docuseqno1");
- model.refreshpart("/root/send/item1/docuseqno2");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- //if (ipt_docuseqno1.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- ipt_docuseqno1.dispatch("xforms-value-changed");
- model.setFocus("ipt_docuseqno2");
- //}
- }
- ]]>
- </script>
- </input>
- <input id="ipt_docuseqno2" ref="/root/send/item1/docuseqno2" class="input_search" navindex="20" maxlength="5" style="left:838px; top:41px; width:39px; height:19px; ">
- <hint>
- <![CDATA[끝번호]]>
- </hint>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- /*
- if (event.keyCode == "13") { // Enter 입력 시에
- //if (ipt_docuseqno2.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetInAftJudgTrgtManList("docuSrch");
- //}
- }
- */
- ]]>
- </script>
- </input>
- <caption id="caption25" style="left:823px; top:43px; width:11px; height:16px; ">~</caption>
- <caption id="caption7" class="search_name" style="left:696px; top:42px; width:88px; height:17px; ">명번호</caption>
- <input id="ipt_patunitsrch" ref="/root/send/item1/patunitsrch1" class="input_search" navindex="3" inputtype="button" maxlength="10" style="left:975px; top:12px; width:95px; height:19px; ">
- <hint>
- <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
- </hint>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var ipt_pid = model.getValue("/root/send/item1/patunitsrch1");
- if (ipt_pid) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- // pam/commonweb/xrw/SPPMC02500_환자조회.xrw
- modal("SPPMC02500", "1", "150", "150", "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", ""); // SPPMC02500_환자조회.xrw
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
- model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- model.setValue("/root/send/item1/patunitsrch1", srch_pid);
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption8" class="search_name" style="left:890px; top:13px; width:112px; height:17px; ">환자조회</caption>
- <caption id="caption9" class="search_name" style="left:891px; top:42px; width:89px; height:17px; ">청구번호</caption>
- <input id="ipt_acptno" ref="/root/send/item1/clamno" class="input_search" navindex="18" maxlength="15" style="left:975px; top:41px; width:97px; height:19px; "/>
- <caption id="caption49" class="search_name" style="left:2px; top:42px; width:117px; height:17px; ">제출자료내역</caption>
- <select1 id="combo14" ref="/root/send/item1/spclspec" class="combo_search" navindex="14" appearance="minimal" itemcount="20" style="left:108px; top:41px; width:190px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0320list/P0320">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="search_name" style="left:315px; top:42px; width:86px; height:17px; ">내원유형</caption>
- <select1 id="combo1" ref="/root/send/item1/ioflag" class="combo_search" navindex="16" appearance="minimal" style="left:399px; top:41px; width:62px; height:19px; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- pidfGetClamdg();
- ]]>
- </script>
- </select1>
- </group>
- <group id="group6" style="left:0px; top:85px; width:1195px; height:640px; ">
- <datagrid id="grd_deptlist" nodeset="/root/main/list1/submitlist" caption="보험유형^분야^접수번호^명일련^등록번호^환자명^진료과^심사자^제출자료내역(코드)" colsep="^" colwidth="120, 100, 90, 90, 110, 110, 130, 110, 311" dataheight="23" defaultrows="2" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:32px; width:1192px; height:582px; text-align:center; ">
- <col ref="insukind"/>
- <col ref="sumtypecd"/>
- <col ref="acptno"/>
- <col ref="docuseqno"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="orddeptcd"/>
- <col ref="judgrid"/>
- <col ref="spclspec"/>
- </datagrid>
- <caption id="cap_judgtrgtman" class="tit_2" style="left:0px; top:11px; width:112px; height:13px; ">대상자 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:29px; x2:1195px; y2:29px; "/>
- <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:1135px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var clamym = model.getValue("/root/send/item1/clamym");
- var insukindcd = model.getValue("/root/send/item1/insukindcd");
- var ordfildcd = model.getValue("/root/send/item1/ordfildcd");
-
- if(clamym == "" || clamym == " " || clamym == "-"){
- messageBox("청구년월이 선택되지 않았습니다. 출력하시려면 청구년월을 선택한 후 재조회 해주세요.", "E999", "");
- return;
- }
-
- if(insukindcd == "" || insukindcd == " " || insukindcd == "-"){
- messageBox("보험유형이 선택되지 않았습니다. 출력하시려면 보험유형을 선택한 후 재조회 해주세요.", "E999", "");
- return;
- }
-
- if(ordfildcd == "" || ordfildcd == " " || ordfildcd == "-"){
- messageBox("진료분야가 선택되지 않았습니다. 출력하시려면 진료분야을 선택한 후 재조회 해주세요.", "E999", "");
- return;
- }
-
- if (grd_deptlist.rows > 1) {
- SubMitListPrint();
- } else {
- messageBox("출력할 대상자가", "I004"); /// 대상자가 없습니다.
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_excelsave" class="btn2_letter4" style="left:1067px; top:6px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_deptlist.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- // grd_clbsmast.saveExcel(fileName, "SheetName", true, true, "", "", true);
- grd_deptlist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <button id="btn_attData" class="btn2_letter10" _auth="X" style="left:932px; top:6px; width:130px; height:19px; ">
- <caption>제출자료목록코드조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetAttachedDataList(); // 특정내역 중 MT015, MT016 내역을 조회하여 "소명자료" Btn (첨부물 자료관리) Popup 화면에 표시한다.
- ]]>
- </script>
- </button>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|