123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440 |
- <?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>
- <list1>
- <divs/>
- </list1>
- <list2>
- <judg/>
- </list2>
- </main>
- <send>
- <data1>
- <basedd/>
- <judgflag/>
- <ioflag/>
- <insukindflag/>
- <ward/>
- <orddeptcd/>
- <atdoct/>
- <batchflag/>
- </data1>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 1. 데이터 초기화
- fSetCommonData();
-
- // 2. 화면 초기화
- fInitialize();
-
- // 3. 사용자ID
- model.makeValue("/root/hidden/userid", getUserId());
- ]]>
- </script>
- <submission id="TRPIB01501" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init"/>
- <submission id="TRPIB02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TXPIB02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript">
- <![CDATA[
-
- // 화면 초기화
- function fInitialize() {
- // 1. 조회컨트롤 초기화
- model.setValue("/root/send/data1/judgflag", "-");
- model.setValue("/root/send/data1/ioflag", "I");
- model.setValue("/root/send/data1/insukindflag", "-");
- model.setValue("/root/send/data1/ward", "-");
- model.setValue("/root/send/data1/orddeptcd", "-");
- model.setValue("/root/send/data1/atdoct", "-");
- model.setValue("/root/send/data1/batchflag", "P"); // 프로그램에서 배치 실행 : P, 오전7시 실행되도록 한 크론 : B
- ipt_basedd.refresh();
- cmb_judgflag.refresh();
- cmb_ioflag.refresh();
- cmb_insukindflag.refresh();
- cmb_ward.refresh();
- cmb_orddeptcd.refresh();
- cmb_atdoct.refresh();
-
- // 2. 그리드컨트롤 초기화
- model.removenode("/root/main/list1");
- model.makeNode("/root/main/list1");
- model.removenode("/root/main/list2");
- model.makeNode("/root/main/list2");
- grd_divslist.refresh();
- grd_judglist.refresh();
- }
-
- // 데이터 초기화
- function fSetCommonData() {
-
- // 1. 진료과, 진료의, 병동 데이터 조회
- submit("TRPIB01501");
-
- // 2. "전체" 추가
- var nodelist = instance1.selectNodes("/root/init/list1/orddept");
- var length = nodelist.length;
- //length = 0;
- model.makeValue("/root/init/list1/orddept["+ (length+1) +"]/orddeptcd","-");
- model.makeValue("/root/init/list1/orddept["+ (length+1) +"]/orddeptnm","전체");
- var nodelist = instance1.selectNodes("/root/init/list2/atdoct");
- var length = nodelist.length;
- //length = 0;
- model.makeValue("/root/init/list2/atdoct["+ (length+1) +"]/atdoctid","-");
- model.makeValue("/root/init/list2/atdoct["+ (length+1) +"]/atdoctnm","전체");
- model.makeValue("/root/init/list2/atdoct["+ (length+1) +"]/orddeptcd","-");
- var nodelist = instance1.selectNodes("/root/init/list3/ward");
- var length = nodelist.length;
- //length = 0;
- model.makeValue("/root/init/list3/ward["+ (length+1) +"]/wardcd","-");
- model.makeValue("/root/init/list3/ward["+ (length+1) +"]/wardnm","전체");
- }
-
- // 재분배 리스트 조회
- function fGetReJudgDivsList() {
-
- // 0. 조회 데이터 검사
- if (model.getValue("/root/send/data1/orddeptcd") == "" || model.getValue("/root/send/data1/orddeptcd") == "-") {
- messageBox("진료과는 필수입력 사항", "E008");
- return;
- }
-
- // 1. 그리드컨트롤 초기화
- model.removenode("/root/main/list1");
- model.makeNode("/root/main/list1");
- model.removenode("/root/main/list2");
- model.makeNode("/root/main/list2");
- grd_divslist.refresh();
- grd_judglist.refresh();
-
- // 2. 조회
- submit("TRPIB02501");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1213;2,784;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">심사자 재분배 관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1211px; height:732px; ">
- <group id="group2" style="left:0px; top:10px; width:1211px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1211px; height:55px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="6" style="left:939px; top:9px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetReJudgDivsList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:927px; y1:6px; x2:927px; y2:33px; "/>
- <caption id="caption16" class="search_name" style="left:245px; top:6px; width:86px; height:17px; ">심사구분 :</caption>
- <select1 id="cmb_judgflag" ref="/root/send/data1/judgflag" class="combo_essential" disabled="true" appearance="minimal" style="left:335px; top:6px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>재원</label>
- <value>I</value>
- </item>
- <item>
- <label>사후</label>
- <value>A</value>
- </item>
- <item>
- <label>이의</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:10px; top:6px; width:86px; height:17px; ">기준일자 :</caption>
- <input id="ipt_basedd" ref="/root/send/data1/basedd" class="input_search" navindex="1" visibility="visible" inputtype="date" style="left:100px; top:6px; width:99px; height:19px; "/>
- <select1 id="cmb_ioflag" ref="/root/send/data1/ioflag" class="combo_essential" disabled="true" appearance="minimal" style="left:570px; top:6px; width:95px; 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>
- <caption id="caption3" class="search_name" style="left:480px; top:6px; width:86px; height:17px; ">내원유형 :</caption>
- <select1 id="cmb_insukindflag" ref="/root/send/data1/insukindflag" navindex="2" appearance="minimal" style="left:815px; top:6px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여1종</label>
- <value>21</value>
- </item>
- <item>
- <label>의료급여2종</label>
- <value>22</value>
- </item>
- <item>
- <label>자보</label>
- <value>31</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- <item>
- <label>공상</label>
- <value>42</value>
- </item>
- <item>
- <label>일반</label>
- <value>51</value>
- </item>
- <item>
- <label>외국인</label>
- <value>61</value>
- </item>
- <item>
- <label>임상시험</label>
- <value>71</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:725px; top:6px; width:86px; height:17px; ">보험유형 :</caption>
- <select1 id="cmb_ward" ref="/root/send/data1/ward" navindex="3" appearance="minimal" style="left:100px; top:30px; width:99px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list3/ward">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:10px; top:30px; width:86px; height:17px; ">병동 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/data1/orddeptcd" class="combo_essential" navindex="4" appearance="minimal" style="left:335px; top:30px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list1/orddept">
- <label ref="orddeptnm"/>
- <value ref="orddeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/send/data1/orddeptcd");
- if (orddeptcd != "" && orddeptcd != "-") {
- cmb_atdoct.choices.itemset.attribute("nodeset") = "/root/init/list2/atdoct[orddeptcd='" + orddeptcd + "' or orddeptcd='-']";
- cmb_atdoct.disabled = false;
- } else {
- cmb_atdoct.choices.itemset.attribute("nodeset") = "/root/init/list2/atdoct";
- cmb_atdoct.disabled = true;
- }
- model.setValue("/root/send/data1/atdoct", "-");
- cmb_atdoct.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:245px; top:30px; width:86px; height:17px; ">진료과 :</caption>
- <select1 id="cmb_atdoct" ref="/root/send/data1/atdoct" navindex="5" appearance="minimal" style="left:570px; top:30px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list2/atdoct">
- <label ref="atdoctnm"/>
- <value ref="atdoctid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:480px; top:30px; width:86px; height:17px; ">진료의 :</caption>
- <button id="btn_judgdivs" class="btn1_letter6" navindex="7" style="left:1000px; top:9px; width:104px; height:22px; ">
- <caption>심사자재분배</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var userid = model.getValue("/root/hidden/userid");
-
- if (userid != "DEV306") {
- // 0. 조회 데이터 검사
- if (model.getValue("/root/send/data1/orddeptcd") == "" || model.getValue("/root/send/data1/orddeptcd") == "-") {
- messageBox("진료과는 필수입력 사항", "E008");
- return;
- }
- }
-
- // 1. 심사자 재분배
- submit("TXPIB02501");
- ]]>
- </script>
- </button>
- <button id="btn_result" class="btn1_letter5" navindex="6" style="left:1109px; top:9px; width:92px; height:22px; ">
- <caption>재분배결과</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[ zsbfOpenBatchLogPopup("insubasecdmngtmgr.JudgReDivsBatch", getCurrentDate(), getCurrentDate());
- ]]>
- </script>
- </button>
- <caption id="caption10" style="left:800px; top:35px; width:402px; height:20px; ">[기준일자를 입력하시면 기준일자 이후 입원한 재원환자만 재배분됩니다.]</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:73px; width:157px; height:13px; ">심사배분 기준정보 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:89px; x2:865px; y2:89px; "/>
- <datagrid id="grd_divslist" nodeset="/root/main/list1/divs" caption="심사자^심사구분^내외유형^보험유형^진료과^진료의^병동^분배율(%)^분배건수^적용개시일^적용종료일" colsep="^" colwidth="65, 55, 55, 80, 100, 65, 80, 60, 55, 100, 100" dataheight="23" defaultrows="0" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:95px; width:865px; height:632px; ">
- <col disabled="true" ref="judgnm"/>
- <col disabled="true" ref="judgflag" type="combo">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>재원</label>
- <value>I</value>
- </item>
- <item>
- <label>사후</label>
- <value>A</value>
- </item>
- <item>
- <label>이의</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="ioflag" type="combo">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="insukindflag" type="combo">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>건강보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여1종</label>
- <value>21</value>
- </item>
- <item>
- <label>의료급여2종</label>
- <value>22</value>
- </item>
- <item>
- <label>자보</label>
- <value>31</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- <item>
- <label>공상</label>
- <value>42</value>
- </item>
- <item>
- <label>일반</label>
- <value>51</value>
- </item>
- <item>
- <label>외국인</label>
- <value>61</value>
- </item>
- <item>
- <label>임상시험</label>
- <value>71</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="orddeptcd" type="combo" style="left:440px; top:23px; width:100px; height:23px; ">
- <choices>
- <itemset nodeset="/root/init/list1/orddept">
- <label ref="orddeptnm"/>
- <value ref="orddeptcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="atdoct" type="combo">
- <choices>
- <itemset nodeset="/root/init/list2/atdoct">
- <label ref="atdoctnm"/>
- <value ref="atdoctid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="ward" type="combo">
- <choices>
- <itemset nodeset="/root/init/list3/ward">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="divrate" style="text-align:center; "/>
- <col ref="divcnt" style="text-align:center; "/>
- <col disabled="true" ref="fromdd" type="inputdate"/>
- <col disabled="true" ref="todd" type="inputdate"/>
- </datagrid>
- <caption id="caption9" class="tit_2" style="left:870px; top:73px; width:180px; height:13px; ">심사자 분배율 및 분배건수</caption>
- <line id="line2" class="line_1" style="x1:870px; y1:89px; x2:1205px; y2:89px; "/>
- <datagrid id="grd_judglist" nodeset="/root/main/list2/judg" caption="심사자^분배율(%)^분배건수" colsep="^" colwidth="105, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:870px; top:95px; width:335px; height:632px; ">
- <col ref="judgnm"/>
- <col ref="divrate" format="#,##.00" style="text-align:right; "/>
- <col ref="divcnt" style="text-align:right; "/>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:744px; width:1211px; height:40px; ">
- <line id="line23" class="line_6" style="x1:0px; y1:3px; x2:1211px; y2:3px; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1138px; top:10px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|