1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864 |
- <?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>
- <obtmlist>
- <gridpirhobtm>
- <obtappyn/>
- <orddeptcd/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <obtappflag/>
- <instcd/>
- <judgclamendflag/>
- <bfobtappflag/>
- <check/>
- <notidd/>
- <obtappdd/>
- <obtappdocuno/>
- </gridpirhobtm>
- <acptinfo>
- <claminfo/>
- <adjtamt/>
- <obtappamt/>
- <abdamt/>
- </acptinfo>
- <deptinfo>
- <cd/>
- <nm/>
- </deptinfo>
- <doctinfo>
- <cd/>
- <nm/>
- </doctinfo>
- <judgrinfo>
- <cd/>
- <nm/>
- </judgrinfo>
- </obtmlist>
- <patinfodata>
- <gridpatinfo>
- <pid/>
- <patnm/>
- <sexage/>
- <orddrid/>
- <insukind/>
- <payownbrate/>
- <indd/>
- <dschdd/>
- <ordfromdd/>
- <ordtodd/>
- <chosindayno/>
- <medcaredayno/>
- <obtapprem/>
- <rem/>
- <docuseqnorem/>
- <corpactaddrate/>
- <clamobtapprem/>
- <attdocu/>
- <preday/>
- </gridpatinfo>
- <gridadjtord>
- <obtappyn/>
- <lnno/>
- <item/>
- <adjtresncd/>
- <obtappflag/>
- <snglcalcscorcd/>
- <hngnm/>
- <unitcost/>
- <nrecogoneqty/>
- <nrecogdayqty/>
- <nrecogtotqty/>
- <judgclamoneqty/>
- <judgclamdayqty/>
- <judgclamtotqty/>
- <judgclamamt/>
- <clamoneqty/>
- <clamdayqty/>
- <clamtotqty/>
- <adjtoneqty/>
- <adjtdayqty/>
- <adjttotqty/>
- <adjtamt/>
- <obtapponeqty/>
- <obtappdayqty/>
- <obtapptotqty/>
- <obtappamt/>
- <detladjtflag/>
- <adjtresndesc/>
- <abdresncd/>
- <abdresncdmemo/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <mpsno/>
- <instcd/>
- </gridadjtord>
- <gridlnnoadjtresncd>
- <lnno/>
- <adjtresncd/>
- </gridlnnoadjtresncd>
- <gridmemo>
- <judgmemo/>
- <edimemo/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- </gridmemo>
- <griddiag>
- <diagkindcd/>
- <diagcd/>
- <diagnm/>
- <clamdeptcd/>
- <ordfromdd/>
- <estmspclcd/>
- <wundresncd/>
- <toot/>
- </griddiag>
- <gridclsp>
- <rowstat/>
- <unitflag/>
- <edilnno/>
- <edicd/>
- <spclcd/>
- <spclnm/>
- <spclspec/>
- <spclformat/>
- <detldesc/>
- </gridclsp>
- </patinfodata>
- <temp>
- <gridadjtord/>
- </temp>
- <result/>
- </main>
- <send>
- <send_obtmlist>
- <clamno/>
- <acptno/>
- <judgdg/>
- <setno/>
- <notidd/>
- <rejudgflag/>
- <obtappflag/>
- <docuseqno/>
- <item/>
- </send_obtmlist>
- <send_clamno>
- <judgdg/>
- <acptno/>
- </send_clamno>
- <send_patinfo>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <instcd/>
- <bfobtappflag/>
- </send_patinfo>
- <send_judgclamrem>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <instcd/>
- <judgclamrem/>
- <attdocu/>
- <preday/>
- </send_judgclamrem>
- <send_docusearch>
- <docuseqno/>
- </send_docusearch>
- <send_prnt>
- <judgdg/>
- <clamno/>
- <acptno/>
- <obtappflag/>
- <instcd/>
- <judgrid/>
- <prtseq/>
- <insukind/>
- </send_prnt>
- <updatedata>
- <datalist/>
- </updatedata>
- <send_afjudg>
- <workflag/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ioflag/>
- </send_afjudg>
- </send>
- <init>
- <P0287list>
- <P0287>
- <cdid/>
- <cdnm/>
- </P0287>
- </P0287list>
- <P0264list>
- <P0264>
- <cdid/>
- <cdnm/>
- </P0264>
- </P0264list>
- <P0277list>
- <P0277>
- <cdid/>
- <cdnm/>
- </P0277>
- </P0277list>
- <P0250list>
- <P0250>
- <cdid/>
- <cdnm/>
- </P0250>
- </P0250list>
- <P0117list>
- <P0117>
- <cdid/>
- <cdnm/>
- </P0117>
- </P0117list>
- <P0123list>
- <P0123>
- <cdid/>
- <cdnm/>
- </P0123>
- </P0123list>
- </init>
- <temp>
- <obtappflag/>
- <gridselectedrow/>
- </temp>
- <hidden>
- <obtmlist>
- <claminfo>
- <clamno/>
- </claminfo>
- </obtmlist>
- <filterlist>
- <filter>
- <orddeptcd/>
- <orddrid/>
- <judgrid/>
- </filter>
- </filterlist>
- <enddate>
- <notidd/>
- <obtappdd/>
- <obtappdocuno/>
- </enddate>
- <smaer00800>
- <cond>
- <srchdata1/>
- <srchdata2/>
- <srchpid/>
- <wardcd/>
- <roomcd/>
- <listflag/>
- <deptcd/>
- <drid/>
- <chkcheck/>
- <chkcheck1/>
- <chkcheck2/>
- <chkcheck3/>
- <chkcheck4/>
- <chkcheck5/>
- <chkcheck6/>
- <chkcheck7/>
- <chkcheck8/>
- <tabflag/>
- <mdlcd/>
- <examgubun/>
- </cond>
- </smaer00800>
- </hidden>
- <source_AbdResnCdRgst>
- <status/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <obtappflag/>
- <mpsno/>
- <lnno/>
- <adjtresncd/>
- <abdresncd/>
- <abdresnmemo/>
- </source_AbdResnCdRgst>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIR31101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamno" resultref="/root/hidden/obtmlist"/>
- <submission id="TRPIR31102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_obtmlist" resultref="/root/main/obtmlist"/>
- <submission id="TRPIR31103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_patinfo" resultref="/root/main/patinfodata"/>
- <submission id="TXPIR31101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/gridadjtord"/>
- <submission id="TXPIR31102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_judgclamrem"/>
- <submission id="TRPIR30400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_obtmlist" resultref="/root/main/obtmlist"/>
- <submission id="TXPIR31103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata"/>
- <submission id="TXPIR31104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata"/>
- <submission id="TXPIR31105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/gridadjtord"/>
- </model>
- </xhtml:head>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- CommCode_Load();
-
- // 다른화면에서 팝업으로 이 화면을 열었을때 넘어온 파라미터로 대상목록을 조회한다.
- // 조회필수 항목인 심사차수, 접수번호로 CHECK한다.
- if (checkOpener()){
- if(ipt_judgdg.value != '' && ipt_acptno.value != '' ) {
- submit("TRPIR31102");
- }
- // var bfobtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/bfobtappflag");
- // model.setValue("/root/send/send_patinfo/bfobtappflag", bfobtappflag);
-
- if (grd_pirhobtm.rows > grd_pirhobtm.fixedrows) {
- grd_pirhobtm.row = 1;
-
- var rtn = null;
- var row = grd_pirhobtm.selectedRow(0);
-
- var t1= grd_pirhobtm.textmatrix(row,9);
- var t2= grd_pirhobtm.textmatrix(row,10);
- var t3= grd_pirhobtm.textmatrix(row,11);
- var t4= grd_pirhobtm.textmatrix(row,4);
- var t5= grd_pirhobtm.textmatrix(row,12);
- var t6= grd_pirhobtm.textmatrix(row,13);
- var t7= grd_pirhobtm.textmatrix(row,16);
-
- model.setValue( "instance('instance1')/send/send_patinfo/judgdg", t1 );
- model.setValue( "instance('instance1')/send/send_patinfo/clamno", t2 );
- model.setValue( "instance('instance1')/send/send_patinfo/acptno", t3 );
- model.setValue( "instance('instance1')/send/send_patinfo/docuseqno", t4 );
- model.setValue( "instance('instance1')/send/send_patinfo/obtappflag", t5 );
- model.setValue( "instance('instance1')/send/send_patinfo/instcd", t6 );
- model.setValue( "instance('instance1')/send/send_patinfo/bfobtappflag", t7 );
-
- rtn = submit("TRPIR31103");
-
- grd_adjtord.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- setRowStyle("grd_adjtord", "6","Y","abdyn","equal");
- grd_adjtord.rebuild();
-
- var obtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/obtappflag");
- if (obtappflag == "22") {
- checkbox2.attribute("visibility") = "visible";
- caption17.attribute("visibility") = "visible";
- input3.attribute("visibility") = "visible";
- chk_attdocu.attribute("visibility") = "hidden";
- } else {
- checkbox2.attribute("visibility") = "hidden";
- caption17.attribute("visibility") = "hidden";
- input3.attribute("visibility") = "hidden";
- chk_attdocu.attribute("visibility") = "visible";
- }
- }
-
- setEndFinitialize();
-
- var currentdate = getCurrentDate();
- ipt_obtappdd.value = currentdate;
-
- grd_adjtord.frozenCols = grd_adjtord.colRef("hngnm");
-
-
-
- }else{
-
- finitialize();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0287","P0264","P0277","P0250","P0117","P0123")
- , new Array("/root/init/P0287list", "/root/init/P0264list","/root/init/P0277list", "/root/init/P0250list", "/root/init/P0117list","/root/init/P0123list"));
- model.refresh();
- }
-
- // 조회조건 확인
- function fChkSend(){
- if(ipt_judgdg.value == ""){
- alert("심사차수를 입력해 주세요");
- model.setFocus("ipt_judgdg");
- return false;
- }
- if(ipt_acptno.value == ""){
- alert("접수번호를 입력해 주세요");
- model.setFocus("ipt_acptno");
- return false;
- }
-
- model.resetInstanceNode("/root/main/obtmlist");
- //model.resetInstanceNode("/root/main/patinfodata");
-
- return true;
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function finitialize() {
-
- // 처방코드, EDI코드 입력조건 초기화
- //ipt_snglcalcscorcd.attribute("_chartype") = "upper"; // tfHelper.js를 include 해야 한다.
- //ipt_edicd.attribute("_chartype") = "upper"; // tfHelper.js를 include 해야 한다.
-
- // form load시에 Default 이신구분을 전체를 선택한다.
- cmb_obtappflag.select(06); //r ef="/root/send/send_obtmlist/obtappflag" class
- rdo_obtappflag.select(-1);
-
- setEndFinitialize();
-
-
- }
-
- // 의사전달삭감처방등록관리
- function fGridCutOrdRgst() {
- model.setValue("/root/source/judgdg", model.getValue("/root/main/patinfodata/gridadjtord/judgdg"));
- model.setValue("/root/source/clamno", model.getValue("/root/main/patinfodata/gridadjtord/clamno"));
- model.setValue("/root/source/acptno", model.getValue("/root/main/patinfodata/gridadjtord/acptno"));
- model.setValue("/root/source/docuseqno", model.getValue("/root/main/patinfodata/gridadjtord/docuseqno"));
- // 이의신청구분
- model.setValue("/root/source/mpsno", model.getValue("/root/main/patinfodata/gridadjtord/mpsno"));
- model.setValue("/root/source/lnno", model.getValue("/root/main/patinfodata/gridadjtord/lnno"));
- model.setValue("/root/source/adjtresn", model.getValue("/root/main/patinfodata/gridadjtord/adjtresncd"));
- model.setValue("/root/source/workflag", "obtapprgst");
-
- //팝업창
- modal("SPPIR30320", 1, "", "", "SPPIR30320", "/root/source", "/root/send/send_adjtord");
- //window.load("SPPIR30310_의사삭감전달처방등록관리.xrw", "modal", "pop1","width:570px; height:430px; align:center;");
- /*
- var selectCnt = grd_adjtord.selectedRows
- var grd_nodeSet = grd_adjtord.nodeset;
- var destNode = instance1.selectSingleNode("/root/source_CutOrdRgst");
- var srcNode;
- for( var i = 0; i < selectCnt; i++ ){
- srcNode = instance1.selectSingleNode(grd_nodeSet + "[" + (grd_adjtord.selectedRow(i) - grd_adjtord.fixedRows + 1) + "]");
- model.duplicate(destNode, srcNode);
- }
- window.load("../../../pam/edimngtweb/xrw/SPPIR30310_의사삭감전달처방등록관리.xrw", "modeless", "pop", "", "/root/source_CutOrdRgst", "/root/main/cuodlist");
- */
- }
-
- // 필터
- function fGetSelectedData() {
- var orddeptcd = model.getValue("/root/hidden/filterlist/filter/orddeptcd");
- var orddrid = model.getValue("/root/hidden/filterlist/filter/orddrid");
- var judgrid = model.getValue("/root/hidden/filterlist/filter/judgrid");
-
- var rows = grd_pirhobtm.rows;
- var frows = grd_pirhobtm.fixedRows;
- var nrows = rows - frows;
-
- for(var i = 1; i <= nrows; i++) {
- grd_pirhobtm.rowHidden(i) = false;
- alert("row번호::" + i + "==진료과::" + orddeptcd + "==진료의:: " + orddrid + "==심사자::" + judgrid );
- // 진료과 필터
- if (orddeptcd == "" && orddrid == "" && judgrid == "") {
- } else {
- if(orddeptcd != ""){
- if (grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("orddeptabbr")) != orddeptcd) {
- grd_pirhobtm.rowHidden(i) = true;
- }
- }
- }
-
- // 주치의 필터
- if (orddeptcd == "" && orddrid == "" && judgrid == "" ) {
- } else {
- if(orddrid != ""){
- if (grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("atdoctid")) != orddrid) {
- grd_pirhobtm.rowHidden(i) = true;
- }
- }
- }
-
- // 심사자 필터
- if (orddeptcd == "" && orddrid == "" && judgrid == "") {
- } else {
- if(orddrid != ""){
- if (grd_pirhobtm.valueMatrix(i, grd_pirhobtm.colRef("judgrid")) != judgrid) {
- grd_pirhobtm.rowHidden(i) = true;
- }
- }
- }
- }
- }
-
- function fInitFilter() {
- // 조회부의 Radio 초기값을 "전체"로 설정한다.
- model.setValue("/root/hidden/filterlist/filter/orddeptcd", "");
- model.setValue("/root/hidden/filterlist/filter/orddrid", "");
- model.setValue("/root/hidden/filterlist/filter/judgrid", "");
- model.refresh();
- fGetSelectedData();
- }
-
- function fSearch(){
-
- model.resetInstanceNode("/root/main/obtmlist/gridpirhobtm");
- model.resetInstanceNode("/root/main/patinfodata/gridadjtord");
-
-
- if(fChkSend()){
- submit("TRPIR31102");
- // grd_pirhobtm.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- // setRowStyle("grd_pirhobtm", "2","Y","judgclamendflag","equal"); //row의 색상을 변경한다.
- // grd_pirhobtm.rebuild();
- }
-
- //return;
- // var bfobtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/bfobtappflag");
- // model.setValue("/root/send/send_patinfo/bfobtappflag", bfobtappflag);
-
- //model.alert(model.getValue("/root/send/send_patinfo/bfobtappflag"));
-
- if (grd_pirhobtm.rows > grd_pirhobtm.fixedrows) {
- var gridselectedrow = model.getValue("/root/temp/gridselectedrow");
- if (gridselectedrow != "") {
- grd_pirhobtm.row = gridselectedrow;
- } else {
- grd_pirhobtm.row = 1;
- }
-
-
- var rtn = null;
- var row = grd_pirhobtm.selectedRow(0);
-
- var t1= grd_pirhobtm.textmatrix(row,9);
- var t2= grd_pirhobtm.textmatrix(row,10);
- var t3= grd_pirhobtm.textmatrix(row,11);
- var t4= grd_pirhobtm.textmatrix(row,4);
- var t5= grd_pirhobtm.textmatrix(row,12);
- var t6= grd_pirhobtm.textmatrix(row,13);
- var t7= grd_pirhobtm.textmatrix(row,16);
-
- model.setValue( "instance('instance1')/send/send_patinfo/judgdg", t1 );
- model.setValue( "instance('instance1')/send/send_patinfo/clamno", t2 );
- model.setValue( "instance('instance1')/send/send_patinfo/acptno", t3 );
- model.setValue( "instance('instance1')/send/send_patinfo/docuseqno", t4 );
- model.setValue( "instance('instance1')/send/send_patinfo/obtappflag", t5 );
- model.setValue( "instance('instance1')/send/send_patinfo/instcd", t6 );
- model.setValue( "instance('instance1')/send/send_patinfo/bfobtappflag", t7 );
-
- rtn = submit("TRPIR31103");
- grd_adjtord.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- setRowStyle("grd_adjtord", "6","Y","abdyn","equal");
- grd_adjtord.rebuild();
-
-
- }
- var obtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/obtappflag");
- if (obtappflag == "22") {
- checkbox2.attribute("visibility") = "visible";
- caption17.attribute("visibility") = "visible";
- input3.attribute("visibility") = "visible";
- chk_attdocu.attribute("visibility") = "hidden";
- } else {
- checkbox2.attribute("visibility") = "hidden";
- caption17.attribute("visibility") = "hidden";
- input3.attribute("visibility") = "hidden";
- chk_attdocu.attribute("visibility") = "visible";
- }
- }
-
- function setEndFinitialize(){
-
- var curDate = getCurrentDate();
- model.setValue("/root/hidden/enddate/obtappdd", curDate);
-
- var notidd = model.getValue("/root/send/send_obtmlist/notidd");
- model.setValue("/root/hidden/enddate/notidd", notidd);
-
- // 이의신청문서번호 값 조정 ( '보험'을 찍어준다)
- var obtappdocuno = model.getValue("/root/hidden/enddate/obtappdocuno");
- if (obtappdocuno == "" || obtappdocuno == "-") {
- model.setValue("/root/hidden/enddate/obtappdocuno", "보험");
- ipt_obtappdocuno.refresh();
- }
- grp_memo.visible = false;
-
- }
- ]]>
- </script>
- <xhtml:body>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:129px; height:14px; ">심사청구</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:748px; ">
- <caption id="caption27" class="cell_1" style="left:305px; top:176px; width:68px; height:23px; text-align:left; vertical-align:middle; ">성별/나이</caption>
- <caption id="caption1" class="tit_2" style="left:3px; top:104px; width:60px; height:13px; ">대상자</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:123px; x2:302px; y2:123px; "/>
- <datagrid id="grd_pirhobtm" nodeset="/root/main/obtmlist/gridpirhobtm" class="datagrid2" caption="선택^마감여부^이신여부^명일련^과^진료과^등록번호^수진자^심사차수^청구번호^접수번호^이신구분^기관코드^진료의^심사자^이전이의신구분^통보일자^신청일자^문서번호^ioflag^clamym^clamdg^pidsn" colsep="^" colwidth="19, 30, 30, 43, 43, 43, 55, 60, 100, 100, 100, 100, 100, 100, 100, 100, 60, 60, 68, 40, 45, 45, 40" dataheight="25" defaultrows="1" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:128px; width:302px; height:274px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="judgclamendflag" type="checkbox" style="color:#ff0000; "/>
- <col checkvalue="Y,N" disabled="true" ref="obtappyn" type="checkbox" style="color:#ff0000; "/>
- <col ref="docuseqno"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddeptabbr"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="judgdg" visibility="hidden"/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="acptno" visibility="hidden"/>
- <col ref="obtappflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="orddrid" visibility="hidden"/>
- <col ref="judgrid" visibility="hidden"/>
- <col ref="bfobtappflag" visibility="hidden"/>
- <col ref="notidd" visibility="hidden"/>
- <col ref="obtappdd" visibility="hidden"/>
- <col ref="obtappdocuno" visibility="hidden"/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="clamym" visibility="hidden"/>
- <col ref="clamdg" visibility="hidden"/>
- <col ref="pidsn" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- var bfobtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/bfobtappflag");
- model.setValue("/root/send/send_patinfo/bfobtappflag", bfobtappflag);
-
- var rtn = null;
- if( grd_pirhobtm.isCell(event.target) && grd_pirhobtm.row >= grd_pirhobtm.fixedRows ){
- var row = grd_pirhobtm.selectedRow(0);
-
- // var bfobtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm/bfobtappflag");
- // model.setValue("/root/send/send_patinfo/bfobtappflag", bfobtappflag);
-
- var t1= grd_pirhobtm.textmatrix(row,9);
- var t2= grd_pirhobtm.textmatrix(row,10);
- var t3= grd_pirhobtm.textmatrix(row,11);
- var t4= grd_pirhobtm.textmatrix(row,4);
- var t5= grd_pirhobtm.textmatrix(row,12);
- var t6= grd_pirhobtm.textmatrix(row,13);
- var t7= grd_pirhobtm.textmatrix(row,16);
-
- model.setValue( "instance('instance1')/send/send_patinfo/judgdg", t1 );
- model.setValue( "instance('instance1')/send/send_patinfo/clamno", t2 );
- model.setValue( "instance('instance1')/send/send_patinfo/acptno", t3 );
- model.setValue( "instance('instance1')/send/send_patinfo/docuseqno", t4 );
- model.setValue( "instance('instance1')/send/send_patinfo/obtappflag", t5 );
- model.setValue( "instance('instance1')/send/send_patinfo/instcd", t6 );
- model.setValue( "instance('instance1')/send/send_patinfo/bfobtappflag", t7 );
- rtn = submit("TRPIR31103");
-
- grd_adjtord.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- setRowStyle("grd_adjtord", "6","Y","abdyn","equal");
- grd_adjtord.rebuild();
-
- //var corpactaddrate = model.getValue("/root/main/patinfodata/gridpatinfo/corpactaddrate");
-
- //model.alert(corpactaddrate);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_pirhobtm.row
- var check = model.getValue("/root/main/obtmlist/gridpirhobtm[" + row+ "]/check");
-
- if (check == "Y") {
- grd_pirhobtm.rowstatus(grd_pirhobtm.row) = 2;
- } else if (check == "N") {
- grd_pirhobtm.rowstatus(grd_pirhobtm.row) = 0;
- }
-
- model.setValue("/root/temp/gridselectedrow",grd_pirhobtm.row);
- ]]>
- </script>
- </datagrid>
- <caption id="caption15" class="tit_2" style="left:602px; top:104px; width:74px; height:13px; ">상병내역</caption>
- <line id="line4" class="line_1" style="x1:600px; y1:123px; x2:1194px; y2:123px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/patinfodata/griddiag" caption="R/O^상병코드^상병명^과^진료개시일^특정^상해^치식" colsep="^" colwidth="41, 57, 191, 36, 75, 46, 41, 72" dataheight="25" defaultrows="1" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:600px; top:128px; width:594px; height:139px; ">
- <col ref="diagkindcd"/>
- <col ref="diagcd"/>
- <col ref="diagnm"/>
- <col ref="clamdeptcd"/>
- <col ref="ordfromdd"/>
- <col ref="estmspclcd"/>
- <col ref="wundresncd"/>
- <col ref="toot"/>
- </datagrid>
- <caption id="caption23" class="cell_1" style="left:305px; top:128px; width:68px; height:23px; text-align:left; vertical-align:middle; ">등록번호</caption>
- <output id="output7" ref="/root/main/patinfodata/gridpatinfo/pid" class="output_fix" appearance="output" style="left:375px; top:129px; width:70px; height:19px; "/>
- <output id="output11" ref="/root/main/patinfodata/gridpatinfo/indd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:520px; top:129px; width:78px; height:19px; "/>
- <caption id="caption24" class="cell_1" style="left:448px; top:128px; width:70px; height:23px; text-align:left; vertical-align:middle; ">입원일</caption>
- <output id="output15" ref="/root/main/patinfodata/gridpatinfo/dschdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:520px; top:153px; width:78px; height:19px; "/>
- <output id="output16" ref="/root/main/patinfodata/gridpatinfo/patnm" class="output_fix" appearance="output" style="left:375px; top:153px; width:70px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:305px; top:152px; width:68px; height:23px; text-align:left; vertical-align:middle; ">수진자</caption>
- <caption id="caption26" class="cell_1" style="left:448px; top:152px; width:70px; height:23px; text-align:left; vertical-align:middle; ">퇴원일</caption>
- <output id="output17" ref="/root/main/patinfodata/gridpatinfo/ordfromdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:520px; top:177px; width:78px; height:19px; "/>
- <output id="output18" ref="/root/main/patinfodata/gridpatinfo/sexage" class="output_fix" appearance="output" style="left:375px; top:177px; width:70px; height:19px; "/>
- <caption id="caption28" class="cell_1" style="left:448px; top:176px; width:70px; height:23px; text-align:left; vertical-align:middle; ">개시일</caption>
- <caption id="caption31" class="tit_2" style="left:3px; top:413px; width:131px; height:13px; ">삭감항목</caption>
- <line id="line11" class="line_1" style="x1:0px; y1:428px; x2:1194px; y2:428px; "/>
- <datagrid id="grd_adjtord" nodeset="/root/main/patinfodata/gridadjtord" class="datagrid2" caption="선택^신청
여부^줄번호^항^사유^I/II
구분^구분^처방코드^처방명칭^단가^ 이신 일회량^이신일투^이신총투^ 이의신청 금액^불인정
일회량^불인정
일투^불인정
총투^심사청구
일회량^심사청
구일투^심사청
구총투^심사청구액^청구
일회량^청구
일투^청구
총투^삭감
일회량^삭감
일투^삭감
총투^삭감액^상세
조정
구분^조정
사유
설명^부제기
사유코드^부제기
사유메모^심사
차수^청구
번호^접수
번호^명일련^처방전
교부번호^기관
코드^부재기
여부|선택^신청
여부^줄번호^항^사유^I/II
구분^구분^처방코드^처방명칭^단가^ 이신 일회량^이신일투^이신총투^ 이의신청 금액^불인정
일회량^불인정
일투^불인정
총투^심사청구
일회량^심사청
구일투^심사청
구총투^심사청구액^청구
일회량^청구
일투^청구
총투^삭감
일회량^삭감
일투^삭감
총투^삭감액^상세
조정
구분^조정
사유
설명^부제기
사유코드^부제기
사유메모^심사
차수^청구
번호^접수
번호^명일련^처방전
교부번호^기관
코드^부재기
여부" colsep="^" colwidth="30, 30, 48, 30, 30, 30, 30, 80, 205, 70, 50, 35, 35, 65, 46, 46, 46, 60, 52, 46, 71, 50, 35, 35, 50, 35, 35, 70, 50, 50, 80, 150, 50, 50, 50, 70, 80, 50, 50" dataheight="25" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:433px; width:1194px; height:155px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="obtappyn" type="checkbox"/>
- <col ref="lnno"/>
- <col ref="item"/>
- <col ref="adjtresncd"/>
- <col ref="matractflag"/>
- <col ref="obtappflag"/>
- <col ref="snglcalcscorcd"/>
- <col ref="hngnm"/>
- <col ref="unitcost" format="#,###" style="text-align:right; "/>
- <col ref="obtapponeqty"/>
- <col ref="obtappdayqty" format="#,###.#" style="text-align:right; "/>
- <col ref="obtapptotqty" format="#,###" style="text-align:right; "/>
- <col ref="obtappamt" format="#,###" style="text-align:right; "/>
- <col ref="nrecogoneqty"/>
- <col ref="nrecogdayqty" format="#,###"/>
- <col ref="nrecogtotqty" format="#,###"/>
- <col ref="judgclamoneqty" type="input"/>
- <col ref="judgclamdayqty" type="input" format="#,###.#"/>
- <col ref="judgclamtotqty" type="input" format="#,###"/>
- <col ref="judgclamamt" type="input" format="#,###"/>
- <col ref="clamoneqty"/>
- <col ref="clamdayqty" format="#,###" style="text-align:right; "/>
- <col ref="clamtotqty" format="#,###" style="text-align:right; "/>
- <col ref="adjtoneqty"/>
- <col ref="adjtdayqty" format="#,###" style="text-align:right; "/>
- <col ref="adjttotqty" format="#,###" style="text-align:right; "/>
- <col ref="adjtamt" format="#,###" style="text-align:right; "/>
- <col ref="detladjtflag" visibility="hidden"/>
- <col ref="adjtresndesc" visibility="hidden"/>
- <col ref="abdresncd" visibility="hidden"/>
- <col ref="abdresnmemo" type="inputbutton"/>
- <col ref="judgdg" visibility="hidden"/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="acptno" visibility="hidden"/>
- <col ref="docuseqno" visibility="hidden"/>
- <col ref="mpsno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="abdyn"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
- if(grd_adjtord.isCell(event.target) && grd_adjtord.mouseRow >= grd_adjtord.fixedrows){
- window.setPopupMenu(true, "/root/popupdata/popupmenu/gridadjtord/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var col = grd_adjtord.col;
- var row = grd_adjtord.row;
- row = row-1;
-
- if(col == "32"){
- //var i = startRow; i < endRow; i++){
- var status = "update";
- model.setValue("/root/source_AbdResnCdRgst/status", status);
- model.setValue("/root/source_AbdResnCdRgst/judgdg", model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/judgdg"));
- model.setValue("/root/source_AbdResnCdRgst/clamno", model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/clamno"));
- model.setValue("/root/source_AbdResnCdRgst/acptno", model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/acptno"));
- model.setValue("/root/source_AbdResnCdRgst/docuseqno", model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/docuseqno"));
- model.setValue("/root/source_AbdResnCdRgst/obtappflag", model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/obtappflag"));
- model.setValue("/root/source_AbdResnCdRgst/mpsno", model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/mpsno"));
- model.setValue("/root/source_AbdResnCdRgst/lnno", model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/lnno"));
- model.setValue("/root/source_AbdResnCdRgst/adjtresncd", model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/adjtresncd"));
- model.setValue("/root/source_AbdResnCdRgst/abdresncd", model.getValue("/root/main/patinfodata/gridadjtord[" + row +"]/abdresncd"));
- model.setValue("/root/source_AbdResnCdRgst/abdresnmemo", "");
-
- modal("SPPIR30340", 1, "", "", "SPPIR30340", "/root/source_AbdResnCdRgst", "/root/send");
-
- var abdresnmemo = getParameter("SMPIR31100_abdresnmemo");
- var abdresncd = getParameter("SMPIR31100_abdresncd");
-
- //model.alert(abdresnmemo);
- //model.alert(abdresncd);
- model.setValue("/root/main/patinfodata/gridadjtord[" + row + "]/abdresnmemo", abdresnmemo);
- }
-
- var abdresncd = model.getValue("/root/main/patinfodata/gridadjtord[" + row + "]/abdresncd");
- var abdresncdmemo = model.getValue("/root/main/patinfodata/gridadjtord[ " + row + "]/abdresncdmemo");
- if(abdresncd != "" && abdresncdmemo != ""){
- model.setValue("/root/main/patinfodata/gridadjtord[" + row + "]/judgclamoneqty",0);
- model.setValue("/root/main/patinfodata/gridadjtord[" + row + "]/judgclamdayqty",0);
- model.setValue("/root/main/patinfodata/gridadjtord[" + row + "]/judgclamtotqty",0);
- model.setValue("/root/main/patinfodata/gridadjtord[" + row + "]/judgclamamt",0);
- }
-
- fSearch();
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode== "13"){
- var col = grd_adjtord.col;
- var row = grd_adjtord.row;
-
- if(col == "12" || col =="13" || col == "14"){
- grd_adjtord.endEditCell();
- var judgclamoneqty = model.getValue("/root/main/patinfodata/gridadjtord/judgclamoneqty");
- var judgclamdayqty = model.getValue("/root/main/patinfodata/gridadjtord/judgclamdayqty");
- var judgclamtotqty = model.getValue("/root/main/patinfodata/gridadjtord/judgclamtotqty");
- var judgclamamt = judgclamoneqty * judgclamdayqty * judgclamtotqty;
- // var judgclamoneqty1 = grd_adjtord.valueMatrix(row, 12);
- // var judgclamdayqty1 = grd_adjtord.valueMatrix(row, 13);
- // var judgclamtotqty1 = grd_adjtord.valueMatrix(row, 14);
- // var judgclamamt1 = judgclamoneqty1 * judgclamdayqty1 * judgclamtotqty1;
- model.setValue("/root/main/patinfodata/gridadjtord/judgclamamt",judgclamamt);
- }
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var curr_row = grd_adjtord.row;
- var row = grd_adjtord.row;
- row = row-1;
- //model.alert(curr_row);
-
- var matractflag = model.getValue("/root/main/patinfodata/gridadjtord[" + row +"]/matractflag");
- var judgclamoneqty = Number(grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamoneqty")));
- var judgclamdayqty = Number(grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamdayqty")));
- var judgclamtotqty = Number(grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamtotqty")));
- var judgclamamt = Number(grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamamt")));
- var unitcost = Number(grd_adjtord.valueMatrix(curr_row, grd_adjtord.colRef("unitcost")));
- var corpactaddrate = model.getValue("/root/main/patinfodata/gridpatinfo/corpactaddrate");
-
-
- //할인률
- //model.alert(corpactaddrate);
- //model.alert(matractflag);
-
- if(matractflag == '2'){
- // 이의신청1회
- if (grd_adjtord.col == grd_adjtord.colRef("judgclamoneqty")) {
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamoneqty")) != "") {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamamt")) = Math.round((unitcost * judgclamoneqty * judgclamdayqty * judgclamtotqty) * (1 + (corpactaddrate/100))); // 이의신청액
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
-
- // 이의신청일투
- if (grd_adjtord.col == grd_adjtord.colRef("judgclamdayqty")) {
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamdayqty")) != "") {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamamt")) = Math.round((unitcost * judgclamoneqty * judgclamdayqty * judgclamtotqty) * (1 + (corpactaddrate/100))); // 이의신청액
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
-
- // 이의신청총투
- if (grd_adjtord.col == grd_adjtord.colRef("judgclamtotqty")) {
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamtotqty")) != "") {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamamt")) = Math.round((unitcost * judgclamoneqty * judgclamdayqty * judgclamtotqty) * (1 + (corpactaddrate/100))); // 이의신청액
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
- // model.alert("aa");
- }else{
- if (grd_adjtord.col == grd_adjtord.colRef("judgclamoneqty")) {
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamoneqty")) != "") {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamamt")) = Math.round((unitcost * judgclamoneqty * judgclamdayqty * judgclamtotqty)); // 이의신청액
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
-
- // 이의신청일투
- if (grd_adjtord.col == grd_adjtord.colRef("judgclamdayqty")) {
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamdayqty")) != "") {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamamt")) = Math.round((unitcost * judgclamoneqty * judgclamdayqty * judgclamtotqty)); // 이의신청액
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
-
- // 이의신청총투
- if (grd_adjtord.col == grd_adjtord.colRef("judgclamtotqty")) {
- if (grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamtotqty")) != "") {
- grd_adjtord.rowStatus(curr_row) = 2; // update
- grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("judgclamamt")) = Math.round((unitcost * judgclamoneqty * judgclamdayqty * judgclamtotqty)); // 이의신청액
- //grd_adjtord.valueMatrix(curr_row,grd_adjtord.colRef("workflag")) = "appinfo"; // workflag = "appinfo" set
- }
- }
-
- }
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_adjtord.row
- row = row-1;
- var chk = model.getValue("/root/main/patinfodata/gridadjtord[" + row+ "]/check");
-
- if (chk == "Y") {
- grd_adjtord.rowstatus(grd_adjtord.row) = 2;
- } else if (chk == "N") {
- grd_adjtord.rowstatus(grd_adjtord.row) = 0;
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption32" class="tit_2" style="left:551px; top:595px; width:100px; height:13px; ">심사청구사유</caption>
- <line id="line12" class="line_1" style="x1:551px; y1:610px; x2:1194px; y2:610px; "/>
- <textarea id="textarea3" ref="/root/main/patinfodata/gridpatinfo/clamobtapprem" style="left:551px; top:615px; width:643px; height:104px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:404px; x2:1194px; y2:404px; "/>
- <caption id="caption36" class="tit_2" style="left:306px; top:104px; width:131px; height:13px; ">환자정보</caption>
- <line id="line2" class="line_1" style="x1:304px; y1:123px; x2:598px; y2:123px; "/>
- <caption id="caption38" class="tit_2" style="left:2px; top:595px; width:157px; height:13px; ">이의신청사유 및 비고란</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:610px; x2:548px; y2:610px; "/>
- <line id="line16" class="line_3" style="x1:0px; y1:745px; x2:1194px; y2:745px; "/>
- <textarea id="textarea4" ref="/root/main/patinfodata/gridpatinfo/obtapprem" style="left:0px; top:615px; width:548px; height:88px; "/>
- <output id="output1" ref="/root/main/patinfodata/gridpatinfo/orddrid" class="output_fix" appearance="output" style="left:375px; top:201px; width:70px; height:19px; "/>
- <output id="output2" ref="/root/main/patinfodata/gridpatinfo/ordtodd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:520px; top:201px; width:78px; height:19px; "/>
- <output id="output3" ref="/root/main/patinfodata/gridpatinfo/chosindayno" class="output_fix" appearance="output" style="left:520px; top:225px; width:78px; height:19px; "/>
- <caption id="caption22" class="cell_1" style="left:305px; top:200px; width:68px; height:23px; text-align:left; vertical-align:middle; ">진료의</caption>
- <output id="output4" ref="/root/main/patinfodata/gridpatinfo/insukind" class="output_fix" appearance="output" style="left:375px; top:225px; width:70px; height:19px; "/>
- <caption id="caption30" class="cell_1" style="left:448px; top:200px; width:70px; height:23px; text-align:left; vertical-align:middle; ">종료일</caption>
- <output id="output5" ref="/root/main/patinfodata/gridpatinfo/medcaredayno" class="output_fix" appearance="output" style="left:520px; top:249px; width:78px; height:19px; "/>
- <caption id="caption37" class="cell_1" style="left:305px; top:224px; width:68px; height:23px; text-align:left; vertical-align:middle; ">보험유형</caption>
- <output id="output6" ref="/root/main/patinfodata/gridpatinfo/payownbrate" class="output_fix" appearance="output" style="left:375px; top:249px; width:70px; height:19px; "/>
- <caption id="caption41" class="cell_1" style="left:448px; top:224px; width:70px; height:23px; text-align:left; vertical-align:middle; ">내원일수</caption>
- <caption id="caption42" class="cell_1" style="left:305px; top:248px; width:68px; height:23px; text-align:left; vertical-align:middle; ">적용요율</caption>
- <caption id="caption43" class="cell_1" style="left:448px; top:248px; width:70px; height:23px; text-align:left; vertical-align:middle; ">투약일수</caption>
- <textarea id="textarea6" ref="/root/main/patinfodata/gridpatinfo/rem" style="left:0px; top:705px; width:548px; height:38px; "/>
- <button id="button51" class="btn_sw" group="tab" selected="true" style="left:389px; top:275px; width:85px; height:22px; ">
- <caption>EDI메모</caption>
- <toggle case="edirem" ev:event="onclick"/>
- </button>
- <button id="button52" class="btn_sw" group="tab" style="left:474px; top:275px; width:85px; height:22px; ">
- <caption>심사자메모</caption>
- <toggle case="judgridrem" ev:event="onclick"/>
- </button>
- <switch id="switch2" style="left:304px; top:297px; width:515px; height:105px; border-color:#c7a3cf; border-style:solid; ">
- <case id="spcd" selected="true" style="left:0px; top:0px; width:511px; height:103px; ">
- <datagrid id="grd_clsphist" nodeset="/root/main/patinfodata/gridclsp" caption="X^구분^줄^EDI코드^특정코드^특정코드명^내역^형식^상세설명" colsep="^" colwidth="15, 30, 18, 66, 55, 80, 137, 55, 370" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:2px; top:2px; width:508px; height:98px; ">
- <col ref="rowstat"/>
- <col ref="unitflag" style="text-align:center; "/>
- <col ref="edilnno"/>
- <col ref="edicd"/>
- <col ref="spclcd"/>
- <col ref="spclnm"/>
- <col ref="spclspec" type="input"/>
- <col ref="spclformat"/>
- <col ref="detldesc"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_clsphist", false, "/root/hidden/popupmenu/gridclsp/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- if (event.button != 3) {
- var row = grd_clsphist.mouseRow;
- if (grd_clsphist.isCell(event.target) && row >= grd_clsphist.fixedRows) {
- // 해당 특정코드의 기재형식이 Message 용 output 컨트롤에 표시된다.
- var spclcd = model.getValue("/root/main/list3/clsp["+ row +"]/spclcd");
- if (spclcd == "JT001") {
- var spclspec = model.getValue("/root/main/list3/clsp["+ row +"]/spclspec");
- var spclformat = model.getValue("/root/main/list3/clsp["+ row +"]/spclformat");
- model.setValue("/root/hidden/list3/msgspclformat", "확인코드 - "+ spclcd +" / 입력코드내역 : "+ spclspec +" / 기재형식 : "+ spclformat);
- model.refresh();
- } else if (spclcd) {
- var cdnm = model.getValue("/root/main/list3/clsp["+ row +"]/cdnm");
- var spclspec = model.getValue("/root/main/list3/clsp["+ row +"]/spclspec");
- var spclformat = model.getValue("/root/main/list3/clsp["+ row +"]/spclformat");
- model.setValue("/root/hidden/list3/msgspclformat", "특정내역코드: "+ spclcd +" / 특정내역명칭: "+ cdnm +" / 기재내역: "+ spclspec +" / 기재형식: "+ spclformat);
- model.refresh();
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_clsphist.row;
- var newspclcd = model.getValue("/root/main/list3/clsp["+ row +"]/spclcd");
- var newspclspec = model.getValue("/root/main/list3/clsp["+ row +"]/spclspec");
- if (grd_clsphist.col == grd_clsphist.colRef("spclcd")) {
- var unitflag = model.getValue("/root/main/list3/clsp["+ row +"]/unitflag");
- if (unitflag == "M" && newspclcd != "") { // 명세서 단위
- if (newspclcd == "MT004" || newspclcd == "MT015" || newspclcd == "MT016" || newspclcd == "MX999") {
- // 중복된 특정코드가 있는지를 확인한다.
- for (var i = 1; i < grd_clsphist.rows; i++) {
- var oth_spclcd = model.getValue("/root/main/list3/clsp["+ i +"]/spclcd");
- if (row != i && newspclcd == oth_spclcd) {
- if (grd_clsphist.rowstatus(i) != 4) {
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/spclcd");
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/spclspec");
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/spclformat");
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/cdnm");
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/detldesc");
- model.setValue("/root/hidden/list3/msgspclformat", "명세서 단위 특정코드 '"+ newspclcd +"'가 중복되었습니다.");
- model.refresh();
- return;
- }
- }
- }
- }
- // 특정코드 MT015, MT016, MT004 정보가 입력된 환자인지를 확인한다.
- fCheckSpclSpecData();
- } else {
- if (newspclcd == "JX999" || newspclcd == "JT001") {
- // 중복된 특정코드가 있는지를 확인한다.
- var spclLnNo = model.getValue("/root/main/list3/clsp["+ row +"]/edilnno");
- for (var i = 1; i < grd_clsphist.rows; i++) {
- var oth_spclcd = model.getValue("/root/main/list3/clsp["+ i +"]/spclcd");
- var oth_spclLnNo = model.getValue("/root/main/list3/clsp["+ i +"]/edilnno");
- if (spclLnNo == oth_spclLnNo && row != i && newspclcd == oth_spclcd) {
- if (grd_clsphist.rowstatus(i) != 4) {
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/spclcd");
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/spclspec");
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/spclformat");
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/cdnm");
- model.resetInstanceNode("/root/main/list3/clsp["+ row +"]/detldesc");
- model.setValue("/root/hidden/list3/msgspclformat", "줄번호 "+ spclLnNo +"의 줄단위 특정코드 '"+ newspclcd +"'가 중복되었습니다.");
- model.refresh();
- return;
- }
- }
- }
- }
- }
-
- var p0117list = instance1.selectSingleNode("/root/init/P0117list");
- if (p0117list != null) {
- var p0117 = p0117list.childNodes;
- for (var i = 1; i <= p0117.length; i++) {
- var cdid = model.getValue("/root/init/P0117list/P0117["+ i +"]/cdid");
- if (cdid == newspclcd) {
- model.setValue("/root/main/list3/clsp["+ row +"]/cdnm", model.getValue("/root/init/P0117list/P0117["+ i +"]/cdnm"));
- model.setValue("/root/main/list3/clsp["+ row +"]/spclformat", model.getValue("/root/init/P0117list/P0117["+ i +"]/cdval"));
- model.setValue("/root/main/list3/clsp["+ row +"]/detldesc", model.getValue("/root/init/P0117list/P0117["+ i +"]/detldesc"));
- i = p0117.length + 1;
- }
- }
- }
- var rowstatus = grd_clsphist.rowstatus(row);
- // 특정코드, 특정내역이 변경되었거나 삭제된 특정코드를 조회하여 "확인"을 선택한 경우
- if (rowstatus == 1 || rowstatus == 3) { // 1 : insert, 3 : insert & new
- } else {
- grd_clsphist.rowstatus(row) = 2; // 2 : update 상태로 stat를 변경한다.
- }
-
- var cdnm = model.getValue("/root/main/list3/clsp["+ row +"]/cdnm");
- var spclformat = model.getValue("/root/main/list3/clsp["+ row +"]/spclformat");
- model.setValue("/root/hidden/list3/msgspclformat", "특정내역코드: "+ newspclcd +" / 특정내역명칭: "+ cdnm +" / 기재내역: "+ newspclspec +" / 기재형식: "+ spclformat);
- model.refresh();
- } else { // grd_clsphist.colRef("spclcd") 가 아닌 경우
- var unitflag = model.getValue("/root/main/list3/clsp["+ row +"]/unitflag");
- if (unitflag == "J") {
- if (newspclcd == "JT001") {
- var clsplnno = model.getValue("/root/main/list3/clsp["+ row +"]/edilnno");
- for (var j = 1; j < grd_clodhist.rows; j++) {
- var clodlnno = model.getValue("/root/main/list2/clod["+ j +"]/edilnno");
- if (clsplnno == clodlnno) {
- model.setValue("/root/main/list2/clod["+ j +"]/cnfmcd", newspclspec);
- }
- }
- if (newspclspec == "") { // 확인코드의 특정내역이 삭제된 경우임
- for (var j = 1; j < grd_clsphist.rows; j++) {
- var unitflag = model.getValue("/root/main/list3/clsp["+ j +"]/unitflag");
- if (unitflag == "J") {
- var spclLnno = model.getValue("/root/main/list3/clsp["+ j +"]/edilnno");
- var spclSpclcd = model.getValue("/root/main/list3/clsp["+ j +"]/spclcd");
- if (spclLnno == clsplnno && spclSpclcd == "JT001") {
- var rowstatus = grd_clsphist.rowstatus(j);
- if (rowstatus == 1 || rowstatus == 3) { // 1 : insert, 3 : insert & new
- grd_clsphist.deleteRow(j, true); // 해당 라인을 Grid에서 삭제한다.
- } else {
- grd_clsphist.rowstatus(j) = 4;
- }
- }
- }
- }
- model.setValue("/root/hidden/list3/msgspclformat", "입력된 확인코드 내역이 없습니다.");
- model.refresh();
- // 처방 행 삭제 or 삭제취소 후에 특정내역 sorting 작업
- fSortSpclNo();
- return;
- }
- }
- }
- var rowstatus = grd_clsphist.rowstatus(row);
- // 특정코드, 특정내역이 변경되었거나 삭제된 특정코드를 조회하여 "확인"을 선택한 경우
- if (rowstatus == 1 || rowstatus == 3) { // 1 : insert, 3 : insert & new
- } else {
- grd_clsphist.rowstatus(row) = 2; // 2 : update 상태로 stat를 변경한다.
- }
- var cdnm = model.getValue("/root/main/list3/clsp["+ row +"]/cdnm");
- var spclformat = model.getValue("/root/main/list3/clsp["+ row +"]/spclformat");
- model.setValue("/root/hidden/list3/msgspclformat", "특정내역코드: "+ newspclcd +" / 특정내역명칭: "+ cdnm +" / 기재내역: "+ newspclspec +" / 기재형식: "+ spclformat);
- model.refresh();
- // 처방 행 삭제 or 삭제취소 후에 특정내역 sorting 작업
- fSortSpclNo();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- var row = grd_clsphist.mouseRow;
- if (grd_clsphist.isCell(event.target) && row >= grd_clsphist.fixedRows) {
- var rowstatus = grd_clsphist.rowstatus(grd_clsphist.mouseRow);
- if (rowstatus == 0 || rowstatus == 2 || rowstatus == 4) { // DB에 저장된 data인 경우
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclcd")) = true;
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclspec")) = false;
- } else { // 신규로 추가한 경우
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclcd")) = false;
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclspec")) = false;
- var unitflag = model.getValue("/root/main/list3/clsp["+ grd_clsphist.mouseRow +"]/unitflag");
- if (unitflag == "J") {
- if (model.getValue("/root/main/list3/clsp["+ grd_clsphist.mouseRow +"]/spclcd") == "JT001") {
- // 확인코드의 경우 전용 팝업창을 사용하므로 특정내역 Grid에서 수정하지 않는다.
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclcd")) = true;
- grd_clsphist.cellComboNodeset(row, grd_clsphist.colRef("spclcd")) = "/root/init/P0117list/P0117[cdid = 'JT001']";
- } else {
- grd_clsphist.cellComboNodeset(row, grd_clsphist.colRef("spclcd")) = "/root/init/P0117list/P0117[cdid != 'JT001' and dispseq >= '27']";
- }
- } else {
- grd_clsphist.cellComboNodeset(row, grd_clsphist.colRef("spclcd")) = "/root/init/P0117list/P0117[dispseq < '27' and cdid != 'MX999']";
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 특정내역 Grid 에서 선택한 줄단위 특정내역을 조회하고, 명세서단위 특정내역을 수정/입력한다.
- if (grd_clsphist.isCell(event.target) && grd_clsphist.mouseRow >= grd_clsphist.fixedRows) {
- var row = grd_clsphist.mouseRow;
- if (model.getValue("/root/main/list3/clsp["+ row +"]/spclcd") == "JT001") {
- fSetCnfmCdSpclSpec();
- } else {
- fSetDocRefLnSpclSpec();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- // col@type = "input" 일 경우 onentercell시점에 EditMode 상태 만들기
- if (event.button != 3 && grd_clsphist.colType(grd_clsphist.col) == "input") {
- grd_clsphist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="edirem">
- <textarea id="textarea1" ref="/root/main/patinfodata/gridmemo/edimemo" scroll="vertical" style="left:2px; top:2px; width:508px; height:99px; "/>
- </case>
- <case id="judgridrem">
- <textarea id="textarea2" ref="/root/main/patinfodata/gridmemo/judgmemo" scroll="vertical" style="left:2px; top:2px; width:508px; height:99px; "/>
- </case>
- </switch>
- <button id="button9" class="btn2_letter2" style="left:1152px; top:590px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var judgclamrem = model.getValue("/root/main/patinfodata/gridpatinfo/clamobtapprem");
- var attdocu = model.getValue("/root/main/patinfodata/gridpatinfo/attdocu");
- var preday = model.getValue("/root/main/patinfodata/gridpatinfo/preday");
- var row = grd_pirhobtm.row;
- var judgdg = model.getValue("/root/main/obtmlist/gridpirhobtm[" + row + "]/judgdg");
- var clamno = model.getValue("/root/main/obtmlist/gridpirhobtm[" + row + "]/clamno");
- var acptno = model.getValue("/root/main/obtmlist/gridpirhobtm[" + row + "]/acptno");
- var docuseqno = model.getValue("/root/main/obtmlist/gridpirhobtm[" + row + "]/docuseqno");
- var obtappflag = model.getValue("/root/main/obtmlist/gridpirhobtm[" + row + "]/obtappflag");
- var instcd = model.getValue("/root/main/obtmlist/gridpirhobtm[" + row + "]/instcd");
-
- model.setValue("/root/send/send_judgclamrem/judgdg",judgdg);
- model.setValue("/root/send/send_judgclamrem/clamno",clamno);
- model.setValue("/root/send/send_judgclamrem/acptno",acptno);
- model.setValue("/root/send/send_judgclamrem/docuseqno",docuseqno);
- model.setValue("/root/send/send_judgclamrem/obtappflag",obtappflag);
- model.setValue("/root/send/send_judgclamrem/instcd",instcd);
- model.setValue("/root/send/send_judgclamrem/judgclamrem",judgclamrem);
- model.setValue("/root/send/send_judgclamrem/attdocu",attdocu);
- model.setValue("/root/send/send_judgclamrem/preday",preday);
-
- //model.alert(model.getValue("/root/send/send_judgclamrem/judgclamrem"));
-
- submit("TXPIR31102");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn_sw" group="tab" selected="true" style="left:304px; top:275px; width:85px; height:22px; ">
- <caption>특정내역</caption>
- <toggle case="spcd" ev:event="onclick"/>
- </button>
- <button id="button10" class="btn_sw" group="tab" selected="true" style="left:820px; top:272px; width:160px; height:22px; ">
- <caption>심평원문서내용(명일련)</caption>
- <toggle case="lnnorem" ev:event="onclick"/>
- </button>
- <button id="button11" class="btn_sw" group="tab" style="left:980px; top:272px; width:85px; height:22px; ">
- <caption>줄번호사유</caption>
- <toggle case="docurem" ev:event="onclick"/>
- </button>
- <switch id="switch3" style="left:820px; top:293px; width:374px; height:109px; border-color:#c7a3cf; border-style:solid; ">
- <case id="lnnorem" selected="true">
- <textarea id="textarea5" ref="/root/main/patinfodata/gridpatinfo/docuseqnorem" scroll="vertical" maxlength="1750" style="left:3px; top:3px; width:364px; height:102px; "/>
- </case>
- <case id="docurem">
- <datagrid id="datagrid1" nodeset="/root/main/patinfodata/gridlnnoadjtresncd" caption="줄번호^사유내용" colsep="^" colwidth="48, 299" mergecellsfixedrows="bycolrec" rowsep="|" style="left:3px; top:2px; width:365px; height:97px; ">
- <col ref="lnno"/>
- <col ref="adjtresncd"/>
- </datagrid>
- </case>
- </switch>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:57px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:5px; width:96px; height:17px; ">청구번호 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1130px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1115px; y1:30px; x2:1115px; y2:52px; "/>
- <select1 id="cmb_obtappflag" ref="/root/send/send_obtmlist/obtappflag" class="combo_search" navindex="3" appearance="minimal" style="left:1110px; top:5px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0264list/P0264">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- rdo_obtappflag.deselect(1);
- rdo_obtappflag.deselect(2);
- ]]>
- </script>
- </select1>
- <caption id="caption19" class="search_name" style="left:15px; top:33px; width:83px; height:17px; ">명일련 :</caption>
- <input id="input1" ref="/root/send/send_obtmlist/docuseqno" class="input_search" style="left:90px; top:32px; width:73px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:195px; top:5px; width:96px; height:17px; ">접수번호 :</caption>
- <caption id="caption4" class="search_name" style="left:380px; top:7px; width:88px; height:17px; ">심사차수 :</caption>
- <caption id="caption5" class="search_name" style="left:900px; top:6px; width:96px; height:17px; ">이신구분 :</caption>
- <caption id="caption21" class="search_name" style="left:564px; top:6px; width:88px; height:17px; ">묶음번호 :</caption>
- <input id="input7" ref="/root/send/send_obtmlist/setno" class="input_search" style="left:656px; top:5px; width:66px; height:19px; "/>
- <output id="output8" ref="/root/main/obtmlist/acptinfo/claminfo" class="output_search" style="left:297px; top:32px; width:248px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:749px; top:33px; width:99px; height:17px; ">이의신청액:</caption>
- <caption id="caption10" class="search_name" style="left:564px; top:33px; width:115px; height:17px; ">총삭감액:</caption>
- <caption id="caption11" class="search_name" style="left:941px; top:33px; width:75px; height:17px; ">부제기:</caption>
- <input id="input11" ref="/root/send/send_obtmlist/notidd" class="input_search" format="yyyy-mm-dd" style="left:826px; top:5px; width:66px; height:19px; "/>
- <caption id="caption12" class="search_name" style="left:734px; top:6px; width:110px; height:17px; ">도착일자 :</caption>
- <caption id="caption13" class="search_name" style="left:171px; top:33px; width:50px; height:17px; ">항 :</caption>
- <select1 id="combo3" ref="/root/send/send_obtmlist/item" class="combo_search" appearance="minimal" style="left:220px; top:33px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0123list/P0123">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_clamno" ref="/root/send/send_obtmlist/clamno" class="input_search" style="left:105px; top:5px; width:73px; height:19px; "/>
- <input id="ipt_acptno" ref="/root/send/send_obtmlist/acptno" class="input_s_essential" navindex="1" inputtype="button" style="left:286px; top:5px; width:73px; height:19px; "/>
- <output id="output9" ref="/root/main/obtmlist/acptinfo/obtappamt" class="output_search" format="#,###" style="left:843px; top:32px; width:90px; height:19px; text-align:right; "/>
- <output id="output10" ref="/root/main/obtmlist/acptinfo/abdamt" class="output_search" format="#,###" style="left:1009px; top:32px; width:90px; height:19px; text-align:right; "/>
- <output id="output12" ref="/root/main/obtmlist/acptinfo/adjtamt" class="output_search" format="#,###" style="left:645px; top:32px; width:91px; height:19px; text-align:right; "/>
- <input id="ipt_judgdg" ref="/root/send/send_obtmlist/judgdg" class="input_s_essential" navindex="2" style="left:471px; top:7px; width:73px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var retVal = null;
- // 접수번호와 심사차수로 청구번호(ClamNo)정보를 조회한다.
- var judgdg = model.getValue("/root/send/send_obtmlist/judgdg");
- var acptno = model.getValue("/root/send/send_obtmlist/acptno");
-
- model.setValue("/root/send/send_clamno/judgdg", judgdg);
- model.setValue("/root/send/send_clamno/acptno", acptno);
-
- // 심사차수, 접수번호로 청구번호를 조회하는 Sub.....
- submit("TRPIR31101");
-
- //alert("1111 : " + model.getValue("/root/hidden/list01/claminfo/clamno"));
- model.setValue("/root/send/send_obtmlist/clamno", model.getValue("/root/hidden/obtmlist/claminfo/clamno"));
- model.refresh();
- // var node = instance1.selectSingleNode("/root/hidden/list01");
- // node.replaceChild(instance1.root.hidden.list01.claminfo, instance1.root.send);
- ]]>
- </script>
- </input>
- <select1 id="rdo_obtappflag" ref="/root/send/send_obtmlist/rejudgflag" class="radio_search" navindex="4" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:992px; top:7px; width:114px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>재심제외</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- cmb_obtappflag.deselect(1);
- ]]>
- </script>
- </select1>
- </group>
- <button id="button3" class="btn2_letter2" style="left:1108px; top:408px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var startRow = grd_adjtord.fixedRows;
- var endRow = grd_adjtord.rows;
-
- //model.alert(startRow);
-
- startRow = startRow-1;
- endRow = endRow-1;
-
- for( var i = startRow; i < endRow; i++){
- if(model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/check") == 'Y' ){
- if(model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/obtappyn") == 'Y'){
- messageBox("삭감항목중 이미 신청한 항목이 존재 합니다. 확인 후 다시 시도해 주세요. ","E999");
- return;
- }
- }
- if(model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/judgclamamt") == '' || model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/judgclamamt") == '-' || model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/judgclamamt") == ' '){
- if(model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/abdyn") != 'Y'){
- messageBox("심사청구액 혹은 부재기 사유메모항목이 누락되어 저장을 할 수 없습니다. 입력후 저장해 주세요!","E999");
- return;
- }
- }
- }
-
- var obtm_row = grd_pirhobtm.row
- var obtm_check = model.getValue("/root/main/obtmlist/gridpirhobtm["+ obtm_row +"]/judgclamendflag");
-
- if(obtm_check == 'Y'){
- messageBox("해당 대상자는 이미 심사마감 되어 저장 할 수 없습니다. 확인 후 다시 시도해 주세요. ","E999");
- return false;
-
- }
-
- //var judgclamamt = model.getValue("/root/main/patinfodata/gridadjtord/judgclamamt");
- //var abdresnmemo = model.getValue("/root/main/patinfodata/gridadjtord/abdresnmemo");
-
- /*
- if(judgclamamt == '0'){
- if( messageBox("이의신청금액이 0원입니다. 계속 진행 하시겠습니까?", "Q999", "") != 6 ){
- return false;
- }
- }
-
-
- if(judgclamamt == '' || judgclamamt == '-' || judgclamamt == ' '){
- if(abdresnmemo == '' || abdresnmemo == '-' || abdresnmemo == ' ' ){
- messageBox("심사청구액 혹은 부재기 사유메모항목이 누락되어 저장을 할 수 없습니다. 입력후 저장해 주세요!","E999");
- return;
- }
- }
- */
- model.setValue("/root/main/temp/gridadjtord", grd_adjtord.getUpdateData());
- //model.alert(model.getValue("/root/main/temp/gridadjtord"));
- submit("TXPIR31101"); // 삭감항목 update된거 저장
-
- fSearch();
- ]]>
- </script>
- </button>
- <group id="group1" style="left:0px; top:68px; width:1195px; height:33px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:31px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line5" class="line_4" style="x1:1116px; y1:5px; x2:1116px; y2:27px; "/>
- <select1 id="combo1" ref="/root/hidden/filterlist/filter/orddeptcd" class="combo_search" appearance="minimal" style="left:100px; top:6px; width:73px; height:19px; ">
- <!-- 원래 공통 P0287-->
- <choices>
- <itemset nodeset="/root/main/obtmlist/deptinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption33" class="search_name" style="left:15px; top:7px; width:83px; height:17px; ">진 료 과 :</caption>
- <caption id="caption34" class="search_name" style="left:195px; top:7px; width:73px; height:17px; ">진료의 :</caption>
- <caption id="caption35" class="search_name" style="left:364px; top:7px; width:93px; height:17px; ">심 사 자 :</caption>
- <button id="button6" class="btn1_letter2" style="left:1130px; top:5px; width:56px; height:22px; ">
- <caption>필터</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 필터
- fGetSelectedData();
- ]]>
- </script>
- </button>
- <button id="btn_initfilter" class="btn2_letter5" style="left:1036px; top:7px; width:75px; height:19px; ">
- <caption>필터초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 필터용 조회조건을 초기화한다. 하하하
- fInitFilter();
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/hidden/filterlist/filter/orddrid" class="combo_search" appearance="minimal" style="left:272px; top:7px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/doctinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo4" ref="/root/hidden/filterlist/filter/judgrid" class="combo_search" appearance="minimal" style="left:450px; top:7px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/judgrinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <output id="opt_obtappdocuno" class="output_fix" style="left:230px; top:103px; width:60px; height:19px; "/>
- <caption id="caption7" style="left:178px; top:106px; width:50px; height:14px; ">문서번호</caption>
- <button id="button8" class="btn5_letter2" style="left:1152px; top:408px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var startRow = grd_adjtord.fixedRows;
- var endRow = grd_adjtord.rows;
-
- //model.alert(startRow);
-
- startRow = startRow-1;
- endRow = endRow-1;
-
- for( var i = startRow; i < endRow; i++){
- if(model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/check") == 'Y' ){
- if(model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/obtappyn") == 'N'){
- messageBox("삭감항목중 취소할 항목이 존재 하지 않는 항이 존재합니다. 확인 후 다시 시도해 주세요. ","E999");
- return;
- }
- }
- }
-
- var obtm_row = grd_pirhobtm.row
- var obtm_check = model.getValue("/root/main/obtmlist/gridpirhobtm["+ obtm_row +"]/judgclamendflag");
-
- if(obtm_check == 'Y'){
- messageBox("해당 대상자는 이미 심사마감 되어 취소할 수 없습니다. 확인 후 다시 시도해 주세요. ","E999");
- return false;
-
- }
-
- model.setValue("/root/main/temp/gridadjtord", grd_adjtord.getUpdateData());
-
- submit("TXPIR31105"); // 삭감항목 update된거 저장
-
- fSearch();
-
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:954px; top:408px; width:64px; height:19px; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makevalue("/root/hidden/smaer00800/cond/srchdate1", "");
- model.makevalue("/root/hidden/smaer00800/cond/srchdate2", "");
- model.makevalue("/root/hidden/smaer00800/cond/srchpid", model.getValue("/root/main/patinfodata/gridpatinfo/pid"));
- model.makevalue("/root/hidden/smaer00800/cond/wardcd", "");
- model.makevalue("/root/hidden/smaer00800/cond/roomcd", "");
- model.makevalue("/root/hidden/smaer00800/cond/listflag", "P");
- model.makevalue("/root/hidden/smaer00800/cond/deptcd", "");
- model.makevalue("/root/hidden/smaer00800/cond/drid", "");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck", "");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck1", "A");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck2", "B");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck3", "C");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck4", "D");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck5", "E");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck6", "F");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck7", "G");
- model.makevalue("/root/hidden/smaer00800/cond/chkcheck8", "");
- model.makevalue("/root/hidden/smaer00800/cond/tabflag", "");
- model.makevalue("/root/hidden/smaer00800/cond/mdlcd", "");
- model.makevalue("/root/hidden/smaer00800/cond/examgubun", "");
- open("SMAER00800" ,"", "10", "10", "SMAER00800", "/root/hidden/smaer00800/cond", "/root/send/data/singdata", "", "");
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter6" style="left:1020px; top:408px; width:86px; height:19px; ">
- <caption>심사화면보기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var row = grd_pirhobtm.row;
- if (grd_pirhobtm.row >= grd_pirhobtm.fixedRows ) {
-
- if (grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")) == "I") {
- var preDocuWindow = getChildWindow("SMPID20300");
- } else {
- var preDocuWindow = getChildWindow("SMPID20500");
- }
-
-
- if (preDocuWindow == null) {
- model.setValue("/root/send/send_afjudg/workflag", "12");
- model.setValue("/root/send/send_afjudg/clamym",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamym")));
- model.setValue("/root/send/send_afjudg/clamdg",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamdg")));
- model.setValue("/root/send/send_afjudg/pid",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pid")));
- model.setValue("/root/send/send_afjudg/pidsn",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pidsn")));
- model.setValue("/root/send/send_afjudg/ioflag",grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")));
-
- if (grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")) == "I") {
- open("SMPID20300", "2", "10", "10", "SMPID20300", "/root/send/send_afjudg","/root/send/item1/clbs", "", "");
- } else {
- open("SMPID20500", "2", "10", "10", "SMPID20500", "/root/send/send_afjudg","/root/send/item1/clbs", "", "");
- }
- } else {
- if (grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")) == "I") {
- model.setValue("/root/hidden/smpid20300/cond/workflag", "12");
- model.setValue("/root/hidden/smpid20300/cond/clamym", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamym")));
- model.setValue("/root/hidden/smpid20300/cond/clamdg", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamdg")));
- model.setValue("/root/hidden/smpid20300/cond/pid", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pid")));
- model.setValue("/root/hidden/smpid20300/cond/pidsn", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pidsn")));
- model.setValue("/root/hidden/smpid20300/cond/ioflag", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")));
- preDocuWindow.javascript.fActivatePreDocuWindow();
- activateChild("SMPID20300");
- } else {
- model.setValue("/root/hidden/smpid20500/cond/workflag", "12");
- model.setValue("/root/hidden/smpid20500/cond/clamym", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamym")));
- model.setValue("/root/hidden/smpid20500/cond/clamdg", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("clamdg")));
- model.setValue("/root/hidden/smpid20500/cond/pid", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pid")));
- model.setValue("/root/hidden/smpid20500/cond/pidsn", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("pidsn")));
- model.setValue("/root/hidden/smpid20500/cond/ioflag", grd_pirhobtm.valueMatrix(row,grd_pirhobtm.colRef("ioflag")));
- preDocuWindow.javascript.fActivatePreDocuWindow();
- activateChild("SMPID20500");
- }
-
- }
- }
- ]]>
- </script>
- </button>
- <select id="chk_attdocu" ref="/root/main/patinfodata/gridpatinfo/attdocu" overflow="visible" appearance="full" cellspacing="1" cols="5" sep="," vcellspacing="10" style="left:619px; top:721px; width:568px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>심사결과통보문서 사본</label>
- <value>1</value>
- </item>
- <item>
- <label>이의신청 및 처리결과통보문서 사본</label>
- <value>2</value>
- </item>
- <item>
- <label>심사청구이유서 및 부속서</label>
- <value>3</value>
- </item>
- <item>
- <label>소견서</label>
- <value>4</value>
- </item>
- </choices>
- </select>
- <caption id="caption16" class="tit_2" style="left:552px; top:727px; width:69px; height:13px; ">첨부문서</caption>
- <line id="line8" class="line_3" style="x1:551px; y1:722px; x2:1194px; y2:722px; "/>
- <select id="checkbox2" ref="/root/main/patinfodata/gridpatinfo/attdocu" visibility="hidden" overflow="visible" appearance="full" cellspacing="1" cols="7" sep="," vcellspacing="10" style="left:620px; top:720px; width:535px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>5.기타</label>
- <value>5</value>
- </item>
- <item>
- <label>6.진료기록부사본</label>
- <value>6</value>
- </item>
- <item>
- <label>7.CD</label>
- <value>7</value>
- </item>
- <item>
- <label>8.필름</label>
- <value>8</value>
- </item>
- <item>
- <label>9.기타</label>
- <value>9</value>
- </item>
- <item>
- <label>10.신규</label>
- <value>10</value>
- </item>
- <item>
- <label>11.변경</label>
- <value>11</value>
- </item>
- </choices>
- </select>
- <caption id="caption17" class="tit_2" style="left:835px; top:595px; width:100px; height:14px; ">예치일 :</caption>
- <input id="input3" ref="/root/main/patinfodata/gridpatinfo/preday" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:910px; top:590px; width:100px; height:19px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:760px; width:1195px; height:24px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button7" class="btn3_letter7" style="left:0px; top:2px; width:116px; height:22px; ">
- <caption>심사청구서 출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/send/send_prnt/judgdg",model.getValue("/root/send/send_obtmlist/judgdg"));
- model.setValue("/root/send/send_prnt/clamno",model.getValue("/root/send/send_obtmlist/clamno"));
- model.setValue("/root/send/send_prnt/acptno",model.getValue("/root/send/send_obtmlist/acptno"));
- model.setValue("/root/send/send_prnt/obtappflag",model.getValue("/root/send/send_obtmlist/obtappflag"));
-
- var insukind = model.getValue("/root/main/patinfodata/gridpatinfo/insukind");
- model.setValue("/root/send/send_prnt/insukind",insukind.substr(0,2));
-
- modal("SPPIR30500", 1, 1, 1, "SPPIR30500", "/root/send/send_prnt", "/root/receiveref");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter4" style="left:119px; top:2px; width:80px; height:22px; ">
- <caption>심사마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makeNode("/root/hidden/enddate/obtappdd");
- model.makeNode("/root/hidden/enddate/notidd");
- model.makeNode("/root/hidden/enddate/obtappdocuno");
-
- var curDate = getCurrentDate();
- model.setValue("/root/hidden/enddate/obtappdd", curDate);
-
- var notidd = model.getValue("/root/send/send_obtmlist/notidd");
- model.setValue("/root/hidden/enddate/notidd", notidd);
-
- // 이의신청문서번호 값 조정 ( '보험'을 찍어준다)
- var obtappdocuno = model.getValue("/root/hidden/enddate/obtappdocuno");
- if (obtappdocuno == "" || obtappdocuno == "-") {
- model.setValue("/root/hidden/enddate/obtappdocuno", "보험");
- ipt_obtappdocuno.refresh();
- }
-
- var endRow = grd_pirhobtm.rows;
- var a = 0;
-
- for( var i = 0; i < endRow; i++){
- if(model.getValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/check") == 'Y' ){
- a++;
- }
- }
-
- if( a == '0'){
- messageBox("심사 마감할 항목이 선택되지 않았습니다. 대상자를 선택 후 다시 시도해 주세요. ","E999");
- return;
-
- }
-
- grp_memo.visible = true;
-
- ]]>
- </script>
- </button>
- <button id="button5" class="btn3_letter6" style="left:201px; top:1px; width:104px; height:22px; ">
- <caption>심사마감취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( messageBox("선택하신 대상자를 마감취소 하시겠습니까 ?", "Q999", "") != 6){
- return false;
- }
-
- var endRow = grd_pirhobtm.rows;
- var a = 0;
-
- for( var i = 0; i < endRow; i++){
- if(model.getValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/check") == 'Y' ){
- a++;
- }
- }
-
- if( a == '0'){
- messageBox("심사 마감취소할 항목이 선택되지 않았습니다. 대상자를 선택 후 다시 시도해 주세요. ","E999");
- return;
-
- }
-
- var cur_row = grd_pirhobtm.row
-
- if( cur_row > 0 ){
- model.setValue("/root/send/updatedata/datalist",grd_pirhobtm.getUpdateData());
-
- submit("TXPIR31104")
- grd_pirhobtm.clearStatus();
-
- model.removeNodeset("/root/send/updatedata/datalist");
- model.makeNode("/root/send/updatedata/datalist");
- model.refresh();
- }
-
- fSearch();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_memo" visibility="hidden" style="left:435px; top:361px; width:285px; height:144px; border-color:#c7a3cf; border-style:solid; ">
- <caption id="cpt_text" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">심사청구 마감</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:15px; x2:277px; y2:15px; "/>
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:275px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_cancel" class="btn4_letter2" style="left:217px; top:113px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.destroy("/root/hidden/enddate");
- model.makeNode("/root/hidden/enddate");
-
- grp_memo.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_end" class="btn4_letter2" style="left:159px; top:113px; width:56px; height:22px; ">
- <caption>마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var startRow = grd_adjtord.fixedRows;
- var endRow = grd_adjtord.rows;
-
- //model.alert(startRow);
-
- startRow = startRow-1;
- endRow = endRow-1;
-
- for( var i = startRow; i < endRow; i++){
- if(model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/obtappyn") != 'Y' && model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/abdyn") != 'Y'){
- // if(model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/abdyn") == '' || model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/obtappyn") == '-' || model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/obtappyn") == ' ' ){ //model.getValue("/root/main/patinfodata/gridadjtord["+ startRow +"]/obtappyn") == ''){
- messageBox("삭감항목중 이의신청 혹은 부재기 처리되지 않은 항목이 존재 합니다. 확인 후 다시 시도해 주세요. ","E999");
- return;
- // }
- }
- }
-
- var row = grd_pirhobtm.row;
- var rows = grd_pirhobtm.rows;
- //rows = rows;
-
- //model.alert(row);
- //model.makeValue("/root/main/obtmlist/gridpirhobtm/check");
-
- var check = model.getValue("/root/main/obtmlist/gridpirhobtm["+ row +"]/check");
- var judgclamendflag = model.getValue("/root/main/obtmlist/gridpirhobtm["+ row +"]/judgclamendflag");
- var obtappyn = model.getValue("/root/main/obtmlist/gridpirhobtm["+ row +"]/obtappyn");
-
- /*
- if( obtappyn == 'N'){
- messageBox("이의신청이 확인이 안된 대상자는 마감을 할 수 없습니다.. ","E999");
- //model.setValue("/root/main/obtmlist/gridpirhobtm["+ row +"]/check", 'N');
- return;
- }
- */
- if(judgclamendflag == 'Y'){
- messageBox("이미 심사마감이 되어 있는 대상자 입니다. 확인 후 다시 시도해 주세요. ","E999");
- //model.setValue("/root/main/obtmlist/gridpirhobtm["+ row +"]/check", 'N');
- return;
- }
-
-
- if( messageBox("선택하신 대상자를 마감 하시겠습니까 ?", "Q999", "") != 6){
- return false;
- }
-
- for( var i = 1; i < rows; i++){
- if(model.getValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/check") == 'Y'){
- model.setValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/notidd", model.getValue("/root/hidden/enddate/notidd"));
- model.setValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/obtappdd", model.getValue("/root/hidden/enddate/obtappdd"));
- model.setValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/obtappdocuno", model.getValue("/root/hidden/enddate/obtappdocuno"));
- // model.alert(model.getValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/notidd"));
- // model.alert(model.getValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/obtappdd"));
- // model.alert(model.getValue("/root/main/obtmlist/gridpirhobtm["+ i +"]/obtappdocuno"));
- }
- }
-
- var cur_row = grd_pirhobtm.row
-
- if( cur_row > 0 ){
-
- model.setValue("/root/send/updatedata/datalist",grd_pirhobtm.getUpdateData());
-
- //model.alert(model.getValue("/root/send/updatedata/datalist"));
-
- submit("TXPIR31103")
-
- grd_pirhobtm.clearStatus();
-
- model.removeNodeset("/root/send/updatedata/datalist");
- model.makeNode("/root/send/updatedata/datalist");
-
- fSearch();
-
- model.refresh();
- }
-
- // model.destroy("/root/hidden/enddate");
- // model.makeNode("/root/hidden/enddate");
-
- grp_memo.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption8" class="search_name" style="left:15px; top:84px; width:138px; height:17px; ">심사청구문서번호 :</caption>
- <caption id="caption14" class="search_name" style="left:15px; top:29px; width:138px; height:17px; ">심사결과통보일자 :</caption>
- <input id="ipt_obtappdd" ref="/root/hidden/enddate/obtappdd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:160px; top:55px; width:100px; height:19px; "/>
- <input id="ipt_notidd" ref="/root/hidden/enddate/notidd" class="input_default" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:160px; top:28px; width:100px; height:19px; "/>
- <input id="ipt_obtappdocuno" ref="/root/hidden/enddate/obtappdocuno" class="input_search" style="left:160px; top:83px; width:100px; height:19px; "/>
- <caption id="caption29" class="search_name" style="left:15px; top:56px; width:163px; height:17px; ">심사청구신청일자 :</caption>
- <input id="input2" ref="/root/hidden/enddate/obtappdocuno" class="input_search" style="left:160px; top:83px; width:100px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|