1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMPMC00300_수진내역환자관리.xrw
- * 설 명 : 수진내역관리
- * 설 계 자 : 김상민
- * 작 성 자 : 김상민
- * 작 성 일 : 2009.05.25
- * 수정이력 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <script type="javascript">
- <![CDATA[
- // 초기화
- function fInitialize(gubn)
- {
- model.resetInstanceNode("/root/send/data1");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ptpm");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
- // 조회 구분 초기화
- fSrchCondChng("0");
-
- if (gubn == "all") {
- model.removeNodeset("/root/main/ptpmlist");
- model.makeNode("/root/main/ptpmlist");
- }
-
- model.resetInstanceNode("/root/send/data3");
- //model.makeNode("/root/send/data3");
-
-
- model.setValue("/root/hidden/currentDate", getCurrentDate());
- model.setValue("/root/send/data6/srchcond1","0");
-
- button6.visible = true;
- button7.visible = false;
-
- model.refresh();
- }
-
- // 환자 인정 사항 조회
- function fBaseInfoRef()
- {
- model.removeNodeset("/root/send/data5/ofidocacptdd");
- model.removeNodeset("/root/send/data5/ofidocretno");
- model.removeNodeset("/root/send/data3/ofidocretno");
- model.removeNodeset("/root/main/ptpm/ofidocretno");
- model.makeNode("/root/send/data5/ofidocacptdd");
- model.makeNode("/root/send/data5/ofidocretno");
- model.makeNode("/root/send/data3/ofidocretno");
- model.makeNode("/root/main/ptpm/ofidocretno");
-
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- } else if ( model.getValue("/root/main/popupendflag") == "pass" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- } else {
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ojpm");
- model.refresh();
- return false;
- }
- // 환자 인적 사항, 민원 사항 조회
- if(submit("TRPMC03001")){
-
- model.resetInstanceNode("/root/main/ptpm");
- model.resetInstanceNode("/root/main/ptbs");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
-
- if( getNodesetCount("/root/hidden/rcv/ptbs/ptbs_pid") > 0 ) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
- //model.copyNodet
- var ptpmcnt = getNodesetCount("/root/hidden/rcv/ptpm/pid");
-
- // 민원 사항이 없을 경우
- if( ptpmcnt == 0 ){
-
- // 내원 기록 조회
- /*model.setValue("/root/send/data3/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/data3/flag","A");
- fGetChosRecRef();*/
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","A");
- // 수진 내원 내역 조회
- //fGetChosRecRef();
-
- // 민원 사항이 1건만 있을 경우
- }else if( ptpmcnt == 1 ){
-
- var rtn = messageBox("새로운 수진내역을 입력하실 경우 예(YES) 등록된 수진내역을 조회하실 경우 아니오(NO)를 선택해 주십시요!", "Q999");
-
- if (rtn == 7 ) {
-
- copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
-
- // 내원 기록 조회
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptpm/pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- //model.alert(model.getValue("/root/send/data3/ofidocdocuno"));
- fGetChosRecRef();
- }else{
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- model.setValue("/root/hidden/rcv/ptpm/ofidocretno", '');
- //새로입력시 전체조회할때 값을 구분하기위해 구분값 처리
- model.setValue("/root/temp/flag", "f");
- }
-
- // 민원 사항이 1건이상일 경우
- }else if( ptpmcnt > 1 ){
- // 수진 내역에 등록된 환자 조회
- fGetPtpmInfoRef();
- }
- }
-
- //인사정보의 직원, 직원가족정보 조회
- var rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
- var rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
-
- if( rrgstno1.length == 6 && rrgstno2.length == 7 ){
- var retValue = fGetPsnWorkInfo(rrgstno1 + rrgstno2);
- /*
- //선택한 직원정보 세팅
- if( retValue != '' && retValue != ' ' ){
- var arr_retValue = retValue.split("▦");
- model.setValue("/root/main/otpt/otpt_emplno", arr_retValue[0]);
- model.setValue("/root/main/otpt/otpt_emplnm", arr_retValue[1]);
- // model.refresh();
- }
- */
- }
-
- //민원환자관리 등록여부 체크
- submit("TRPMC03006");
-
- fCheckCampYn();
-
-
- model.refresh();
- }
-
- // 수진 내역에 등록된 환자 팝업 조회
- function fGetPtpmInfoRef()
- {
- var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
- if (!ptbs_pid == null || !ptbs_pid ==" " || !ptbs_pid == "") {
-
- model.setValue("/root/send/data6/srchcond1","1");
- model.setValue("/root/send/data6/srchcond2",ptbs_pid);
- modal("../../../pam/patinfomngtweb/xrw/SMPMC00310", "1","150", "150", "SPPMC02500", "/root/send/data6", "/root/send/data1");
- }
-
- model.setValue("/root/send/data6/srchcond1","");
- model.setValue("/root/send/data6/srchcond2","");
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
-
- model.setValue("/root/send/data3/flag","P");
-
- // 환자 인정 사항, 민원 사항, 내원 기록 조회
- fGetPtpmPatInfo();
- //fGetChosRecRef();
-
- } else {
- //model.alert("aa");
- return false;
- }
- }
-
- // 환자 인정 사항, 민원 사항, 내원 기록 조회
- function fGetPtpmPatInfo()
- {
- if(submit("TRPMC03004")){
-
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ptpm");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- // 인적 사항 조회
- var ptbscnt = getNodesetCount("/root/hidden/rcv/ptbs");
- if (ptbscnt > 0) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
-
- // 민원 사항 조회
- if( getNodesetCount("/root/hidden/rcv/ptpm/pid") > 0 ){
- copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
- }
-
-
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // 내원 기록 조회
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
-
- //청구기록 조회
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
-
- var chosreclistcnt = getNodesetCount("/root/hidden/rcv/list1/chosreclist");
- chosreclistcnt = parseInt(chosreclistcnt)+1;
- model.setValue("/root/temp/chosreclistcnt", chosreclistcnt);
-
- var clamlistcnt = getNodesetCount("/root/hidden/rcv/list2/clamlist");
- clamlistcnt = parseInt(clamlistcnt)+1;
- model.setValue("/root/temp/clamlistcnt", clamlistcnt);
- }
-
- /*
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") <= 0 ){
- //수진 내역이 2이상이면서 수진내원내력이 없을경우 전체조회를 한다
- model.setValue("/root/send/data3/flag","A");
-
- if(submit("TRPMC03002")){
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- }
- }
- */
- model.toggle("case2");
-
- model.refresh();
- }
-
- /* */
- // 내원 기록 조회
- function fGetChosRecRef()
- {
- if(submit("TRPMC03002")){
-
- var chosreclistcnt = getNodesetCount("/root/hidden/rcv/list1/chosreclist");
- chosreclistcnt = parseInt(chosreclistcnt)+1;
- model.setValue("/root/temp/chosreclistcnt", chosreclistcnt);
-
- var clamlistcnt = getNodesetCount("/root/hidden/rcv/list2/clamlist");
- clamlistcnt = parseInt(clamlistcnt)+1;
- model.setValue("/root/temp/clamlistcnt", clamlistcnt);
-
- /*
- model.alert(model.getValue("/root/temp/chosreclistcnt"));
- model.alert(model.getValue("/root/temp/clamlistcnt"));
- */
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
-
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
- }
- }
-
- // 저장 후 환자 인적 사항 조회
- function AfSafeBaseInfoRef()
- {
- model.removeNodeset("/root/send/data5/pid");
- model.removeNodeset("/root/send/data5/ofidocacptdd");
- model.removeNodeset("/root/send/data5/ofidocretno");
- model.makeNode("/root/send/data5/pid");
- model.makeNode("/root/send/data5/ofidocacptdd");
- model.makeNode("/root/send/data5/ofidocretno");
-
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data5/ofidocacptdd",model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data5/ofidocretno",model.getValue("/root/main/ptpm/ofidocretno"));
- } else if ( model.getValue("/root/main/popupendflag") == "pass" ) {
- model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data5/ofidocacptdd",model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data5/ofidocretno",model.getValue("/root/main/ptpm/ofidocretno"));
- } else {
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ojpm");
- model.refresh();
- return false;
- }
-
- if(submit("TRPMC03001")){
-
- model.resetInstanceNode("/root/main/ptpm");
- model.resetInstanceNode("/root/main/ptbs");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
-
- if( getNodesetCount("/root/hidden/rcv/ptbs/ptbs_pid") > 0 ) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
- //model.copyNodet
-
- var ptpmcnt = getNodesetCount("/root/hidden/rcv/ptpm/pid");
-
-
-
- copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
-
- // 내원 기록 조회
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptpm/pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- //model.alert(model.getValue("/root/send/data3/ofidocdocuno"));
- fGetChosRecRef();
-
- model.refresh();
- }
- }
-
- function fGetColorChangeChoslist(){
- grd_chosrec.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- setRowStyle("grd_chosrec", "2","Y","histyn","equal"); //row의 색상을 변경한다.
- grd_chosrec.rebuild();
-
- datagrid1.allStyle("all","background-color") = "#ffffff"; // 배경색을 초기화 한다.
- setRowStyle("datagrid1", "2","Y","histyn","equal"); //row의 색상을 변경한다.
- datagrid1.rebuild();
- }
-
-
- function fCheckCampYn(){
-
- model.setValue("/root/send/data5/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- submit("TRPMC03006");
-
- if(model.getValue("/root/temp/pmchcapm/capmlist") != ""){
- var rtn = messageBox("재원중 민원환자입니다. 계속 진행하실 경우 예(YES) 초기화 하실 경우 아니오(NO)를 선택해 주십시요!", "Q999");
-
- if (rtn == 7 ) {
- fInitialize("all");
- }
-
- }
- }
-
-
- ]]>
- </script>
- <xhtml:head>
- <xhtml:title>수진내역관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1/>
- <data2>
- <sess_posinstcd>012</sess_posinstcd>
- </data2>
- <data3>
- <pid/>
- <ofidocacptdd/>
- <ofidocdocuno/>
- <flag/>
- <ofidocretno/>
- </data3>
- <data4>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <autoflag/>
- </data4>
- <data5>
- <pid/>
- </data5>
- <data6>
- <srchcond1>0</srchcond1>
- <srchcond2/>
- <srchcond3/>
- </data6>
- <update>
- <datalist>
- </datalist>
- </update>
- <inhopeddfrom/>
- <inhopeddto/>
- <sendflag/>
- <sess_posinstcd/>
- </send>
- <main>
- <patinfo>
- <patinfolist>
- <pid/>
- </patinfolist>
- </patinfo>
- <ptbs>
- <ptbs_status/>
- <ptbs_pid/>
- <ptbs_hngnm/>
- <ptbs_engnm/>
- <ptbs_rrgstno1/>
- <ptbs_rrgstno2/>
- <ptbs_brthdd/>
- <ptbs_sex/>
- <ptbs_age/>
- <ptbs_hometel/>
- <ptbs_mpphontel/>
- <ptbs_zipcd1/>
- <ptbs_zipcd2/>
- <ptbs_zipcdseq/>
- <ptbs_zipnm/>
- <ptbs_detladdr/>
- <ptbs_forgeryn/>
- <ptbs_recmyn/>
- <ptbs_recmerid/>
- <ptbs_vipyn/>
- <ptbs_religncd/>
- <ptbs_remfact/>
- <ptbs_inhospyn/>
- <totaluncoamt/>
- <ptbs_dethyn/>
- <ptbs_dethdt/>
- <ptbs_insukind/>
- <ptbs_orddrnm/>
- </ptbs>
- <ptpm>
- <stat/>
- <pid/>
- <ofidocacptdd/>
- <ofidocdocuno/>
- <instcd/>
- <inst/>
- <chrgernm/>
- <tel/>
- <tretflag/>
- <datadelive/>
- <datadelivedd/>
- <civilapler/>
- <civilaplertel/>
- <civilapleraddr/>
- <civilaplflag/>
- <civilaplcnts/>
- <nonpayallamt/>
- <choiordamt/>
- <insuteamrtnfcstamt/>
- <choiordrtnfcstamt/>
- <paycalcfcstamt/>
- <cncldocudelivedd/>
- <aprvcnclrtnfcstamt/>
- <fcstdecidd/>
- <fcstdeciamt/>
- <roothospexpsflag/>
- <ordfcstamt/>
- <ordfcstdd/>
- <lastenddd/>
- <obtappdd/>
- <obtapprslt/>
- <obtapprsltdd/>
- <obtapprcogamt/>
- <etcrem/>
- <jvirem/>
- <totalamt/>
- <edimedcaretotamt/>
- <ediownbamt/>
- <ediinsuclamamt/>
- <ediownbmaxexamt/>
- <edisuppamt/>
- <edisubtamt/>
- <edihandcaprfund/>
- <dedutretdd/>
- <dedudocuno/>
- <rtnschenotidd/>
- <rtnschenotidocuno/>
- <rtnschenotiamt/>
- <ioflag/>
- <ordfromdd/>
- <ordtodd/>
- <judgrid/>
- <addclamamt/>
- <addclamrem/>
- <obtappdocuno/>
- <obtappamt/>
- <obtappdecidd/>
- <obtappdecidocuno/>
- <obtappaftrtndeciamt/>
- <obtapprsltrem/>
- <judgclamdd/>
- <judgclamdocuno/>
- <judgclamamt/>
- <judgclamdecidd/>
- <judgclamdecidocuno/>
- <judgclamaftrtndeciamt/>
- <discamt/>
- <uncoamt/>
- <rtnendyn/>
- <fcsteordmat/>
- <fcsteinamt/>
- <fcstechrgfood/>
- <fcstemedimpsamt/>
- <fcsteinjamt/>
- <fcsteanstamt/>
- <fcstecureopamt/>
- <fcstetestamt/>
- <fcsteimgdiagrayamt/>
- <fcstescitamt/>
- <fcstepsypamt/>
- <fcstectordamt/>
- <fcstemriordamt/>
- <fcstepetordamt/>
- <fcstechoiordamt/>
- <fcstenopyamt/>
- <fcsteetcamt/>
- <fcstecurematramt/>
- <deciordmat/>
- <deciinamt/>
- <decichrgfood/>
- <decimedimpsamt/>
- <deciinjamt/>
- <decianstamt/>
- <decicureopamt/>
- <decitestamt/>
- <deciimgdiagrayamt/>
- <deciscitamt/>
- <decipsypamt/>
- <decictordamt/>
- <decimriordamt/>
- <decipetordamt/>
- <decichoiordamt/>
- <decinopyamt/>
- <decietcamt/>
- <decicurematramt/>
- <ofidocretno/>
- <ofidocacptddkey/>
- <patowntotamt/>
- <docucnt/>
- <obtapprcamt/>
- <addreqdd/>
- <addreqdepodd/>
- <addreqdepoamt/>
- </ptpm>
- <ptpmlist>
- <grdpatspectlist>
- <ofidocacptdd/>
- <pid/>
- <hngnm/>
- <tretstat/>
- <insuteamrtnfcstamt/>
- <apntordrtnfcstamt/>
- <instrtnamt/>
- <paycalcfcstamt/>
- <lastenddd/>
- <datadelivedd/>
- <hospenddd/>
- <ofidocdocuno/>
- </grdpatspectlist>
- </ptpmlist>
- <list1>
- <chosreclist>
- </chosreclist>
- </list1>
- <ioflag/>
- <amtflag/>
- <list2>
- <clamlist/>
- </list2>
- </main>
- <hidden>
- <rcv>
- <ptbs>
- <ptbs_status/>
- <ptbs_pid/>
- <ptbs_hngnm/>
- <ptbs_engnm/>
- <ptbs_rrgstno1/>
- <ptbs_rrgstno2/>
- <ptbs_brthdd/>
- <ptbs_sex/>
- <ptbs_age/>
- <ptbs_hometel/>
- <ptbs_mpphontel/>
- <ptbs_zipcd1/>
- <ptbs_zipcd2/>
- <ptbs_zipcdseq/>
- <ptbs_zipnm/>
- <ptbs_detladdr/>
- <ptbs_forgeryn/>
- <ptbs_recmyn/>
- <ptbs_recmerid/>
- <ptbs_vipyn/>
- <ptbs_religncd/>
- <ptbs_remfact/>
- <ptbs_inhospyn/>
- </ptbs>
- <ptpm>
- <stat/>
- <pid/>
- <ofidocacptdd/>
- <ofidocdocuno/>
- <instcd/>
- <pattel/>
- <civilaplertel/>
- <inst/>
- <chrgernm/>
- <tel/>
- <trsmno/>
- <datareqdd/>
- <datadelivedd/>
- <hospenddd/>
- <cncldocudelivedd/>
- <lastenddd/>
- <ordflag/>
- <tretstat/>
- <insuteamrtnfcstamt/>
- <apntordrtnfcstamt/>
- <paycalcfcstamt/>
- <aprvcnclrtnfcstamt/>
- <instrtnamt/>
- <jvirem/>
- <ofidocretno/>
- <ofidocacptddkey/>
- </ptpm>
- <ptpmuncoyn>
- <uncoyn/>
- </ptpmuncoyn>
- <list1>
- <chosreclist>
- <ioflag/>
- <ordindd/>
- <orddeptnm/>
- <orddrnm/>
- <orddeptcd/>
- <orddrid/>
- <insukind/>
- <suppkind/>
- <uncototamt/>
- <totordamt/>
- <payamt/>
- <nopayamt/>
- <specordamt/>
- <discamt/>
- <judgrid/>
- </chosreclist>
- </list1>
- <list2>
- <clamlist>
- <ioflag/>
- <clamflagcd/>
- <insukind/>
- <suppkind/>
- <clamdeptcd/>
- <orddeptcd/>
- <orddrid/>
- <acptno/>
- <docuseqno/>
- <ordfromdd/>
- <ordtodd/>
- <judgyn/>
- <edimedcaretotamt/>
- <ediownbamt/>
- <ediinsuclamamt/>
- <ediownbmaxexamt/>
- <edisuppamt/>
- <edisubtamt/>
- <edihandcaprfund/>
- <judgrid/>
- </clamlist>
- </list2>
- </rcv>
- <original>
- </original>
- <flag>
- <rcv_flag>
- </rcv_flag>
- </flag>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- </roomcd>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- </init>
- <source>
- <pid/>
- </source>
- <target/>
- <userpopupinfo>
- <param/>
- <flag/>
- <searchitem/>
- </userpopupinfo>
- <oneselect/>
- <currentDate/>
- </hidden>
- <init>
- <A0001list>
- <A0001>
- <cdid/>
- <cdnm/>
- </A0001>
- </A0001list>
- <P0001list>
- <P0001>
- <cdid/>
- <cdnm/>
- </P0001>
- </P0001list>
- <P0437list>
- <P0437>
- <cdid/>
- <cdnm/>
- </P0437>
- </P0437list>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- <P0484list>
- <P0484>
- <cdid/>
- <cdnm/>
- </P0484>
- </P0484list>
- <P0485list>
- <P0485>
- <cdid/>
- <cdnm/>
- </P0485>
- </P0485list>
- </init>
- <init_com>
- <init>
- <P0006list/>
- <P0015list>
- <P0015>
- <cdid/>
- <cdnm/>
- </P0015>
- </P0015list>
- <P0016list>
- <P0016>
- <cdid/>
- <cdnm/>
- </P0016>
- </P0016list>
- <P0020list>
- <P0020>
- <cdid/>
- <cdnm/>
- </P0020>
- </P0020list>
- <P0021list>
- <P0021>
- <cdid/>
- <cdnm/>
- </P0021>
- </P0021list>
- <P0022list>
- <P0022>
- <cdid/>
- <cdnm/>
- </P0022>
- </P0022list>
- <P0032list>
- <P0032>
- <cdid/>
- <cdnm/>
- </P0032>
- </P0032list>
- <P0034list>
- <P0034>
- <cdid/>
- <cdnm/>
- </P0034>
- </P0034list>
- <P0158list>
- <P0158>
- <cdid/>
- <cdnm/>
- </P0158>
- </P0158list>
- </init>
- </init_com>
- <temp>
- <addclamrem/>
- <obtapprsltrem/>
- <chosreclistcnt/>
- <clamlistcnt/>
- <flag/>
- <pmchcapm>
- <capmlist/>
- </pmchcapm>
- </temp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
- <submission id="TRPMC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data6" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TXPMC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TXPMC03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TXPMC03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/update" replace="instance" resultref="/root/hidden/rcv"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- document.title = "수진환자관리";
-
- fInitialize("all"); //기본데이터 초기화
- zbcfGetCodeList(
- new Array("A0001", "P0001", "P0437", "P0155", "P0484", "P0485"),
- new Array("/root/init/A0001list", "/root/init/P0001list", "/root/init/P0437list", "/root/init/P0155list", "/root/init/P0484list", "/root/init/P0485list")
- );
-
- submit("TRPMI00106");
-
- model.setValue("/root/main/ioflag", "A");
- model.setValue("/root/main/amtflag", "A");
- model.toggle("case1");
- button6.visible = true;
- button7.visible = false;
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRPMC03005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/hidden/rcv/ptpmuncoyn"/>
- <submission id="TXPMC03005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/update" replace="instance" resultref="/root/hidden/rcv"/>
- <submission id="TRPMC03802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/discpat" replace="instance" resultref="/root/temp/result"/>
- <submission id="TRPMC03006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" resultref="/root/temp/pmchcapm"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fSrchCondChng(srchcond1)
- {
- if (srchcond1 == '1' || srchcond1 == '2') {
- ipt_cond1.attribute("top") = "8xp";
- ipt_cond1.attribute("left") = "225px";
- ipt_cond1.visible = true;
- ipt_cond2.visible = false;
- ipt_cond3.visible = false;
- caption4.visible = false;
- cmb_cond2.visible = false;
- model.setFocus("ipt_cond1");
- } else if (srchcond1 == '3') {
- cmb_cond2.attribute("top") = "8xp";
- cmb_cond2.attribute("left") = "225xp";
- ipt_cond1.visible = false;
- ipt_cond2.visible = false;
- ipt_cond3.visible = false;
- caption4.visible = false;
- cmb_cond2.visible = true;
- //cmb_cond2.choices.itemset.attribute("nodeset") = "/root/hidden/init/wardcd";
- } else if (srchcond1 == '4' || srchcond1 == '5') {
- ipt_cond2.attribute("top") = "8xp";
- ipt_cond2.attribute("left") = "225xp";
- ipt_cond1.visible = false;
- ipt_cond2.visible = true;
- ipt_cond3.visible = true;
- caption4.visible = true;
- cmb_cond2.visible = false;
-
- //날자 입력 항목에 오늘 날자 세팅
- model.setValue("/root/send/data6/srchcond2",model.getValue("/root/hidden/currentDate"));
- model.setValue("/root/send/data6/srchcond3",model.getValue("/root/hidden/currentDate"));
-
- } else if (srchcond1 == '0') {
- ipt_cond1.visible = false;
- ipt_cond2.visible = false;
- ipt_cond3.visible = false;
- caption4.visible = false;
- cmb_cond2.visible = false;
- }
-
- ipt_cond1.refresh();
- ipt_cond2.refresh();
- ipt_cond3.refresh();
- cmb_cond1.refresh();
- cmb_cond2.refresh();
- }
-
- function fOtptChk()
- {
- return true;
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body inputtype="date" guideline="1,1196;2,772;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">수진내역관리</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
- <switch id="switch1" style="left:0px; top:31px; width:1194px; height:713px; border-color:#cc99ff; border-style:solid; ">
- <case id="case1">
- <datagrid id="grd_patspec" nodeset="/root/main/ptpmlist/grdpatspectlist" caption="공문접수일^공문접수번호^생성번호^환자번호^환자명^주민번호^처리상태^진료기간^내원구분^문서번호(환불예정통보)^공제처리일자^환불예정통보액^자료제출일^보험환불예상액^선택진료환불예상액^급여정산환불액^심사자^추가청구액^추가청구비고^이의신청액^최종환불결정일^최종환불결정액^본원지출^공제처리일^공제문서번호^환불일자^실환불액^자료제출일^환불결정일^최종종결일^진찰료^입원료^식대^투약 및 처방전료^주사료^마취료^처지 및 수술료^검사료^영상진단 및 방사선 치료료^이학요법료^정신요법료^CT진단료^MRI진단료^PET진단료^선택진료료^비급여^기타^치료재료대" colsep="^" colwidth="90, 100, 100, 90, 93, 100, 100, 175, 100, 156, 100, 100, 100, 120, 120, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 120, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 149, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:10px; top:80px; width:1174px; height:609px; ">
- <col ref="ofidocacptdd" format="yyyy-mm-dd" style="left:20px; top:23px; width:90px; height:23px; text-align:center; "/>
- <col ref="ofidocdocuno" style="text-align:left; "/>
- <col ref="ofidocretno" visibility="hidden"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="rrgstno"/>
- <col ref="tretflag"/>
- <col ref="orddd"/>
- <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0485list/P0485">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rtnschenotidocuno" style="text-align:left; "/>
- <col ref="dedutretdd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="rtnschenotiamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="datadelivedd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="insuteamrtnfcstamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="choiordrtnfcstamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="paycalcfcstamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgrid"/>
- <col ref="addclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="addclamrem"/>
- <col ref="obtappamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstdecidd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="fcstdeciamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="roothospexpsflag"/>
- <col ref="dedutretdd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="dedudocuno"/>
- <col ref="ordfcstdd" format="yyyy-mm-dd" style="text-align:right; "/>
- <col ref="ordfcstamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
- <col ref="datadelivedd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fcstdecidd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="lastenddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fcstordmat" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstinamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstchrgfood" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstmedimpsamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstinjamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstanstamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstcureopamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcsttestamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstimgdiagrayamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstscitamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstpsypamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstctordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstmriordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstpetordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstchoiordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstnopyamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstetcamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="fcstcurematramt" format="(-)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_patspec.isCell(event.target) && grd_patspec.row >= grd_patspec.fixedRows) {
-
- fInitialize("");
-
- // ondblclick 후 이벤트 처리
- var row = grd_patspec.row ;
-
- btn_patspec.selected = true;
- btn_patprescond.selected = false;
-
- model.setValue("/root/send/data3/ofidocacptdd", grd_patspec.valueMatrix(row,1));
- model.setValue("/root/send/data3/pid", grd_patspec.valueMatrix(row,4));
- model.setValue("/root/send/data3/ofidocretno", grd_patspec.valueMatrix(row,3));
- model.setValue("/root/send/data3/flag","P");
- /*
- model.alert(model.getValue("/root/send/data3/ofidocacptdd"));
- model.alert(model.getValue("/root/send/data3/pid"));
- model.alert(model.getValue("/root/send/data3/cretno"));
- model.alert(model.getValue("/root/send/data3/flag"));
- return;
-
- if(submit("TRPMC03005")){
- var uncoyn = model.getValue("/root/hidden/rcv/ptpmuncoyn/uncoyn");
- }
- if(uncoyn =="Y"){
- messageBox("미수금 내역이 존재하는 " ,"I005");
- }
- */
- if(submit("TRPMC03004")){
-
- model.resetInstanceNode("/root/main/ptbs");
- model.resetInstanceNode("/root/main/ptpm");
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- // 인적 사항 조회
- var ptbscnt = getNodesetCount("/root/hidden/rcv/ptbs");
-
- if (ptbscnt > 0) {
- copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
- }
-
- // 민원 사항 조회
- if( getNodesetCount("/root/hidden/rcv/ptpm/pid") > 0 ){
- copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
- }
-
- // 내원 기록 조회
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
-
- // 청구 기록 조회
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
-
- var chosreclistcnt = getNodesetCount("/root/hidden/rcv/list1/chosreclist");
- chosreclistcnt = parseInt(chosreclistcnt)+1;
- model.setValue("/root/temp/chosreclistcnt", chosreclistcnt);
-
- var clamlistcnt = getNodesetCount("/root/hidden/rcv/list2/clamlist");
- clamlistcnt = parseInt(clamlistcnt)+1;
- model.setValue("/root/temp/clamlistcnt", clamlistcnt);
- /*
- model.alert(model.getValue("/root/temp/chosreclistcnt"));
- model.alert(model.getValue("/root/temp/clamlistcnt"));
- */
- }
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
-
- var totordamtsum = '0';
- var totownbamtsum = '0';
- var nopyamttsum = '0';
- var specordamtsum = '0';
- var uncoamtsum = '0';
- var discamtsum = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totordamt");
- var temp2 = model.getValue("/root/main/list1/chosreclist["+ i + "]/nopyamt");
- var temp3 = model.getValue("/root/main/list1/chosreclist["+ i + "]/specordamt");
- var temp4 = model.getValue("/root/main/list1/chosreclist["+ i + "]/uncototamt");
- var temp5 = model.getValue("/root/main/list1/chosreclist["+ i + "]/discamt");
- var temp6 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totownbamt");
-
- totordamtsum = parseInt(totordamtsum) + parseInt(temp1);
- nopyamttsum = parseInt(nopyamttsum) + parseInt(temp2);
- specordamtsum = parseInt(specordamtsum) + parseInt(temp3);
- uncoamtsum = parseInt(uncoamtsum) + parseInt(temp4);
- discamtsum = parseInt(discamtsum) + parseInt(temp5);
- totownbamtsum = parseInt(totownbamtsum) + parseInt(temp6);
- }
- }
-
- model.setValue("/root/main/ptpm/totalamt", totordamtsum);
- model.setValue("/root/main/ptpm/patowntotamt", totownbamtsum);
- model.setValue("/root/main/ptpm/nonpayallamt", nopyamttsum);
- model.setValue("/root/main/ptpm/choiordamt", specordamtsum);
- model.setValue("/root/main/ptpm/uncoamt", uncoamtsum);
- model.setValue("/root/main/ptpm/discamt", discamtsum);
-
- //submit("TRPMC03004");
- model.toggle("case2");
-
- //인사정보의 직원, 직원가족정보 조회
- var rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
- var rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
- if( rrgstno1.length == 6 && rrgstno2.length == 7 ){
- var retValue = fGetPsnWorkInfo(rrgstno1 + rrgstno2);
- /*
- //선택한 직원정보 세팅
- if( retValue != '' && retValue != ' ' ){
- var arr_retValue = retValue.split("▦");
- model.setValue("/root/main/otpt/otpt_emplno", arr_retValue[0]);
- model.setValue("/root/main/otpt/otpt_emplnm", arr_retValue[1]);
- // model.refresh();
- }
- */
- }
-
- //민원환자관리등록여부 체크
- fCheckCampYn();
-
- model.refresh();
- //fGetPtpmPatInfo();
- }
-
- ]]>
- </script>
- </datagrid>
- <caption id="caption45" class="tit_2" style="left:15px; top:60px; width:155px; height:13px; font-family:돋움; vertical-align:middle; ">수진내역현황</caption>
- <line id="line9" class="line_1" style="x1:10px; y1:75px; x2:1184px; y2:75px; "/>
- <button id="button4" class="btn2_letter2" style="left:1070px; top:50px; width:42px; height:19px; ">
- <caption>츌력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //exeReportPreview("RPPMC03000", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- exeReportPreview("RPPMC03000", "XMLSTR", "","", "false","","","","","false");
- ]]>
- </script>
- </button>
- <group id="group2" style="left:10px; top:10px; width:1174px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1174px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_cond2" ref="/root/send/data6/srchcond2" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:235px; top:8px; width:102px; height:19px; "/>
- <input id="ipt_cond1" ref="/root/send/data6/srchcond2" class="input_default" visibility="visible" style="left:235px; top:8px; width:102px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">조회구분 :</caption>
- <line id="line2" class="line_4" style="x1:1088px; y1:7px; x2:1088px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1103px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removeNodeset("/root/main/ptpmlist");
- model.makeNode("/root/main/ptpmlist");
-
- if(submit("TRPMC03003")){
- if( getNodesetCount("/root/hidden/rcv/ptpmlist/grdpatspectlist") > 0 ){
- copyNodeType("/root/main/ptpmlist","/root/hidden/rcv/ptpmlist","replace");
-
- }else{
- model.resetInstanceNode("/root/main/ptpmlist");
- }
- }
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_cond2" ref="/root/send/data6/srchcond2" class="combo_default" visibility="hidden" appearance="minimal" style="left:470px; top:8px; width:102px; height:19px; ">
- <choices>
- <item>
- <label>진행</label>
- <value>1</value>
- </item>
- <item>
- <label>취하</label>
- <value>2</value>
- </item>
- <item>
- <label>정당</label>
- <value>3</value>
- </item>
- <item>
- <label>환불</label>
- <value>4</value>
- </item>
- <item>
- <label>환불미지급</label>
- <value>5</value>
- </item>
- <item>
- <label>상계처리</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- btn_srch.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cond1" ref="/root/send/data6/srchcond1" class="combo_search" appearance="minimal" style="left:113px; top:8px; width:102px; 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>3</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 srchcond1 = model.getValue("/root/send/data6/srchcond1");
- model.resetInstanceNode("/root/send/data6/srchcond2");
- model.resetInstanceNode("/root/send/data6/srchcond3");
- fSrchCondChng(srchcond1);
- ]]>
- </script>
- </select1>
- <input id="ipt_cond3" ref="/root/send/data6/srchcond3" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:355px; top:8px; width:102px; height:19px; "/>
- <caption id="caption4" visibility="hidden" style="left:340px; top:11px; width:12px; height:16px; vertical-align:middle; ">~</caption>
- </group>
- <button id="button5" class="btn2_letter4" style="left:1117px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_patspec.saveExcel(fileName, "SheetName", true, true, "", "", "true");
- }
- ]]>
- </script>
- </button>
- </case>
- <case id="case2" selected="true">
- <select1 id="cmb_inst" ref="/root/main/ptpm/inst" class="combo_default" navindex="4" appearance="minimal" style="left:5px; top:130px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>심평원</label>
- <value>1</value>
- </item>
- <item>
- <label>국민건강보험공단</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="tit_2" style="left:10px; top:10px; width:204px; height:13px; font-family:돋움; vertical-align:middle; ">인적사항</caption>
- <caption id="caption33" class="cell_1" style="left:5px; top:54px; width:76px; height:23px; vertical-align:middle; ">성명[한글]</caption>
- <caption id="caption13" class="cell_1" style="left:855px; top:54px; width:60px; height:23px; vertical-align:middle; ">하위주소</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:1186px; y2:25px; "/>
- <caption id="caption8" class="cell_1" style="left:855px; top:30px; width:60px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption14" class="cell_1" style="left:207px; top:54px; width:115px; height:23px; vertical-align:middle; ">연락처/휴대폰</caption>
- <caption id="caption9" class="cell_1" style="left:5px; top:30px; width:76px; height:23px; vertical-align:middle; ">환자번호</caption>
- <caption id="caption18" class="cell_1" style="left:207px; top:29px; width:115px; height:23px; vertical-align:middle; ">주민번호/성별/나이</caption>
- <caption id="caption10" class="tit_2" style="left:10px; top:86px; width:204px; height:13px; font-family:돋움; vertical-align:middle; ">접수관련</caption>
- <line id="line3" class="line_1" style="x1:5px; y1:101px; x2:484px; y2:101px; "/>
- <caption id="caption22" class="cell_1" style="left:5px; top:106px; width:95px; height:23px; text-align:center; vertical-align:middle; ">기관</caption>
- <caption id="caption23" class="cell_1" style="left:389px; top:106px; width:95px; height:23px; text-align:center; vertical-align:middle; ">연락처</caption>
- <caption id="caption27" class="cell_1" style="left:316px; top:106px; width:70px; height:23px; text-align:center; vertical-align:middle; ">기관담당자</caption>
- <caption id="caption29" class="cell_1" style="left:845px; top:290px; width:96px; height:29px; text-align:center; vertical-align:middle; ">추가청구비고</caption>
- <caption id="caption30" class="cell_1" style="left:778px; top:290px; width:65px; height:29px; text-align:center; vertical-align:middle; ">
- <![CDATA[추가청구
- 입금액]]>
- </caption>
- <caption id="caption31" class="cell_1" style="left:512px; top:345px; width:95px; height:29px; text-align:center; vertical-align:middle; ">심사청구일</caption>
- <caption id="caption32" class="cell_1" style="left:291px; top:221px; width:85px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">선택진료금액</caption>
- <caption id="caption37" class="cell_1" style="left:379px; top:221px; width:85px; height:23px; text-align:center; vertical-align:middle; ">환불예상액</caption>
- <caption id="caption44" class="cell_1" style="left:420px; top:345px; width:90px; height:29px; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청
- 결과비고]]>
- </caption>
- <input id="ipt_addclamrem" ref="/root/main/ptpm/addclamrem" class="input_default" inputtype="button" style="left:845px; top:321px; width:96px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.makeNode("/root/temp/addclamrem");
-
- model.setValue("/root/temp/addclamrem", model.getValue("/root/main/ptpm/addclamrem"));
- //model.alert(model.getValue("/root/main/ptpm/addclamrem"));
- //model.alert(model.getValue("/root/temp/addclamrem"));
-
- grp_addclamrem.visible = true;
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappdd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_tel" ref="/root/main/ptpm/tel" class="input_default" navindex="7" style="left:389px; top:130px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_civilapler");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_addclamamt" ref="/root/main/ptpm/addreqdepoamt" class="input_default" format="(-)#,###" style="left:778px; top:321px; width:65px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_addclamrem");
- }
- ]]>
- </script>
- </input>
- <caption id="caption24" class="cell_1" style="left:92px; top:290px; width:83px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[환불예정통보
- 문서번호]]>
- </caption>
- <textarea id="tar_jvirem" ref="/root/main/ptpm/jvirem" class="input_default" appearance="textarea" style="left:5px; top:167px; width:474px; height:29px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_datadelivedd");
- }
- ]]>
- </script>
- </textarea>
- <line id="line4" class="line_2" style="x1:5px; y1:52px; x2:1186px; y2:52px; "/>
- <line id="line5" class="line_3" style="x1:5px; y1:76px; x2:1186px; y2:76px; "/>
- <line id="line8" class="line_1" style="x1:5px; y1:494px; x2:1186px; y2:494px; "/>
- <caption id="caption5" class="cell_1" style="left:102px; top:106px; width:90px; height:23px; text-align:center; vertical-align:middle; ">공문접수일</caption>
- <caption id="caption16" class="cell_1" style="left:481px; top:151px; width:80px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">자료제출일</caption>
- <input id="ipt_chrgernm" ref="/root/main/ptpm/chrgernm" class="input_default" style="left:316px; top:130px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_tel");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_datadelivedd" ref="/root/main/ptpm/datadelivedd" class="input_default" navindex="10" inputtype="date" style="left:481px; top:177px; width:80px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_civilaplflag");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_ofidocacptdd" ref="/root/main/ptpm/ofidocacptdd" class="input_default" navindex="5" inputtype="date" style="left:102px; top:130px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("input1");
- }
- ]]>
- </script>
- </input>
- <input id="cmb_judgclamdd" ref="/root/main/ptpm/judgclamdd" class="combo_default" navindex="36" inputtype="date" appearance="minimal" style="left:512px; top:376px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgclamdocuno");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_obtapprsltrem" ref="/root/main/ptpm/obtapprsltrem" class="input_default" navindex="35" inputtype="button" style="left:420px; top:376px; width:90px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.makeNode("/root/temp/obtapprsltrem");
-
- model.setValue("/root/temp/obtapprsltrem", model.getValue("/root/main/ptpm/obtapprsltrem"));
-
- grp_obtapprsltrem.visible = true;
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("cmb_judgclamdd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_apntordrtnfcstamt" ref="/root/main/ptpm/choiordamt" class="input_default" navindex="17" format="(-)#,###" style="left:291px; top:246px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="ipt_insuteamrtnfcstamt" ref="/root/main/ptpm/insuteamrtnfcstamt" class="input_default" disabled="false" navindex="18" format="(-)#,###" style="left:379px; top:246px; width:85px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_choiordrtnfcstamt");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rtnschenotidocuno" ref="/root/main/ptpm/rtnschenotidocuno" class="input_default" navindex="24" style="left:92px; top:321px; width:83px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_rtnschenotiamt");
- }
- ]]>
- </script>
- </input>
- <button id="button8" class="btn2_letter5" navindex="39" style="left:1110px; top:5px; width:75px; height:19px; ">
- <caption>진료비내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag", "P");
-
- if(model.getValue("/root/main/ptbs/ptbs_pid") =="" || model.getValue("/root/main/ptbs/ptbs_hngnm") =="" )
- {
- messageBox("환자가 조회되지 않았습니다!","E999","");
- return;
- }else{
- modal("SMPMC03000", "1","150","150", "SMPMC03000", "/root/send/data3", "/root/hidden/data");
- }
- /*
- var getreturnamt = getParameter("SMPMC03000_selectreturnamt");
- var getselectreturnamt = getParameter("SMPMC03000_returnamt");
-
- if( getreturnamt !='' && getselectreturnamt !=''){
- model.setValue("/root/main/ptpm/insuteamrtnfcstamt", getselectreturnamt);
- model.setValue("/root/main/ptpm/choiordrtnfcstamt", getreturnamt);
-
- }
- */
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button15" class="btn2_letter2" navindex="38" style="left:1065px; top:5px; width:42px; height:19px; ">
- <caption>상병</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPIZ00100", "1","150","150", "SMPIZ00100", "/root/main/ptbs/ptbs_pid", "/root/init/pid");
-
-
- ]]>
- </script>
- </button>
- <group id="group4" style="left:5px; top:681px; width:1183px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1056px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //공문 접수일을 체크한다
- /*if(model.getValue("/root/main/ptpm/ofidocacptdd") == ""){
- messageBox("공문접수일은", "I003");
- }elseif(model.getValue("/root/main/ptpm/inst")==""){
- messageBox("기관 담당자는", "I003");
- }elseif(model.getValue("/root/main/ptpm/tel")==""){
- messageBox("연락처는", "I003");
- }*/
-
- if (model.getValue("/root/main/ptpm/ofidocacptdd") == "" || model.getValue("/root/main/ptpm/ofidocacptdd") == null)
- {
- messageBox("공문접수일를 입력하여 주십시요!","E999","");
- return false;
- }
-
- model.setValue("/root/main/ptpm/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.copyNode("/root/send/data1","/root/main/ptpm");
-
- if( messageBox("수진환자 내역을 저장 하시겠습니까?", "Q999") != 6){
- return;
- }
-
- if (model.getValue("/root/main/ptpm/stat") == "U") {
- if (submit("TXPMC03002")) {
-
- //내원이력
- if( getNodesetCount("/root/hidden/rcv/ptpm/stat") > 0 ){
-
- //copyNodeType("/root/main/ptpm","/root/hidden/rcv/ptpm","replace");
- copyNodeType("/root/main/ptpm/stat","/root/hidden/rcv/ptpm/stat","replace");
- copyNodeType("/root/main/ptpm/ofidocretno","/root/hidden/rcv/ptpm/ofidocretno","replace");
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
- var flag = "";
- var pid = model.getValue("/root/main/ptbs/ptbs_pid");
- var ofidocacptdd = model.getValue("/root/main/ptpm/ofidocacptdd");
- var ofidocretno = model.getValue("/root/main/ptpm/ofidocretno");
- var cnt1 = 0;
-
- for (i=0; i<rows; i++) {
- var patspecyn= model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn");
- if (patspecyn == "Y") {
- //grd_chosrec.rowStatus(i) = 1;
- cnt1++;
- }
- }
-
- //데이터 삭제 하기위해 그리드가 체크가 안되어 있을경우 입의로 status에 값을 세팅
- if(cnt1 > 0){
- var nodeList = instance1.selectNodes("/root/main/list1/chosreclist[patspecyn='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist", rCSV);
- }else{
- grd_chosrec.rowStatus(1) = 2;
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist",grd_chosrec.getUpdateData());
- }
-
- model.makeNode("/root/send/update/pid");
- model.makeNode("/root/send/update/ofidocacptdd");
- model.makeNode("/root/send/update/ofidocretno");
-
- model.setValue("/root/send/update/pid", pid);
- model.setValue("/root/send/update/ofidocacptdd", ofidocacptdd);
- model.setValue("/root/send/update/ofidocretno", ofidocretno);
-
-
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03003")) {
- // model.alert("aaa");
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- // 수진 내원 내역 조회
- // fGetChosRecRef();
- /*
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- */
- model.refresh();
- }
- }
-
-
- //청구이력
- var rows = model.getValue("/root/temp/clamlistcnt");
- var cnt2 = 0;
- for (i=0; i<rows; i++) {
-
- var patspecyn= model.getValue("/root/main/list2/clamlist["+ i + "]/patspecyn");
- if (patspecyn == "Y") {
- cnt2++;
- }
-
- }
-
-
- //데이터 삭제 하기위해 그리드가 체크가 안되어 있을경우 입의로 status에 값을 세팅
- if(cnt2 > 0){
- var nodeList = instance1.selectNodes("/root/main/list2/clamlist[patspecyn='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist", rCSV);
- }else{
- datagrid1.rowStatus(1) = 2;
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist",datagrid1.getUpdateData());
- }
-
- model.makeNode("/root/send/update/pid");
- model.makeNode("/root/send/update/ofidocacptdd");
- model.makeNode("/root/send/update/ofidocretno");
-
- model.setValue("/root/send/update/pid", pid);
- model.setValue("/root/send/update/ofidocacptdd", ofidocacptdd);
- model.setValue("/root/send/update/ofidocretno", ofidocretno);
-
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03005")) {
- // model.alert("aaa");
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- // 수진 내원 내역 조회
- // fGetChosRecRef();
- /*
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
- */
- model.refresh();
- }
- }
- }else {
- //신규입력
- if (submit("TXPMC03001")) {
-
- //messageBox("입력완료","E999","");
- if( getNodesetCount("/root/hidden/rcv/ptpm/stat") > 0 ){
-
- copyNodeType("/root/main/ptpm/stat","/root/hidden/rcv/ptpm/stat","replace");
- copyNodeType("/root/main/ptpm/ofidocretno","/root/hidden/rcv/ptpm/ofidocretno","replace");
-
- model.setValue("/root/main/ptpm/stat", model.getValue("/root/hidden/rcv/ptpm/stat"));
- model.setValue("/root/main/ptpm/ofidocretno", model.getValue("/root/hidden/rcv/ptpm/ofidocretno"));
-
- //copyNodeType("/root/main/ptpm/stat","/root/hidden/rcv/ptpm/stat","replace");
- //copyNodeType("/root/main/ptpm/ofidocretno","/root/hidden/rcv/ptpm/ofidocretno","replace");
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
- var flag = "";
- var pid = model.getValue("/root/main/ptbs/ptbs_pid");
- var ofidocacptdd = model.getValue("/root/main/ptpm/ofidocacptdd");
- var ofidocretno = model.getValue("/root/main/ptpm/ofidocretno");
-
- /*
- for (i=0; i<rows; i++) {
- var patspecyn= model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn");
- if (patspecyn == "Y") {
- //grd_chosrec.rowStatus(i) = 1;
- }
-
- }
- */
- var nodeList = instance1.selectNodes("/root/main/list1/chosreclist[patspecyn='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist", rCSV);
-
- model.makeNode("/root/send/update/pid");
- model.makeNode("/root/send/update/ofidocacptdd");
- model.makeNode("/root/send/update/ofidocretno");
-
- model.setValue("/root/send/update/pid", pid);
- model.setValue("/root/send/update/ofidocacptdd", ofidocacptdd);
- model.setValue("/root/send/update/ofidocretno", ofidocretno);
-
- //model.alert(model.getValue("/root/send/update/datalist"));
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03003")) {
- // model.alert("aaa");
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- // 수진 내원 내역 조회
- // fGetChosRecRef();
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- model.refresh();
- }
-
-
- //청구이력
- var rows = model.getValue("/root/temp/clamlistcnt");
-
- /*
- for (i=0; i<rows; i++) {
- var patspecyn= model.getValue("/root/main/list2/clamlist["+ i + "]/patspecyn");
- if (patspecyn == "Y") {
- }
-
- }
- */
-
- var nodeList = instance1.selectNodes("/root/main/list2/clamlist[patspecyn='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.resetInstanceNode("/root/send/update");
- model.setValue("/root/send/update/datalist", rCSV);
-
- model.makeNode("/root/send/update/pid");
- model.makeNode("/root/send/update/ofidocacptdd");
- model.makeNode("/root/send/update/ofidocretno");
-
- model.setValue("/root/send/update/pid", pid);
- model.setValue("/root/send/update/ofidocacptdd", ofidocacptdd);
- model.setValue("/root/send/update/ofidocretno", ofidocretno);
-
- // model.alert(model.getValue("/root/send/update/datalist"));
- //return;
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03005")) {
- // model.alert("aaa");
- model.removeNodeset("/root/main/list2");
- model.makeNode("/root/main/list2");
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocretno", model.getValue("/root/main/ptpm/ofidocretno"));
- model.setValue("/root/send/data3/flag","P");
-
- // 수진 내원 내역 조회
- // fGetChosRecRef();
- if( getNodesetCount("/root/hidden/rcv/list2/clamlist") > 0 ){
- copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
- }
- model.refresh();
- }
-
- /*
- model.setValue("/root/send/update/datalist",grd_chosrec.getUpdateData());
- // var a = model.getValue("/root/send/update/datalist");
- // alert(a);
- //
- // 수진 내원 내역 저장 / 조회
- if( submit("TXPMC03003")) {
-
- if( getNodesetCount("/root/hidden/rcv/list1/chosreclist") > 0 ){
-
- model.removeNodeset("/root/main/list1");
- model.makeNode("/root/main/list1");
-
- copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
- }
- }
- */
- }
-
- }
-
- }
- AfSafeBaseInfoRef();
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="37" style="left:1115px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("수진환자 내역을 초기화 하시겠습니까?", "Q999") != 6){
- return;
- }
- fInitialize("all");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1183px; y2:0px; "/>
- <button id="button1" class="btn3_letter6" style="left:2px; top:5px; width:104px; height:22px; ">
- <caption>특이환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC01300", "1","150","150", "SMPMC01300", "", "");
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter6" style="left:115px; top:5px; width:104px; height:22px; ">
- <caption>민원환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC00100", "1","100","100", "SMPMC00100", "", "");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption2" class="cell_1" style="left:558px; top:106px; width:90px; height:23px; text-align:center; vertical-align:middle; ">민원인 연락처</caption>
- <input id="ipt_civilaplertel" ref="/root/main/ptpm/civilaplertel" class="input_default" style="left:558px; top:130px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_civilapleraddr");
- }
- ]]>
- </script>
- </input>
- <button id="btn_ptbshngnm" class="icon_search" style="left:183px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ptbs_hngnm = model.getValue("/root/main/ptbs/ptbs_hngnm");
-
- if (ptbs_hngnm == null || ptbs_hngnm ==" " || ptbs_hngnm == "") {
- model.resetInstanceNode("/root/send/data4");
- } else {
- model.setValue("/root/send/data4/hngnm",model.getValue("/root/main/ptbs/ptbs_hngnm"));
- model.setValue("/root/send/data4/srchcond","2");
- }
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
- fBaseInfoRef();
- ]]>
- </script>
- </button>
- <button id="btn_ptbspid" class="icon_search" style="left:183px; top:33px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
-
- if (ptbs_pid == null || ptbs_pid ==" " || ptbs_pid == "") {
- model.resetInstanceNode("/root/send/data4");
- } else {
- model.setValue("/root/send/data4/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data4/srchcond","1");
- }
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
-
- fBaseInfoRef();
- ]]>
- </script>
- </button>
- <button id="btn_ptbsrrgstno" class="icon_search" style="left:452px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ptbs_rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
- var ptbs_rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
-
- if ((ptbs_rrgstno1 == null || ptbs_rrgstno1 ==" " || ptbs_rrgstno1 == "") && (ptbs_rrgstno2 == null || ptbs_rrgstno2 ==" " || ptbs_rrgstno2 == "")) {
- model.resetInstanceNode("/root/send/data4");
- } else {
-
- model.setValue("/root/send/data4/rrgstno1",model.getValue("/root/main/ptbs/ptbs_rrgstno1"));
- model.setValue("/root/send/data4/rrgstno2",model.getValue("/root/main/ptbs/ptbs_rrgstno2"));
- model.setValue("/root/send/data4/srchcond","3")
- }
- modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
- model.resetInstanceNode("/root/send/data4");
- fBaseInfoRef();
- ]]>
- </script>
- </button>
- <input id="pid" ref="/root/main/ptbs/ptbs_pid" class="input_s_essential" navindex="1" style="left:84px; top:31px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- // 구현예정 : 재원중인 환자일경우 메세지 처리한다.
- if (event.keyCode=='13') {
-
- // popup open 없이 조회
- model.setFocus("btn_ptbspid");
-
- model.makeNode("/root/main/popupendflag");
- model.setValue("/root/main/popupendflag","pass");
-
- fBaseInfoRef();
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
-
- var totordamtsum = '0';
- var totownbamtsum = '0';
- var nopyamttsum = '0';
- var specordamtsum = '0';
- var uncoamtsum = '0';
- var discamtsum = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totordamt");
- var temp2 = model.getValue("/root/main/list1/chosreclist["+ i + "]/nopyamt");
- var temp3 = model.getValue("/root/main/list1/chosreclist["+ i + "]/specordamt");
- var temp4 = model.getValue("/root/main/list1/chosreclist["+ i + "]/uncototamt");
- var temp5 = model.getValue("/root/main/list1/chosreclist["+ i + "]/discamt");
- var temp6 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totownbamt");
-
- totordamtsum = parseInt(totordamtsum) + parseInt(temp1);
- nopyamttsum = parseInt(nopyamttsum) + parseInt(temp2);
- specordamtsum = parseInt(specordamtsum) + parseInt(temp3);
- uncoamtsum = parseInt(uncoamtsum) + parseInt(temp4);
- discamtsum = parseInt(discamtsum) + parseInt(temp5);
- totownbamtsum = parseInt(totownbamtsum) + parseInt(temp6);
- }
- }
-
- model.setValue("/root/main/ptpm/totalamt", totordamtsum);
- model.setValue("/root/main/ptpm/patowntotamt", totownbamtsum);
- model.setValue("/root/main/ptpm/nonpayallamt", nopyamttsum);
- model.setValue("/root/main/ptpm/choiordamt", specordamtsum);
- model.setValue("/root/main/ptpm/uncoamt", uncoamtsum);
- model.setValue("/root/main/ptpm/discamt", discamtsum);
-
-
- }
-
- ipt_uncoamt.refresh();
-
-
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno1" ref="/root/main/ptbs/ptbs_rrgstno1" class="input_s_essential" navindex="2" style="left:325px; top:31px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
- model.setValue("/root/send/data4/autoflag","Y");
- inputEnterKey("btn_ptbsrrgstno", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <output id="opt_rrgstno2" ref="/root/main/ptbs/ptbs_rrgstno2" class="output_fix" appearance="output" style="left:388px; top:31px; width:60px; height:19px; "/>
- <input id="ipt_hngnm" ref="/root/main/ptbs/ptbs_hngnm" class="input_s_essential" navindex="3" style="left:84px; top:55px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
- model.setValue("/root/send/data4/autoflag","Y");
- inputEnterKey("btn_ptbshngnm", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <output id="opt_mpphontel" ref="/root/main/ptbs/ptbs_mpphontel" class="output_fix" appearance="output" style="left:428px; top:55px; width:100px; height:19px; "/>
- <output id="opt_sex" ref="/root/main/ptbs/ptbs_sex" class="output_fix" appearance="output" style="left:473px; top:31px; width:26px; height:19px; "/>
- <output id="opt_age" ref="/root/main/ptbs/ptbs_age" class="output_fix" appearance="output" style="left:502px; top:31px; width:26px; height:19px; "/>
- <output id="opt_hometel" ref="/root/main/ptbs/ptbs_hometel" class="output_fix" appearance="output" style="left:325px; top:55px; width:100px; height:19px; "/>
- <output id="opt_zipcd1" ref="/root/main/ptbs/ptbs_zipcd1" class="output_fix" appearance="output" style="left:918px; top:31px; width:45px; height:19px; "/>
- <output id="opt_zipcd2" ref="/root/main/ptbs/ptbs_zipcd2" class="output_fix" appearance="output" style="left:966px; top:31px; width:45px; height:19px; "/>
- <output id="opt_address" ref="/root/main/ptbs/ptbs_zipnm" class="output_fix" appearance="output" style="left:1014px; top:31px; width:172px; height:19px; "/>
- <output id="opt_detladdr" ref="/root/main/ptbs/ptbs_detladdr" class="output_fix" appearance="output" style="left:918px; top:55px; width:267px; height:19px; "/>
- <select1 id="cmb_datadelive" ref="/root/main/ptpm/datadelive" class="combo_default" navindex="9" appearance="minimal" sstyle="left:123px; top:176px; width:115px; 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>
- <caption id="caption21" class="cell_1" style="left:486px; top:106px; width:70px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">민원제기자</caption>
- <input id="ipt_civilapler" ref="/root/main/ptpm/civilapler" class="input_default" style="left:486px; top:130px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_civilaplertel");
- }
- ]]>
- </script>
- </input>
- <caption id="caption26" class="cell_1" style="left:650px; top:106px; width:288px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">주소</caption>
- <input id="ipt_civilapleraddr" ref="/root/main/ptpm/civilapleraddr" class="input_default" navindex="13" style="left:650px; top:130px; width:288px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("tar_jvirem");
- }
- ]]>
- </script>
- </input>
- <caption id="caption28" class="cell_1" style="left:660px; top:151px; width:273px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">민원요지</caption>
- <input id="ipt_civilaplcnts" ref="/root/main/ptpm/civilaplcnts" class="input_default" navindex="12" style="left:660px; top:177px; width:273px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("tar_etcrem");
- }
- ]]>
- </script>
- </input>
- <line id="line13" class="line_1" style="x1:5px; y1:216px; x2:582px; y2:216px; "/>
- <caption id="caption36" class="cell_1" style="left:196px; top:221px; width:92px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">비급여전체금액</caption>
- <input id="ipt_nonpayallamt" ref="/root/main/ptpm/nonpayallamt" class="input_default" navindex="16" format="(-)#,###" style="left:196px; top:246px; width:92px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption39" class="cell_1" style="left:467px; top:221px; width:115px; height:23px; text-align:center; vertical-align:middle; ">선택진료환불예상액</caption>
- <input id="ipt_choiordrtnfcstamt" ref="/root/main/ptpm/choiordrtnfcstamt" class="input_default" disabled="false" navindex="19" format="(-)#,###" style="left:467px; top:246px; width:115px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_paycalcfcstamt");
- }
- ]]>
- </script>
- </input>
- <line id="line14" class="line_3" style="x1:5px; y1:196px; x2:479px; y2:196px; "/>
- <line id="line17" class="line_3" style="x1:5px; y1:265px; x2:582px; y2:265px; "/>
- <caption id="caption42" class="tit_2" style="left:10px; top:271px; width:204px; height:13px; font-family:돋움; vertical-align:middle; ">진행사항</caption>
- <line id="line12" class="line_1" style="x1:5px; y1:287px; x2:1184px; y2:286px; "/>
- <input id="ipt_rtnschenotidd" ref="/root/main/ptpm/rtnschenotidd" class="input_default" navindex="23" inputtype="date" style="left:5px; top:321px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_rtnschenotidocuno");
- }
- ]]>
- </script>
- </input>
- <caption id="caption43" class="cell_1" style="left:5px; top:290px; width:85px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[환불예정
- 통보일]]>
- </caption>
- <input id="ipt_rtnschenotiamt" ref="/root/main/ptpm/rtnschenotiamt" class="combo_default" navindex="25" inputtype="button" format="(-)#,###" appearance="minimal" style="left:177px; top:321px; width:70px; height:19px; text-align:right; vertical-align:bottom; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("fcstordmat", model.getValue("/root/main/ptpm/fcstordmat"));
- setParameter("fcstinamt", model.getValue("/root/main/ptpm/fcstinamt"));
- setParameter("fcstchrgfood", model.getValue("/root/main/ptpm/fcstchrgfood"));
- setParameter("fcstmedimpsamt", model.getValue("/root/main/ptpm/fcstmedimpsamt"));
- setParameter("fcstinjamt", model.getValue("/root/main/ptpm/fcstinjamt"));
- setParameter("fcstanstamt", model.getValue("/root/main/ptpm/fcstanstamt"));
- setParameter("fcstcureopamt", model.getValue("/root/main/ptpm/fcstcureopamt"));
- setParameter("fcsttestamt", model.getValue("/root/main/ptpm/fcsttestamt"));
- setParameter("fcstimgdiagrayamt", model.getValue("/root/main/ptpm/fcstimgdiagrayamt"));
- setParameter("fcstscitamt", model.getValue("/root/main/ptpm/fcstscitamt"));
- setParameter("fcstpsypamt", model.getValue("/root/main/ptpm/fcstpsypamt"));
- setParameter("fcstctordamt", model.getValue("/root/main/ptpm/fcstctordamt"));
- setParameter("fcstmriordamt", model.getValue("/root/main/ptpm/fcstmriordamt"));
- setParameter("fcstpetordamt", model.getValue("/root/main/ptpm/fcstpetordamt"));
- setParameter("fcstchoiordamt", model.getValue("/root/main/ptpm/fcstchoiordamt"));
- setParameter("fcstnopyamt", model.getValue("/root/main/ptpm/fcstnopyamt"));
- setParameter("fcstetcamt", model.getValue("/root/main/ptpm/fcstetcamt"));
- setParameter("fcstcurematramt", model.getValue("/root/main/ptpm/fcstcurematramt"));
-
-
- setParameter("deciordmat", model.getValue("/root/main/ptpm/deciordmat"));
- setParameter("deciinamt", model.getValue("/root/main/ptpm/deciinamt"));
- setParameter("decichrgfood", model.getValue("/root/main/ptpm/decichrgfood"));
- setParameter("decimedimpsamt", model.getValue("/root/main/ptpm/decimedimpsamt"));
- setParameter("deciinjamt", model.getValue("/root/main/ptpm/deciinjamt"));
- setParameter("decianstamt", model.getValue("/root/main/ptpm/decianstamt"));
- setParameter("decicureopamt", model.getValue("/root/main/ptpm/decicureopamt"));
- setParameter("decitestamt", model.getValue("/root/main/ptpm/decitestamt"));
- setParameter("deciimgdiagrayamt", model.getValue("/root/main/ptpm/deciimgdiagrayamt"));
- setParameter("deciscitamt", model.getValue("/root/main/ptpm/deciscitamt"));
- setParameter("decipsypamt", model.getValue("/root/main/ptpm/decipsypamt"));
- setParameter("decictordamt", model.getValue("/root/main/ptpm/decictordamt"));
- setParameter("decimriordamt", model.getValue("/root/main/ptpm/decimriordamt"));
- setParameter("decipetordamt", model.getValue("/root/main/ptpm/decipetordamt"));
- setParameter("decichoiordamt", model.getValue("/root/main/ptpm/decichoiordamt"));
- setParameter("decinopyamt", model.getValue("/root/main/ptpm/decinopyamt"));
- setParameter("decietcamt", model.getValue("/root/main/ptpm/decietcamt"));
- setParameter("decicurematramt", model.getValue("/root/main/ptpm/decicurematramt"));
-
- open("SPPMC07000");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_ioflag");
- }
- ]]>
- </script>
- </input>
- <caption id="caption46" class="cell_1" style="left:177px; top:290px; width:70px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[환불예정
- 통보액]]>
- </caption>
- <select1 id="ipt_ioflag" ref="/root/main/ptpm/ioflag" navindex="26" appearance="minimal" style="left:249px; top:321px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0485list/P0485">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_ordfromdd");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption47" class="cell_1" style="left:249px; top:290px; width:55px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">내원구분</caption>
- <caption id="caption48" class="cell_1" style="left:306px; top:290px; width:85px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">진료시작일자</caption>
- <input id="ipt_ordfromdd" ref="/root/main/ptpm/ordfromdd" class="input_default" navindex="27" inputtype="date" style="left:306px; top:321px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_ordtodd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption49" class="cell_1" style="left:5px; top:345px; width:95px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청
- 결정일]]>
- </caption>
- <input id="ipt_obtappdecidd" ref="/root/main/ptpm/obtappdecidd" class="input_default" navindex="32" inputtype="date" style="left:5px; top:376px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappdecidocuno");
- }
- ]]>
- </script>
- </input>
- <caption id="caption50" class="cell_1" style="left:102px; top:345px; width:122px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청결정
- 문서번호]]>
- </caption>
- <input id="ipt_obtappdecidocuno" ref="/root/main/ptpm/obtappdecidocuno" class="input_default" navindex="33" style="left:102px; top:376px; width:122px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtapprcamt");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_obtappaftrtndeciamt" ref="/root/main/ptpm/obtappaftrtndeciamt" class="input_default" navindex="34" format="(-)#,###" style="left:323px; top:376px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtapprsltrem");
- }
- ]]>
- </script>
- </input>
- <caption id="caption51" class="cell_1" style="left:323px; top:345px; width:95px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청후
- 환불결정액]]>
- </caption>
- <input id="ipt_judgrid" ref="/root/main/ptpm/judgrid" class="input_default" navindex="29" style="left:480px; top:321px; width:55px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_addreqdd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption52" class="cell_1" style="left:480px; top:290px; width:55px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">심사자</caption>
- <line id="line18" class="line_2" style="x1:5px; y1:342px; x2:1185px; y2:342px; "/>
- <line id="line20" class="line_1" style="x1:935px; y1:164px; x2:1186px; y2:164px; "/>
- <caption id="caption53" class="tit_2" style="left:935px; top:151px; width:169px; height:13px; font-family:돋움; color:#000000; vertical-align:middle; ">기타기록사항</caption>
- <textarea id="tar_etcrem" ref="/root/main/ptpm/etcrem" class="input_default" appearance="textarea" style="left:935px; top:168px; width:251px; height:29px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_insuteamrtnfcstamt");
- }
- ]]>
- </script>
- </textarea>
- <line id="line11" class="line_1" style="x1:6px; y1:163px; x2:479px; y2:163px; "/>
- <line id="line15" class="line_2" style="x1:5px; y1:150px; x2:474px; y2:150px; "/>
- <line id="line7" class="line_1" style="x1:487px; y1:103px; x2:936px; y2:102px; "/>
- <line id="line22" class="line_2" style="x1:485px; y1:150px; x2:961px; y2:150px; "/>
- <line id="line16" class="line_3" style="x1:482px; y1:196px; x2:1184px; y2:196px; "/>
- <line id="line23" class="line_3" style="x1:587px; y1:265px; x2:1181px; y2:265px; "/>
- <line id="line24" class="line_2" style="x1:481px; y1:151px; x2:596px; y2:151px; "/>
- <button id="btn_all" class="btn1_letter4" style="left:1039px; top:470px; width:80px; height:22px; ">
- <caption>전체조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- model.setValue("/root/send/data3/pid", model.getValue("/root/main/ptbs/ptbs_pid"));
- model.setValue("/root/send/data3/ofidocacptdd", model.getValue("/root/main/ptpm/ofidocacptdd"));
- model.setValue("/root/send/data3/ofidocdocuno", model.getValue("/root/main/ptpm/ofidocdocuno"));
- model.setValue("/root/send/data3/flag","A");
-
- // 수진 내원 내역 조회
- fGetChosRecRef();
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
-
- var totordamtsum = '0'
- var totownbamtsum = '0';;
- var nopyamttsum = '0';
- var specordamtsum = '0';
- var uncoamtsum = '0';
- var discamtsum = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totordamt");
- var temp2 = model.getValue("/root/main/list1/chosreclist["+ i + "]/nopyamt");
- var temp3 = model.getValue("/root/main/list1/chosreclist["+ i + "]/specordamt");
- var temp4 = model.getValue("/root/main/list1/chosreclist["+ i + "]/uncototamt");
- var temp5 = model.getValue("/root/main/list1/chosreclist["+ i + "]/discamt");
- var temp6 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totownbamt");
-
- totordamtsum = parseInt(totordamtsum) + parseInt(temp1);
- nopyamttsum = parseInt(nopyamttsum) + parseInt(temp2);
- specordamtsum = parseInt(specordamtsum) + parseInt(temp3);
- uncoamtsum = parseInt(uncoamtsum) + parseInt(temp4);
- discamtsum = parseInt(discamtsum) + parseInt(temp5);
- totownbamtsum = parseInt(totownbamtsum) + parseInt(temp6);
- }
- }
-
- model.setValue("/root/main/ptpm/totalamt", totordamtsum);
- model.setValue("/root/main/ptpm/patowntotamt", totownbamtsum);
- model.setValue("/root/main/ptpm/nonpayallamt", nopyamttsum);
- model.setValue("/root/main/ptpm/choiordamt", specordamtsum);
- model.setValue("/root/main/ptpm/uncoamt", uncoamtsum);
- model.setValue("/root/main/ptpm/discamt", discamtsum);
-
- //수진 내역 기존 선택여부 조회
- //fGetColorChangeChoslist();
-
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption7" class="tit_2" style="left:5px; top:150px; width:124px; height:13px; font-family:돋움; vertical-align:middle; ">심평원참고사항</caption>
- <caption id="caption11" class="tit_2" style="left:10px; top:200px; width:104px; height:14px; font-family:돋움; color:#000000; vertical-align:middle; ">분쟁대상금액</caption>
- <caption id="caption12" class="cell_1" style="left:1108px; top:105px; width:77px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">할인액</caption>
- <caption id="caption15" class="cell_1" style="left:1029px; top:105px; width:77px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">미수액</caption>
- <input id="ipt_uncoamt" ref="/root/main/ptpm/uncoamt" class="input_default" disabled="false" navindex="19" format="(-)#,###" style="left:1029px; top:130px; width:77px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="ipt_discamt" ref="/root/main/ptpm/discamt" class="input_default" navindex="20" format="(-)#,###" style="left:1108px; top:130px; width:77px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <select1 id="radio13" ref="/root/main/ioflag" appearance="full" cellspacing="8" cols="6" rows="1" overflow="visible" style="left:185px; top:475px; width:170px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var ioflag = radio13.value;
-
- if( ioflag == "O" ){ //외래
-
- grd_chosrec.attribute("nodeset") = "/root/main/list1/chosreclist[ ioflag ='O' ]";
- datagrid1.attribute("nodeset") = "/root/main/list2/clamlist[ ioflag ='O' ]";
- grd_chosrec.rebuild();
- datagrid1.rebuild();
-
- }else if( ioflag == "I"){ //입원
-
- grd_chosrec.attribute("nodeset") = "/root/main/list1/chosreclist[ ioflag ='I' ]";
- datagrid1.attribute("nodeset") = "/root/main/list2/clamlist[ ioflag ='I' ]";
- grd_chosrec.rebuild();
- datagrid1.rebuild();
- }else{
- grd_chosrec.attribute("nodeset") = "/root/main/list1/chosreclist";
- datagrid1.attribute("nodeset") = "/root/main/list2/clamlist";
- grd_chosrec.rebuild();
- datagrid1.rebuild();
- }
-
- //fGetColorChangeChoslist();
- ]]>
- </script>
- </select1>
- <caption id="caption17" class="cell_1" style="left:943px; top:290px; width:85px; height:29px; text-align:center; vertical-align:middle; ">이의신청일</caption>
- <input id="ipt_obtappdd" ref="/root/main/ptpm/obtappdd" class="input_default" navindex="30" inputtype="date" style="left:943px; top:321px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var value = model.getValue("/root/main/ptpm/cncldocudelivedd");
-
- if ( value != "") {
- ipt_lastenddd.value = value;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappdecino");
- }
- ]]>
- </script>
- </input>
- <caption id="caption19" class="cell_1" style="left:1030px; top:290px; width:83px; height:29px; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청
- 문서번호]]>
- </caption>
- <input id="ipt_obtappdecino" ref="/root/main/ptpm/obtappdocuno" class="input_default" navindex="31" style="left:1030px; top:321px; width:83px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappamt");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_obtappamt" ref="/root/main/ptpm/obtappamt" class="input_default" format="(-)#,###" style="left:1115px; top:321px; width:70px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappdecidd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption38" class="cell_1" style="left:1115px; top:290px; width:70px; height:29px; text-align:center; vertical-align:middle; ">이의신청액</caption>
- <caption id="caption40" class="cell_1" style="left:609px; top:345px; width:131px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">심사청구문서번호</caption>
- <caption id="caption41" class="cell_1" style="left:742px; top:345px; width:95px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">심사청구액</caption>
- <caption id="caption54" class="cell_1" style="left:839px; top:345px; width:105px; height:29px; text-align:center; vertical-align:middle; ">심사청구결정일</caption>
- <input id="ipt_judgclamdecidd" ref="/root/main/ptpm/judgclamdecidd" class="input_default" navindex="39" inputtype="date" style="left:839px; top:376px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgclamdecidocuno");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_judgclamamt" ref="/root/main/ptpm/judgclamamt" class="input_default" navindex="38" format="(-)#,###" style="left:742px; top:376px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgclamdecidd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_judgclamdocuno" ref="/root/main/ptpm/judgclamdocuno" class="input_default" navindex="37" style="left:609px; top:376px; width:131px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgclamamt");
- }
- ]]>
- </script>
- </input>
- <line id="line6" class="line_3" style="x1:5px; y1:396px; x2:1187px; y2:396px; "/>
- <input id="ipt_judgclamdecidocuno" ref="/root/main/ptpm/judgclamdecidocuno" class="input_default" navindex="40" style="left:946px; top:376px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgclamaftrtndeciamt");
- }
- ]]>
- </script>
- </input>
- <caption id="caption55" class="cell_1" style="left:946px; top:345px; width:115px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">심사청구결정문서</caption>
- <caption id="caption56" class="cell_1" style="left:1063px; top:345px; width:122px; height:29px; text-align:center; vertical-align:middle; ">
- <![CDATA[심사청구후
- 환불결정액]]>
- </caption>
- <input id="ipt_judgclamaftrtndeciamt" ref="/root/main/ptpm/judgclamaftrtndeciamt" class="input_default" navindex="41" format="(-)#,###" style="left:1063px; top:376px; width:122px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_tretflag");
- }
- ]]>
- </script>
- </input>
- <caption id="caption57" class="tit_2" style="left:5px; top:401px; width:184px; height:13px; font-family:돋움; vertical-align:middle; ">처리사항</caption>
- <line id="line19" class="line_1" style="x1:5px; y1:417px; x2:1184px; y2:416px; "/>
- <line id="line21" class="line_3" style="x1:0px; y1:464px; x2:1182px; y2:464px; "/>
- <select1 id="ipt_tretflag" ref="/root/main/ptpm/tretflag" navindex="42" appearance="minimal" style="left:5px; top:445px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>진행</label>
- <value>1</value>
- </item>
- <item>
- <label>취하</label>
- <value>2</value>
- </item>
- <item>
- <label>정당</label>
- <value>3</value>
- </item>
- <item>
- <label>환불</label>
- <value>4</value>
- </item>
- <item>
- <label>환불미지급</label>
- <value>5</value>
- </item>
- <item>
- <label>상계처리</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_cncldocudelivedd");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption58" class="cell_1" style="left:5px; top:420px; width:85px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">처리상태</caption>
- <input id="ipt_cncldocudelivedd" ref="/root/main/ptpm/cncldocudelivedd" class="input_default" navindex="43" inputtype="date" style="left:92px; top:445px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_aprvcnclrtnfcstamt");
- }
- ]]>
- </script>
- </input>
- <caption id="caption59" class="cell_1" style="left:92px; top:420px; width:90px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">취하서제출일</caption>
- <input id="ipt_aprvcnclrtnfcstamt" ref="/root/main/ptpm/aprvcnclrtnfcstamt" class="input_default" navindex="44" format="(-)#,###" style="left:184px; top:445px; width:100px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_fcstdecidd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_fcstdecidd" ref="/root/main/ptpm/fcstdecidd" class="input_default" navindex="45" inputtype="date" style="left:286px; top:445px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_fcstdeciamt");
- }
- ]]>
- </script>
- </input>
- <caption id="caption60" class="cell_1" style="left:184px; top:420px; width:100px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">합의취하환불액</caption>
- <caption id="caption61" class="cell_1" style="left:286px; top:420px; width:95px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">최종환불결정일</caption>
- <caption id="caption62" class="cell_1" style="left:687px; top:420px; width:95px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">실환불액</caption>
- <caption id="caption63" class="cell_1" style="left:784px; top:420px; width:90px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">환불일자</caption>
- <input id="ipt_fcstdeciamt" ref="/root/main/ptpm/fcstdeciamt" class="input_default" navindex="46" inputtype="button" format="(-)#,###" style="left:383px; top:445px; width:100px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("fcstordmat", model.getValue("/root/main/ptpm/fcstordmat"));
- setParameter("fcstinamt", model.getValue("/root/main/ptpm/fcstinamt"));
- setParameter("fcstchrgfood", model.getValue("/root/main/ptpm/fcstchrgfood"));
- setParameter("fcstmedimpsamt", model.getValue("/root/main/ptpm/fcstmedimpsamt"));
- setParameter("fcstinjamt", model.getValue("/root/main/ptpm/fcstinjamt"));
- setParameter("fcstanstamt", model.getValue("/root/main/ptpm/fcstanstamt"));
- setParameter("fcstcureopamt", model.getValue("/root/main/ptpm/fcstcureopamt"));
- setParameter("fcsttestamt", model.getValue("/root/main/ptpm/fcsttestamt"));
- setParameter("fcstimgdiagrayamt", model.getValue("/root/main/ptpm/fcstimgdiagrayamt"));
- setParameter("fcstscitamt", model.getValue("/root/main/ptpm/fcstscitamt"));
- setParameter("fcstpsypamt", model.getValue("/root/main/ptpm/fcstpsypamt"));
- setParameter("fcstctordamt", model.getValue("/root/main/ptpm/fcstctordamt"));
- setParameter("fcstmriordamt", model.getValue("/root/main/ptpm/fcstmriordamt"));
- setParameter("fcstpetordamt", model.getValue("/root/main/ptpm/fcstpetordamt"));
- setParameter("fcstchoiordamt", model.getValue("/root/main/ptpm/fcstchoiordamt"));
- setParameter("fcstnopyamt", model.getValue("/root/main/ptpm/fcstnopyamt"));
- setParameter("fcstetcamt", model.getValue("/root/main/ptpm/fcstetcamt"));
- setParameter("fcstcurematramt", model.getValue("/root/main/ptpm/fcstcurematramt"));
- setParameter("deciordmat", model.getValue("/root/main/ptpm/deciordmat"));
- setParameter("deciinamt", model.getValue("/root/main/ptpm/deciinamt"));
- setParameter("decichrgfood", model.getValue("/root/main/ptpm/decichrgfood"));
- setParameter("decimedimpsamt", model.getValue("/root/main/ptpm/decimedimpsamt"));
- setParameter("deciinjamt", model.getValue("/root/main/ptpm/deciinjamt"));
- setParameter("decianstamt", model.getValue("/root/main/ptpm/decianstamt"));
- setParameter("decicureopamt", model.getValue("/root/main/ptpm/decicureopamt"));
- setParameter("decitestamt", model.getValue("/root/main/ptpm/decitestamt"));
- setParameter("deciimgdiagrayamt", model.getValue("/root/main/ptpm/deciimgdiagrayamt"));
- setParameter("deciscitamt", model.getValue("/root/main/ptpm/deciscitamt"));
- setParameter("decipsypamt", model.getValue("/root/main/ptpm/decipsypamt"));
- setParameter("decictordamt", model.getValue("/root/main/ptpm/decictordamt"));
- setParameter("decimriordamt", model.getValue("/root/main/ptpm/decimriordamt"));
- setParameter("decipetordamt", model.getValue("/root/main/ptpm/decipetordamt"));
- setParameter("decichoiordamt", model.getValue("/root/main/ptpm/decichoiordamt"));
- setParameter("decinopyamt", model.getValue("/root/main/ptpm/decinopyamt"));
- setParameter("decietcamt", model.getValue("/root/main/ptpm/decietcamt"));
- setParameter("decicurematramt", model.getValue("/root/main/ptpm/decicurematramt"));
-
-
- open("SPPMC07000");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_rtnendyn");
- }
- ]]>
- </script>
- </input>
- <select1 id="ipt_roothospexpsflag" ref="/root/main/ptpm/roothospexpsflag" navindex="48" appearance="minimal" style="left:590px; top:445px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>A</label>
- <value>A</value>
- </item>
- <item>
- <label>B</label>
- <value>B</value>
- </item>
- <item>
- <label>C</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_ordfcstamt");
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_ordfcstamt" ref="/root/main/ptpm/ordfcstamt" class="input_default" navindex="49" format="(-)#,###" style="left:687px; top:445px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_ordfcstdd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_ordfcstdd" ref="/root/main/ptpm/ordfcstdd" class="input_default" navindex="50" inputtype="date" style="left:784px; top:445px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_dedutretdd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption64" class="cell_1" style="left:383px; top:420px; width:100px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">최종환불결정액</caption>
- <caption id="caption65" class="cell_1" style="left:590px; top:420px; width:95px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">본원지출구분</caption>
- <caption id="caption66" class="cell_1" style="left:968px; top:420px; width:110px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">공제문서번호</caption>
- <caption id="caption67" class="cell_1" style="left:1080px; top:420px; width:105px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">최종종결일</caption>
- <caption id="caption68" class="cell_1" style="left:876px; top:420px; width:90px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">공제처리일</caption>
- <input id="ipt_dedutretdd" ref="/root/main/ptpm/dedutretdd" class="input_default" navindex="51" inputtype="date" style="left:876px; top:445px; width:90px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_dedudocuno");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_dedudocuno" ref="/root/main/ptpm/dedudocuno" class="input_default" navindex="52" style="left:968px; top:445px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_lastenddd");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_lastenddd" ref="/root/main/ptpm/lastenddd" class="input_default" navindex="53" inputtype="date" style="left:1080px; top:445px; width:105px; height:19px; "/>
- <select1 id="ipt_civilaplflag" ref="/root/main/ptpm/civilaplflag" navindex="11" appearance="minimal" style="left:563px; top:177px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0484list/P0484">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption69" class="cell_1" style="left:563px; top:151px; width:95px; height:23px; text-align:center; vertical-align:middle; ">민원유형</caption>
- <input id="input23" ref="/root/main/ptpm/totalamt" class="input_default" navindex="16" format="(-)#,###" style="left:5px; top:246px; width:90px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption35" class="cell_1" style="left:5px; top:221px; width:90px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">총진료비</caption>
- <input id="input22" ref="/root/main/ptpm/ediownbamt" class="input_default" navindex="16" format="(-)#,###" style="left:674px; top:246px; width:77px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="input24" ref="/root/main/ptpm/ediownbmaxexamt" class="input_default" disabled="false" navindex="18" format="(-)#,###" style="left:837px; top:246px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <input id="input25" ref="/root/main/ptpm/edisuppamt" class="input_default" disabled="false" navindex="19" format="(-)#,###" style="left:925px; top:246px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption70" class="cell_1" style="left:754px; top:221px; width:80px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">청구액</caption>
- <line id="line10" class="line_1" style="x1:586px; y1:216px; x2:1183px; y2:216px; "/>
- <input id="input26" ref="/root/main/ptpm/edimedcaretotamt" class="input_default" navindex="16" format="(-)#,###" style="left:586px; top:246px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption71" class="tit_2" style="left:586px; top:200px; width:160px; height:13px; font-family:돋움; color:#000000; vertical-align:middle; ">민원대상청구액금액</caption>
- <caption id="caption72" class="cell_1" style="left:1013px; top:221px; width:83px; height:23px; text-align:center; vertical-align:middle; ">대불금</caption>
- <caption id="caption73" class="cell_1" style="left:586px; top:221px; width:85px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">총진료비</caption>
- <caption id="caption74" class="cell_1" style="left:674px; top:221px; width:77px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">본인부담액</caption>
- <input id="input27" ref="/root/main/ptpm/ediinsuclamamt" class="input_default" navindex="17" format="(-)#,###" style="left:754px; top:246px; width:80px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption75" class="cell_1" style="left:837px; top:221px; width:85px; height:23px; text-align:center; vertical-align:middle; ">상한액</caption>
- <caption id="caption76" class="cell_1" style="left:925px; top:221px; width:85px; height:23px; text-align:center; vertical-align:middle; ">지원금</caption>
- <input id="input28" ref="/root/main/ptpm/edisubtamt" class="input_default" navindex="20" format="(-)#,###" style="left:1013px; top:246px; width:83px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption77" class="tit_2" style="left:940px; top:84px; width:80px; height:13px; font-family:돋움; color:#000000; vertical-align:middle; ">기타금액</caption>
- <line id="line25" class="line_1" style="x1:940px; y1:101px; x2:1186px; y2:101px; "/>
- <caption id="caption78" class="cell_1" style="left:1098px; top:221px; width:85px; height:23px; text-align:center; vertical-align:middle; ">장애인</caption>
- <input id="input29" ref="/root/main/ptpm/edihandcaprfund" class="input_default" navindex="20" format="(-)#,###" style="left:1098px; top:246px; width:85px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <button id="button2" class="btn_sw" group="tab" style="left:83px; top:471px; width:80px; height:22px; ">
- <caption>청구이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.toggle("case4");
- //fGetColorChangeChoslist();
- button6.visible = false;
- button7.visible = true;
- ]]>
- </script>
- </button>
- <button id="btn_m_otpt" class="btn_sw" group="tab" style="left:6px; top:471px; width:75px; height:22px; ">
- <caption>내원이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.toggle("case3");
- //fGetColorChangeChoslist();
- button6.visible = true;
- button7.visible = false;
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:5px; top:500px; width:1187px; height:170px; ">
- <case id="case3" selected="true">
- <datagrid id="grd_chosrec" nodeset="/root/main/list1/chosreclist" caption="선택^사용여부^내원유형^진료/입원일자^퇴원일자^진료과^전문의^보험유형^보조유형^미수총액^총진료비^환자부담금총액^급여액^비급여액^선택진료료^감면금^심사자^생성번호^일련번호^심사자ID^등록번호^공문접수일^공문생성번호" colsep="^" colwidth="35, 60, 60, 85, 75, 97, 80, 82, 72, 80, 80, 100,82, 82, 79, 83, 88, 100, 100, 100, 100, 100, 100" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="35" style="left:0px; top:0px; width:1182px; height:163px; ">
- <col checkvalue="Y,N" ref="patspecyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="histyn" type="checkbox"/>
- <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordindd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col disabled="true" ref="insukind" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="uncototamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="totordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="totownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="payamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="nopyamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="specordamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="discamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgrnm"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="judgrid" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="ofidocacptdd" visibility="hidden"/>
- <col ref="ofidocretno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var rows = model.getValue("/root/temp/chosreclistcnt");
-
- var totordamtsum = '0';
- var totownbamtsum = '0';
- var nopyamttsum = '0';
- var specordamtsum = '0';
- var uncoamtsum = '0';
- var discamtsum = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list1/chosreclist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totordamt");
- var temp2 = model.getValue("/root/main/list1/chosreclist["+ i + "]/nopyamt");
- var temp3 = model.getValue("/root/main/list1/chosreclist["+ i + "]/specordamt");
- var temp4 = model.getValue("/root/main/list1/chosreclist["+ i + "]/uncototamt");
- var temp5 = model.getValue("/root/main/list1/chosreclist["+ i + "]/discamt");
- var temp6 = model.getValue("/root/main/list1/chosreclist["+ i + "]/totownbamt");
-
- totordamtsum = parseInt(totordamtsum) + parseInt(temp1);
- nopyamttsum = parseInt(nopyamttsum) + parseInt(temp2);
- specordamtsum = parseInt(specordamtsum) + parseInt(temp3);
- uncoamtsum = parseInt(uncoamtsum) + parseInt(temp4);
- discamtsum = parseInt(discamtsum) + parseInt(temp5);
- totownbamtsum = parseInt(totownbamtsum) + parseInt(temp6);
- }
- }
-
- model.setValue("/root/main/ptpm/totalamt", totordamtsum);
- model.setValue("/root/main/ptpm/patowntotamt", totownbamtsum);
- model.setValue("/root/main/ptpm/nonpayallamt", nopyamttsum);
- model.setValue("/root/main/ptpm/choiordamt", specordamtsum);
- model.setValue("/root/main/ptpm/uncoamt", uncoamtsum);
- model.setValue("/root/main/ptpm/discamt", discamtsum);
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case4">
- <datagrid id="datagrid1" nodeset="/root/main/list2/clamlist" caption="선택^사용여부^내원유형^청구월^청구구분^차수^유형^보조^청구과^진료과^주치의^접수번호^명일련^진료개시일^진료종료일^심사결정^총진료비^본인부담액^청구액^상한액^지원금^대불금^장애인^심사자^등록번호순번^작업구분^등록번호^공문접수일^공문생성번호" colsep="^" colwidth="40, 60, 59, 100, 100, 100, 56, 100, 80, 92, 92, 87, 87, 87, 87, 87, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" navindex="35" style="left:0px; top:0px; width:1182px; height:163px; ">
- <col checkvalue="Y,N" ref="patspecyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="histyn" type="checkbox"/>
- <col ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col ref="suppkind" style="text-align:center; "/>
- <col disabled="true" ref="clamdeptnm" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0437list/P0437">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="judgyn" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="edimedcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ediownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ediinsuclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ediownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="edisuppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="edisubtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="edihandcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="judgrnm" style="text-align:center; "/>
- <col ref="pidsn" visibility="hidden"/>
- <col ref="workflag" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="ofidocacptdd" visibility="hidden"/>
- <col ref="ofidocretno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rows = model.getValue("/root/temp/clamlistcnt");
-
- //var temp = '';
- var edimedcaretotamttsum = '0';
- var ediownbamtsum = '0';
- var ediinsuclamamtsum = '0';
- var ediownbmaxexamt = '0';
- var edisuppamt = '0';
- var edisubtamt = '0';
- var edihandcaprfund = '0';
-
- for (i=0; i<rows; i++) {
- if(model.getValue("/root/main/list2/clamlist["+ i + "]/patspecyn") == 'Y' ){
-
- var temp1 = model.getValue("/root/main/list2/clamlist["+ i + "]/edimedcaretotamt");
- var temp2 = model.getValue("/root/main/list2/clamlist["+ i + "]/ediownbamt");
- var temp3 = model.getValue("/root/main/list2/clamlist["+ i + "]/ediinsuclamamt");
- var temp4 = model.getValue("/root/main/list2/clamlist["+ i + "]/ediownbmaxexamt");
- var temp5 = model.getValue("/root/main/list2/clamlist["+ i + "]/edisuppamt");
- var temp6 = model.getValue("/root/main/list2/clamlist["+ i + "]/edisubtamt");
- var temp7 = model.getValue("/root/main/list2/clamlist["+ i + "]/edihandcaprfund");
-
- edimedcaretotamttsum = parseInt(edimedcaretotamttsum) + parseInt(temp1);
- ediownbamtsum = parseInt(ediownbamtsum) + parseInt(temp2);
- ediinsuclamamtsum = parseInt(ediinsuclamamtsum) + parseInt(temp3);
- ediownbmaxexamt = parseInt(ediownbmaxexamt) + parseInt(temp4);
- edisuppamt = parseInt(edisuppamt) + parseInt(temp5);
- edisubtamt = parseInt(edisubtamt) + parseInt(temp6);
- edihandcaprfund = parseInt(edihandcaprfund) + parseInt(temp7);
- }
- }
-
- model.setValue("/root/main/ptpm/edimedcaretotamt", edimedcaretotamttsum);
- model.setValue("/root/main/ptpm/ediownbamt", ediownbamtsum);
- model.setValue("/root/main/ptpm/ediinsuclamamt", ediinsuclamamtsum);
- model.setValue("/root/main/ptpm/ediownbmaxexamt", ediownbmaxexamt);
- model.setValue("/root/main/ptpm/edisuppamt", edisuppamt);
- model.setValue("/root/main/ptpm/edisubtamt", edisubtamt);
- model.setValue("/root/main/ptpm/edihandcaprfund", edihandcaprfund);
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <input id="ipt_ordtodd" ref="/root/main/ptpm/ordtodd" class="input_default" navindex="28" inputtype="date" style="left:393px; top:321px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_judgrid");
- }
- ]]>
- </script>
- </input>
- <caption id="caption25" class="cell_1" style="left:393px; top:290px; width:85px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">진료종료일자</caption>
- <caption id="caption79" class="cell_1" style="left:485px; top:420px; width:103px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">환수완료여부</caption>
- <select1 id="ipt_rtnendyn" ref="/root/main/ptpm/rtnendyn" navindex="47" appearance="minimal" style="left:485px; top:445px; width:103px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_roothospexpsflag");
- }
- ]]>
- </script>
- </select1>
- <input id="input1" ref="/root/main/ptpm/ofidocdocuno" class="input_default" navindex="6" style="left:194px; top:130px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_chrgernm");
- }
- ]]>
- </script>
- </input>
- <caption id="caption20" class="cell_1" style="left:194px; top:106px; width:85px; height:23px; text-align:center; vertical-align:middle; ">공문접수번호</caption>
- <caption id="caption80" class="cell_1" style="left:940px; top:105px; width:87px; height:23px; color:#000000; text-align:center; vertical-align:middle; ">미수잔액</caption>
- <input id="input3" ref="/root/main/ptbs/totaluncoamt" class="input_default" disabled="true" navindex="19" format="(-)#,###" style="left:940px; top:130px; width:87px; height:19px; text-align:right; "/>
- <button id="button6" class="btn2_letter4" style="left:1121px; top:471px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_chosrec.saveExcel(fileName, "SheetName", true, true, "", "");
- }
-
- window.exec(fileName);
-
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter4" style="left:1121px; top:471px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- datagrid1.saveExcel(fileName, "SheetName", true, true, "", "");
- }
-
- window.exec(fileName);
-
- ]]>
- </script>
- </button>
- <caption id="caption82" class="cell_1" style="left:700px; top:54px; width:60px; height:23px; vertical-align:middle; ">사망일시</caption>
- <caption id="caption83" class="cell_1" style="left:700px; top:30px; width:60px; height:23px; vertical-align:middle; ">사망여부</caption>
- <output id="input2" ref="/root/main/ptbs/ptbs_dethdt" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:762px; top:55px; width:90px; height:19px; "/>
- <output id="combo1" ref="/root/main/ptbs/ptbs_dethyn" class="output_fix" appearance="output" style="left:762px; top:31px; width:90px; height:19px; "/>
- <caption id="caption34" class="cell_1" style="left:98px; top:221px; width:95px; height:23px; text-align:center; vertical-align:middle; ">환자부담금총액</caption>
- <input id="ipt_patowntotamt" ref="/root/main/ptpm/patowntotamt" class="input_default" navindex="16" format="(-)#,###" style="left:98px; top:246px; width:95px; height:19px; text-align:right; background-color:#cc99ff; "/>
- <caption id="caption84" class="cell_1" style="left:280px; top:106px; width:35px; height:23px; text-align:center; vertical-align:middle; ">건수</caption>
- <input id="input4" ref="/root/main/ptpm/docucnt" class="input_default" disabled="true" navindex="6" style="left:280px; top:130px; width:35px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_chrgernm");
- }
- ]]>
- </script>
- </input>
- <caption id="caption85" class="cell_1" style="left:531px; top:54px; width:60px; height:23px; vertical-align:middle; ">주치의</caption>
- <caption id="caption86" class="cell_1" style="left:531px; top:30px; width:60px; height:23px; vertical-align:middle; ">보험유형</caption>
- <output id="ipt_orddrnm" ref="/root/main/ptbs/ptbs_orddrnm" class="output_fix" appearance="output" style="left:593px; top:55px; width:105px; height:19px; "/>
- <select1 id="cmb_insukind" ref="/root/main/ptbs/ptbs_insukind" disabled="true" appearance="minimal" style="left:593px; top:31px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption87" class="cell_1" style="left:226px; top:345px; width:95px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[이의신청
- 인정액]]>
- </caption>
- <input id="ipt_obtapprcamt" ref="/root/main/ptpm/obtapprcamt" class="input_default" navindex="34" format="(-)#,###" style="left:226px; top:376px; width:95px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_obtappaftrtndeciamt");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_addreqdd" ref="/root/main/ptpm/addreqdd" class="input_default" navindex="28" inputtype="date" style="left:537px; top:321px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_addclamamt");
- }
- ]]>
- </script>
- </input>
- <caption id="caption88" class="cell_1" style="left:537px; top:290px; width:85px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">추가청구일자</caption>
- <caption id="caption89" class="cell_1" style="left:691px; top:290px; width:85px; height:29px; color:#000000; text-align:center; vertical-align:middle; ">
- <![CDATA[추가청구
- 입금일자]]>
- </caption>
- <input id="ipt_addreqdepodd" ref="/root/main/ptpm/addreqdepodd" class="input_default" navindex="28" inputtype="date" style="left:691px; top:321px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_addclamamt");
- }
- ]]>
- </script>
- </input>
- <input id="input6" ref="/root/main/ptpm/addclamamt" class="input_default" format="(-)#,###" style="left:624px; top:321px; width:65px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13")
- {
- model.setFocus("ipt_addreqdepodd");
- }
- ]]>
- </script>
- </input>
- <caption id="caption90" class="cell_1" style="left:624px; top:290px; width:65px; height:29px; text-align:center; vertical-align:middle; ">
- <![CDATA[추가
- 청구액]]>
- </caption>
- <group id="grp_addclamrem" visibility="hidden" style="left:615px; top:290px; width:305px; height:132px; border-color:#c7a3cf; border-style:solid; ">
- <caption id="cpt_text" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">추가청구비고</caption>
- <line id="line26" class="line_1" style="x1:0px; y1:15px; x2:300 px; y2:15px; "/>
- <textarea id="txt_text" ref="/root/temp/addclamrem" scroll="vertical" imemode="hangul" maxlength="1750" style="left:5px; top:21px; width:294px; height:84px; text-align:left; vertical-align:top; padding-left:5; "/>
- <button id="btn_closememo" class="btn4_letter2" style="left:239px; top:106px; width:56px; height:22px; ">
- <caption>
- <![CDATA[확인]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/main/ptpm/addclamrem", model.getValue("/root/temp/addclamrem"));
-
- grp_addclamrem.visible = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_obtapprsltrem" visibility="hidden" style="left:310px; top:290px; width:305px; height:132px; border-color:#c7a3cf; border-style:solid; ">
- <caption id="caption81" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">이의신청결과비고</caption>
- <line id="line27" class="line_1" style="x1:0px; y1:15px; x2:300 px; y2:15px; "/>
- <textarea id="textarea1" ref="/root/temp/obtapprsltrem" scroll="vertical" imemode="hangul" maxlength="1750" style="left:5px; top:21px; width:294px; height:84px; text-align:left; vertical-align:top; padding-left:5; "/>
- <button id="button3" class="btn4_letter2" style="left:239px; top:106px; width:56px; height:22px; ">
- <caption>
- <![CDATA[확인]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/ptpm/obtapprsltrem", model.getValue("/root/temp/obtapprsltrem"));
-
- grp_obtapprsltrem.visible = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </case>
- </switch>
- <button id="btn_patprescond" class="btn_sw" navindex="40" group="tab" selected="true" style="left:0px; top:10px; width:86px; height:22px; ">
- <caption>수진내역현황</caption>
- <toggle case="case1" ev:event="xforms-activate"/>
- </button>
- <button id="btn_patspec" class="btn_sw" navindex="41" group="tab" style="left:86px; top:10px; width:86px; height:22px; ">
- <caption>수진내역</caption>
- <toggle case="case2" ev:event="xforms-activate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|