1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152 |
- <?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="">
- <send>
- <send_base>
- <ioflag/>
- <clamflag/>
- <ddflag/>
- <fromdd/>
- <todd/>
- <clamdg/>
- <insukindcd/>
- <ordfildcd/>
- <insukindcd1/>
- <insukindcd2/>
- <insukindcd3/>
- <insukindcd4/>
- <insukindcd5/>
- <srchond>A</srchond>
- <clamdg1/>
- <clamdg2/>
- <clamdg3/>
- <clamdg4/>
- <clamdg5/>
- <calc>Y</calc>
- </send_base>
- <send_ind>
- <orddeptcd/>
- <ioflag/>
- <clamflag/>
- <ddflag/>
- <fromdd/>
- <todd/>
- <clamdg/>
- <insukindcd/>
- <ordfildcd/>
- <insukindcd1/>
- <insukindcd2/>
- <insukindcd3/>
- <insukindcd4/>
- <insukindcd5/>
- <sumtypecd/>
- <calc/>
- </send_ind>
- <send_prcp>
- <acptno/>
- <acptdd/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <clamym/>
- <ordym/>
- <clamtypecd/>
- <clamdg/>
- <ioflag/>
- <clamflagcd/>
- <ddflag/>
- <fromdd/>
- <todd/>
- <clamdg/>
- <insukindcd/>
- <ordfildcd/>
- <insukindcd1/>
- <insukindcd2/>
- <insukindcd3/>
- <insukindcd4/>
- <insukindcd5/>
- <pidsn/>
- <orddeptcd/>
- </send_prcp>
- <send_clamdg>
- <fromdd/>
- <todd/>
- <ioflag/>
- <insukind/>
- <clamflag/>
- <ordfildcd/>
- <dateflag/>
- </send_clamdg>
- <prtoption>
- <ioflag>I</ioflag>
- <judgtype>B</judgtype>
- <clamym/>
- <clamflag>0</clamflag>
- <calc/>
- <printtype>1</printtype>
- </prtoption>
- </send>
- <main>
- <list1>
- <griddeptfild>
- <orddeptcd/>
- <depthngnm/>
- <deptengabbr/>
- <ordfildcd/>
- <inhospcnt/>
- <inhosptotordamt/>
- <inhospnopytotordamt/>
- <inhospownbtotamt/>
- <inhosppaytotordamt/>
- <inhosppayownbamt/>
- <inhosppayclamamt/>
- <inhospownbmaxexamt/>
- <inhospsuppamt/>
- <inhospsubtamt/>
- <inhosphandcaprfund/>
- <omitcnt/>
- <omitamt/>
- <acptaddamt/>
- <acptcutamt/>
- <acptamt/>
- <bfcnt/>
- <bfmedcaretotamt/>
- <bfownbamt/>
- <bfinsuclamamt/>
- <bfownbmaxexamt/>
- <bfsuppamt/>
- <bfsubtamt/>
- <bfhandcaprfund/>
- <cntrslt/>
- <medcaretotamtrslt/>
- <clamaddamtrslt/>
- <clamcutamtrslt/>
- <clamamtrslt/>
- <afcnt/>
- <afmedcaretotamt/>
- <afownbamt/>
- <afinsuclamamt/>
- <afownbmaxexamt/>
- <afsuppamt/>
- <afsubtamt/>
- <afhandcaprfund/>
- <ordym/>
- <clamym/>
- <clamflagcd/>
- <clamdg/>
- <acptdd/>
- <acptno/>
- </griddeptfild>
- </list1>
- <list2>
- <gridindprescond>
- <acptno/>
- <acptdd/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <clamym/>
- <clamtypecd/>
- <clamdg/>
- <insusubflag/>
- <assomark/>
- <nm/>
- <supp/>
- <apprate/>
- <ordfildcd/>
- <orddeptcd/>
- <clamdeptcd/>
- <judgrid/>
- <atdoctnm/>
- <atdoctid/>
- <inhospcnt/>
- <inhosptotordamt/>
- <inhosppaytotordamt/>
- <inhospnopytotordamt/>
- <inhospownbtotamt/>
- <inhosppayownbamt/>
- <inhosppayclamamt/>
- <inhospownbmaxexamt/>
- <inhospsuppamt/>
- <inhospsubtamt/>
- <inhosphandcaprfund/>
- <omitcnt/>
- <omitamt/>
- <acptaddamt/>
- <acptcutamt/>
- <acptamt/>
- <bfcnt/>
- <bfmedcaretotamt/>
- <bfnopytotordamt/>
- <bfpaytotordamt/>
- <bfpayownbamt/>
- <bfpayclamamt/>
- <bfownbmaxexamt/>
- <bfsuppamt/>
- <bfsubtamt/>
- <bfhandcaprfund/>
- <cntrslt/>
- <medcaretotamtrslt/>
- <clamaddamtrslt/>
- <clamcutamtrslt/>
- <clamamtrslt/>
- <afcnt/>
- <afpaytotordamt/>
- <afpayownbamt/>
- <afpayclamamt/>
- <afownbmaxexamt/>
- <afsuppamt/>
- <afsubtamt/>
- <afhandcaprfund/>
- <pidsn/>
- </gridindprescond>
- </list2>
- <list3>
- <gridindprcpspec>
- <item1/>
- <item2/>
- <grupcalcscorcd/>
- <snglcalcscorcd/>
- <basecd/>
- <hngnm/>
- <rcptcalcamt/>
- <insudiffamt/>
- <afttims/>
- <aftdayno/>
- <aftamt/>
- <bfrtims/>
- <bfrdayno/>
- <bframt/>
- <difamt/>
- <estmyn/>
- </gridindprcpspec>
- <info>
- <pid/>
- <patnm/>
- <ordfildcd/>
- <orddeptcd/>
- </info>
- </list3>
- <list4>
- <amtsumtable/>
- </list4>
- </main>
- <init>
- <insukindcdlist>
- <insukindcd>
- <label>보험</label>
- <value>1</value>
- </insukindcd>
- <insukindcd>
- <label>급여</label>
- <value>2</value>
- </insukindcd>
- <insukindcd>
- <label>자보</label>
- <value>3</value>
- </insukindcd>
- <insukindcd>
- <label>산재</label>
- <value>4</value>
- </insukindcd>
- </insukindcdlist>
- <P0291list>
- <P0291>
- <cdid/>
- <cdnm/>
- </P0291>
- </P0291list>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- <P0010list>
- <P0010>
- <cdid/>
- <cdnm/>
- </P0010>
- </P0010list>
- <P0426list>
- </P0426list>
- <clamdglist>
- <clamdg>
- <cdid/>
- <cdnm/>
- </clamdg>
- </clamdglist>
- <P0151list>
- <P0151>
- <cdid/>
- <cdnm/>
- </P0151>
- </P0151list>
- <P0471list>
- <P0471>
- <cdid/>
- <cdnm/>
- </P0471>
- </P0471list>
- </init>
- <hidden/>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_base" resultref="/root/main/list1"/>
- <submission id="TRPIF00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_ind" resultref="/root/main/list2"/>
- <submission id="TRPIF00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_prcp" resultref="/root/main/list3"/>
- <submission id="TRPIF00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_base"/>
- <submission id="TRPIF00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamdg" resultref="/root/init/clamdglist/clamdg"/>
- <submission id="TRPIF00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_prcp" resultref="/root/main/list3"/>
- <submission id="TRPIF00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prtoption" resultref="/root/main/list4"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드 Load작업
- CommCode_Load();
-
- //과별분야별 그리드 컬럼고정
- grd_deptfild.frozenCols = grd_deptfild.colRef("deptengabbr");
-
- //개인별 그리드 컬럼고정
- grd_indprescond.frozenCols = grd_indprescond.colRef("docuseqno");
-
- // 초기화작업
- fInitialize();
-
- // model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load(){
- zbcfGetCodeList(new Array("P0291","P0155","P0010","P0426", "P0151", "P0471"),
- new Array( "/root/init/P0291list","/root/init/P0155list","/root/init/P0010list","/root/init/P0426list", "/root/init/P0151list", "/root/init/P0471list")); // P0291(진료분야(심사청구서)), P0155(청구상태), P0010(보조유형코드),P0426(청구구분-청구서)
- }
-
- // 초기화
- function fInitialize(){
- // 각 조건 초기값 적용
- cmb_ioflag.value = 'I'; // 내원유형 : 1.입원
- cmb_ordfildcd.value = ""; // 청구분야 : 빈값
- cmb_clamflag.value = '0'; // 청구구분 : 0.원청구
- ipt_fromdd.value = getCurrentDate(); // 미수년월 : 오늘
-
- // fDateChk();
- // cmb_clamdg.value = '1'; // 청구차수 : 1
- // addComboItem("cmb_clamdg","1","","above");
- // cmb_clamdg.refresh();
-
-
- /*
- model.makeValue("/root/init/clamdglist/clamdg/cdid", "1");
- model.makeValue("/root/init/clamdglist/clamdg/cdnm", "1");
- copyNodeType("/root/send/send_base/clamdg", "/root/init/clamdglist/clamdg", "after");
- */
- //model.alert(model.getValue("/root/send/send_base/clamdg"));
- //model.setValue("/root/send/send_base/clamdg", model.getValue("/root/init/clamdglist/clamdg/cdid"));
- //model.alert(model.getValue("/root/send/send_base/clamdg"));
-
- //차수상태
- cmb_clamdg.disabled = false;
- input1.disabled = true;
- input2.disabled = true;
- input3.disabled = true;
- input4.disabled = true;
- input5.disabled = true;
-
- input1.value = "";
- input2.value = "";
- input3.value = "";
- input4.value = "";
- input5.value = "";
-
- chk_insukindcd.value = "11"; // 보험유형 : 11.보험
-
- cmb_clamflag.visible = true;
-
- model.setValue("/root/send/send_base/srchond", "A");
- //버튼 숨김
- button8.visible = false; //파일생성버튼 숨김
- button9.visible = false; //파일다운로드 버튼 숨김
- button1.visible = true; //조회 버튼 보이기
- button11.visible = true; //과별 엑셀 저장 보이기
- button4.visible = false; //개인별 엑셀 저장 숨김
- button6.visible = false; //처방내역 엑셀 저장 숨김
-
-
- // 각 그리드 초기화
- model.removeNodeset("/root/main/list1/griddeptfild");
- model.removeNodeset("/root/main/list2/gridindprescond");
- model.removeNodeset("/root/main/list3/gridindprcpspec");
-
- model.refresh();
-
- //addComboItem("cmb_clamdg","1","","above");
- //cmb_clamdg.refresh();
- model.setValue("/root/send/send_base/clamdg","1");
- }
-
- // 조회조건 확인
- function fSrchChk(){
- // 보험유형 다중선택할 경우.
- var insukindcd = model.getValue("/root/send/send_base/insukindcd");
- var insukindcdlength = insukindcd.length;
-
- if (insukindcd == "00") {
- model.setValue("/root/send/send_base/insukindcd1","XX");
- model.setValue("/root/send/send_base/insukindcd2","XX");
- model.setValue("/root/send/send_base/insukindcd3","XX");
- model.setValue("/root/send/send_base/insukindcd4","XX");
- model.setValue("/root/send/send_base/insukindcd5","ALL");
- } else {
- if (insukindcdlength > 1) {
- var insukindcd1 = insukindcd.substr(0,2);
- var insukindcd2 = insukindcd.substr(3,2);
- var insukindcd3 = insukindcd.substr(6,2);
- var insukindcd4 = insukindcd.substr(9,2);
-
-
- model.setValue("/root/send/send_base/insukindcd1",insukindcd1);
- model.setValue("/root/send/send_base/insukindcd2",insukindcd2);
- model.setValue("/root/send/send_base/insukindcd3",insukindcd3);
- model.setValue("/root/send/send_base/insukindcd4",insukindcd4);
-
- if (insukindcd1 == "21" || insukindcd2 == "21" ||insukindcd3 == "21" ||insukindcd4 == "21")
- model.setValue("/root/send/send_base/insukindcd5","22");
- else if (insukindcd1 == "11" || insukindcd2 == "11" ||insukindcd3 == "11" ||insukindcd4 == "11")
- model.setValue("/root/send/send_base/insukindcd5","42");
- else
- model.setValue("/root/send/send_base/insukindcd5","XX");
-
- if (model.getValue("/root/send/send_base/insukindcd1") == "")
- model.setValue("/root/send/send_base/insukindcd1","XX");
- if (model.getValue("/root/send/send_base/insukindcd2") == "")
- model.setValue("/root/send/send_base/insukindcd2","XX");
- if (model.getValue("/root/send/send_base/insukindcd3") == "")
- model.setValue("/root/send/send_base/insukindcd3","XX");
- if (model.getValue("/root/send/send_base/insukindcd4") == "")
- model.setValue("/root/send/send_base/insukindcd4","XX");
- }
- }
-
- // 미수월과 진료월의 년월만 갖기
- var fromdd = model.getValue("/root/send/send_base/fromdd");
- //var todd = model.getValue("/root/send/send_base/todd");
-
- var fromdd1 = fromdd.substr(0,6);
- //var todd1 = todd.substr(0,6);
-
- model.setValue("/root/send/send_base/fromdd", fromdd1);
- //model.setValue("/root/send/send_base/todd", todd1);
-
-
- var clamdg1 = model.getValue("/root/send/send_base/clamdg1");
- var clamdg2 = model.getValue("/root/send/send_base/clamdg2");
- var clamdg3 = model.getValue("/root/send/send_base/clamdg3");
- var clamdg4 = model.getValue("/root/send/send_base/clamdg4");
- var clamdg5 = model.getValue("/root/send/send_base/clamdg5");
-
- if(clamdg1 == "" || clamdg1 == " "){
- model.setValue("/root/send/send_base/clamdg1", "0")
- }
- if(clamdg2 == "" || clamdg2 == " "){
- model.setValue("/root/send/send_base/clamdg2", "0")
- }
- if(clamdg3 == "" || clamdg3 == " "){
- model.setValue("/root/send/send_base/clamdg3", "0")
- }
- if(clamdg4 == "" || clamdg4 == " "){
- model.setValue("/root/send/send_base/clamdg4", "0")
- }
- if(clamdg5 == "" || clamdg5 == " "){
- model.setValue("/root/send/send_base/clamdg5", "0")
- }
-
- return true;
- }
-
- //과별/분야별 subtotal
- // 20110105 JHP 재원, 사전, 사후 긴급지원금, 희귀지원금 추가에 따른 subtotal증가
- function fDeptFildSubtotal(){
- grd_deptfild.subtotalposition= "below";
-
- grd_deptfild.subtotal("sum",4,5,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", false);
- grd_deptfild.subtotal("sum",4,6,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,7,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,8,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,9,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,10,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,11,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,12,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,13,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,14,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,15,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,16,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,17,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,18,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,19,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,20,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,21,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,22,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,23,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,24,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,25,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,26,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,27,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,28,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,29,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,30,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,31,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,32,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,33,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,34,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,35,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,36,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,37,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,38,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,39,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,40,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,41,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,42,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,43,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,44,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,45,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,46,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,47,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,48,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,49,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,50,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,51,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,52,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,53,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,54,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,55,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,56,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
- grd_deptfild.subtotal("sum",4,57,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 4, "분야계", true);
-
- grd_deptfild.subtotal("sum",-1,5,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", false);
- grd_deptfild.subtotal("sum",-1,6,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,7,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,8,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,9,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,10,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,11,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,12,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,13,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,14,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,15,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,16,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,17,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,18,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,19,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,20,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,21,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,22,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,23,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,24,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,25,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,26,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,27,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,28,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,29,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,30,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,31,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,32,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,33,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,34,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,35,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,36,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,37,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,38,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,39,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,40,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,41,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,42,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,43,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,44,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,45,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,46,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,47,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,48,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,49,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,50,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,51,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,52,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,53,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,54,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,55,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,56,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
- grd_deptfild.subtotal("sum",-1,57,"format:(-)#,###; roundmode:round; roundposition:0", "background-color:#ffff00; color:#0000ff; ", 3, "총계", true);
-
- // 총계 row에 merge를 한다.
- //grd_deptfild.mergeByFree(grd_deptfild.rows - 0,3,grd_deptfild.rows - 0,4);
- //grd_deptfild.cellStyle("text-align",grd_deptfild.rows - 0,3,grd_deptfild.rows - 0,4) = "center";
- }
-
- function fSendIndCopy(){
- model.setValue("/root/send/send_ind/ioflag",model.getValue("/root/send/send_base/ioflag"));
- model.setValue("/root/send/send_ind/fromdd",model.getValue("/root/send/send_base/fromdd"));
- model.setValue("/root/send/send_ind/clamflag",model.getValue("/root/send/send_base/clamflag"));
- model.setValue("/root/send/send_ind/clamdg",model.getValue("/root/send/send_base/clamdg"));
- model.setValue("/root/send/send_ind/insukindcd",model.getValue("/root/send/send_base/insukindcd"));
- model.setValue("/root/send/send_ind/ordfildcd",model.getValue("/root/send/send_base/ordfildcd"));
- model.setValue("/root/send/send_ind/insukindcd1",model.getValue("/root/send/send_base/insukindcd1"));
- model.setValue("/root/send/send_ind/insukindcd2",model.getValue("/root/send/send_base/insukindcd2"));
- model.setValue("/root/send/send_ind/insukindcd3",model.getValue("/root/send/send_base/insukindcd3"));
- model.setValue("/root/send/send_ind/insukindcd4",model.getValue("/root/send/send_base/insukindcd4"));
- model.setValue("/root/send/send_ind/insukindcd5",model.getValue("/root/send/send_base/insukindcd5"));
- model.setValue("/root/send/send_ind/calc",model.getValue("/root/send/send_base/calc"));
-
- return true;
- }
-
- function fSendPrcpCopy(){
- model.setValue("/root/send/send_prcp/clamym",model.getValue("/root/send/send_base/clamym"));
- model.setValue("/root/send/send_prcp/clamdg",model.getValue("/root/send/send_base/clamdg"));
- model.setValue("/root/send/send_prcp/pid",model.getValue("/root/send/send_base/pid"));
- model.setValue("/root/send/send_prcp/pidsn",model.getValue("/root/send/send_base/pidsn"));
-
- return true;
- }
-
- // 20110105 JHP 재원, 사전, 사후 긴급지원금, 희귀지원금 추가에 따른 숨김 변경
- function fHiddenColumnBase(){
-
- var insukindcd = model.getValue("/root/send/send_base/insukindcd");
- var insukindone = insukindcd.substr(0,2);
- var insukindtwo = insukindcd.substr(3,2);
- var insukindthree = insukindcd.substr(6,2);
- var insukindfour = insukindcd.substr(9,2);
- var ioflag = model.getValue("/root/send/send_base/ioflag");
- /*
- if(ioflag == "O"){
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospcnt")) = false; // 건수 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosptotordamt")) = false; // 총진료비 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospnopytotordamt")) = false; // 비급여총진료비 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospownbtotamt")) = false; // 본인부담총액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosppaytotordamt")) = false; // 급여총진료비 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosppayownbamt")) = false; // 급여본인부담금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosppayclamamt")) = false; // 급여청구액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospownbmaxexamt")) = false; // 상한액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("hinhospsuppamt")) = false; // 희귀지원금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("linhospsuppamt")) = false; // 장애인 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosphandcaprfund")) = false; // 긴급지원금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("ginhospsuppamt")) = false; // 지원금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospsuppamt")) = false; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospsubtamt")) = false; // 인수증액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosplimitdiffamt")) = false; // 인수감액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("acptaddamt")) = false; // 인수차액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("acptcutamt")) = false; // 인수차액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("acptamt")) = false; // 인수차액 숨김
- }else if(ioflag == "I"){
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospcnt")) = false; // 건수 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosptotordamt")) = false; // 총진료비 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospnopytotordamt")) = false; // 비급여총진료비 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospownbtotamt")) = false; // 본인부담총액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosppaytotordamt")) = false; // 급여총진료비 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosppayownbamt")) = false; // 급여본인부담금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosppayclamamt")) = false; // 급여청구액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospownbmaxexamt")) = false; // 상한액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("hinhospsuppamt")) = false; // 희귀지원금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("linhospsuppamt")) = false; // 장애인 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosphandcaprfund")) = false; // 긴급지원금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("ginhospsuppamt")) = false; // 지원금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospsuppamt")) = false; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospsubtamt")) = false; // 인수증액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhosplimitdiffamt")) = false; // 인수감액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("acptaddamt")) = false; // 인수차액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("acptcutamt")) = false; // 인수차액 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("acptamt")) = false; // 인수차액 숨김
-
- }
- */
- // 4개중에 한개라도 보험을 선택했으면 보험에 해당하는 컬럼만 보인다
- if(insukindone == "11" || insukindtwo == "11" || insukindthree == "11" || insukindfour == "11"){
- //재원금액
- //grd_deptfild.colHidden(15) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospsubtamt")) = true; // 대불금 숨김
-
- //심사전
- //grd_deptfild.colHidden(26) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("bfsubtamt")) = true; // 대불금 숨김
-
- //심사후
- //grd_deptfild.colHidden(45) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("afsubtamt")) = true; // 대불금 숨김
- }
- // 4개중에 한개라도 보호을 선택했으면 보호에 해당하는 컬럼만 보인다
- if(insukindone == "21" || insukindtwo == "21" || insukindthree == "21" || insukindfour == "21"){
- /*
- //재원금액
- if(ioflag == "I"){
- grd_deptfild.colHidden(15) = false; // 대불금 보이기
- }
- */
- //재원금액
- //grd_deptfild.colHidden(15) = false; // 대불금 보이기
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospsubtamt")) = false; // 대불금 보이기
-
- //심사전
- //grd_deptfild.colHidden(27) = false; // 대불금 보이기
- grd_deptfild.colHidden(grd_deptfild.colRef("bfsubtamt")) = false; // 대불금 보이기
-
- //심사후
- //grd_deptfild.colHidden(45) = false; // 대불금 보이기
- grd_deptfild.colHidden(grd_deptfild.colRef("afsubtamt")) = false; // 대불금 보이기
- }
- // 4개중에 한개라도 자보를 선택했으면 그냥 다 보여준다.
- if(insukindone == "31" || insukindtwo == "31" || insukindthree == "31" || insukindfour == "31"){
-
- //재원금액
- //grd_deptfild.colHidden(15) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospsubtamt")) = true; // 대불금 숨김
-
- //심사전
- //grd_deptfild.colHidden(27) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("bfsubtamt")) = true; // 대불금 숨김
-
- //심사후
- //grd_deptfild.colHidden(45) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("afsubtamt")) = true; // 대불금 숨김
- }
- // 4개중에 한개라도 산재를 선택했으면 그냥 다 보여준다.
- if(insukindone == "41" || insukindtwo == "41" || insukindthree == "41" || insukindfour == "41"){
- //재원금액
- //grd_deptfild.colHidden(15) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("inhospsubtamt")) = true; // 대불금 숨김
-
- //심사전
- //grd_deptfild.colHidden(27) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("bfsubtamt")) = true; // 대불금 숨김
-
- //심사후
- //grd_deptfild.colHidden(46) = true; // 대불금 숨김
- grd_deptfild.colHidden(grd_deptfild.colRef("afsubtamt")) = true; // 대불금 숨김
- }
- }
-
- // 20110105 JHP 재원, 사전, 사후 긴급지원금, 희귀지원금 추가에 따른 숨김 변경(개인)
- function fHiddenColumnInd(){
-
- var insukindcd = model.getValue("/root/send/send_base/insukindcd");
- var insukindone = insukindcd.substr(0,2);
- var insukindtwo = insukindcd.substr(3,2);
- var insukindthree = insukindcd.substr(6,2);
- var insukindfour = insukindcd.substr(9,2);
- var ioflag = model.getValue("/root/send/send_base/ioflag");
- /*
- if(ioflag == "O"){
- //재원금액
- grd_indprescond.colHidden(24) = false; // 총진료비 숨김
- grd_indprescond.colHidden(25) = false; // 급여진료비 숨김
- grd_indprescond.colHidden(26) = false; // 비급여진료비 숨김
- grd_indprescond.colHidden(27) = false; // 본인부담액 숨김
- grd_indprescond.colHidden(28) = false; // 급여본인부담금 숨김
- grd_indprescond.colHidden(29) = false; // 급여청구액 숨김
- grd_indprescond.colHidden(30) = false; // 상한액 숨김
- grd_indprescond.colHidden(31) = false; // 희귀지원금 숨김
- grd_indprescond.colHidden(32) = false; // 장애인 숨김
- grd_indprescond.colHidden(33) = false; // 긴급지원금 숨김
- grd_indprescond.colHidden(34) = false; // 지원금 숨김
- grd_indprescond.colHidden(35) = false; // 대불금 숨김
- grd_indprescond.colHidden(36) = false; // 인수증액 숨김
- grd_indprescond.colHidden(37) = false; // 인수감액 숨김
- grd_indprescond.colHidden(38) = false; // 인수차액 숨김
- }else if(ioflag == "I"){
- //재원금액
- grd_indprescond.colHidden(24) = false; // 총진료비 보이기
- grd_indprescond.colHidden(25) = false; // 급여진료비 보이기
- grd_indprescond.colHidden(26) = false; // 비급여진료비 보이기
- grd_indprescond.colHidden(27) = false; // 본인부담액 보이기
- grd_indprescond.colHidden(28) = false; // 급여본인부담금 보이기
- grd_indprescond.colHidden(29) = false; // 급여청구액 보이기
- grd_indprescond.colHidden(30) = false; // 상한액 보이기
- grd_indprescond.colHidden(31) = false; // 희귀지원금 보이기
- grd_indprescond.colHidden(32) = false; // 장애인 보이기
- grd_indprescond.colHidden(33) = false; // 긴급지원금 보이기
- grd_indprescond.colHidden(34) = false; // 지원금 보이기
- grd_indprescond.colHidden(35) = false; // 대불금 보이기
- grd_indprescond.colHidden(36) = false; // 인수증액 보이기
- grd_indprescond.colHidden(37) = false; // 인수감액 보이기
- grd_indprescond.colHidden(38) = false; // 인수차액 보이기
-
- }
- */
-
- // 4개중에 한개라도 보험을 선택했으면 보험에 해당하는 컬럼만 보인다
- if(insukindone == "11" || insukindtwo == "11" || insukindthree == "11" || insukindfour == "11"){
- //재원금액
- //grd_indprescond.colHidden(33) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("inhospsubtamt")) = true; // 대불금 건수 숨김
-
- //심사전
- //grd_indprescond.colHidden(43) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("bfsubtamt")) = true; // 대불금 건수 숨김
-
- //심사후
- //grd_indprescond.colHidden(53) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("afsubtamt")) = true; // 대불금 건수 숨김
- }
- // 4개중에 한개라도 보호을 선택했으면 보호에 해당하는 컬럼만 보인다
- if(insukindone == "21" || insukindtwo == "21" || insukindthree == "21" || insukindfour == "21"){
- /*
- //재원금액
- if(ioflag == "I"){
- grd_indprescond.colHidden(33) = false; // 대불금 건수 보이기
- }
- */
- //재원금액
- //grd_indprescond.colHidden(33) = false; // 대불금 보이기
- grd_indprescond.colHidden(grd_indprescond.colRef("inhospsubtamt")) = false; // 대불금 보이기
-
- //심사전
- //grd_indprescond.colHidden(43) = false; // 대불금 보이기
- grd_indprescond.colHidden(grd_indprescond.colRef("bfsubtamt")) = false; // 대불금 보이기
-
- //심사후
- //grd_indprescond.colHidden(53) = false; // 대불금 건수 보이기
- grd_indprescond.colHidden(grd_indprescond.colRef("afsubtamt")) = false; // 대불금 건수 보이기
- }
- // 4개중에 한개라도 자보를 선택했으면 그냥 다 보여준다.
- if(insukindone == "31" || insukindtwo == "31" || insukindthree == "31" || insukindfour == "31"){
- //재원금액
- //grd_indprescond.colHidden(33) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("inhospsubtamt")) = true; // 대불금 건수 숨김
-
- //심사전
- //grd_indprescond.colHidden(43) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("bfsubtamt")) = true; // 대불금 건수 숨김
-
- //심사후
- //grd_indprescond.colHidden(53) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("afsubtamt")) = true; // 대불금 건수 숨김
- }
- // 4개중에 한개라도 산재를 선택했으면 그냥 다 보여준다.
- if(insukindone == "41" || insukindtwo == "41" || insukindthree == "41" || insukindfour == "41"){
- //재원금액
- //grd_indprescond.colHidden(33) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("inhospsubtamt")) = true; // 대불금 건수 숨김
-
- //심사전
- //grd_indprescond.colHidden(43) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("bfsubtamt")) = true; // 대불금 건수 숨김
-
- //심사후
- //grd_indprescond.colHidden(53) = true; // 대불금 건수 숨김
- grd_indprescond.colHidden(grd_indprescond.colRef("afsubtamt")) = true; // 대불금 건수 숨김
- }
- }
-
- function fOrdFildCdFlag(){
- var rows = grd_deptfild.rows;
- var frows = grd_deptfild.fixedRows;
- var nrows = rows - frows;
- var abbr1 = "0";
- var abbr2 = "0";
- var fild1 = "0";
- var fild2 = "0";
-
- for(var i = 0; i <= nrows; i++){
- fild2 = fild1;
- var fild1 = grd_deptfild.valueMatrix(i, 4);
- if(fild1 == "분야계" && fild2 != ""){
- if(fild2 == "1"){
- grd_deptfild.valueMatrix(i, 3) = "내과분야";
- }else if(fild2 == "2"){
- grd_deptfild.valueMatrix(i, 3) = "외과분야";
- }else if(fild2 == "3"){
- grd_deptfild.valueMatrix(i, 3) = "산소분야";
- }else if(fild2 == "4"){
- grd_deptfild.valueMatrix(i, 3) = "안이분야";
- }else if(fild2 == "5"){
- grd_deptfild.valueMatrix(i, 3) = "피비분야";
- }else if(fild2 == "6"){
- grd_deptfild.valueMatrix(i, 3) = "치과분야";
- }else if(fild2 == ""){
- grd_deptfild.valueMatrix(i, 3) = "기타";
- } else if(fild2 == "B"){
- grd_deptfild.valueMatrix(i, 3) = "완화의료";
- } else if(fild2 == "D"){
- grd_deptfild.valueMatrix(i, 3) = "DRG";
- }
- }
- }
- model.refresh();
- }
- // 20110105 JHP 긴급지원금, 희귀지원금 추가에 따른 컬럼추가 에 따른 재원, 사전, 사후 각 컬럼 조정작업
- function fSubTotalMove(){
- var rows = grd_deptfild.rows;
- var frows = grd_deptfild.fixedRows;
- var nrows = rows - frows;
- for(var i = -1; i <= nrows; i++){
- var fild1 = grd_deptfild.valueMatrix(i, 4);
- if(fild1 == "분야계"){
-
- /*
- var orddeptcd = grd_deptfild.valueMatrix(i, 1);
- var depthngnm = grd_deptfild.valueMatrix(i, 2);
- var deptengabbr = grd_deptfild.valueMatrix(i, 3);
- var ordfildcd = grd_deptfild.valueMatrix(i, 4);
- var inhospcnt = grd_deptfild.valueMatrix(i, 5);
- var inhosptotordamt = grd_deptfild.valueMatrix(i, 6);
- var inhospnopytotordamt = grd_deptfild.valueMatrix(i, 7);
- var inhospownbtotamt = grd_deptfild.valueMatrix(i, 8);
- var inhosppaytotordamt = grd_deptfild.valueMatrix(i, 9);
- var inhosppayownbamt = grd_deptfild.valueMatrix(i, 10);
- var inhosppayclamamt = grd_deptfild.valueMatrix(i, 11);
- var inhospownbmaxexamt = grd_deptfild.valueMatrix(i, 12);
- var hinhospsuppamt = grd_deptfild.valueMatrix(i, 13);
- var inhosphandcaprfund = grd_deptfild.valueMatrix(i, 14);
- var ginhospsuppamt = grd_deptfild.valueMatrix(i, 15);
- var inhospsuppamt = grd_deptfild.valueMatrix(i, 16);
- var inhospsubtamt = grd_deptfild.valueMatrix(i, 17);
-
- var acptaddamt = grd_deptfild.valueMatrix(i, 18);
- var acptcutamt = grd_deptfild.valueMatrix(i, 19);
- var acptamt = grd_deptfild.valueMatrix(i, 20);
- var addcnt = grd_deptfild.valueMatrix(i, 21);
-
-
- var bfcnt = grd_deptfild.valueMatrix(i, 22);
- var bfmedcaretotamt = grd_deptfild.valueMatrix(i, 23);
- var bfownbamt = grd_deptfild.valueMatrix(i, 24);
- var bfinsuclamamt = grd_deptfild.valueMatrix(i, 25);
- var bfownbmaxexamt = grd_deptfild.valueMatrix(i, 26);
- var hbfsuppamt = grd_deptfild.valueMatrix(i, 27);
- var bfhandcaprfund = grd_deptfild.valueMatrix(i, 28);
- var gbfsuppamt = grd_deptfild.valueMatrix(i, 29);
- var bfsuppamt = grd_deptfild.valueMatrix(i, 30);
- var bfsubtamt = grd_deptfild.valueMatrix(i, 31);
-
- var reservecnt = grd_deptfild.valueMatrix(i, 32);
- var reserveamtslt = grd_deptfild.valueMatrix(i, 33);
- var delcnt = grd_deptfild.valueMatrix(i, 34);
- var delamtrslt = grd_deptfild.valueMatrix(i, 35);
- var reserve_delcnt = grd_deptfild.valueMatrix(i, 36);
- var reserve_delamtrslt = grd_deptfild.valueMatrix(i, 37);
- var changecnt = grd_deptfild.valueMatrix(i, 38);
- var clamaddamtrslt = grd_deptfild.valueMatrix(i, 39);
- var clamcutamtrslt = grd_deptfild.valueMatrix(i, 40);
- var clamamtrslt = grd_deptfild.valueMatrix(i, 41);
-
- var afcnt = grd_deptfild.valueMatrix(i, 42);
- var afmedcaretotamt = grd_deptfild.valueMatrix(i, 43);
- var afownbamt = grd_deptfild.valueMatrix(i, 44);
- var afinsuclamamt = grd_deptfild.valueMatrix(i, 45);
- var afownbmaxexamt = grd_deptfild.valueMatrix(i, 46);
- var hafsuppamt = grd_deptfild.valueMatrix(i, 47);
- var afhandcaprfund = grd_deptfild.valueMatrix(i, 48);
- var gafsuppamt = grd_deptfild.valueMatrix(i, 49);
- var afsuppamt = grd_deptfild.valueMatrix(i, 50);
- var afsubtamt = grd_deptfild.valueMatrix(i, 51);
- */
- grd_deptfild.addRow(false);
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("orddeptcd")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("orddeptcd"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("depthngnm")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("depthngnm"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("deptengabbr")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("deptengabbr"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("ordfildcd")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("ordfildcd"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospcnt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosptotordamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosptotordamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospnopytotordamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospnopytotordamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospownbtotamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospownbtotamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosppaytotordamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosppaytotordamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosppayownbamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosppayownbamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosppayclamamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosppayclamamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospownbmaxexamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospownbmaxexamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("hinhospsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("hinhospsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("linhospsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("linhospsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosphandcaprfund")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosphandcaprfund"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosplimitdiffamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosplimitdiffamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("ginhospsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("ginhospsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospsubtamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospsubtamt"));
-
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("acptaddamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("acptaddamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("acptcutamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("acptcutamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("acptamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("acptamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("addcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("addcnt"));
-
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfcnt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfmedcaretotamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfmedcaretotamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfownbamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfownbamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfinsuclamamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfinsuclamamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfownbmaxexamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfownbmaxexamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("hbfsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("hbfsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("lbfsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("lbfsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfhandcaprfund")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfhandcaprfund"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bflimitdiffamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bflimitdiffamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("gbfsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("gbfsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfsubtamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfsubtamt"));
-
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("reservecnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("reservecnt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("reserveamtslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("reserveamtslt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("delcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("delcnt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("delamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("delamtrslt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("reserve_delcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("reserve_delcnt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("reserve_delamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("reserve_delamtrslt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("changecnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("changecnt"))
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("clamaddamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("clamaddamtrslt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("clamcutamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("clamcutamtrslt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("clamamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("clamamtrslt"));
-
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afcnt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afmedcaretotamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afmedcaretotamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afownbamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afownbamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afinsuclamamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afinsuclamamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afownbmaxexamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afownbmaxexamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("hafsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("hafsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("lafsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("lafsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afhandcaprfund")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afhandcaprfund"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("aflimitdiffamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("aflimitdiffamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("gafsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("gafsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afsubtamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afsubtamt"));
-
- grd_deptfild.deleteRow(i,false);
- }
- if(grd_deptfild.valueMatrix(i, 3) == "총계"){
- break;
- }
- }
- for(var i = 0; i <= nrows; i++){
- var totsum = grd_deptfild.valueMatrix(i, 3);
- if(totsum == "총계"){
- // 분야별 합계 총액 보여줘야하는데 대기..
- /*
- var orddeptcd = grd_deptfild.valueMatrix(i, 1);
- var depthngnm = grd_deptfild.valueMatrix(i, 2);
- var deptengabbr = grd_deptfild.valueMatrix(i, 3);
- var ordfildcd = grd_deptfild.valueMatrix(i, 4);
- var inhospcnt = grd_deptfild.valueMatrix(i, 5);
- var inhosptotordamt = grd_deptfild.valueMatrix(i, 6);
- var inhospnopytotordamt = grd_deptfild.valueMatrix(i, 7);
- var inhospownbtotamt = grd_deptfild.valueMatrix(i, 8);
- var inhosppaytotordamt = grd_deptfild.valueMatrix(i, 9);
- var inhosppayownbamt = grd_deptfild.valueMatrix(i, 10);
- var inhosppayclamamt = grd_deptfild.valueMatrix(i, 11);
- var inhospownbmaxexamt = grd_deptfild.valueMatrix(i, 12);
- var hinhospsuppamt = grd_deptfild.valueMatrix(i, 13);
- var inhosphandcaprfund = grd_deptfild.valueMatrix(i, 14);
- var ginhospsuppamt = grd_deptfild.valueMatrix(i, 15);
- var inhospsuppamt = grd_deptfild.valueMatrix(i, 16);
- var inhospsubtamt = grd_deptfild.valueMatrix(i, 17);
-
- var acptaddamt = grd_deptfild.valueMatrix(i, 18);
- var acptcutamt = grd_deptfild.valueMatrix(i, 19);
- var acptamt = grd_deptfild.valueMatrix(i, 20);
- var addcnt = grd_deptfild.valueMatrix(i, 21);
-
-
- var bfcnt = grd_deptfild.valueMatrix(i, 22);
- var bfmedcaretotamt = grd_deptfild.valueMatrix(i, 23);
- var bfownbamt = grd_deptfild.valueMatrix(i, 24);
- var bfinsuclamamt = grd_deptfild.valueMatrix(i, 25);
- var bfownbmaxexamt = grd_deptfild.valueMatrix(i, 26);
- var hbfsuppamt = grd_deptfild.valueMatrix(i, 27);
- var bfhandcaprfund = grd_deptfild.valueMatrix(i, 28);
- var gbfsuppamt = grd_deptfild.valueMatrix(i, 29);
- var bfsuppamt = grd_deptfild.valueMatrix(i, 30);
- var bfsubtamt = grd_deptfild.valueMatrix(i, 31);
-
- var reservecnt = grd_deptfild.valueMatrix(i, 32);
- var reserveamtslt = grd_deptfild.valueMatrix(i, 33);
- var delcnt = grd_deptfild.valueMatrix(i, 34);
- var delamtrslt = grd_deptfild.valueMatrix(i, 35);
- var reserve_delcnt = grd_deptfild.valueMatrix(i, 36);
- var reserve_delamtrslt = grd_deptfild.valueMatrix(i, 37);
- var changecnt = grd_deptfild.valueMatrix(i, 38);
- var clamaddamtrslt = grd_deptfild.valueMatrix(i, 39);
- var clamcutamtrslt = grd_deptfild.valueMatrix(i, 40);
- var clamamtrslt = grd_deptfild.valueMatrix(i, 41);
-
- var afcnt = grd_deptfild.valueMatrix(i, 42);
- var afmedcaretotamt = grd_deptfild.valueMatrix(i, 43);
- var afownbamt = grd_deptfild.valueMatrix(i, 44);
- var afinsuclamamt = grd_deptfild.valueMatrix(i, 45);
- var afownbmaxexamt = grd_deptfild.valueMatrix(i, 46);
- var hafsuppamt = grd_deptfild.valueMatrix(i, 47);
- var afhandcaprfund = grd_deptfild.valueMatrix(i, 48);
- var gafsuppamt = grd_deptfild.valueMatrix(i, 49);
- var afsuppamt = grd_deptfild.valueMatrix(i, 50);
- var afsubtamt = grd_deptfild.valueMatrix(i, 51);
- */
- grd_deptfild.addRow(false);
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("orddeptcd")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("orddeptcd"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("depthngnm")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("depthngnm"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("deptengabbr")) = "총합계(분야)"; //deptengabbr;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("ordfildcd")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("ordfildcd"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospcnt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosptotordamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosptotordamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospnopytotordamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospnopytotordamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospownbtotamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospownbtotamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosppaytotordamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosppaytotordamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosppayownbamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosppayownbamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosppayclamamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosppayclamamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospownbmaxexamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospownbmaxexamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("hinhospsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("hinhospsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("linhospsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("linhospsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosphandcaprfund")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosphandcaprfund")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhosplimitdiffamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhosplimitdiffamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("ginhospsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("ginhospsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("inhospsubtamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("inhospsubtamt")) ;
-
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("acptaddamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("acptaddamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("acptcutamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("acptcutamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("acptamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("acptamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("addcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("addcnt")) ;
-
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfcnt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfmedcaretotamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfmedcaretotamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfownbamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfownbamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfinsuclamamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfinsuclamamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfownbmaxexamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfownbmaxexamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("hbfsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("hbfsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("lbfsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("lbfsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfhandcaprfund")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfhandcaprfund")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bflimitdiffamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bflimitdiffamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("gbfsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("gbfsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("bfsubtamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("bfsubtamt")) ;
-
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("reservecnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("reservecnt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("reserveamtslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("reserveamtslt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("delcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("delcnt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("delamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("delamtrslt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("reserve_delcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("reserve_delcnt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("reserve_delamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("reserve_delamtrslt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("changecnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("changecnt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("clamaddamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("clamaddamtrslt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("clamcutamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("clamcutamtrslt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("clamamtrslt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("clamamtrslt"));
-
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afcnt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afcnt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afmedcaretotamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afmedcaretotamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afownbamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afownbamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afinsuclamamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afinsuclamamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afownbmaxexamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afownbmaxexamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("hafsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("hafsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("lafsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("lafsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afhandcaprfund")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afhandcaprfund")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("aflimitdiffamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("aflimitdiffamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("gafsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("gafsuppamt")) ;
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afsuppamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afsuppamt"));
- grd_deptfild.valueMatrix(grd_deptfild.rows - 1, grd_deptfild.colRef("afsubtamt")) = grd_deptfild.valueMatrix(i, grd_deptfild.colRef("afsubtamt")) ;
- // 총계 row에 merge를 한다.
- grd_deptfild.mergeByFree(i,3,i,4);
- grd_deptfild.cellStyle("text-align",i,3,i,4) = "center";
- grd_deptfild.mergeByFree(grd_deptfild.rows - 1, 3, grd_deptfild.rows - 1, 4);
- grd_deptfild.cellStyle("text-align", grd_deptfild.rows - 1, 3, grd_deptfild.rows - 1, 4) = "center";
- }
- }
- }
-
-
- function fDateChk(){
- var dateflag;
- var fromdd = model.getValue("/root/send/send_base/fromdd");
- fromdd = fromdd.substr(0,6);
- //var todd = model.getValue("/root/send/send_base/todd");
- var ioflag = model.getValue("/root/send/send_base/ioflag");
- var insukind = model.getValue("/root/send/send_base/insukindcd");
- var clamflag = model.getValue("/root/send/send_base/clamflag");
- var ordfildcd = model.getValue("/root/send/send_base/ordfildcd");
-
- if(fromdd == ""){
- messageBox("기간의 시작일자를","C001");
- model.setFocus("ipt_fromdd");
- return;
- }else{
- model.setValue("/root/send/send_clamdg/fromdd",fromdd);
- model.setValue("/root/send/send_clamdg/todd",fromdd);
- model.setValue("/root/send/send_clamdg/ioflag",ioflag);
- if(insukind == '21'){
- model.setValue("/root/send/send_clamdg/insukind", "21','22");
- }else{
- model.setValue("/root/send/send_clamdg/insukind", insukind);
- }
- model.setValue("/root/send/send_clamdg/clamflag",clamflag);
- model.setValue("/root/send/send_clamdg/ordfildcd",ordfildcd);
-
- if(clamflag == '0'){
- model.setValue("/root/send/send_clamdg/dateflag", "1");
- }else{
- model.setValue("/root/send/send_clamdg/dateflag", "2");
- }
-
- submit("TRPIF00105");
-
-
- if( getNodesetCount("/root/init/clamdglist/clamdg") < 1 ){
- messageBox("청구된 차수가 없습니다. 미수년월을 확인 해 주세요!.", "E999", "");
- }
- // addComboItem("cmb_clamdg","전체","","above");
- }
- addComboItem("cmb_clamdg","전체","","above");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:265px; height:14px; ">진료과/개인/처방별 수정전후 집계표 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:12px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:49px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:47px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:485px; top:17px; width:86px; height:17px; ">내원유형 :</caption>
- <button id="button1" class="btn1_letter2" navindex="8" style="left:1134px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- if (cmb_clamdg.length == 1)
- {
- model.setValue("/root/send/send_base/clamdg", "");
- }
- else if (cmb_clamdg.length == 0)
- {
- model.setValue("/root/send/send_base/clamdg", "");
- }
- if(fSrchChk()){
- if(btn_deptfild.selected == true){
-
- var clamflag = model.getValue("/root/send/send_base/clamflag");
-
- // 원청구외 청구차수 제외
- if (clamflag != '0') {
- model.setValue("/root/send/send_base/clamdg", "");
- }
-
- submit("TRPIF00101");
-
- // subtotal하기
- fDeptFildSubtotal();
-
- //청구분야 구별하기
- fOrdFildCdFlag();
-
- //분야별합계 위치이동
- fSubTotalMove();
-
- // 입원외래 구분시 컬럼숨기기
- fHiddenColumnBase();
- }
-
- if(btn_indprescond.selected == true){
-
- //button1.disabled = true;
- if(fSendIndCopy()){
- submit("TRPIF00102");
- //입원외래 구분시 컬럼숨기기
- fHiddenColumnInd();
- }
-
- }
-
- if(btn_indprcpspec.selected == true){
- messageBox("개인별처방내역의 조회는 개인별현황에서","I006");
- }
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1128px; y1:12px; x2:1128px; y2:34px; "/>
- <input id="ipt_fromdd" ref="/root/send/send_base/fromdd" class="input_search" navindex="3" inputtype="date" format="yyyy-mm" style="left:259px; top:15px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fDateChk();
- model.removeNodeset("/root/init/clamdglist");
- model.refresh();
- cmb_clamdg.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:170px; top:17px; width:86px; height:17px; ">미수년월 :</caption>
- <select1 id="cmb_ioflag" ref="/root/send/send_base/ioflag" class="combo_search" navindex="1" appearance="minimal" style="left:571px; top:15px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/clamdglist");
- model.refresh();
- cmb_clamdg.refresh();
- //fDateChk();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:630px; top:15px; width:91px; height:17px; ">보험유형 :</caption>
- <select1 id="cmb_clamdg" ref="/root/send/send_base/clamdg" class="combo_search" appearance="minimal" style="left:1015px; top:4px; width:54px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdglist/clamdg">
- <label ref="cdid"/>
- <value ref="cdnm"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="search_name" style="left:336px; top:17px; width:91px; height:17px; ">청구분야 :</caption>
- <select1 id="cmb_ordfildcd" ref="/root/send/send_base/ordfildcd" class="combo_search" navindex="6" appearance="minimal" style="left:425px; top:15px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption13" class="search_name" style="left:0px; top:17px; width:86px; height:17px; ">청구구분 :</caption>
- <select1 id="cmb_clamflag" ref="/root/send/send_base/clamflag" class="combo_search" appearance="minimal" style="left:88px; top:15px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>원청구</label>
- <value>0</value>
- </item>
- <item>
- <label>보완청구</label>
- <value>1</value>
- </item>
- <item>
- <label>추가청구</label>
- <value>2</value>
- </item>
- <item>
- <label>누락청구</label>
- <value>4</value>
- </item>
- <item>
- <label>보완차액</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
-
- /*
- var clamflag = model.getValue("/root/send/send_base/clamflag");
-
-
- fDateChk();
-
- if (clamflag == '0') {
- //caption11.visible = true;
- //cmb_clamdg.visible = true;
-
- }
- else {
- //caption11.visible = false;
- //cmb_clamdg.visible = false;
- }
-
- model.refresh();
- */
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/clamdglist");
- model.refresh();
- cmb_clamdg.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="chk_insukindcd" ref="/root/send/send_base/insukindcd" appearance="full" cols="5" rows="1" overflow="visible" style="left:716px; top:15px; width:219px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>00</value>
- </item>
- <item>
- <label>보험</label>
- <value>11</value>
- </item>
- <item>
- <label>보호</label>
- <value>21</value>
- </item>
- <item>
- <label>자보</label>
- <value>31</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio1" ref="/root/send/send_base/srchond" appearance="full" cols="1" rows="2" overflow="visible" style="left:942px; top:8px; width:70px; height:35px; border-style:none; ">
- <choices>
- <item>
- <label>청구차수</label>
- <value>A</value>
- </item>
- <item>
- <label>차수선택</label>
- <value>B</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var srchond = radio1.value;
-
- if(srchond == "A"){
-
- cmb_clamdg.disabled = false;
-
- input1.disabled = true;
- input2.disabled = true;
- input3.disabled = true;
- input4.disabled = true;
- input5.disabled = true;
-
- input1.value = "";
- input2.value = "";
- input3.value = "";
- input4.value = "";
- input5.value = "";
-
- }else if(srchond == "B"){
- cmb_clamdg.value = "";
- cmb_clamdg.disabled = true;
-
- input1.disabled = false;
- input2.disabled = false;
- input3.disabled = false;
- input4.disabled = false;
- input5.disabled = false;
- }else{
- messageBox("차수 내역이 선택되지 않았습니다.", "E999", "");
- return false;
- }
-
-
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/send/send_base/clamdg1" style="left:1015px; top:25px; width:20px; height:19px; "/>
- <input id="input2" ref="/root/send/send_base/clamdg2" style="left:1037px; top:25px; width:20px; height:19px; "/>
- <input id="input3" ref="/root/send/send_base/clamdg3" style="left:1059px; top:25px; width:20px; height:19px; "/>
- <input id="input4" ref="/root/send/send_base/clamdg4" style="left:1081px; top:25px; width:20px; height:19px; "/>
- <input id="input5" ref="/root/send/send_base/clamdg5" style="left:1103px; top:25px; width:20px; height:19px; "/>
- <button id="button14" class="icon_bottom" style="left:1070px; top:5px; width:30px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/init/clamdglist");
- model.makeNode("/root/init/clamdglist");
- fDateChk();
- ]]>
- </script>
- </button>
- </group>
- <switch id="switch1" class="sw_box" style="left:0px; top:86px; width:1194px; height:651px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true">
- <!--
-->
- <line id="line1" class="line_1" style="x1:0px; y1:3px; x2:1188px; y2:3px; "/>
- <!-- 20110105 JHP 긴급복지지원금 추가 고시에 따른 재원, 심사전, 후 긴급지원금, 희귀지원금, 총지원금 구분 추가변경 -->
- <datagrid id="grd_deptfild" nodeset="/root/main/list1/griddeptfild" caption="진료과코드^진료과명^진료과^청구분야^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^인수증액^인수감액^인수차액^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^심사 전(인수금액:급여항목에대한금액)^보류건수^보류금액^삭제건수^삭제금액^보류+삭제건수^보류+삭제금액^자격수정건수^추가건수^청구증액^청구감액^청구차액^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)|진료과코드^진료과명^진료과^청구분야^(재)건수^(재)총진료비^(재)비급여총진료비^(재)본인부담총액^(재)급여총진료비^(재)급여본인부담금^(재)급여청구액^(재)상한액^(재)희귀지원금^(재)결핵지원금^(재)장애인^(재)긴급지원금^(재)지원금^(재)대불금^(재)약제상한차액^인수증액^인수감액^인수차액^(전)건수^(전)총진료비^(전)본인부담^(전)청구액^(전)상한액^(전)희귀지원금^(전)결핵지원금^(전)장애인^(전)긴급지원금^(전)지원금^(전)대불금^(전)약제상한차액^보류건수^보류금액^삭제건수^삭제금액^보류+삭제건수^보류+삭제금액^자격수정건수^추가건수^청구증액^청구감액^청구차액^(후)건수^(후)총진료비^(후)본인부담^(후)청구액^(후)상한액^(후)희귀지원금^(후)결핵지원금^(후)장애인^(후)긴급지원금^(후)지원금^(후)대불금^(후)약제상한차액" colsep="^" colwidth="79, 159, 119, 80, 55, 110, 127, 111, 119, 116, 95, 91, 93, 100, 96, 100, 100, 87, 103, 93, 100, 100, 55, 110, 113, 99, 95, 97, 100, 79, 100, 100, 89, 100, 55, 90, 55, 90, 87, 95, 83, 56, 90, 90, 100, 55, 110, 91, 93, 96, 92, 100, 93, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:8px; width:1183px; height:640px; ">
- <col ref="orddeptcd" visibility="hidden" style="left:20px; top:43px; width:80px; height:23px; text-align:center; "/>
- <col ref="deptengabbr" visibility="hidden" style="text-align:center; "/>
- <col ref="depthngnm" visibility="visible" style="text-align:center; "/>
- <col ref="ordfildcd" visibility="hidden" style="text-align:center; "/>
- <col ref="inhospcnt" format="#,###" style="text-align:right; "/>
- <col ref="inhosptotordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospnopytotordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospownbtotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosppaytotordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosppayownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosppayclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="hinhospsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="linhospsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosphandcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="ginhospsuppamt" visibility="visible" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospsubtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosplimitdiffamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="acptaddamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="acptcutamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="acptamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfcnt" format="#,###" style="text-align:right; "/>
- <col ref="bfmedcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfinsuclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="hbfsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="lbfsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfhandcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="gbfsuppamt" visibility="visible" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfsubtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bflimitdiffamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="reservecnt" style="text-align:right; "/>
- <col ref="reserveamtslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="delcnt" format="#,###" style="text-align:right; "/>
- <col ref="delamtrslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="reserve_delcnt" format="(-)#,###" style="text-align:right; "/>
- <col ref="reserve_delamtrslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="changecnt" format="(-)#,###" style="text-align:right; "/>
- <col ref="addcnt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamaddamtrslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamcutamtrslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamamtrslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afcnt" format="#,###" style="text-align:right; "/>
- <col ref="afmedcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afinsuclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="hafsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="lafsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afhandcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="gafsuppamt" visibility="visible" format="(-)#,###" style="text-align:right; "/>
- <col ref="afsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afsubtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="aflimitdiffamt" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var rows = grd_deptfild.rows- grd_deptfild.fixedRows;
- var chkrow = 1;
- for(var i = 0; i <= rows; i++){
- var deptengabbr = model.getValue("/root/main/list1/griddeptfild[" + i + "]/depthngnm");
- if(deptengabbr.substr(2,2) == "분야"){
- chkrow = i;
- break;
- }
- }
- var row = grd_deptfild.row - 1;
- var target = event.target;
- var targetchk = target.substr(0,2);
- if(targetchk == '_$'){
- if(chkrow-1 >= row){
- model.setValue("/root/send/send_ind/orddeptcd", model.getValue("/root/main/list1/griddeptfild[" + row + "]/orddeptcd"));
- model.setValue("/root/send/send_ind/sumtypecd", model.getValue("/root/main/list1/griddeptfild[" + row + "]/sumtypecd"));
- if(fSendIndCopy()){
-
- var clamflag = model.getValue("/root/send/send_base/clamflag");
- //원청구외 청구차수 제외
- /*
- if(clamflag != '0'){
- model.setValue("/root/send/send_base/clamflag", "");
- }
- */
- submit("TRPIF00102");
- // 해당 tab 으로 토글시킨다.
- model.toggle("case2");
-
- //case의선택버튼을 이동시킨다.
- button8.visible = true;
- button9.visible = true;
- button1.visible = false;
-
- button11.visible = false; //과별 엑셀 저장 숨김
- button4.visible = true; //개인별 엑셀 저장 보이기
- button6.visible = false; //처방내역 엑셀 저장 숨김
-
- btn_indprescond.selected = true;
- //입원외래 구분시 컬럼을 숨긴다.
- fHiddenColumnInd();
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- // 셀 복사 Ctrl + C 키를 누른 경우
- if (grd_deptfild.isCell(event.target) && grd_deptfild.row >= grd_deptfild.fixedRows) {
- var row = grd_deptfild.row;
- var col = grd_deptfild.col;
- var clip = grd_deptfild.labelMatrix(row, col);
- window.clipBoardData = clip;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <group id="grp_prtoption" visibility="hidden" style="left:785px; top:8px; width:240px; height:182px; border-color:#c7a3cf; border-style:solid; ">
- <caption id="caption81" class="tit_2" style="left:5px; top:4px; width:144px; height:14px; ">금액집계표 출력</caption>
- <line id="line27" class="line_1" style="x1:1px; y1:21px; x2:235px; y2:20px; "/>
- <button id="button12" class="btn4_letter2" style="left:178px; top:155px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_prtoption.visible = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption18" class="search_name" visibility="visible" style="left:4px; top:28px; width:124px; height:17px; ">진료 형태 :</caption>
- <caption id="caption19" class="search_name" visibility="visible" style="left:4px; top:53px; width:124px; height:17px; ">출력 선택 :</caption>
- <line id="line5" class="line_3" style="x1:-1px; y1:152px; x2:238px; y2:152px; "/>
- <button id="button13" class="btn4_letter2" style="left:119px; top:155px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/list4");
- submit("TRPIF00107");
-
- if (getNodesetCount("/root/main/list4/amtsumtable") == 0) {
- model.makeNode("/root/main/list4/amtsumtable/cnt");
- }
- if(model.getValue("/root/send/prtoption/clamflag") == "5")
- {
- if(model.getValue("/root/send/prtoption/printtype") == "1") {
- exeReportPreview("RPPIF00101", "XMLSTR");
- } else {
- exeReportPreview("RPPIF00104", "XMLSTR");
- }
- }
- else if(model.getValue("/root/send/prtoption/clamflag") == "6")
- {
- if(model.getValue("/root/send/prtoption/printtype") == "1") {
- exeReportPreview("RPPIF00102", "XMLSTR");
- } else {
- exeReportPreview("RPPIF00105", "XMLSTR");
- }
- }
- else
- {
- if(model.getValue("/root/send/prtoption/printtype") == "1") {
- exeReportPreview("RPPIF00100", "XMLSTR");
- } else {
- exeReportPreview("RPPIF00103", "XMLSTR");
- }
-
- }
-
- ]]>
- </script>
- </button>
- <select1 id="radio2" ref="/root/send/prtoption/ioflag" appearance="full" cellspacing="3" cols="2" overflow="visible" style="left:99px; top:28px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio3" ref="/root/send/prtoption/judgtype" appearance="full" cellspacing="3" cols="3" overflow="visible" style="left:99px; top:53px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>사전</label>
- <value>B</value>
- </item>
- <item>
- <label>사후</label>
- <value>A</value>
- </item>
- <item>
- <label>원무</label>
- <value>P</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:4px; top:102px; width:91px; height:17px; ">미수 년월 :</caption>
- <input id="prt_clamym" ref="/root/send/prtoption/clamym" class="input_search" navindex="3" inputtype="date" format="yyyy-mm" style="left:98px; top:101px; width:76px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // fDateChk();
- ]]>
- </script>
- </input>
- <select1 id="prt_clamflag" ref="/root/send/prtoption/clamflag" class="combo_search" appearance="minimal" style="left:98px; top:77px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>원청구</label>
- <value>0</value>
- </item>
- <item>
- <label>보완청구</label>
- <value>1</value>
- </item>
- <item>
- <label>추가청구</label>
- <value>2</value>
- </item>
- <item>
- <label>누락청구</label>
- <value>4</value>
- </item>
- <item>
- <label>보완차액</label>
- <value>5</value>
- </item>
- <item>
- <label>보완삭제</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:4px; top:78px; width:91px; height:17px; ">청구 구분 :</caption>
- <caption id="caption10" class="search_name" style="left:4px; top:126px; width:91px; height:17px; ">출력 구분 :</caption>
- <select1 id="combo1" ref="/root/send/prtoption/printtype" appearance="minimal" style="left:98px; top:125px; width:136px; height:19px; ">
- <choices>
- <item>
- <label>구분별</label>
- <value>1</value>
- </item>
- <item>
- <label>구분별+분야별</label>
- <value>2</value>
- </item>
- <item>
- <label>치과</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- </group>
- </case>
- <case id="case2">
- <!-- 20110105 JHP 긴급복지지원금 추가 고시에 따른 재원, 심사전, 후 긴급지원금, 희귀지원금, 총지원금 구분 추가변경(개인) -->
- <datagrid id="grd_indprescond" nodeset="/root/main/list2/gridindprescond" caption="접수번호^접수일자^심사상태^명일련^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^청구정보^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^재원금액^인수증액^인수감액^인수차액^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^심사 전(인수금액)^청구증액^청구감액^청구차액^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^심사 후(청구금액)^pidsn|접수번호^접수일자^심사상태^명일련^등록번호^수진자^청구년월^청구구분^청구차수^종별^조합기호^명칭^보조^본인부담율^진료분야^진료과코드^진료과^청구과코드^청구과^심사자^심사자코드^진료의명^진료의코드^(재)총진료비^(재)비급여진료비^(재)본인부담총액^(재)급여총진료비^(재)급여본인부담금^(재)급여청구액^(재)상한액^(재)희귀지원금^(재)결핵지원금^(재)장애인^(재)긴급지원금^(재)지원금^(재)대불금^(재)약제상한차액^인수증액^인수감액^인수차액^(전)총진료비^(전)본인부담^(전)청구액^(전)상한액^(전)희귀지원금^(전)결핵지원금^(전)장애인^(전)긴급지원금^(전)지원금^(전)대불금^(전)약제상한차액^청구증액^청구감액^청구차액^(후)총진료비^(후)본인부담^(후)청구액^(후)상한액^(후)희귀지원금^(후)결핵지원금^(후)장애인^(후)긴급지원금^(후)지원금^(후)대불금^(후)약제상한차액^pidsn" colsep="^" colwidth="60, 62, 100, 53, 61, 46, 60, 69, 60, 40, 63, 69, 68, 70, 61, 68, 47, 71, 44, 48, 75, 58, 70, 93, 100, 100, 105, 112, 103, 76, 102, 100, 70, 100, 100, 81, 100, 60, 58, 67, 88, 117, 113, 92, 96, 100, 80, 100, 100, 69, 100, 61, 54, 57, 103, 112, 94, 65, 112, 100, 70, 100, 100, 73, 100, 100" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:8px; width:1183px; height:640px; ">
- <col ref="acptno" style="left:20px; top:43px; width:85px; height:23px; text-align:center; "/>
- <col ref="acptdd" visibility="hidden" style="text-align:center; "/>
- <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 ref="docuseqno" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col disabled="true" ref="clamflagcd" type="combo" visibility="visible" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamdg" visibility="hidden" style="text-align:center; "/>
- <col ref="insusubflag" style="text-align:center; "/>
- <col ref="assomark" visibility="hidden" style="text-align:center; "/>
- <col ref="nm" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="supp" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0010list/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="apprate" style="left:1131px; top:43px; width:88px; height:23px; text-align:center; "/>
- <col disabled="true" ref="ordfildcd" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="orddeptabbr" style="text-align:center; "/>
- <col ref="clamdeptcd" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="clamdeptabbr" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0471list/P0471">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="judgrnm" style="text-align:center; "/>
- <col ref="judgrid" visibility="hidden" style="text-align:center; "/>
- <col ref="atdoctnm" style="text-align:center; "/>
- <col ref="atdoctid" visibility="hidden" style="text-align:center; "/>
- <col ref="inhosptotordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospnopytotordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospownbtotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosppaytotordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosppayownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosppayclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="hinhospsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="linhospsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosphandcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="ginhospsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhospsubtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inhosplimitdiffamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="acptaddamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="acptcutamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="acptamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfmedcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfinsuclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="hbfsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="lbfsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfhandcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="gbfsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfsubtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bflimitdiffamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamaddamtrslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamcutamtrslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamamtrslt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afmedcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afinsuclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="hafsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="lafsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afhandcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="gafsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afsuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afsubtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="aflimitdiffamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="pidsn" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_indprescond.row - 1;
-
- var target = event.target;
- var targetchk = target.substr(0,2);
- if(targetchk == '_$'){
- var insukindcd = model.getValue("/root/send/send_base/insukindcd");
- var insukindcd1= '';
-
- model.setValue("/root/send/send_prcp/clamym", model.getValue("/root/main/list2/gridindprescond[" + row + "]/clamym"));
- model.setValue("/root/send/send_prcp/clamdg", model.getValue("/root/main/list2/gridindprescond[" + row + "]/clamdg"));
- model.setValue("/root/send/send_prcp/pid", model.getValue("/root/main/list2/gridindprescond[" + row + "]/pid"));
- model.setValue("/root/send/send_prcp/pidsn", model.getValue("/root/main/list2/gridindprescond[" + row + "]/pidsn"));
- model.setValue("/root/send/send_prcp/orddeptcd", model.getValue("/root/main/list2/gridindprescond[" + row + "]/orddeptcd"));
- model.setValue("/root/send/send_prcp/ioflag", model.getValue("/root/send/send_base/ioflag"));
- model.setValue("/root/send/send_prcp/clamflagcd", model.getValue("/root/send/send_base/clamflag"));
- model.setValue("/root/send/send_prcp/insukindcd", insukindcd);
-
- // model.alert(model.getValue("/root/send/send_prcp/clamflagcd"));
- // model.alert(model.getValue("/root/send/send_base/clamflag"));
-
- if (insukindcd == "21"){
- model.setValue("/root/send/send_prcp/insukindcd1","22");
- }else if (insukindcd == "11"){
- model.setValue("/root/send/send_prcp/insukindcd1","42");
- }else{
- model.setValue("/root/send/send_prcp/insukindcd1","XX");
- }
-
-
- submit("TRPIF00106");
- // 해당 tab 으로 토글시킨다.
- model.toggle("case3");
- button8.visible = false;
- button9.visible = false;
- button1.visible = false;
-
- button11.visible = false; //과별 엑셀 저장 숨김
- button4.visible = false; //개인별 엑셀 저장 숨김
- button6.visible = true; //처방내역 엑셀 저장 보이기
-
- //case의선택버튼을 이동시킨다.
- btn_indprcpspec.selected = true;
-
- model.refresh();
-
- var nodeList = instance1.selectNodes("/root/main/list3/gridindprcpspec");
- if (nodeList.length < 1) {
- messageBox("수정된 처방내역이", "I004"); //I004=없습니다.
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- // 셀 복사 Ctrl + C 키를 누른 경우
- if (grd_indprescond.isCell(event.target) && grd_indprescond.row >= grd_indprescond.fixedRows) {
- var row = grd_indprescond.row;
- var col = grd_indprescond.col;
- var clip = grd_indprescond.labelMatrix(row, col);
- window.clipBoardData = clip;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:3px; x2:1188px; y2:3px; "/>
- </case>
- <case id="case3">
- <line id="line3" class="line_1" style="x1:0px; y1:3px; x2:1188px; y2:3px; "/>
- <datagrid id="grd_prcpspec" nodeset="/root/main/list3/gridindprcpspec" caption="항목^항목^그룹수가^수가코드^EDI코드^한글명^원무금액^인수차액^심사전^심사전^심사전^심사후^심사후^심사후^차액^산정
수정^최종
수정자|항^목^그룹수가^수가코드^EDI코드^한글명^원무금액^인수차액^1일량^일수^금액^1일량^일수^금액^차액^산정
수정^최종
수정자" colsep="^" colwidth="40, 40, 90, 90, 90, 209, 95, 80, 50, 45, 95, 50, 45, 95, 100, 34, 67" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:8px; width:1183px; height:640px; ">
- <col ref="item1" style="text-align:center; "/>
- <col ref="item2" style="text-align:center; "/>
- <col ref="grupcalcscorcd"/>
- <col ref="snglcalcscorcd"/>
- <col ref="basecd"/>
- <col ref="hngnm" style="text-align:left; "/>
- <col ref="rcptcalcamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="insudiffamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="bfrtims" format="###.00" style="text-align:right; "/>
- <col ref="bfrdayno" format="##" style="text-align:right; "/>
- <col ref="bframt" format="(-)#,###" style="text-align:right; "/>
- <col ref="afttims" format="###.00" style="text-align:right; "/>
- <col ref="aftdayno" format="##" style="text-align:right; "/>
- <col ref="aftamt" format="#,###" style="text-align:right; "/>
- <col ref="difamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="estmyn" style="text-align:center; "/>
- <col ref="lastupdtrid" style="text-align:center; "/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- // 셀 복사 Ctrl + C 키를 누른 경우
- if (grd_prcpspec.isCell(event.target) && grd_prcpspec.row >= grd_prcpspec.fixedRows) {
- var row = grd_prcpspec.row;
- var col = grd_prcpspec.col;
- var clip = grd_prcpspec.labelMatrix(row, col);
- window.clipBoardData = clip;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_indprcpspec" class="btn_sw" group="tab" selected="true" style="left:238px; top:65px; width:120px; height:22px; ">
- <caption>개인별처방내역</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //cap_flag.visible = false;
- button8.visible = false;
- button9.visible = false;
- button1.visible = false;
-
- button11.visible = false; //과별 엑셀 저장 숨김
- button4.visible = false; //개인별 엑셀 저장 숨김
- button6.visible = true; //처방내역 엑셀 저장 보이기
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_indprescond" class="btn_sw" group="tab" selected="true" style="left:119px; top:65px; width:120px; height:22px; ">
- <caption>개인별현황</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //cap_flag.visible = false;
- button8.visible = true;
- button9.visible = true;
- button1.visible = false;
-
- button11.visible = false; //과별 엑셀 저장 숨김
- button4.visible = true; //개인별 엑셀 저장 보이기
- button6.visible = false; //처방내역 엑셀 저장 숨김
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_deptfild" class="btn_sw" group="tab" selected="true" style="left:0px; top:65px; width:120px; height:22px; ">
- <caption>과별/분야별</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- button8.visible = false;
- button9.visible = false;
- button1.visible = true;
-
- button11.visible = true; //과별 엑셀 저장 보이기
- button4.visible = false; //개인별 엑셀 저장 숨김
- button6.visible = false; //처방내역 엑셀 저장 숨김
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button8" class="btn5_letter7" style="left:707px; top:64px; width:97px; height:19px; ">
- <caption>파일 다운로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //messageBox("개발 중입니다.!" , "E999");
- var todd = getCurrentDate();
- todd = todd.toDate().getAddDate(+1, 'D');
- zsbfOpenBatchLogPopup("clamstatmngtmgr.IndPresCondBatch",getCurrentDate(),todd.getDateFormat());
- ]]>
- </script>
- </button>
- <button id="button9" class="btn5_letter5" style="left:629px; top:64px; width:75px; height:19px; ">
- <caption>파일 생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fSrchChk();
-
- if(submit("TRPIF00104") == false){
- messageBox("파일 생성시 오류가 발생하였습니다." , "E999");
- return;
- }
-
- messageBox("파일 생성이 완료 되었습니다." , "E999");
-
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter4" style="left:885px; top:64px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = getCurrentDate();
-
- if (grd_deptfild.rows == 2) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "과별-분야별현황 수정전후집계표 조회_"+today , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- //grd_deptfild.saveExcel(fileName, "과별분야별현황수정전후집계표조회", false, true, "", "", "");
- grd_deptfild.saveExcel(fileName, "sheetname:과별-분야별현황 수정전후집계표 조회; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:;;");
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:885px; top:64px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = getCurrentDate();
- if (grd_indprescond.rows == 2) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "개인별현황 수정전후집계표 조회_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_indprescond.saveExcel(fileName, "sheetname:개인별현황 수정전후집계표 조회; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:; clamtypecd:label;supp:label;");
- }
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter4" style="left:885px; top:64px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = getCurrentDate();
- if (grd_prcpspec.rows == 2) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "개인별처방내역 수정전후집계표 조회_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_prcpspec.saveExcel(fileName, "sheetname:개인별처방내역 수정전후집계표 조회; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:;");
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter5" style="left:807px; top:64px; width:75px; height:19px; ">
- <caption>집계표출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var tmpfromdd = model.getValue("/root/send/send_base/fromdd");
- //var todd = model.getValue("/root/send/send_base/todd");
-
- var tmpfromdd1 = tmpfromdd.substr(0,6);
-
- model.setValue("/root/send/prtoption/calc", model.getValue("/root/send/send_base/calc"));
- model.setValue("/root/send/prtoption/clamym", tmpfromdd1);
- prt_clamym.refresh();
- grp_prtoption.visible = true;
- ]]>
- </script>
- </button>
- <bool id="bool1" checkvalue="Y,N" ref="/root/send/send_base/calc" style="left:375px; top:65px; width:35px; height:15px; "/>
- <caption id="caption9" style="left:405px; top:65px; width:155px; height:15px; ">청구번호 생성 유(결산용)</caption>
- </group>
- <button id="button2" class="btn2_letter3" style="left:952px; top:76px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_deptfild.attribute("selectionmode") = "free";
- grd_indprescond.attribute("selectionmode") = "free";
- grd_prcpspec.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter3" style="left:1008px; top:76px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_deptfild.attribute("selectionmode") = "bycol";
- grd_indprescond.attribute("selectionmode") = "bycol";
- grd_prcpspec.attribute("selectionmode") = "bycol";
-
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter3" style="left:1064px; top:76px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_deptfild.attribute("selectionmode") = "byrow";
- grd_indprescond.attribute("selectionmode") = "byrow";
- grd_prcpspec.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter3" style="left:1119px; top:75px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <caption id="caption1" style="left:0px; top:755px; width:540px; height:16px; font-size:9pt; font-weight:bolder; color:#fa0413; ">▶ [심사상태조건] : 1. 재원:'R' 제외, 2. 심사전:'R' 제외, 3. 심사후:'D','N','R' 제외.</caption>
- <caption id="caption5" style="left:550px; top:755px; width:635px; height:16px; font-size:9pt; font-weight:normal; color:#000000; ">▶ 1. 심사(전)건수 = 재원(재)건수 + 추가건수, 2. 심사(후)건수 = 심사(전)건수 - (삭제+보류건수) + 자격수정건수</caption>
- </xhtml:body>
- </xhtml:html>
|