123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPID23000_심사자변경.xrw
- * 수정이력
- * - 2008.11.12 / 최초작성 / 김상진
- *
- *
- * 사후심사자를 변경한다.
- * [조회기준]
- -->
- <?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>
- <clbs/>
- </list1>
- </main>
- <send>
- <item1>
- <ioflag>I</ioflag>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <judgrid/>
- <judgendyn/>
- <ordfildcd/>
- <clamflagcd/>
- <clamdeptcd/>
- <orddeptcd/>
- <orddrid/>
- <t_judgrid/>
- <insukindcd/>
- <suppkindcd/>
- </item1>
- <list1>
- <clbs>
- </clbs>
- </list1>
- </send>
- <init>
- <item1>
- <ioflag/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- </item1>
- <!-- 보험유형 -->
- <P0008list>
- <P0008>
- <cdnm/>
- <cdid/>
- <cdnm>보험+급여</cdnm>
- <cdid>1</cdid>
- <cdnm>급여전체</cdnm>
- <cdid>2</cdid>
- </P0008>
- </P0008list>
- <!-- 보조유형 -->
- <P0010list>
- <P0010>
- <cdnm/>
- <cdid/>
- </P0010>
- </P0010list>
- <!-- 진료분야 -->
- <P0291list>
- <P0291>
- <cdnm/>
- <cdid/>
- </P0291>
- </P0291list>
- <!-- 청구구분 -->
- <P0155list>
- <P0155>
- <cdnm/>
- <cdid/>
- </P0155>
- </P0155list>
- <!-- 심사상태 -->
- <P0151list>
- <P0151>
- <cdnm/>
- <cdid/>
- </P0151>
- </P0151list>
- <!-- 청구상태 -->
- <P0430list>
- <P0430>
- <cdnm/>
- <cdid/>
- </P0430>
- </P0430list>
- </init>
- <hidden>
- <sppmc02500>
- <cond>
- <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- <item1>
- <maxclamdg/>
- </item1>
- </hidden>
- <popupdata>
- <popupmenu>
- <gridclbsmast>
- <item>
- <name>부분선택</name>
- <func>fSection</func>
- </item>
- </gridclbsmast>
- </popupmenu>
- </popupdata>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/tmp"/>
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/clamdg"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면을 초기화한다.
- fInitialize();
-
- if (model.getValue("/root/init/item1/pid") != "") {
- model.setValue("/root/send/item1/ioflag", model.getValue("/root/init/item1/ioflag"));
- model.setValue("/root/send/item1/clamym", model.getValue("/root/init/item1/clamym"));
- model.setValue("/root/send/item1/clamdg", model.getValue("/root/init/item1/clamdg"));
- model.setValue("/root/send/item1/pid", model.getValue("/root/init/item1/pid"));
-
- // 심사변경 대상자조회
- fGetDocuList();
- }
- ]]>
- </script>
- <submission id="TXPID23001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list1/clbs"/>
- <submission id="TRPID23001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/main"/>
- </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="../../../pam/aftjudgweb/js/SMPID20000.js"/>
- <script type="javascript">
- <![CDATA[
- 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;
-
- // -----------------------
- // ▶ 화면초기화
- // -----------------------
- function fInitialize() {
-
- // ---------------------------------------------------------------
- // 공통코드를 조회한다.
- // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
- // ---------------------------------------------------------------
- zbcfGetCodeList(
- new Array("P0008" // 보험유형
- ,"P0010" // 보조유형
- ,"P0291" // 진료분야
- ,"P0155" // 청구구분
- ,"P0151" // 심사상태
- ,"P0430" // 청구상태
- ),
- new Array("/root/init/P0008list"
- ,"/root/init/P0010list"
- ,"/root/init/P0291list"
- ,"/root/init/P0155list"
- ,"/root/init/P0151list"
- ,"/root/init/P0430list"
- ) );
-
-
- // 청구월 셋팅
- if (model.getValue("/root/send/item1/clamym") == "") {
- var lv_date = gCurrentym.toDate("YYYYMM" + "01");
- lv_date = lv_date.getAddDate(-1, "M")
- gCurrentym = lv_date.getDateFormat("YYYYMM")
- model.setValue("/root/send/item1/clamym", gCurrentym);
- }
-
- // ---------------------------------------------------------------
- // 청구과, 심사자, 진료과, 주치의, 청구차수, 삼시자선택 초기화
- // ---------------------------------------------------------------
- submit("TRPID20201",false);
-
- model.removeNodeset("root/init/judgrid");
- model.removeNodeset("root/init/suppkind");
- model.removeNodeset("root/init/orddrid");
- model.removeNodeset("root/init/orddrid2");
- model.removeNodeset("root/init/clamdept");
- model.removeNodeset("root/init/orddeptcd");
- model.removeNodeset("root/init/orddeptcd2");
- model.removeNodeset("root/init/item3");
- model.removeNodeset("root/init/clamdg");
-
- model.makeNode("root/init/judgrid");
- model.makeNode("root/init/suppkind");
- model.makeNode("root/init/orddrid");
- model.makeNode("root/init/orddrid2");
- model.makeNode("root/init/clamdept");
- model.makeNode("root/init/orddeptcd");
- model.makeNode("root/init/orddeptcd2");
- model.makeNode("root/init/item3");
- model.makeNode("root/init/clamdg");
-
- model.copyNode("root/init/judgrid", "root/init/tmp/judgrid");
- model.copyNode("root/init/suppkind", "root/init/tmp/suppkind");
- model.copyNode("root/init/orddrid", "root/init/tmp/orddrid");
- model.copyNode("root/init/orddrid2", "root/init/tmp/orddrid2");
- model.copyNode("root/init/clamdept", "root/init/tmp/clamdept");
- model.copyNode("root/init/orddeptcd", "root/init/tmp/orddeptcd");
- model.copyNode("root/init/orddeptcd2", "root/init/tmp/orddeptcd2");
- model.copyNode("root/init/item3", "root/init/tmp/item3");
- model.copyNode("root/init/clamdg", "root/init/tmp/clamdg");
-
- model.removeNodeset("root/init/tmp/judgrid");
- model.removeNodeset("root/init/tmp/suppkind");
- model.removeNodeset("root/init/tmp/orddrid");
- model.removeNodeset("root/init/tmp/orddrid2");
- model.removeNodeset("root/init/tmp/clamdept");
- model.removeNodeset("root/init/tmp/orddeptcd");
- model.removeNodeset("root/init/tmp/orddeptcd2");
- model.removeNodeset("root/init/tmp/item3");
- model.removeNodeset("root/init/tmp/clamdg");
-
- model.refresh();
-
- cmb_clamdg.select(0);
- }
-
- // ----------------------------------------------------------------------
- // ▶심사자변경 대상조회
- // ----------------------------------------------------------------------
- function fGetDocuList() {
- var chk = true;
- var ordfildcd = model.getValue("/root/send/item1/ordfildcd");
- var clamdeptcd = model.getValue("/root/send/item1/clamdeptcd");
- var orddeptcd = model.getValue("/root/send/item1/orddeptcd");
- var orddrid = model.getValue("/root/send/item1/orddrid");
- var judgrid = model.getValue("/root/send/item1/judgrid");
-
- if (model.getValue("/root/send/item1/pid") == "") {
- if (ordfildcd == "" && clamdeptcd == "" && orddeptcd == "" && orddrid == "" && judgrid == "" ) {
- messageBox("진료분야, 청구과, 진료과, 진료의, 심사자, 심사상태중 두개 이상은", "I003"); //I003=필수입력입니다.
- chk = false;
- }
- }
-
- if (chk == true) {
- //대상자 조회
- if (submit("TRPID23001")) {
-
- var nodeList = instance1.selectNodes("/root/main/list1/clbs");
-
- if (nodeList.length == 1) {
- model.setValue("/root/main/list1/clbs[1]/chk", "Y");
- grd_clbsmast.refresh();
- grd_clbsmast.row = 1;
- }
- }
- }
- }
-
-
- // ----------------------------------------------------------------------
- // ▶ 심사자변경 저장
- // ----------------------------------------------------------------------
- function fSetJudgridChange() {
-
-
- if (model.getValue("/root/send/item1/t_judgrid") != "") {
- model.resetInstanceNode("root/send/list1/clbs");
-
- var fromchk="";
- var iCnt=0;
- for (var i = 1; i < grd_clbsmast.rows; i++) {
- fromchk = model.getValue("/root/main/list1/clbs[" + i + "]/chk");
- if (fromchk == "Y") {
- iCnt++;
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/clamym", model.getValue("/root/main/list1/clbs[" + i + "]/clamym"));
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/clamdg", model.getValue("/root/main/list1/clbs[" + i + "]/clamdg"));
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/pid", model.getValue("/root/main/list1/clbs[" + i + "]/pid"));
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/pidsn", model.getValue("/root/main/list1/clbs[" + i + "]/pidsn"));
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/t_judgrid", model.getValue("/root/send/item1/t_judgrid"));
- }
- }
-
- if (iCnt > 0) {
- // 자료생성...
- if (submit("TXPID23001")) {
- messageBox("심사자변경이", "I001"); // I001=처리되었습니다
- // 변경된 명세서를 조회한다.
- btn_select.dispatch("DOMActivate"); // 자료생성 후 바로 조회...
- }
- } else {
- messageBox("변경할 명세서가", "I004"); // I004=없습니다.
- }
- } else {
- messageBox("변경할 심사자가", "I004"); // I004=없습니다.
- model.setFocus("cmb_tjudgrid");
-
- }
- }
-
- // ----------------------------------------------------------------------
- // ▶ 심사자 재분배 저장
- // ----------------------------------------------------------------------
- function fSetJudgridChange2() {
-
-
- if (model.getValue("/root/send/item1/judgrid") == "-") {
- model.resetInstanceNode("root/send/list1/clbs");
-
- var fromchk="";
- var iCnt=0;
- for (var i = 1; i < grd_clbsmast.rows; i++) {
- fromchk = model.getValue("/root/main/list1/clbs[" + i + "]/chk");
- if (fromchk == "Y") {
- if (model.getValue("/root/main/list1/clbs[" + i + "]/rejudgrid") != '-') {
- iCnt++;
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/clamym", model.getValue("/root/main/list1/clbs[" + i + "]/clamym"));
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/clamdg", model.getValue("/root/main/list1/clbs[" + i + "]/clamdg"));
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/pid", model.getValue("/root/main/list1/clbs[" + i + "]/pid"));
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/pidsn", model.getValue("/root/main/list1/clbs[" + i + "]/pidsn"));
- model.makeValue("/root/send/list1/clbs[" + iCnt + "]/t_judgrid", model.getValue("/root/main/list1/clbs[" + i + "]/rejudgrid"));
- }
- }
- }
-
- if (iCnt > 0) {
- // 자료생성...
- if (submit("TXPID23001")) {
- messageBox("심사자변경이", "I001"); // I001=처리되었습니다
- // 변경된 명세서를 조회한다.
- btn_select.dispatch("DOMActivate"); // 자료생성 후 바로 조회...
- }
- } else {
- messageBox("변경할 명세서가", "I004"); // I004=없습니다.
- }
- } else {
- messageBox("심사자를 - 인것으로 ", "C002"); // C002=선택하십시오 !
- model.setFocus("cmb_judgrid");
-
- }
- }
-
-
- // ----------------------------------------------------------------------
- // ▶ 환자조회
- // ----------------------------------------------------------------------
- function fGetSrchPid() {
-
- var ipt_pid = model.getValue("/root/send/item1/pid");
-
- if (ipt_pid.charCodeAt(0) > 255) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
- model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
- } else {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
- }
-
-
- // 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/pid", srch_pid);
- }
- model.refresh();
- }
-
- //부분선택 기능 2009-07-13일 김상민
- function fSection(){
-
- var selrow = 0;
- for ( i=0; i < grd_clbsmast.selectedRows; i++) {
- selrow = grd_clbsmast.selectedRow(i);
- if ( model.getValue("/root/main/list1/clbs[" + selrow + "]/lockyn") == "N" ) {
- if (model.getValue("/root/main/list1/clbs[" + selrow + "]/chk") == "Y") {
- model.setValue("/root/main/list1/clbs[" + selrow + "]/chk", "N");
- } else {
- model.setValue("/root/main/list1/clbs[" + selrow + "]/chk", "Y");
- }
- }
- }
- /*
- var selectCnt = 0;
- selectCnt = grd_clbsmast.selectedRows;
- var cur_row = grd_clbsmast.row;
-
- selectCnt = selectCnt + cur_row-1;
-
- for ( i = cur_row; i <= selectCnt; i++) {
- if (model.getValue("/root/main/list1/clbs[" + i + "]/lockyn") == "N") {
- if (model.getValue("/root/main/list1/clbs[" + i + "]/chk") == "Y") {
- model.setValue("/root/main/list1/clbs[" + i + "]/chk", "N");
- } else {
- model.setValue("/root/main/list1/clbs[" + i + "]/chk", "Y");
- }
- }
- }
- */
- grd_clbsmast.refresh();
- /*
- if (grd_clbsmast.isCell(event.target) && grd_clbsmast.mouseRow >= grd_clbsmast.fixedrows) {
- var clodstatus = grd_clbsmast.valueMatrix(grd_clbsmast.mouseRow, grd_clbsmast.colRef("checkvalue"));
- if (clodstatus == "false") {
-
- grd_clbsmast.colDisabled(grd_adjtord.colRef("checkvalue")) = 'Y';
- grd_clbsmast.colDisabled(grd_adjtord.colRef("checkvalue")) = 'Y';
- grd_clbsmast.colDisabled(grd_adjtord.colRef("checkvalue")) = 'Y';
- grd_clbsmast.colDisabled(grd_adjtord.colRef("checkvalue")) = 'Y';
- }
- }
- */
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1162" pageheight="750" guideline="1,1144;2,725;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1146px; 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:1146px; height:712px; ">
- <datagrid id="grd_clbsmast" nodeset="/root/main/list1/clbs" class="datagrid2" caption="C^청구년월^차수^청구구분^등록번호^등록번호^환자명^보험
유형^보조
유형^입원일자^진료개시일^진료종료일^진료분야^진료과^진료의^심사자^재분배
심사자^최종
심사자^심사상태^청구상태^잠금
설정" colsep="^" colwidth="35, 61, 40, 62, 67, 22, 58, 30, 30, 68, 68, 67, 60, 80, 60, 60, 59, 60, 62, 77, 37" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="8" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:95px; width:1145px; height:613px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col disabled="true" ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col disabled="true" ref="clamdg" style="text-align:center; "/>
- <col disabled="true" ref="clamflagcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pidsn" style="text-align:center; "/>
- <col ref="patnm" style="left:332px; top:32px; width:53px; height:23px; text-align:center; "/>
- <col ref="insukind" type="output" style="text-align:center; "/>
- <col ref="suppkind" type="output" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="ordfildcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid2/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="judgrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="rejudgrid" type="combo" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="lastupdtrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="judgendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="clamendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0430list/P0430">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="lockyn" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var icol = grd_clbsmast.col;
- var irow = grd_clbsmast.row;
- if (icol == grd_clbsmast.colRef("fromchk") && irow == 0) {
- var nodeList = instance1.selectNodes("/root/main/list1/clbs");
- var i = 1;
- for ( i = 1; i <= nodeList.length; i++) {
- if (model.getValue("/root/main/list1/clbs[" + i + "]/lockyn") == "N") {
- if (model.getValue("/root/main/list1/clbs[" + i + "]/chk") == "Y") {
- model.setValue("/root/main/list1/clbs[" + i + "]/chk", "N");
- } else {
- model.setValue("/root/main/list1/clbs[" + i + "]/chk", "Y");
- }
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var icol = grd_clbsmast.col;
- var irow = grd_clbsmast.row;
- if (model.getValue("/root/main/list1/clbs[" + irow + "]/lockyn") == "Y") {
- messageBox("잠금설정된 명세서는 선택할수", "I004"); //없습니다.
- model.setValue("/root/main/list1/clbs[" + irow + "]/chk", "N");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- /*
- if (grd_clbsmast.isCell(event.target) && grd_clbsmast.mouseRow >= grd_clbsmast.fixedrows) {
- var clodstatus = grd_clbsmast.valueMatrix(grd_clbsmast.mouseRow, grd_clbsmast.colRef("checkvalue"));
- if (clodstatus == "false") {
-
- grd_clbsmast.colDisabled(grd_adjtord.colRef("checkvalue")) = 'Y';
- grd_clbsmast.colDisabled(grd_adjtord.colRef("checkvalue")) = 'Y';
- grd_clbsmast.colDisabled(grd_adjtord.colRef("checkvalue")) = 'Y';
- grd_clbsmast.colDisabled(grd_adjtord.colRef("checkvalue")) = 'Y';
- }
- }
- */
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) {
- if (grd_clbsmast.disabled) return;
- if (grd_clbsmast.isCell(event.target) && grd_clbsmast.mouseRow >= grd_clbsmast.fixedrows) {
-
- window.setPopupMenu(true, "/root/popupdata/popupmenu/gridclbsmast/item", "name", "func", false);
-
- }
- else {
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_clbsmast.gridToInstance()
- ]]>
- </script>
- </datagrid>
- <caption id="cap_judgtrgtman" class="tit_2" style="left:5px; top:76px; width:126px; height:13px; ">대상자조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:91px; x2:1145px; y2:91px; "/>
- <group id="group1" style="left:0px; top:4px; width:1065px; height:60px; vertical-align:top; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1065px; height:60px; "/>
- <caption id="caption30" class="search_name" style="left:0px; top:7px; width:85px; height:17px; ">청구년월</caption>
- <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:81px; top:7px; width:69px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- pidfGetClamdg();
- ]]>
- </script>
- </input>
- <!-- 기존 ID : 1214 => P0235 => P0291 -->
- <!-- 기존 : /root/InitData2/comccodem => P0287 확인해볼 것 -->
- <caption id="caption38" class="search_name" style="left:881px; top:7px; width:84px; height:17px; ">등록번호</caption>
- <input id="ipt_patunitsrch" ref="/root/send/item1/pid" class="input_search" navindex="2" inputtype="button" maxlength="10" style="left:961px; top:7px; width:90px; height:19px; ">
- <hint>
- <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
- </hint>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") { // Enter 입력 시에
- if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- var srchtext = model.getValue("/root/send/item1/pid");
- if (srchtext.charCodeAt(0) > 255) {
- fGetSrchPid();
- } else {
- fGetDocuList();
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fGetSrchPid();
- ]]>
- </script>
- </input>
- <button id="btn_select" class="btn1_letter2" navindex="32" _auth="R" style="left:985px; top:32px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDocuList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_clamdg" ref="/root/send/item1/clamdg" appearance="minimal" style="left:153px; top:7px; width:51px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdg/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:0px; top:33px; width:80px; height:17px; ">내원형태</caption>
- <select1 id="cmb_ioflag" ref="/root/send/item1/ioflag" class="combo_search" navindex="3" appearance="minimal" style="left:81px; top:32px; width:123px; height:19px; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 청구년월에 대한 청구차수 조회
- pidfGetClamdg();
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_4" style="x1:962px; y1:31px; x2:962px; y2:54px; "/>
- <select1 id="cmb_ordfildcd" ref="/root/send/item1/ordfildcd" class="combo_search" navindex="13" appearance="minimal" style="left:450px; top:7px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/item1/clamdeptcd", "");
- cmb_clamdeptcd.disabled = false;
- cmb_orddrid.disabled = true;
-
- var ordfildcd = model.getValue("/root/send/item1/ordfildcd");
- if (ordfildcd) {
- cmb_clamdeptcd.choices.itemset.attribute("nodeset") = "/root/init/clamdept/clamdeptlist[cdval='" + ordfildcd + "']";
- } else {
- cmb_clamdeptcd.choices.itemset.attribute("nodeset") = "/root/init/clamdept/clamdeptlist";
- }
-
- cmb_clamdeptcd.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:369px; top:7px; width:86px; height:17px; ">진료분야</caption>
- <select1 id="cmb_orddrid" ref="/root/send/item1/orddrid" class="combo_search" disabled="true" navindex="15" appearance="minimal" style="left:606px; top:32px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption46" class="search_name" style="left:538px; top:7px; width:70px; height:17px; ">진료과</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/item1/orddeptcd" class="combo_search" navindex="14" appearance="minimal" itemcount="20" style="left:606px; top:7px; width:85px; height:19px; ">
- <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/send/item1/orddeptcd");
-
- if (orddeptcd) {
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp='" + orddeptcd + "']";
- cmb_orddrid.disabled = false;
- } else {
- cmb_orddrid.disabled = true;
- }
- model.setValue("/root/send/item1/orddrid", ""); // 주치의 선택을 초기화한다.
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:538px; top:33px; width:70px; height:17px; ">진료의</caption>
- <select1 id="cmb_clamdeptcd" ref="/root/send/item1/clamdeptcd" class="combo_search" navindex="14" appearance="minimal" style="left:450px; top:32px; width:85px; height:19px; ">
- <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
- <choices>
- <itemset nodeset="/root/init/clamdept/clamdeptlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" style="left:369px; top:33px; width:73px; height:17px; ">청구과</caption>
- <select1 id="cmb_judgrid" ref="/root/send/item1/judgrid" class="combo_search" navindex="8" appearance="minimal" style="left:285px; top:7px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/send/item1/judgrid") == '-') {
- grd_clbsmast.colHidden(grd_clbsmast.colRef("rejudgrid")) = false;
- } else {
- grd_clbsmast.colHidden(grd_clbsmast.colRef("rejudgrid")) = true;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption15" class="search_name" style="left:207px; top:7px; width:70px; height:17px; ">심사자</caption>
- <select1 id="cmb_judgendyn" ref="/root/send/item1/judgendyn" class="combo_search" navindex="10" appearance="minimal" showvalue="true" style="left:285px; top:32px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151[cdid != 'Z']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="search_name" style="left:207px; top:33px; width:86px; height:17px; ">심사상태</caption>
- <caption id="caption2" class="search_name" style="left:695px; top:8px; width:76px; height:17px; ">보험유형</caption>
- <caption id="caption3" class="search_name" style="left:695px; top:34px; width:76px; height:17px; ">보조유형</caption>
- <select1 id="cmb_suppkind" ref="/root/send/item1/suppkindcd" class="combo_search" navindex="15" appearance="minimal" style="left:776px; top:32px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0010list/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_insukind" ref="/root/send/item1/insukindcd" class="combo_search" navindex="14" appearance="minimal" itemcount="20" style="left:776px; top:7px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var insukindcd = model.getValue("/root/send/item1/insukindcd");
-
- if (insukindcd) {
- if (insukindcd == "1") {
- cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='11' or up='21' or up='22']";
- } else if (insukindcd == "2") {
- cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='21' or up='22']";
- } else {
- cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='" + insukindcd + "']";
- }
- } else {
- cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/P0010list/P0010";
- }
- model.refreshpart("/root/send/item1/suppkindcd");
- if (cmb_suppkind.label) {
- } else { // 기존 선택된 보조유형을 선택할 수 없는 보험유형이 선택된 경우이므로
- model.setValue("/root/send/item1/suppkindcd", ""); // 보조유형 선택을 초기화한다.
- model.refreshpart("/root/send/item1/suppkindcd");
- }
- ]]>
- </script>
- </select1>
- <output id="output1" ref="/root/send/item1/insukindcd" class="output_search" style="left:856px; top:7px; width:17px; height:19px; "/>
- <output id="opt_suppkind" ref="/root/send/item1/suppkindcd" class="output_search" style="left:856px; top:32px; width:17px; height:19px; "/>
- </group>
- <line id="line6" class="line_3" style="x1:1067px; y1:56px; x2:1145px; y2:56px; "/>
- <button id="btn_cancel" class="btn4_letter2" style="left:1089px; top:68px; width:56px; height:22px; ">
- <caption>종료</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:961px; top:67px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/item1");
- model.resetInstanceNode("/root/main/list1/clbs");
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" _auth="X" style="left:1031px; top:67px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetJudgridChange();
- ]]>
- </script>
- </button>
- <select1 id="cmb_tjudgrid" ref="/root/send/item1/t_judgrid" class="combo_search" navindex="8" appearance="minimal" style="left:1067px; top:38px; width:79px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judgrid/judgridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_cretdel" class="btn2_letter4" _auth="X" style="left:93px; top:70px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var nodeList = instance1.selectNodes("/root/main/list1/clbs");
- var i = 1;
- for ( i = 1; i <= nodeList.length; i++) {
- if (model.getValue("/root/main/list1/clbs[" + i + "]/lockyn") == "N") {
- if (model.getValue("/root/main/list1/clbs[" + i + "]/chk") == "Y") {
- model.setValue("/root/main/list1/clbs[" + i + "]/chk", "N");
- } else {
- model.setValue("/root/main/list1/clbs[" + i + "]/chk", "Y");
- }
- }
- }
- grd_clbsmast.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn1_letter7" visibility="hidden" _auth="X" style="left:841px; top:67px; width:116px; height:22px; ">
- <caption>심사자 재분배</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetJudgridChange2();
- ]]>
- </script>
- </button>
- <line id="line4" class="line_1" style="x1:1067px; y1:10px; x2:1145px; y2:10px; "/>
- <line id="line2" class="line_3" style="x1:1067px; y1:12px; x2:1145px; y2:12px; "/>
- <caption id="caption22" class="cell_1" style="left:1067px; top:15px; width:78px; height:23px; ">변경 심사자</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|