1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPID20500_외래사후심사관리.xrwopt_patrrgstno
- * 수정이력
- * - 2007.03.22 / 최초작성 / 정주미
- * - 2008.06.20. / 김상진 / Modify
- * - 재개발 및 로직튜닝
- * - 화면속도개선
- * - 화면상단 인적사항 수정
- * - 상병로직 수정
- * - 처방 및 특정내역 EDI줄번호로직 수정
- * - 수가계산로직 개발
- * - 청구금액계산로직 개발
- * - 처방그리드 수가단가,1회량,일수,금액 및 edi 단가, 1회량, 일수, 금액 분리
- * - 원외처방 특정내역 수정
-
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>외래사후심사관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <item1>
- <!-- 인적사항 -->
- <clbs>
- <clamkey/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <patnm/>
- <patrrgstno/>
- <judgendyn/>
- <clamendyn/>
- <clamno/>
- <acptno/>
- <docuseqno/>
- <adjtresncd/>
- <docudelresncd/>
- <adjtresndesc/>
- <abdresncd/>
- <rowstat/>
- <workflag/>
- <clbtworkflag/>
- <ioflag/>
- <sdoamsg/>
- <rooamsg/>
- <undersixageyn>N</undersixageyn>
- <dethyn/>
- <opyn/>
- <insukindcd/>
- <insukindnm/>
- <suppkindcd/>
- <suppkindnm/>
- <payownbrate/>
- <ordfildcd/>
- <clamdeptcd/>
- <orddeptcd/>
- <orddrid/>
- <orddddisp/>
- <arvpathcd/>
- <inpathcd/>
- <ordrsltcd/>
- <insdnm/>
- <insuno/>
- <insunm/>
- <certno/>
- <ordfromdd/>
- <ordtodd/>
- <indd/>
- <dschdd/>
- <patage/>
- <mechage/>
- <gender/>
- <clamflagcd/>
- <chosindayno/>
- <medcaredayno/>
- <cretno/>
- <wardcd/>
- <roomcd/>
- <indschacptstat/>
- <memohist/>
- <diaghist/>
- <unexecord/>
- <patspcfyn/>
- <predocuyn/>
- <acptamt/>
- <bfclamamt/>
- <clamamt/>
- <bfclamdifamt/>
- <bfowndifamt/>
- <judgdifamt/>
- <ownbamt/>
- <insuclamamt/>
- <ownbmaxexamt/>
- <handcaprfund/>
- <subtamt/>
- <suppamt/>
- <paylimamt/>
- <instcd/>
- <recalcyn/>
- <lastupdtrid/>
- <cretfromdd/>
- <crettodd/>
- <iphsfromdd/>
- <iphstodd/>
- <rsvordgubn/>
- <ownbflag/>
- <oprcpdayno/>
- <direcprcptims/>
- <ordtims/>
- <prockindflag/>
- <offcharm/>
- <mskind/>
- <stsioflag/>
- <lockyn/>
- <cpyn/>
- <drgcd/>
- <proccorpcd/>
- <bdwt/>
- <samedateyn/>
- <samedocuyn/>
- <samedocuioyn/>
- <ordym/>
- <clamtypecd/>
- <sumtypecd/>
- <mig/>
- <maxseqno/>
- <surecd/>
- <dispclsp/>
- <suppkindchgresn/>
- <suppkind/>
- <totlimitdiffamt/>
- <orddiag/>
- <rareobstflag/>
- <paygrntno/>
- </clbs>
- <memo>
- <judgmemo/>
- <judgmemorepeat/>
- <edimemo/>
- <edimemorepeat/>
- </memo>
- </item1>
- <item2>
- <!-- [TRPID20302] 조합기호 입력에 따라 검색한 조합명칭 -->
- <incd>
- <insucd/>
- <insucdnm/>
- </incd>
- </item2>
- <item3>
- <!-- 심사대상자의 보험유형에 따라 선택가능한 보조/요율 Combo 설정 -->
- <supp>
- <suppratenm/>
- <supprateid/>
- </supp>
- </item3>
- <list1>
- <!-- 상병 -->
- <cldi>
- <rowstat/>
- <workflag/>
- <diagkindcd/>
- <diagseq/>
- <diagcd/>
- <diagnm/>
- <!-- R/O 를 의미함-->
- <clamdeptcd/>
- <ordfromdd/>
- <toot/>
- <toot1/>
- <estmspclcd/>
- <wundresncd/>
- <diagengnm/>
- <seqno/>
- <vcode/>
- <kcd6chk/>
- </cldi>
- </list1>
- <list2>
- <!-- 처방 -->
- <clod>
- <spcljudgyn/>
- <workflag/>
- <seqno/>
- <grupsnglflag/>
- <grupseqno/>
- <rowstat/>
- <initlnno/>
- <edilnno/>
- <ediitem1/>
- <ediitem2/>
- <orddd/>
- <grupcalcscorcd/>
- <matractflag/>
- <snglcalcscorcd/>
- <basecd/>
- <estmcls/>
- <estmmncd/>
- <estmcd/>
- <hosinresncd/>
- <hngnm/>
- <payflag/>
- <ediunitcost/>
- <tims/>
- <daydrugqty/>
- <dayno/>
- <edidayno/>
- <ediamt/>
- <cnfmcd/>
- <lnunitspclspecyn/>
- <toot/>
- <adjtresncd/>
- <orddeptcd/>
- <orddrid/>
- <execdt/>
- <edihospaddamt/>
- <ediaddamt/>
- <paytotamt/>
- <ownbamt/>
- <clamamt/>
- <choiordamt/>
- <edihospaddtotamt/>
- <ediaddtotamt/>
- <choiordtotamt/>
- <totordamt/>
- <ownbtotamt/>
- <cpflag/>
- <ordnm/>
- <edicdflag/>
- <item/>
- <item1/>
- <item2/>
- <unitcost/>
- <drugqty/>
- <totdrugqty/>
- <amt/>
- <baserlapnt/>
- <baseaddrlapnt/>
- <pntunitcost/>
- <updtdd/>
- <ordfromdd/>
- <ordtodd/>
- <ediitem/>
- <edicd/>
- <rcptunitcost/>
- <prcpflag/>
- <rcptcalcamt/>
- <reductamt/>
- <estmcdnm/>
- <pynpy1/>
- <earncls1/>
- <earncls2/>
- <earncls3/>
- <mechfromdd/>
- <mechtodd/>
- <unit/>
- <calcappyn/>
- <erroramtyn/>
- <druglimitamt/>
- <limitdiffamt/>
- <edidruglimitamt/>
- <edilimitdiffamt/>
- </clod>
- </list2>
- <list3>
- <!-- 특정내역 -->
- <clsp>
- <rowstat/>
- <seqno/>
- <clodseqno/>
- <workflag/>
- <unitflag/>
- <edilnno/>
- <snglcalcscorcd/>
- <hngnm/>
- <spclcd/>
- <cdnm/>
- <spclspec/>
- <spclformat/>
- <detldesc/>
- <oldedilnno/>
- <initedilnno/>
- <oldspclcd/>
- </clsp>
- </list3>
- <item5>
- <!-- [TRPID20303] 그룹,싱글,EDI코드 입력에 따라 조회 / 또는 SMPIC00200_수가조회 검색 결과 -->
- <mech>
- <spcljudgyn/>
- <seqno/>
- <grupsnglflag/>
- <grupseqno/>
- <rowstat/>
- <initlnno/>
- <edilnno/>
- <ediitem1/>
- <ediitem2/>
- <ordfromdd/>
- <ordtodd/>
- <orddd/>
- <grupcalcscorcd/>
- <snglcalcscorcd/>
- <basecd/>
- <estmcls/>
- <estmmncd/>
- <estmcd/>
- <hngnm/>
- <payflag/>
- <ediunitcost/>
- <edidrugqty/>
- <tims/>
- <daydrugqty/>
- <dayno/>
- <edidayno/>
- <ediamt/>
- <cnfmcd/>
- <lnunitspclspecyn/>
- <toot/>
- <updtdd/>
- <adjtresncd/>
- <edihospaddamt/>
- <ediaddamt/>
- <paytotamt/>
- <ownbamt/>
- <clamamt/>
- <choiordamt/>
- <edihospaddtotamt/>
- <ediaddtotamt/>
- <choiordtotamt/>
- <totordamt/>
- <ownbtotamt/>
- <matractflag/>
- <ordnm/>
- <edicdflag/>
- <orddeptcd/>
- <orddrid/>
- <item/>
- <unitcost/>
- <drugqty/>
- <totdrugqty/>
- <amt/>
- <baserlapnt/>
- <baseaddrlapnt/>
- <pntunitcost/>
- <hosinresncd/>
- <ediitem/>
- <edicd/>
- <rcptunitcost/>
- <prcpflag/>
- <rcptcalcamt/>
- <estmcdnm/>
- <mechfromdd/>
- <mechtodd/>
- <execdt/>
- <cnfmcd/>
- <clamspclcd/>
- <trustinstno/>
- <calcappyn/>
- <hgaddyn/>
- </mech>
- </item5>
- <list4>
- <!-- [TRPID20304] 이전 명세서 목록 -->
- <clbs>
- <chk/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ioflag/>
- <ordfromdd/>
- <ordfildcd/>
- <orddeptcd/>
- <orddrid/>
- <insukind/>
- <suppkind/>
- <judgendyn/>
- <clamstat/>
- <delresn/>
- <docuseqno/>
- <clamkey/>
- <diagcd/>
- </clbs>
- </list4>
- <list5>
- <clod>
- <!-- [TRPID20505] 삭제 처방 조회용 -->
- <update/>
- <rowstat/>
- <spcljudgyn/>
- <matractflag/>
- <payflag/>
- <seqno/>
- <adjtresncd/>
- <edilnno/>
- <ediitem1/>
- <ediitem2/>
- <grupcalcscorcd/>
- <snglcalcscorcd/>
- <edicd/>
- <hngnm/>
- <edicdflag/>
- <ediunitcost/>
- <edidrugqty/>
- <tims/>
- <dayno/>
- <ediamt/>
- <cnfmcd/>
- <lnunitspclspecyn/>
- <orddd/>
- <ordnm/>
- <lastupdtdt/>
- </clod>
- </list5>
- <list6>
- <delclod>
- <!-- 처방휴지통: 삭제된 처방 -->
- <spcljudgyn/>
- <seqno/>
- <grupsnglflag/>
- <grupseqno/>
- <rowstat/>
- <initlnno/>
- <edilnno/>
- <ediitem1/>
- <ediitem2/>
- <orddd/>
- <grupcalcscorcd/>
- <matractflag/>
- <snglcalcscorcd/>
- <basecd/>
- <estmcls/>
- <estmmncd/>
- <estmcd/>
- <hosinresncd/>
- <hngnm/>
- <payflag/>
- <ediunitcost/>
- <edidrugqty/>
- <tims/>
- <daydrugqty/>
- <dayno/>
- <ediamt/>
- <cnfmcd/>
- <lnunitspclspecyn/>
- <toot/>
- <adjtresncd/>
- <orddeptcd/>
- <orddrid/>
- <execdt/>
- <edihospaddamt/>
- <ediaddamt/>
- <paytotamt/>
- <ownbamt/>
- <clamamt/>
- <choiordamt/>
- <edihospaddtotamt/>
- <ediaddtotamt/>
- <choiordtotamt/>
- <totordamt/>
- <ownbtotamt/>
- <ordnm/>
- <edicdflag/>
- <item/>
- <unitcost/>
- <drugqty/>
- <totdrugqty/>
- <amt/>
- <baserlapnt/>
- <baseaddrlapnt/>
- <pntunitcost/>
- <updtdd/>
- <ordfromdd/>
- <ordtodd/>
- <ediitem/>
- <edicd/>
- <rcptunitcost/>
- <prcpflag/>
- <rcptcalcamt/>
- <reductamt/>
- <estmcdnm/>
- <pynpy1/>
- <earncls1/>
- <earncls2/>
- <earncls3/>
- <mechfromdd/>
- <mechtodd/>
- <calcappyn/>
- </delclod>
- </list6>
- <list8>
- <!-- 급여구분별 전체조회시 사용 : 조회용도 -->
- <clod/>
- </list8>
- <!-- SPPMC02500_환자조회 화면에서 선택된 검색결과를 받는 경로임 -->
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- <ordddlist>
- <list/>
- </ordddlist>
- <item6>
- <essc/>
- </item6>
- <prtlhislist/>
- </main>
- <send>
- <item1>
- <clbs>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <judgno/>
- <workflag/>
- <docudelresncd/>
- <adjtresndesc/>
- </clbs>
- </item1>
- <item2>
- <!-- [TRPID20302] 조합명칭을 검색하려는 조합기호 조건 -->
- <incd>
- <insucd/>
- <ordfromdd/>
- </incd>
- </item2>
- <item3>
- <!-- CLSP 테이블에 특정내역 MX999로 저장되는 심사자메모, EDI청구메모를 설정 -->
- <judgmemo/>
- <edimemo/>
- <lnunitmemo/>
- <delclsp>
- <delmemo/>
- </delclsp>
- </item3>
- <item4>
- <endclbs>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <judgendyn/>
- <suppkind/>
- <insukind/>
- <ordtodd/>
- <rowstat/>
- </endclbs>
- <nextclbs>
- <clamym/>
- <judgno/>
- </nextclbs>
- </item4>
- <list1>
- <cldi/>
- </list1>
- <list2>
- <clod/>
- </list2>
- <list3>
- <clsp/>
- </list3>
- <list4>
- <pid/>
- <clamym/>
- <allordfild/>
- <ordfildcd/>
- <ioflag/>
- <refterm/>
- <fromdd/>
- <todd/>
- <clamdg/>
- <pidsn/>
- </list4>
- <item5>
- <!-- [TRPID20303] 처방 내역으로 조회하려는 그룹,싱글,EDI코드 조건 -->
- <mech>
- <mode/>
- <insukind/>
- <suppkind/>
- <orddeptcd/>
- <orddrid/>
- <indd/>
- <ordfromdd/>
- <ordtodd/>
- <grupcalcscorcd/>
- <snglcalcscorcd/>
- <basecd/>
- <estmmncd/>
- <drugqty/>
- <tims/>
- <dayno/>
- <adjtresncd/>
- <undersixageyn/>
- <hosinresncd/>
- <mechage/>
- <payflag/>
- <clbsordfromdd/>
- <ioflag/>
- <clamflagcd/>
- <unitcost/>
- <unitcostupdateyn/>
- <edidrugqty/>
- <edidayno/>
- <ediupdateyn/>
- </mech>
- </item5>
- <list7>
- <clop/>
- </list7>
- <item6>
- <essc>
- <esscclamym/>
- <esscclamdg/>
- <esscpid/>
- <esscpidsn/>
- </essc>
- </item6>
- <item7>
- <delclso>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <workflag/>
- </delclso>
- <clso>
- <clamym/>
- <spclcd/>
- <mpsno/>
- <calcscorcd/>
- <edilnno/>
- <spclspec/>
- </clso>
- </item7>
- <item8>
- <pifhiunc>
- <!-- 재청구 반송부제기사유-->
- <abdrresncd/>
- <!-- 재청구 차액발생사유-->
- <chgamtresncd/>
- </pifhiunc>
- </item8>
- <item9>
- <copylist>
- <orgclamym/>
- <orgclamdg/>
- <orgpid/>
- <orgpidsn/>
- <targetclamym/>
- <targetclamdg/>
- <targetpid/>
- <targetpidsn/>
- <mode/>
- </copylist>
- </item9>
- <listval>
- <uuee>
- <flag/>
- <scrnid/>
- <compsnm/>
- <compscnts/>
- <compsrefcnts/>
- <compssizecnts/>
- </uuee>
- </listval>
- <srchdata>
- <pid/>
- </srchdata>
- <chksuppkindflag>
- <cond>
- <diagcd/>
- <spclcd/>
- <ioflag/>
- <ordfromdd/>
- <clamym/>
- <clamdg/>
- <pidsn/>
- <insukindcd/>
- <pid/>
- </cond>
- </chksuppkindflag>
- </send>
- <init>
- <!--<P0008list/>환자보험유형(사용x)-->
- <!--<P0010list/>보조유형코드(사용x)-->
- <!-- 진료결과(보험) -->
- <P0110list/>
- <!-- 진료결과(산재) -->
- <P0297list/>
- <!-- 특정코드 -->
- <P0117list/>
- <!--조정사유코드 -->
- <P0127list>
- <P0127>
- <cdid/>
- <cdnm>조정사유</cdnm>
- </P0127>
- </P0127list>
- <!-- 표준코드구분(처방Grid사용x) -->
- <P0131list/>
- <!-- 심사완료여부 -->
- <P0151list/>
- <!-- 진료분야코드 -->
- <P0291list/>
- <!-- 진료과목별 코드 -->
- <P0322list/>
- <!-- 공상구분코드 -->
- <P0236list/>
- <!-- 명세서삭제사유코드 -->
- <P0465list>
- <P0465>
- <cdid/>
- <cdnm>삭제사유</cdnm>
- </P0465>
- </P0465list>
- <!-- 반송부제기사유코드 -->
- <P0466list>
- <P0466>
- <cdid/>
- <cdnm>부제기사유</cdnm>
- </P0466>
- </P0466list>
- <!-- 청구구분코드 -->
- <P0155list/>
- <!-- 본인부담코드 -->
- <P0365list>
- <P0365>
- <cdid/>
- <cdnm/>
- </P0365>
- </P0365list>
- <!-- 의료급여종별구분 -->
- <P0261list>
- <P0261>
- <cdid/>
- <cdnm/>
- </P0261>
- </P0261list>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <!-- 주치의 -->
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddridlist>
- </orddrid>
- <item3>
- <judgidyn/>
- </item3>
- <diagcd>
- <diagcdlist>
- <diagcd/>
- <diagnm/>
- </diagcdlist>
- </diagcd>
- <!-- 수정사유 -->
- <P0491list>
- <P0491>
- <cdid/>
- <cdnm>자격수정사유</cdnm>
- </P0491>
- </P0491list>
- <PK221list>
- <PK221>
- <cdid/>
- <cdnm/>
- </PK221>
- </PK221list>
- </init>
- <hidden>
- <listval>
- <uuee>
- <scrnid/>
- <compsnm/>
- <compscnts/>
- <compsrefcnts/>
- <compssizecnts/>
- </uuee>
- </listval>
- <item1>
- <!-- 인적사항 중 조회 후 계산하여 보여지는 output 및 combo -->
- <clbs>
- <srchrslt/>
- <patsupprate/>
- </clbs>
- <initclbs>
- <clbs/>
- </initclbs>
- <initmemo>
- <memo/>
- </initmemo>
- </item1>
- <list1>
- <cldi>
- <oldseq/>
- <olddiagcd/>
- <olddiagnm/>
- <oldengnm/>
- <oldrowstat/>
- <oldordfromdd/>
- </cldi>
- </list1>
- <list2>
- <clodsrch>
- <!-- 처방 조회부 Radio 선택 또는 Input 입력값 -->
- <selectedRdoPay/>
- <selectedRdoItem/>
- </clodsrch>
- <cloditem1>
- <!-- 처방 목록에 해당하는 항목이 있는 경우 Radio item을 굵게 표시 -->
- <ediitem1_all/>
- <ediitem1_01/>
- <!-- <ediitem1_02/>-->
- <ediitem1_03/>
- <ediitem1_04/>
- <ediitem1_05/>
- <ediitem1_06/>
- <ediitem1_07/>
- <ediitem1_08/>
- <ediitem1_09/>
- <ediitem1_10/>
- <ediitem1_SS/>
- </cloditem1>
- <clodstat>
- <cmbAdjtresncd/>
- </clodstat>
- </list2>
- <list3>
- <!-- 특정내역 선택에 따라 보여지는 기재형식 Output -->
- <msgspclformat/>
- <prespclcd/>
- <prespclformat/>
- <prerowstatus/>
- <selectedUnitFlag/>
- </list3>
- <item5>
- <clod>
- <adjtresncd/>
- <orddd/>
- <ordfromdd/>
- <ordtodd/>
- <updtdd/>
- <!-- 처방에서 그룹, 싱글, EDI코드 입력이 변경되었는지 비교하기 위한 값 -->
- <grupcalcscorcd/>
- <snglcalcscorcd/>
- <basecd/>
- <!-- 처방에서 투여량, 횟수, 일수 입력이 변경되었는지 비교하기 위한 값 -->
- <estmmncd/>
- <drugqty/>
- <tims/>
- <dayno/>
- <edidrugqty/>
- <edidayno/>
- <unitcost/>
- <rowstatus/>
- </clod>
- </item5>
- <list4>
- <clbs/>
- </list4>
- <list7>
- <clop>
- <selectedRdoPay/>
- <oldclopdd/>
- <oldclopno/>
- <oldrowstatus/>
- <oldedicd/>
- <oldsnglcalcscorcd/>
- <oldedidrugqty/>
- <olddrugtims/>
- <oldedidrugdayno/>
- </clop>
- </list7>
- <item6>
- <docudelresncd/>
- <!-- 명세서삭제사유-->
- <abdrresncd/>
- <!-- 반송부제기사유-->
- </item6>
- <initclodlist>
- <list2>
- <clod/>
- </list2>
- </initclodlist>
- <popupmenu>
- <gridcldi>
- <item>
- <name>상병순서 위로</name>
- <func>fDiagSeqUp</func>
- </item>
- <item>
- <name>상병순서 아래로</name>
- <func>fDiagSeqDown</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>행 삽입</name>
- <func>fDiagGridInsertRow</func>
- </item>
- <item>
- <name>행 추가</name>
- <func>fDiagGridAddRow</func>
- </item>
- <item>
- <name>행 추가(5줄)</name>
- <func>fDiagGridInsertRowMulti</func>
- </item>
- <item>
- <name>행 삭제</name>
- <func>fDiagGridDeleteRow</func>
- </item>
- <!-- 2008-12-10 행 삭제시 rowHidden하므로 삭제취소 불필요하여 주석처리함.
- <delitem>
- <name>삭제 취소</name>
- <func>fDiagGridDeleteCancel</func>
- </delitem>
- -->
- </gridcldi>
- <gridclod>
- <item>
- <name>행 추가</name>
- <func>fOrderGridInsertRow</func>
- </item>
- <!-- 20100209 삭제 (버튼기능 추가)
- <item>
- <name>행 복사</name>
- <func>fOrderGridCopyRow</func>
- </item>
- -->
- <item>
- <name>행 삭제</name>
- <func>fOrderGridDeleteRow</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>1회량 일괄수정</name>
- <func>fAllSetDrugqtyCol</func>
- </item>
- <item>
- <name>횟수 일괄수정</name>
- <func>fAllSetTimsCol</func>
- </item>
- <item>
- <name>일수 일괄수정</name>
- <func>fAllSetDaynoCol</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <!-- 20100209 삭제
- <item>
- <name>수가코드 복사</name>
- <func>fSnglGridCopyCol</func>
- </item>
- <item>
- <name>EDI코드 복사</name>
- <func>fEdiGridCopyCol</func>
- </item>
- <item>
- <name>처방명 복사</name>
- <func>fHngnmGridCopyCol</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- -->
- <item>
- <name>처방주석입력</name>
- <func>fOrderGridInsertCmt</func>
- </item>
- <item>
- <name>확인코드입력</name>
- <func>fOrderGridInsertCnfmCd</func>
- </item>
- <item>
- <name>일괄처방주석입력</name>
- <func>fOrderGridInsertAllCmt</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>결과조회</name>
- <func>fOrderRsltSrch</func>
- </item>
- <item>
- <name>보험인정기준</name>
- <func>fOrderInsuRcogBase</func>
- </item>
- <item>
- <name>수가조회</name>
- <func>fOrderCalcScorSrch</func>
- </item>
- <item>
- <name>약품편람</name>
- <func>fOrderDrugHBook</func>
- </item>
- <item>
- <name>상세계산내역</name>
- <func>fGetOsclClamData</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>급비변경</name>
- <func>fSetPayflag</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>처방별환자조회(계산)_수가코드</name>
- <func>fOpenSMPIS00500DetailSnglCD</func>
- </item>
- <item>
- <name>처방별환자조회(계산)_EDI코드</name>
- <func>fOpenSMPIS00500DetailEdicd</func>
- </item>
- <item>
- <name>처방별환자조회(청구/삭감)</name>
- <func>fOpenSMPIS00600Detail</func>
- </item>
- <!-- JHP, 추가 20090817 메세지작성 시작-->
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>환자기준 메세지작성</name>
- <func>fPatJudgPatMsgTrsm</func>
- </item>
- <item>
- <name>처방기준 메세지작성</name>
- <func>fOrderJudgPatMsgTrsm</func>
- </item>
- <item>
- <name>환자 전체메세지 간편보기</name>
- <func>fJudgPatMsgTrsmRef</func>
- </item>
- <item>
- <name>처방사유조회</name>
- <func>fPrcpResnRef</func>
- </item>
- <!-- JHP, 추가 20090817 메세지작성 끝-->
- <delitem>
- <name>삭제 취소</name>
- <func>fOrderGridDeleteCancel</func>
- </delitem>
- <inititem>
- <name>처방 추가</name>
- <func>fOrderGridAddRow</func>
- </inititem>
- </gridclod>
- <gridclsp>
- <item>
- <name>행 추가</name>
- <func>fSpclGridInsertRow</func>
- </item>
- <item>
- <name>행 삭제</name>
- <func>fSpclGridDeleteRow</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <!-- <item>
- <name>특정내역 반복</name>
- <func>fRepeatSpclSpec</func>
- </item>
- -->
- </gridclsp>
- <gridclop>
- <inititem>
- <name>원외처방 추가</name>
- <func>fOutOrderGridInsertRow</func>
- </inititem>
- <item>
- <name>처방주석입력</name>
- <func>fCallClsoSpclSpec</func>
- </item>
- <item>
- <name>일괄처방주석입력</name>
- <func>fCallClsoSpclAllSpec</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>행 추가</name>
- <func>fOutOrderGridInsertRow</func>
- </item>
- <item>
- <name>행 복사</name>
- <func>fOutOrderGridCopyRow</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>행 삭제</name>
- <func>fClopGridDeleteRow</func>
- </item>
- <item>
- <name>교부번호 전체삭제</name>
- <func>fClopGridAllDeleteRow</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>수가조회</name>
- <func>fOrderCalcScorSrch_clop</func>
- </item>
- <item>
- <name>약품편람</name>
- <func>fOrderDrugHBook_clop</func>
- </item>
- </gridclop>
- </popupmenu>
- <calendar>
- <year/>
- <month/>
- <!-- weeklist : 진료달력을 구성하는 날짜 목록 -->
- <weeklist>
- <list/>
- </weeklist>
- <!-- ordddlist : 해당년월에 진료일자 목록 검색 조건-->
- <ordddlist>
- <pid/>
- <fromdd/>
- <todd/>
- <workflag/>
- </ordddlist>
- </calendar>
- <smpic00200>
- <judgsrch>
- <con1_dd/>
- <con2_gsflag/>
- <con3_search1/>
- <con4_search2/>
- <con5_insu/>
- <con6_calcscorcd/>
- <con7_todd/>
- <con8_instcd/>
- <con9_lastupdtdt/>
- <con10_preord_chk/>
- <con11_edicd/>
- <con_ordinptflag/>
- </judgsrch>
- <rslt>
- <ediitem1/>
- <ediitem2/>
- <grupcalcscorcd/>
- <snglcalcscorcd/>
- <basecd/>
- <hngnm/>
- <edicdflag/>
- <ediunitcost/>
- <ordnm/>
- </rslt>
- </smpic00200>
- <smpid20400>
- <cond>
- <!-- "대상조회" Btn SMPID20400_외래사후심사대상자조회 에 전달하기 위한 조건 값 -->
- <pid/>
- </cond>
- <rslt>
- <selectedRow/>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <clamkey/>
- <oldPid/>
- <cutprcpyn/>
- <judgendyn/>
- <tootpopupyn/>
- <ordfildcd/>
- <judgenddd/>
- </rslt>
- </smpid20400>
- <smpid20300>
- <cond>
- <!-- "이전 명세서 목록" Grid에서 선택한 명세서의 청구키를 SMPID20300_입원사후심사관리 에 전달하기 위한 조건 값 -->
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ioflag/>
- <workflag/>
- </cond>
- </smpid20300>
- <smpid20500>
- <cond>
- <!-- "이전 명세서 목록" Grid에서 선택한 명세서의 청구키를 SMPID20500_외래사후심사관리 에 전달하기 위한 조건 값 -->
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ioflag/>
- <workflag/>
- </cond>
- </smpid20500>
- <sppid21300>
- <cond>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <insukind/>
- <suppkind/>
- <ordfromdd/>
- </cond>
- </sppid21300>
- <sppid21400>
- <cond>
- <pid/>
- <orddeptcd/>
- <orddd/>
- <chk/>
- </cond>
- </sppid21400>
- <!-- <sppid21600>
- <cond>
- <pid/>
- <indd/>
- <cretno/>
- <fromdd/>
- <todd/>
- <calcscorcd/>
- <grupsnglflag/>
- <insukindcd/>
- <insukind/>
- <suppkindcd/>
- <suppkind/>
- <ownbrate/>
- </cond>
- </sppid21600> -->
- <sppid21700>
- <cond>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <workflag/>
- <ioflag/>
- </cond>
- </sppid21700>
- <sppid22100>
- <cond>
- <pid/>
- <instcd/>
- <clamkey/>
- <clamcretdd/>
- <patnm/>
- <gender/>
- <ioflag/>
- <stsioflag/>
- <choicdsrch/>
- <calcscorcd/>
- <hngnm/>
- <scrhdate/>
- <fromdd/>
- <todd/>
- <insukind/>
- <suppkind/>
- <clopyn/>
- </cond>
- </sppid22100>
- <smpiz00100>
- <cond>
- <!-- "상병이력" Btn에 따라 SMPIZ00100_외래입원상병이력조회 에 전달하기 위한 조건 값 -->
- <pid/>
- <ordfromdd/>
- <ordtodd/>
- <orddd/>
- <ioflag/>
- <deptcd/>
- </cond>
- </smpiz00100>
- <sppiz00200>
- <cond>
- <clsp>
- <spclcd/>
- <seqno/>
- <spclspec/>
- <rowstat/>
- </clsp>
- </cond>
- <rslt>
- <clsp>
- <unitflag/>
- <spclcd/>
- <seqno/>
- <calcscorcd/>
- <spclspec/>
- <rowstat/>
- </clsp>
- </rslt>
- </sppiz00200>
- <sppiz00300>
- <cond>
- <pid/>
- <orddeptcd/>
- <ioflag/>
- <refterm/>
- <anofildinclyn/>
- <fromdd/>
- <todd/>
- <clamym/>
- <clamdg/>
- <pidsn/>
- </cond>
- <rslt>
- <choimemo/>
- <destRef/>
- <edicd/>
- </rslt>
- </sppiz00300>
- <sppiz00400>
- <cond>
- <!-- 상병코드 Grid '상병코드' 컬럼 에서 SPPIZ00400_상병코드조회 에 전달하기 위한 조건 값 -->
- <basedd/>
- <diagcd/>
- <diagnm/>
- <selectedrdodiagkind/>
- </cond>
- <rslt>
- <diagcd/>
- <diaghngnm/>
- <diagengnm/>
- <!--
- <rowstat/>
- <diagseq/>
- <diagcd/>
- <diagnm/>
- <diagkindcd/>
- <clamdeptcd/>
- <ordfromdd/>
- <toot/>
- <estmspclcd/>
- <wundresncd/>
- -->
- </rslt>
- </sppiz00400>
- <sppiz00500>
- <cond>
- <!-- 처방 Grid 'T' 컬럼 / 특정내역 Grid '특정코드' 컬럼 에서 SPPIZ00500_특정내역상세관리 에 전달하기 위한 조건 값 -->
- <flag/>
- <snglcalcscorcd/>
- <clodseqno/>
- <edilnno/>
- <spclcd/>
- <detldesc/>
- <spclspec/>
- <spclformat/>
- <rownum/>
- <cdnm/>
- <unitflag/>
- </cond>
- <rslt>
- <list>
- <flag/>
- <rownum/>
- <clodseqno/>
- <edilnno/>
- <spclcd/>
- <cdnm/>
- <spclspec/>
- <spclformat/>
- <detldesc/>
- <snglcalcscorcd/>
- <oldspclcd/>
- <oldspclspec/>
- </list>
- </rslt>
- </sppiz00500>
- <sppiz01700>
- <cond>
- <!-- 처방 Grid 'T' 컬럼 / 특정내역 Grid '특정코드' 컬럼 에서 SPPIZ01700_원외처방특정내역상세관리 에 전달하기 위한 조건 값 -->
- <flag/>
- <snglcalcscorcd/>
- <clopdd/>
- <clopno/>
- <clodseqno/>
- <edilnno/>
- <spclcd/>
- <detldesc/>
- <spclspec/>
- <spclformat/>
- <rownum/>
- <cdnm/>
- <unitflag/>
- </cond>
- <rslt>
- <list>
- <flag/>
- <rownum/>
- <clodseqno/>
- <edilnno/>
- <spclcd/>
- <cdnm/>
- <spclspec/>
- <spclformat/>
- <detldesc/>
- <snglcalcscorcd/>
- <oldspclcd/>
- <oldspclspec/>
- </list>
- </rslt>
- </sppiz01700>
- <sppiz00600>
- <cond>
- <!-- 상병 Grid '치식' 컬럼 에서 SPPIZ00600_상병및처방별치식 에 전달하기 위한 조건 값 -->
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <indd/>
- <cretno/>
- <toot/>
- <flag/>
- <list/>
- <popyn/>
- </cond>
- <rslt>
- <list/>
- </rslt>
- </sppiz00600>
- <sppiz00700>
- <cond>
- <judgrid/>
- <memoflag/>
- <memocls/>
- <ediitem1/>
- </cond>
- <rslt>
- <memocd/>
- <memo/>
- </rslt>
- </sppiz00700>
- <sppiz00800>
- <cond>
- <!-- 처방 Grid '산정의미/산정코드' 컬럼 에서 SPPIZ00800_산정코드조회.xrw에 전달하기 위한 조건 값
- <estmcls/>
- <estmmncd/>
- -->
- <insukind/>
- <estmcls/>
- <estmmncd/>
- <todd/>
- </cond>
- <rslt>
- <clcd>
- <estmcls/>
- <estmmncd/>
- <estmcd/>
- <estmcdnm/>
- <addmthd/>
- <pnt/>
- <amt/>
- <rate/>
- <todd/>
- </clcd>
- </rslt>
- </sppiz00800>
- <sppiz01000>
- <cond>
- <cdcls/>
- <cdid/>
- </cond>
- <rslt>
- <cdid/>
- <adjtresndesc/>
- </rslt>
- </sppiz01000>
- <sppiz01100>
- <cond>
- <code/>
- </cond>
- <rslt>
- <code/>
- </rslt>
- </sppiz01100>
- <sppiz01300>
- <cond>
- <pid/>
- <indd/>
- <cretno/>
- </cond>
- </sppiz01300>
- <sppiz01400>
- <cond>
- <srchcond/>
- </cond>
- <rslt>
- <spclcd/>
- <cdnm/>
- <spclspec/>
- <spclformat/>
- <detldesc/>
- </rslt>
- </sppiz01400>
- <sppiz01500>
- <cond>
- <cdid/>
- </cond>
- <rslt>
- <cdid/>
- </rslt>
- </sppiz01500>
- <smpao00300>
- <!-- pam/outordamtmngtweb/xrw/SMPAO00300_외래수납조회.xrw -->
- <cond>
- <pid/>
- <orddeptcd/>
- <insukind/>
- <cond/>
- <fromdd/>
- <todd/>
- <rtnyn/>
- <s_opmi>
- <opmi/>
- </s_opmi>
- <minusyn/>
- <mig_oscl2yn/>
- <togoyn/>
- </cond>
- </smpao00300>
- <smpmc01300>
- <!-- SMPMC01300_특이환자관리 -->
- <cond>
- <srchcond/>
- <autoflag/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- <checkfnexam/>
- </cond>
- <rslt>
- <patspcfyn/>
- </rslt>
- </smpmc01300>
- <sppmb01500>
- <!-- pam\pamcomnweb\xrw\SPPMB01500_보험자기호조회 -->
- <cond>
- <srchcond/>
- <srchcnts/>
- <insuflag/>
- </cond>
- </sppmb01500>
- <sppmc02500>
- <cond>
- <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- <!-- SPPID22800_재청구차액발생사유관리.xrw -->
- <sppid22800>
- <cond>
- <cdid/>
- </cond>
- <rslt>
- <cdid/>
- </rslt>
- </sppid22800>
- <!-- SMPID22900_동일진료일명세서조회.xrw -->
- <smpid22900>
- <cond>
- <clamym/>
- <clamdg/>
- <pid/>
- <pidsn/>
- <ordym/>
- <judgrid/>
- </cond>
- </smpid22900>
- <!-- SPPID23100_급비변경관리.xrw -->
- <sppid23100>
- <cond>
- <cdid/>
- </cond>
- <rslt>
- <cdid/>
- </rslt>
- </sppid23100>
- <sppmc04500>
- <cond>
- <pid/>
- </cond>
- </sppmc04500>
- <edicheck/>
- <orddddisp>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- <col21/>
- <col22/>
- <col23/>
- <col24/>
- <col25/>
- <col26/>
- <col27/>
- <col28/>
- <col29/>
- <col30/>
- <col31/>
- </orddddisp>
- <reselect/>
- <orgjudgendyn/>
- <rarecancermsg>
- <msg/>
- </rarecancermsg>
- <chksuppkindflag/>
- <getvcode>
- <cond>
- <diagcd/>
- <ioflag/>
- <insukind/>
- <suppkind/>
- <ordfromdd/>
- </cond>
- <rslt>
- <vcode/>
- </rslt>
- </getvcode>
- <sppiz01600>
- <cond>
- <calcscorcd/>
- </cond>
- </sppiz01600>
- </hidden>
- <chkJT001>Y</chkJT001>
- </root>
- </instance>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPID20501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPID20302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item2" resultref="/root/main/item2"/>
- <submission id="TRPID20301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRPID20303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item5" resultref="/root/main/item5"/>
- <submission id="TRPID20304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list4" resultref="/root/main/list4"/>
- <submission id="TRPID20308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/smpmc01300/cond" resultref="/root/hidden/smpmc01300"/>
- <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/item1/clbs/ioflag" resultref="root/hidden/tmp"/>
- <submission id="TRPID20312" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="root/init/diagcd"/>
- <submission id="TRPID20505" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/item1/clbs/clamym" resultref="/root/main/list5"/>
- <submission id="TRPID20507" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main" resultref="/root/send/item4"/>
- <submission id="TRPID20508" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/calendar/ordddlist" resultref="/root/main/ordddlist"/>
- <submission id="TRPID20509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item6/essc" resultref="/root/main/item6"/>
- <submission id="TRPID20510" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRPID21602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/hidden/listval"/>
- <submission id="TXPID20301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/tmp"/>
- <submission id="TXPID20302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item4/endclbs"/>
- <submission id="TXPID20303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/item1/clbs"/>
- <submission id="TXPID20304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/item9/copylist"/>
- <submission id="TXPID21601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/hidden/listval"/>
- <!-- 2009.08.18, 환자메세지 조회, JHP -->
- <submission id="TRPIZ01903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/msg01" resultref="/root/main/msglist"/>
- <submission id="TRPID20313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/getvcode/cond" resultref="/root/hidden/getvcode"/>
- <submission id="TXPID20307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRPIZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/diag" resultref="/root/main/diaghist01/list01"/>
- <submission id="TRPID20314" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/chksuppkindflag/cond" resultref="/root/hidden/chksuppkindflag"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- setCloseChildWindow(); // (common.js) open()으로 열려진 상태의 자식창을 닫는다.
- delPatientInfos(); // (common.js) 상단의 환자정보 삭제
- fInitialize(); // 화면을 초기화한다.
- ]]>
- </script>
- <submission id="TRPID20306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/sppiz00400/cond" resultref="/root/hidden/sppiz00400"/>
- <submission id="TRADB01007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/prtlhislist"/>
- <submission id="TXPID20315" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list3"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/insucomweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20000.js"/>
- <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20500.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelperAsync.js"/>
- <!-- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/> -->
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1191;" style="vertical-align:bottom; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" style="left:0px; top:13px; width:1195px; height:771px; ">
- <input id="ipt_insdnm" ref="/root/main/item1/clbs/insdnm" class="input_default" navindex="6" imemode="disabled" _auth="R" style="left:859px; top:55px; width:59px; height:19px; text-align:left; ">
- <hint>
- <![CDATA[보험:가입자, 자보:사고일자, 산재: 재해발생일자]]>
- </hint>
- </input>
- <select1 id="cmb_undersixageyn" ref="/root/main/item1/clbs/undersixageyn" class="combo_default" navindex="7" appearance="minimal" _auth="R" style="left:859px; top:80px; width:59px; height:19px; ">
- <choices>
- <item>
- <label>일반</label>
- <value>N</value>
- </item>
- <item>
- <label>6세</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 6세미만변경될 경우 체크
- fSetUndersixageyn();
- ]]>
- </script>
- </select1>
- <caption id="caption6" class="cell_1" style="left:797px; top:78px; width:61px; height:23px; ">6세미만</caption>
- <input id="ipt_rsvordgubn" ref="/root/main/item1/clbs/rsvordgubn" class="input_default" disabled="false" navindex="5" imemode="disabled" maxlength="3" required="###" _chartype="upper" _auth="R" style="left:770px; top:56px; width:25px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[의료급여 예약검사여부]]>
- </hint>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var rsvordgubn = model.getValue("/root/main/item1/clbs/rsvordgubn");
-
- if (rsvordgubn != "N" && rsvordgubn != "Y") {
- messageBox("Y 또는 N를", "C001"); //C001=입력하십시오 !
- model.setFocus("ipt_rsvordgubn");
- model.setValue("/root/main/item1/clbs/rsvordgubn", "N");
- ipt_rsvordgubn.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input2" ref="/root/main/item1/clbs/direcprcptims" class="input_default" disabled="false" navindex="5" imemode="disabled" maxlength="3" format="###" _auth="R" style="left:743px; top:56px; width:25px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[의료급여 직접조제횟수]]>
- </hint>
- </input>
- <input id="input1" ref="/root/main/item1/clbs/ordtims" class="input_default" disabled="false" navindex="5" imemode="disabled" maxlength="3" format="###" _auth="R" style="left:716px; top:56px; width:25px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[의료급여 진료횟수]]>
- </hint>
- </input>
- <caption id="caption8" class="cell_1" style="left:618px; top:54px; width:96px; height:23px; text-align:left; ">진료/직접/예약</caption>
- <input id="ipt_ordtodd" ref="/root/main/item1/clbs/ordtodd" class="input_default" navindex="5" imemode="disabled" format="yyyy-mm-dd" _auth="R" style="left:549px; top:80px; width:67px; height:19px; text-align:right; "/>
- <input id="ipt_ordfromdd" ref="/root/main/item1/clbs/ordfromdd" class="input_default" navindex="5" imemode="disabled" format="yyyy-mm-dd" _auth="R" style="left:549px; top:55px; width:67px; height:19px; text-align:right; "/>
- <caption id="caption9" class="cell_1" style="left:481px; top:78px; width:67px; height:23px; ">진료종료일</caption>
- <caption id="caption5" class="cell_1" style="left:481px; top:54px; width:67px; height:23px; ">진료개시일</caption>
- <input id="ipt_patrrgstno" ref="/root/main/item1/clbs/patrrgstno" class="input_default" format="999999-9999999" style="left:347px; top:31px; width:92px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 2008. 05.20. / smartselly / 주민번호 체크 function
- fCheckPidRegNo();
- ]]>
- </script>
- </input>
- <select1 id="cmb_ownbflag" ref="/root/main/item1/clbs/ownbflag" class="combo_default" navindex="7" appearance="minimal" showvalue="true" style="left:215px; top:79px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0365list/P0365">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_offcharm" ref="/root/main/item1/clbs/offcharm" class="combo_default" disabled="false" navindex="4" scroll="vertical" appearance="minimal" showvalue="true" _auth="R" style="left:215px; top:31px; width:68px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0236list/P0236">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="ipt_pidsn" ref="/root/main/item1/clbs/pidsn" class="output_fix" format="####" style="left:124px; top:54px; width:15px; height:19px; ">
- <hint>
- <![CDATA[등록번호순번]]>
- </hint>
- </output>
- <caption id="cap_judgendyn" class="cell_1" style="left:1062px; top:79px; width:55px; height:23px; text-align:left; ">
- <![CDATA[지급보증]]>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- cap_judgendyn.hint = model.getValue("/root/main/item1/clbs/judgendyn");
- cap_judgendyn.refresh();
- ]]>
- </script>
- </caption>
- <caption id="caption7" class="tit_2" style="left:5px; top:10px; width:69px; height:13px; ">인적사항</caption>
- <output id="opt_srchrslt" ref="/root/hidden/item1/clbs/srchrslt" style="left:94px; top:4px; width:318px; height:19px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <line id="line45" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
- <group id="grp_clodhist" style="left:0px; top:106px; width:1194px; height:638px; ">
- <group id="grp_clop" style="left:0px; top:541px; width:1114px; height:96px; ">
- <caption id="cap_clop" class="tit_2" style="left:0px; top:5px; width:69px; height:13px; ">
- <![CDATA[원외처방]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- /*
- if (grp_clop.attribute("top") == "541" || grp_clop.attribute("top") == "541px") { // 원외처방 Grid 축소된 초기 상태임
- grp_clop.attribute("top") = parseInt(cap_clod.attribute("top")) - 5 + 123; // 123 = 처방 Grid 98 + 처방 title 부분간격 25
- grp_clop.attribute("height") = parseInt(grd_clodhist.attribute("height")) + 50 + 71 - 123;
- grd_oprcphist.attribute("height") = parseInt(grp_clop.attribute("height")) - 25;
- grd_clodhist.attribute("height") = "85"; // 처방Grid 타이틀 32 + data 2줄 23*2 + 스크롤 18 + 2 = 98
- } else {
- if (cap_clod.attribute("top") == "228") { // 처방 Grid 초기 상태임
- grd_clodhist.attribute("height") = "270";
- } else { // 처방 Grid 확대된 상태임
- grd_clodhist.attribute("height") = "425";
- }
- grp_clop.attribute("top") = "541";
- grp_clop.attribute("height") = "96";
- grd_oprcphist.attribute("height") = parseInt(grp_clop.attribute("height")) - 25;
- }
- */
- fClopSizeChange("CHANGE"); // 20091210
- // 이전명세서, 처방휴지통, 삭제처방 Group의 컨트롤 크기를 설정한다.
- fSetDelOrdPreDocuSize();
- ]]>
- </script>
- </caption>
- <line id="ln_clop" class="line_1" style="x1:0px; y1:20px; x2:1114px; y2:20px; "/>
- <datagrid id="grd_oprcphist" nodeset="/root/main/list7/clop" scroll="auto" caption="교부일자^교부번호^줄^처방코드^EDI 코드^한글명^급^EDI 단가^1회량^EDI1회량^회^일^EDI일^T^분류기호^분류명칭^처방명^효능중분류^효능소분류^사유^구분^mpsno^oldclopdd^oldclopno^newmpsno^seqno^workflag^clop seqno^spcljudgyn" colsep="^" colwidth="67, 54, 18, 83, 80, 200, 26, 60, 36, 56, 18, 30, 38, 14, 54, 100, 207, 120, 140,38, 27, 52, 43, 77, 20, 60, 60, 100, 100" ellipsis="true" extendlastcol="scroll" mergecells="byrestriccol" rowheader="update" rowheight="40" rowsep="|" tooltip="true" style="left:0px; top:25px; width:1114px; height:71px; ">
- <col ref="clopdd" type="input" format="yyyy-mm-dd" style="vertical-align:top; "/>
- <col ref="clopno" type="input" maxlength="5" style="vertical-align:top; "/>
- <col ref="edilnno"/>
- <col imemode="disabled" ref="snglcalcscorcd" type="input" _chartype="upper"/>
- <col imemode="disabled" ref="edicd" type="input" _chartype="upper"/>
- <col ref="hngnm"/>
- <col disabled="true" ref="payflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>급</label>
- <value>0</value>
- </item>
- <item>
- <label>100</label>
- <value>1</value>
- </item>
- <item>
- <label>비</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="ediunitcost" format="(-)#,###" style="text-align:right; "/>
- <col ref="drugqty" format="#,###.00" maxlength="5.2" style="text-align:right; "/>
- <col ref="edidrugqty" type="input" format="#,###.00" maxlength="5.2" style="text-align:right; background-color:#e5d9ff; "/>
- <col ref="drugtims" type="input" format="##" maxlength="2" style="text-align:right; "/>
- <col ref="drugdayno" format="##" maxlength="4" style="text-align:right; "/>
- <col ref="edidrugdayno" type="input" format="##" maxlength="4" style="text-align:right; "/>
- <col ref="spclspecyn"/>
- <col ref="efcyclscd" style="left:1060px; top:23px; width:54px; height:23px; "/>
- <col ref="efcyclsnm"/>
- <col ref="ordnm"/>
- <col ref="efcynm2"/>
- <col ref="efcynm3" style="left:920px; top:23px; width:140px; height:23px; "/>
- <col ref="adjtresncd"/>
- <col ref="edicdflag"/>
- <col ref="mpsno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="oldclopdd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="oldclopno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="newmpsno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="seqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="workflag" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="clopseqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="spcljudgyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fClopOnEndEdit(); // 20100405 function 대체
- /*
- var row = grd_oprcphist.row;
- var col = grd_oprcphist.col;
- var newclopdd = model.getValue("/root/main/list7/clop["+ row +"]/clopdd");
- var newclopno = model.getValue("/root/main/list7/clop["+ row +"]/clopno");
- var curmpsno = model.getValue("/root/main/list7/clop["+ row +"]/mpsno"); // 현재 줄의 조회된 mpsno
- var newmpsno = newclopdd+newclopno;
- if (col == grd_oprcphist.colRef("clopdd")) {
- if (!isValidDateTime(newclopdd)) { // (dateHelper.) 유효한 날짜, 시간 인지 점검
- var preclopdd = model.getValue("/root/hidden/list7/clop/oldclopdd"); // 수정전 data
- model.setValue("/root/main/list7/clop["+ row +"]/clopdd", preclopdd);
- grd_oprcphist.rowstatus(row) = model.getValue("/root/hidden/list7/clop/oldrowstatus");
- } else {
- for (var i = 1; i < grd_oprcphist.rows; i++) {
- var mpsno = model.getValue("/root/main/list7/clop["+ i +"]/mpsno");
- if (curmpsno == mpsno) { // 수정된 row와 처방전 교부번호가 같은 경우
- model.setValue("/root/main/list7/clop["+ i +"]/clopdd", newclopdd);
- model.setValue("/root/main/list7/clop["+ i +"]/newmpsno", newmpsno);
- var oldclopdd = model.getValue("/root/main/list7/clop["+ i +"]/oldclopdd");
- if (oldclopdd != newclopdd) {
- grd_oprcphist.rowstatus(i) = 2;
- }
- }
- }
- // 수정된 원외처방 특정내역이 있는 경우
- var clsoList = instance1.selectSingleNode("/root/send/item7");
- if (clsoList != null) { //root/send/item7/delclso 를 제외해야함
- var clsoNode = clsoList.childNodes;
- for (var j = 1; j <= clsoNode.length; j++) {
- if (instance1.selectSingleNode("/root/send/item7/clso["+ j +"]/mpsno") != null) {
- model.setValue("/root/send/item7/clso["+ j +"]/mpsno", newmpsno);
- }
- }
- }
- }
- }
- else if (col == grd_oprcphist.colRef("clopno")) {
- if (newclopno == "") {
- var preclopno = model.getValue("/root/hidden/list7/clop/oldclopno");
- model.setValue("/root/main/list7/clop["+ row +"]/clopno", preclopno);
- grd_oprcphist.rowstatus(row) = model.getValue("/root/hidden/list7/clop/oldrowstatus");
- } else {
- for (var i = 1; i < grd_oprcphist.rows; i++) {
- var mpsno = model.getValue("/root/main/list7/clop["+ i +"]/mpsno");
- if (curmpsno == mpsno) { // 수정된 row와 처방전 교부번호가 같은 경우
- model.setValue("/root/main/list7/clop["+ i +"]/clopno", newclopno);
- model.setValue("/root/main/list7/clop["+ i +"]/newmpsno", newmpsno);
- var oldclopno = model.getValue("/root/main/list7/clop["+ i +"]/oldclopno");
- if (oldclopno != newclopno) {
- grd_oprcphist.rowstatus(i) = 2;
- }
- }
- }
- // 수정된 원외처방 특정내역이 있는 경우
- var clsoList = instance1.selectSingleNode("/root/send/item7");
- if (clsoList != null) { //root/send/item7/delclso 를 제외해야함
- var clsoNode = clsoList.childNodes;
- for (var j = 1; j <= clsoNode.length; j++) {
- if (instance1.selectSingleNode("/root/send/item7/clso["+ j +"]/mpsno") != null) {
- model.setValue("/root/send/item7/clso["+ j +"]/mpsno", newmpsno);
- }
- }
- }
- }
- }
- grd_oprcphist.refresh();
- */
- ]]>
- </script>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- var row = grd_oprcphist.row;
- model.setValue("/root/hidden/list7/clop/oldclopdd", model.getValue("/root/main/list7/clop["+ row +"]/clopdd"));
- model.setValue("/root/hidden/list7/clop/oldclopno", model.getValue("/root/main/list7/clop["+ row +"]/clopno"));
- model.setValue("/root/hidden/list7/clop/oldrowstatus", grd_oprcphist.rowstatus(row));
- model.setValue("/root/hidden/list7/clop/oldsnglcalcscorcd", model.getValue("/root/main/list7/clop["+ row +"]/snglcalcscorcd"));
- model.setValue("/root/hidden/list7/clop/oldedicd", model.getValue("/root/main/list7/clop["+ row +"]/edicd"));
- model.setValue("/root/hidden/list7/clop/oldedidrugqty", model.getValue("/root/main/list7/clop["+ row +"]/edidrugqty"));
- model.setValue("/root/hidden/list7/clop/olddrugtims", model.getValue("/root/main/list7/clop["+ row +"]/drugtims"));
- model.setValue("/root/hidden/list7/clop/oldedidrugdayno", model.getValue("/root/main/list7/clop["+ row +"]/edidrugdayno"));
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell()) { // (tfHelper.js) 현재 click target이 data 영역인지 check: Boolean true or false
- var col = grd_oprcphist.col;
- if (col == grd_oprcphist.colRef("spclspecyn")) { // 'T' 필드
- fSetLnUnitClsoSpclSpec("grd_oprcphist");
- /*
- var row = grd_oprcphist.row;
- model.resetInstanceNode("/root/hidden/sppid21700/cond");
- model.setValue("/root/hidden/sppid21700/cond/clamym", model.getValue("/root/main/item1/clbs/clamym"));
- model.setValue("/root/hidden/sppid21700/cond/clamdg", model.getValue("/root/main/item1/clbs/clamdg"));
- model.setValue("/root/hidden/sppid21700/cond/pid", model.getValue("/root/main/item1/clbs/pid"));
- model.setValue("/root/hidden/sppid21700/cond/pidsn", model.getValue("/root/main/item1/clbs/pidsn"));
- model.setValue("/root/hidden/sppid21700/cond/workflag", model.getValue("/root/main/item1/clbs/workflag"));
- model.setValue("/root/hidden/sppid21700/cond/ioflag", "O");
- modal("SPPID21700", "1", "10", "10", "SPPID21700", "/root/hidden/sppid21700/cond", "/root/init", "", ""); // SPPID21700_원외처방조회.xrw
- model.refresh();
- */
- }
- else if (col == grd_oprcphist.colRef("snglcalcscorcd") || col == grd_oprcphist.colRef("edicd") || col == grd_oprcphist.colRef("hngnm")) {
- //else if ( col == grd_oprcphist.colRef("edicd") || col == grd_oprcphist.colRef("hngnm") ) {
- var row = grd_oprcphist.row;
- var rowstatus = grd_oprcphist.rowstatus(row);
- if (grd_oprcphist.valueMatrix(row, col) != "" && rowstatus != 1) {
- //상세계산내역조회
- fGetOsclClamData("N", "grd_oprcphist");
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (grd_oprcphist.isCell(event.target) && grd_oprcphist.mouseRow >= grd_oprcphist.fixedrows) {
-
- // 수가코드, edi코드는 입력제한
- var clopstatus = grd_oprcphist.rowstatus(grd_oprcphist.mouseRow);
- if (clopstatus == 0 || clopstatus == 2) { // 0 : new, 2 : update
- grd_oprcphist.colDisabled(grd_oprcphist.colRef("snglcalcscorcd")) = true;
- grd_oprcphist.colDisabled(grd_oprcphist.colRef("edicd")) = true;
- } else {
- grd_oprcphist.colDisabled(grd_oprcphist.colRef("snglcalcscorcd")) = false;
- grd_oprcphist.colDisabled(grd_oprcphist.colRef("edicd")) = false;
- }
- var row = grd_oprcphist.mouseRow;
- var col = grd_oprcphist.mouseCol;
- if (col == grd_oprcphist.colRef("spclspecyn")) { // 'T' 필드
- var spclcd = model.getValue("/root/main/list7/clop["+ row +"]/spclcd");
- var spclcdnm = model.getValue("/root/main/list7/clop["+ row +"]/spclcdnm");
- var spclspec = model.getValue("/root/main/list7/clop["+ row +"]/spclspec");
- var lnunitspclspec = model.getValue("/root/main/list7/clop["+ row +"]/lnunitspclspec");
-
- grd_oprcphist.tooltipText(row, col) = lnunitspclspec;
-
- if (spclcd && spclcdnm && spclspec) {
- if (spclcd == "JT010") {
- spclformat = "X(1)/X(200)";
- } else {
- spclformat = "X(700)";
- }
- grd_oprcphist.tooltipText(row, col) = "특정내역코드: "+ spclcdnm +" / 기재내역: "+ spclspec +" / 기재형식: "+ spclformat;
- }
- }
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- // 그리드 내용 복사
- if (grd_oprcphist.selectedRows == 1) { // 한줄
- var row = grd_oprcphist.row;
- var col = grd_oprcphist.col;
- if (col == grd_oprcphist.colRef("snglcalcscorcd") || col == grd_oprcphist.colRef("edicd") || col == grd_oprcphist.colRef("hngnm") || col == grd_oprcphist.colRef("ordnm")) {
- // 처방코드/EDI 코드/한글명/처방명
- // var clip = grd_oprcphist.valueMatrix(row, col);
- var clip = grd_oprcphist.labelMatrix(row, col);
- // var clip = grd_oprcphist.labelMatrix(grd_oprcphist.mouseRow, grd_oprcphist.mouseCol);
- window.clipBoardData = clip;
- } else {
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- }
- else if (grd_oprcphist.selectedRows > 1) { // 여러줄
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_oprcphist.isCell(event.target) && grd_oprcphist.mouseRow >= grd_oprcphist.fixedrows) {
- setPopupMenu("grd_oprcphist", false, "/root/hidden/popupmenu/gridclop/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- if (model.getValue("/root/main/item1/clbs/clamym")) { // 3 : 오른쪽 버튼 // 조회된 심사대상자가 있으면
- if (isDataCell() == false) { // (tfHelper.js) datagrid click or dbclick 시점에 현재 click target이 data 영역인지 check
- // 처방이 한줄도 없는 경우에도 "행 추가"를 하기 위해 사용함
- window.showPopupMenu(true);
- window.setPopupMenu(true, "/root/hidden/popupmenu/gridclop/inititem", "name", "func", false);
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- var row = grd_oprcphist.mouseRow;
- var col = grd_oprcphist.mouseCol;
- if (grd_oprcphist.isCell(event.target) && grd_oprcphist.mouseRow >= grd_oprcphist.fixedRows) {
- if (col == grd_oprcphist.colRef("adjtresncd")) { // '심사사유' 필드
- var adjtresncd = model.getValue("/root/main/list7/clop["+ row +"]/adjtresncd");
- if ( adjtresncd != "" && adjtresncd != "-" ) {
- fSetAdjtResnCdClop();
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- </datagrid>
- <!--
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- dragflag = !dragflag;
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- // if (dragflag == true) {
- // var preY = grp_clop.attribute("top");
- // var d = event.y;
- // var newY = parseInt(preY) + d;
- // var maxY = parseInt(grp_clodhist.attribute("top")) + parseInt(grp_clodhist.attribute("height"));
- // var minY = parseInt(grd_clodhist.attribute("top"));
- // if (newY <= 600 && newY >= minY) {
- // grp_clop.attribute("top") = newY;
- // grp_clop.attribute("height") = parseInt(grp_clop.attribute("height")) - d;
- // grd_oprcphist.attribute("height") = parseInt(grd_oprcphist.attribute("height")) - d;
- // grd_clodhist.attribute("height") = parseInt(grd_clodhist.attribute("height")) + d;
- // }
- // }
- ]]>
- </script>-->
- <select1 id="rdo_cloppayflag" ref="/root/hidden/list7/clop/selectedRdoPay" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:207px; top:3px; width:151px; height:15px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>급여</label>
- <value>0</value>
- </item>
- <item>
- <label>비급여</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetCoppayFlagSelect();
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn2_letter6" style="left:952px; top:0px; width:86px; height:19px; ">
- <caption>수가월별현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPPID24000", "1", "10", "10", "SPPID24000", "", "", "", "");
- ]]>
- </script>
- </button>
- <button id="btn_clopmax" class="btn2_letter2" style="left:75px; top:0px; width:42px; height:19px; ">
- <caption>확대</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClopSizeChange("MAX"); // 20091217
- // 이전명세서, 처방휴지통, 삭제처방 Group의 컨트롤 크기를 설정한다.
- fSetDelOrdPreDocuSize();
- ]]>
- </script>
- </button>
- <button id="btn_clopauto" class="btn2_letter2" style="left:119px; top:0px; width:42px; height:19px; ">
- <caption>기본</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClopSizeChange("AUTO"); // 20091217
- // 이전명세서, 처방휴지통, 삭제처방 Group의 컨트롤 크기를 설정한다.
- fSetDelOrdPreDocuSize();
- ]]>
- </script>
- </button>
- <button id="btn_clopmin" class="btn2_letter2" style="left:163px; top:0px; width:42px; height:19px; ">
- <caption>축소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClopSizeChange("MIN"); // 20091217
- // 이전명세서, 처방휴지통, 삭제처방 Group의 컨트롤 크기를 설정한다.
- fSetDelOrdPreDocuSize();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter5" style="left:851px; top:0px; width:75px; height:19px; ">
- <caption>환경초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClearSetInfo();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:785px; top:0px; width:64px; height:19px; ">
- <caption>환경저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveSetInfo();
- ]]>
- </script>
- </button>
- <button id="btn_samedateyn" class="btn2_letter5" _auth="R" style="left:1039px; top:0px; width:75px; height:19px; ">
- <caption>동일진료일</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetSamedate();
- ]]>
- </script>
- <hint>
- <![CDATA[동일진료일 명세서 조회]]>
- </hint>
- </button>
- </group>
- <group id="grp_delorderlist" style="left:635px; top:281px; width:479px; height:260px; ">
- <!-- 심사변경 조회 -->
- <line id="line4" class="line_1" style="x1:0px; y1:0px; x2:479px; y2:0px; "/>
- <datagrid id="grd_delorder" nodeset="/root/main/list5/clod" class="datagrid2" caption="^X^선별^재행^급여^Seq
no^조정
사유^줄^항^목^그룹코드^수가코드^EDI코드^한글명^코드
구분^단가^1회량^횟수^일수
(총투)^금액^확인
코드^T^처방일자^처방명^삭제일자" colsep="^" colwidth="20, 14, 20, 20, 20, 30, 30, 18, 28, 22, 97, 97, 80, 210, 30, 58, 40, 30, 40, 60, 37, 14, 68, 200, 68" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:5px; width:479px; height:232px; ">
- <col class="update_n" ref="update"/>
- <col ref="rowstat" style="background-color:#c0c0c0; "/>
- <col ref="spcljudgyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="matractflag" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="payflag" visibility="hidden" style="background-color:#c0c0c0; "/>
- <!-- <col ref="seqno" visibility="hidden" style="background-color:#c0c0c0; "/>-->
- <col ref="seqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="adjtresncd"/>
- <col ref="edilnno"/>
- <col ref="ediitem1"/>
- <col ref="ediitem2"/>
- <col ref="grupcalcscorcd"/>
- <col ref="snglcalcscorcd"/>
- <col ref="edicd"/>
- <col ref="hngnm"/>
- <col ref="edicdflag"/>
- <col ref="ediunitcost" format="#,###" style="text-align:right; "/>
- <col ref="edidrugqty" format="#,###.00" style="text-align:right; "/>
- <col ref="tims"/>
- <col ref="dayno"/>
- <col ref="ediamt" format="#,###" style="text-align:right; "/>
- <col ref="cnfmcd"/>
- <col ref="lnunitspclspecyn" style="text-align:center; "/>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="ordnm"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_delorder.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_closedelorderlist" class="btn4_letter2" style="left:423px; top:238px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_clodhist.attribute("width") = "1114";
- ln_clodhist.attribute("x2") = "1114";
- cap_grptemp.visible = false;
- grp_delorderlist.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_delclodlist" style="left:635px; top:281px; width:479px; height:260px; ">
- <!-- 처방휴지통 -->
- <line id="line5" class="line_1" style="x1:0px; y1:0px; x2:479px; y2:0px; "/>
- <datagrid id="grd_delclod" nodeset="/root/main/list6/delclod" class="datagrid2" caption="선별^Seq
no^grupseqno^X^init
lnno^사
유^줄^항^목^처방일시^G^그룹코드^행위
자료^수가코드^EDI코드^산정
분류^산정
의미^산정
코드^예
외^한글명^급
비^단가^1회량^횟수^1일량
(일투)^일수
(총투)^금액^확인
코드^T^치식^사
유^처방과^처방의^시행일시^병원가산
단가^가산단가^급여총액^본인
부담금^청구액^선택단가^병원가산
SUM^가산
SUM^선택진료
SUM^진료비
총액^본인부담
총액^CP^처방명^코드
구분^item^unitcost^drugqty^totdrugqty^amt^baserlapnt^baseaddrlapnt^pntunitcost^updtdd^ordfromdd^ordtodd^ediitem^edicd^rcptunitcost^prcpflag^rcptcalcamt^reductamt^estmcdnm^pynpy1^earncls1^earncls2^earncls3^mechfromdd^mechtodd^calcappyn" colsep="^" colwidth="20, 30, 30, 14, 30, 20, 18, 28, 22, 68, 18, 97, 30, 97, 80, 30, 30, 30, 18, 200, 26, 58, 40, 30, 40, 40, 58, 37, 14, 30, 18, 61, 42, 68, 58, 66, 58, 58, 58, 58, 58, 66, 58, 58, 58, 30, 200, 30, 40, 50, 40, 40, 50, 40, 50, 40, 40, 40, 40, 40, 40, 40, 40, 50, 50, 40, 40, 40, 40, 40, 100, 100, 50" dataheight="23" ellipsis="true" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:5px; width:479px; height:232px; ">
- <col ref="spcljudgyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="seqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="grupseqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="rowstat" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="initlnno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="adjtresncd"/>
- <col ref="edilnno"/>
- <col ref="ediitem1"/>
- <col ref="ediitem2"/>
- <col ref="ordfromdd" format="yyyy-mm-dd"/>
- <col ref="grupsnglflag"/>
- <col ref="grupcalcscorcd"/>
- <col disabled="true" ref="matractflag" type="combo">
- <choices>
- <item>
- <label>재</label>
- <value>1</value>
- </item>
- <item>
- <label>가O</label>
- <value>2</value>
- </item>
- <item>
- <label>가X</label>
- <value>3</value>
- </item>
- <item>
- <label>약</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col ref="snglcalcscorcd"/>
- <col ref="basecd"/>
- <col ref="estmcls" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="estmmncd"/>
- <col ref="estmcd"/>
- <col ref="hosinresncd"/>
- <col ref="hngnm"/>
- <col disabled="true" ref="payflag" type="combo">
- <choices>
- <item>
- <label>급</label>
- <value>0</value>
- </item>
- <item>
- <label>100</label>
- <value>1</value>
- </item>
- <item>
- <label>비</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="ediunitcost" format="#,###" style="text-align:right; "/>
- <col ref="edidrugqty" format="#,###.00" style="text-align:right; "/>
- <col ref="tims" format="##" style="text-align:right; "/>
- <col ref="daydrugqty" format="#,###.00" style="text-align:right; "/>
- <col ref="dayno" format="##" style="text-align:right; "/>
- <col ref="ediamt" format="#,###" style="text-align:right; "/>
- <col ref="cnfmcd"/>
- <col ref="lnunitspclspecyn" style="text-align:center; "/>
- <col ref="toot"/>
- <col ref="adjtresncd"/>
- <col ref="orddeptcd"/>
- <col ref="orddrid"/>
- <col ref="execdt" format="yyyy-mm-dd"/>
- <col ref="edihospaddamt" format="#,###" style="text-align:right; "/>
- <col ref="ediaddamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="paytotamt" format="#,###" style="text-align:right; "/>
- <col ref="ownbamt" format="#,###" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="choiordamt" format="#,###" style="text-align:right; "/>
- <col ref="edihospaddtotamt" format="#,###" style="text-align:right; "/>
- <col ref="ediaddtotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="choiordtotamt" format="#,###" style="text-align:right; "/>
- <col ref="totordamt" format="#,###" style="text-align:right; "/>
- <col ref="ownbtotamt" format="#,###" style="text-align:right; "/>
- <col ref="cp"/>
- <col ref="ordnm"/>
- <col ref="edicdflag"/>
- <col ref="item" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="unitcost" visibility="hidden" format="#,###" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="drugqty" visibility="hidden" format="#,###.00" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="totdrugqty" visibility="hidden" format="#,###.00" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="amt" visibility="hidden" format="#,###" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="baserlapnt" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="baseaddrlapnt" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="pntunitcost" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="updtdd" visibility="hidden" format="yyyy-mm-dd" style="background-color:#c0c0c0; "/>
- <col ref="ordfromdd" visibility="hidden" format="yyyy-mm-dd" style="background-color:#c0c0c0; "/>
- <col ref="ordtodd" visibility="hidden" format="yyyy-mm-dd" style="background-color:#c0c0c0; "/>
- <col ref="ediitem" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="edicd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="rcptunitcost" visibility="hidden" format="#,###" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="prcpflag" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="rcptcalcamt" visibility="hidden" format="#,###" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="reductamt" visibility="hidden" format="#,###" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="estmcdnm" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="pynpy1" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="earncls1" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="earncls2" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="earncls3" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="mechfromdd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="mechtodd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="calcappyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_delclod", false, "/root/hidden/popupmenu/gridclod/delitem", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_delclod.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var oldcd = model.getValue("/root/main/list6/delclod["+ grd_delclod.row +"]/adjtresncd");
- model.resetInstanceNode("/root/hidden/sppiz01000");
- model.setValue("/root/hidden/sppiz01000/cond/cdcls", "aftout");
- model.setValue("/root/hidden/sppiz01000/cond/cdid", oldcd);
- modal("SPPIZ01000", "1","500", "450", "SPPIZ01000", "/root/hidden/sppiz01000/cond", "/root/hidden/sppiz01000/cond", "", ""); // SPPIZ01000_심사수정사유관리.xrw
- var newcd = model.getValue("/root/hidden/sppiz01000/rslt/cdid");
- if (newcd) {
- for (var i = 0; i < grd_delclod.selectedRows; i++) {
- var row = grd_delclod.selectedrow(i);
- model.setValue("/root/main/list6/delclod["+ row +"]/adjtresncd", newcd);
- }
- grd_delcold.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_closedelclodlist" class="btn4_letter2" style="left:423px; top:238px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_clodhist.attribute("width") = "1114";
- ln_clodhist.attribute("x2") = "1114";
- cap_grptemp.visible = false;
- grp_delclodlist.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_clodhist" nodeset="/root/main/list2/clod" class="datagrid2" backcoloralternate="transparent" caption="선별^Seq
no^grupseqno^X^init
lnno^줄^항^목^실시일자^G^그룹코드^행위
재료^수가코드^EDI기본코드^EDI코드^산정
분류^산정
의미^산정
코드^예
외^한글명^급
비^단가^EDI단가^1회량^EDI
1회량^횟수^1일량^일수^EDI
일수^금액^EDI금액^확인
코드^T^치식EDI^치식^사
유^상한가^ EDI
상한가^약제
상한차액^EDI
상한차액^처방과^처방의^처방일자^변경일자^계산
적용^병원가산
단가^가산단가^급여총액^본인
부담금^청구액^선택단가^병원가산
SUM^가산
SUM^선택진료
SUM^진료비
총액^본인부담
총액^본인부담
구분^처방명^코드
구분^항목^item1^item2^totdrugqty^baserlapnt^baseaddrlapnt^pntunitcost^실시종료일^ediitem^rcptunitcost^prcpflag^rcptcalcamt^reductamt^estmcdnm^pynpy1^earncls1^earncls2^earncls3^mechfromdd^mechtodd^workflag^삭제사유상세내역^면허종류^면허번호" colsep="^" colwidth="20, 30, 30, 14, 30, 26, 28, 22, 68, 18, 78, 30, 78, 78, 78, 30, 30, 30, 18, 215, 25, 58, 58, 40, 40, 30, 40, 40, 40, 58, 58, 37, 14, 30, 30, 20, 50, 50, 56, 56, 80, 60, 68, 68, 34, 58, 66, 58, 58, 58, 58, 58, 66, 58, 58, 58, 82, 200, 30, 46, 40, 34, 40, 40, 50, 40, 68, 40, 40, 40, 50, 50, 50, 40, 40, 40, 40, 68, 68, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:252px; width:1115px; height:276px; ">
- <col ref="spcljudgyn" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="seqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="grupseqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="rowstat"/>
- <col ref="initlnno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="edilnno"/>
- <col ref="ediitem1"/>
- <col ref="ediitem2"/>
- <col id="cal_01" ref="ordfromdd" type="input" format="yyyy-mm-dd"/>
- <col ref="grupsnglflag"/>
- <col imemode="disabled" ref="grupcalcscorcd" type="input" _chartype="upper"/>
- <col disabled="true" ref="matractflag" type="combo">
- <choices>
- <item>
- <label>재</label>
- <value>1</value>
- </item>
- <item>
- <label>가O</label>
- <value>2</value>
- </item>
- <item>
- <label>가X</label>
- <value>3</value>
- </item>
- <item>
- <label>약</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col imemode="disabled" ref="snglcalcscorcd" type="input" _chartype="upper"/>
- <col imemode="disabled" ref="basecd" type="input" _chartype="upper"/>
- <col ref="edicd"/>
- <col ref="estmcls" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="estmmncd" style="text-align:center; "/>
- <col ref="estmcd" style="text-align:center; "/>
- <col ref="hosinresncd"/>
- <col imemode="hangul" ref="hngnm" type="input"/>
- <col disabled="true" ref="payflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>급</label>
- <value>0</value>
- </item>
- <item>
- <label>100</label>
- <value>1</value>
- </item>
- <item>
- <label>비</label>
- <value>2</value>
- </item>
- <item>
- <label>선</label>
- <value>8</value>
- </item>
- <item>
- <label>선</label>
- <value>9</value>
- </item>
- </choices>
- </col>
- <col ref="unitcost" type="input" format="#,###" style="text-align:right; "/>
- <col ref="ediunitcost" type="input" format="#,###" style="text-align:right; background-color:#e5d9ff; "/>
- <col ref="drugqty" type="input" format="###.00" maxlength="5.4" style="text-align:right; "/>
- <col ref="edidrugqty" type="input" format="###.00" maxlength="5.4" style="text-align:right; background-color:#e5d9ff; "/>
- <col ref="tims" type="input" format="##" maxlength="2" style="text-align:right; background-color:#e5d9ff; "/>
- <col ref="daydrugqty" format="###.00" maxlength="5.4" style="text-align:right; background-color:#e5d9ff; "/>
- <col ref="dayno" type="input" format="##" maxlength="4" style="text-align:right; "/>
- <col ref="edidayno" type="input" format="##" maxlength="4" style="text-align:right; "/>
- <col ref="amt" format="#,###" style="text-align:right; "/>
- <col ref="ediamt" type="input" format="#,###" style="text-align:right; background-color:#e5d9ff; "/>
- <col ref="cnfmcd" type="inputbutton"/>
- <col ref="lnunitspclspecyn" style="text-align:center; "/>
- <col ref="toot" visiblity="hidden"/>
- <col ref="toot1"/>
- <col ref="adjtresncd"/>
- <col ref="druglimitamt" format="#,###" style="text-align:right; "/>
- <col ref="edidruglimitamt" type="input" format="#,###" style="text-align:right; background-color:#e5d9ff; "/>
- <col ref="limitdiffamt" format="#,###" style="text-align:right; "/>
- <col ref="edilimitdiffamt" type="input" format="#,###" style="text-align:right; background-color:#e5d9ff; "/>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid2/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddd" format="yyyy-mm-dd"/>
- <col ref="updtdd" type="input" format="yyyy/mm/dd"/>
- <col ref="calcappyn" style="text-align:center; "/>
- <col ref="edihospaddamt" format="#,###" style="text-align:right; "/>
- <col ref="ediaddamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="paytotamt" format="#,###" style="text-align:right; "/>
- <col ref="ownbamt" format="#,###" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="choiordamt" format="#,###" style="text-align:right; "/>
- <col ref="edihospaddtotamt" format="#,###" style="text-align:right; "/>
- <col ref="ediaddtotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="choiordtotamt" format="#,###" style="text-align:right; "/>
- <col ref="totordamt" format="#,###" style="text-align:right; "/>
- <col ref="ownbtotamt" format="#,###" style="text-align:right; "/>
- <col ref="cpflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/PK221list/PK221">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="ordnm"/>
- <col ref="edicdflag" style="text-align:center; "/>
- <col ref="item" style="text-align:center; "/>
- <col ref="item1" style="background-color:#c0c0c0; "/>
- <col ref="item2" style="background-color:#c0c0c0; "/>
- <col ref="totdrugqty" format="#,###.00" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="baserlapnt" style="background-color:#c0c0c0; "/>
- <col ref="baseaddrlapnt" style="background-color:#c0c0c0; "/>
- <col ref="pntunitcost" style="background-color:#c0c0c0; "/>
- <col ref="ordtodd" type="input" visibility="visible" format="yyyy-mm-dd" style="background-color:#c0c0c0; "/>
- <col ref="ediitem" style="left:3194px; top:32px; width:40px; height:23px; background-color:#c0c0c0; "/>
- <col ref="rcptunitcost" format="#,###" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="prcpflag" style="background-color:#c0c0c0; "/>
- <col ref="rcptcalcamt" format="#,###" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="reductamt" format="#,###" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="estmcdnm" style="text-align:right; background-color:#c0c0c0; "/>
- <col ref="pynpy1" style="background-color:#c0c0c0; "/>
- <col ref="earncls1" style="background-color:#c0c0c0; "/>
- <col ref="earncls2" style="background-color:#c0c0c0; "/>
- <col ref="earncls3" style="background-color:#c0c0c0; "/>
- <col ref="mechfromdd" format="yyyy-mm-dd" style="background-color:#c0c0c0; "/>
- <col ref="mechtodd" format="yyyy-mm-dd" style="background-color:#c0c0c0; "/>
- <col ref="workflag" style="background-color:#c0c0c0; "/>
- <col ref="adjtresndesc"/>
- <col ref="licnsflag" type="input"/>
- <col ref="licnsno" type="input"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_clodhist", false, "/root/hidden/popupmenu/gridclod/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- if (event.button == 3 && model.getValue("/root/main/item1/clbs/clamym")) { // 3 : 오른쪽 버튼 // 조회된 심사대상자가 있으면
- if (isDataCell() == false) { // (tfHelper.js) datagrid click or dbclick 시점에 현재 click target이 data 영역인지 check
- // 처방이 한줄도 없는 경우에도 "행 추가"를 하기 위해 사용함
- window.showPopupMenu(true);
- window.setPopupMenu(true, "/root/hidden/popupmenu/gridclod/inititem", "name", "func", false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- var row = grd_clodhist.mouseRow;
- var col = grd_clodhist.mouseCol;
- if (grd_clodhist.isCell(event.target) && grd_clodhist.mouseRow >= grd_clodhist.fixedRows) {
- if (col == grd_clodhist.colRef("estmmncd") || col == grd_clodhist.colRef("estmcd")) { // '산정의미' / '산정코드' 필드
- // Message 표시
- var estmcls = model.getValue("/root/main/list2/clod["+ row +"]/estmcls");
- var estmmncd = model.getValue("/root/main/list2/clod["+ row +"]/estmmncd");
- var estmcd = model.getValue("/root/main/list2/clod["+ row +"]/estmcd");
- var estmcdnm = model.getValue("/root/main/list2/clod["+ row +"]/estmcdnm");
- if (estmcls) {
- var msg = "산정코드 ["+ estmcls +"] ";
- if (estmmncd != "" && estmmncd != "-") {
- msg += "산정의미코드: "+ estmmncd;
- }
- else {
- model.setValue("/root/hidden/list3/msgspclformat", msg +" 입력된 산정의미코드가 없습니다.");
- model.refreshpart("/root/hidden/list3/msgspclformat");
- return;
- }
- if (estmcd) {
- msg += " / 산정코드: "+ estmcd;
- }
- if (estmcdnm) {
- msg += " / 명칭: "+ estmcdnm;
- }
- model.setValue("/root/hidden/list3/msgspclformat", msg);
- } else {
- model.setValue("/root/hidden/list3/msgspclformat", "조회된 산정코드가 없습니다.");
- }
- model.refreshpart("/root/hidden/list3/msgspclformat");
- }
- else if (col == grd_clodhist.colRef("cnfmcd")) { // '확인코드' 필드
- // Message 표시
- var seqno = model.getValue("/root/main/list2/clod["+ row +"]/seqno");
- var clspindex = "";
- for (var j = 1; j < grd_clsphist.rows; j++) {
- var spcClodseqno = model.getValue("/root/main/list3/clsp["+ j +"]/clodseqno");
- var unitflag = model.getValue("/root/main/list3/clsp["+ j +"]/unitflag");
- if (unitflag == "J" && seqno == spcClodseqno && model.getValue("/root/main/list3/clsp["+ j +"]/spclcd") == "JT001" && grd_clsphist.rowstatus(j) != 4) {
- clspindex = j;
- j = grd_clsphist.rows;
- }
- }
- if (clspindex) {
- var spclcd = model.getValue("/root/main/list3/clsp["+ clspindex +"]/spclcd");
- var spclspec = model.getValue("/root/main/list3/clsp["+ clspindex +"]/spclspec");
- var spclformat = model.getValue("/root/main/list3/clsp["+ clspindex +"]/spclformat");
- model.setValue("/root/hidden/list3/msgspclformat", "확인코드 - "+ spclcd +" / 입력코드내역 : "+ spclspec +" / 기재형식 : "+ spclformat);
- } else {
- model.setValue("/root/hidden/list3/msgspclformat", "입력된 확인코드 내역이 없습니다.");
- }
- model.refreshpart("/root/hidden/list3/msgspclformat");
- }
- else if (col == grd_clodhist.colRef("lnunitspclspecyn")) { // 'T' 필드
- // Message 표시
- var seqno = model.getValue("/root/main/list2/clod["+ row +"]/seqno");
- var clspindex = "";
- for (var j = 1; j < grd_clsphist.rows; j++) {
- var spcClodseqno = model.getValue("/root/main/list3/clsp["+ j +"]/clodseqno");
- var unitflag = model.getValue("/root/main/list3/clsp["+ j +"]/unitflag");
- if (unitflag == "J" && seqno == spcClodseqno && model.getValue("/root/main/list3/clsp["+ j +"]/spclcd") != "JT001" && grd_clsphist.rowstatus(j) != 4) {
- clspindex = j;
- j = grd_clsphist.rows;
- }
- }
- if (clspindex) {
- var spclcd = model.getValue("/root/main/list3/clsp["+ clspindex +"]/spclcd");
- var cdnm = model.getValue("/root/main/list3/clsp["+ clspindex +"]/cdnm");
- var spclspec = model.getValue("/root/main/list3/clsp["+ clspindex +"]/spclspec");
- var spclformat = model.getValue("/root/main/list3/clsp["+ clspindex +"]/spclformat");
- model.setValue("/root/hidden/list3/msgspclformat", "특정내역코드: "+ spclcd +" / 특정내역명칭: "+ cdnm +" / 기재내역: "+ spclspec +" / 기재형식: "+ spclformat);
- } else {
- model.setValue("/root/hidden/list3/msgspclformat", "입력된 줄단위 특정내역이 없습니다.");
- }
- model.refreshpart("/root/hidden/list3/msgspclformat");
- }
- else if (col == grd_clodhist.colRef("hosinresncd")) { // '원내사유코드' 필드
- // 원내사유코드에 따라 의약분업예외환자 요율로 재계산한다.
- fSetHosInResnCd();
- }
- else if (col == grd_clodhist.colRef("adjtresncd")) { // '심사사유' 필드
- var adjtresncd = model.getValue("/root/main/list2/clod["+ row +"]/adjtresncd");
- if ( adjtresncd != "" && adjtresncd != "-" ) {
- fSetAdjtResnCd();
- }
- }
- }
- ]]>
- </script>
- <!-- <script type="javascript" ev:event="onendedit">-->
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_clodhist.row;
- var col = grd_clodhist.col;
-
- var adjtresncd = model.getValue("/root/main/list2/clod["+ row +"]/adjtresncd");
- var cmbAdjtresncd = "";
- var newcd = "";
- if (adjtresncd == "" || adjtresncd == "-") { // 심사(조정)사유가 입력되지 않은 경우
- cmbAdjtresncd = model.getValue("/root/hidden/list2/clodstat/cmbAdjtresncd");
- if (cmbAdjtresncd) {
- } else {
- model.resetInstanceNode("/root/hidden/sppiz01000");
- model.setValue("/root/hidden/sppiz01000/cond/cdcls", "aftout");
- model.setValue("/root/hidden/sppiz01000/cond/cdid", adjtresncd);
-
- modal("SPPIZ01000", "1", "500", "450", "SPPIZ01000", "/root/hidden/sppiz01000/cond", "/root/hidden/sppiz01000/cond", "", ""); // SPPIZ01000_심사수정사유관리.xrw
- newcd = model.getValue("/root/hidden/sppiz01000/rslt/cdid");
- if (newcd == "" || newcd == "-") {
- // 처방 data 및 row status를 변경 이전 상태로 복구한다.
- fCancelClodStatusChng();
- //model.refresh();
- grd_clodhist.refresh();
- return;
- }
- }
- }
-
- if (col == grd_clodhist.colRef("ordfromdd")) { // 실시일자가 변경된 경우
- var ordfromdd = model.getValue("/root/main/list2/clod["+ row +"]/ordfromdd");
- if (model.getValue("/root/hidden/item5/clod/ordfromdd") == ordfromdd) {
- return;
- } else {
- if (isValidDateTime(ordfromdd)) { // (dateHelper.js) 유효한 날짜, 시간 인지 점검
- // 2009-01-30
- /*
- var mechfromdd = model.getValue("/root/main/list2/clod["+ row +"]/mechfromdd");
- var mechtodd = model.getValue("/root/main/list2/clod["+ row +"]/mechtodd");
- if (mechfromdd && mechtodd) { // 신규 추가된 row를 제외한다.
- if (mechfromdd > ordfromdd || mechtodd < ordfromdd) { // 입력된 처방일자가 수가적용~종료일자를 벗어난 경우
- messageBox("선택된 수가코드의 적용일자~종료일자를 벗어난 처방일자가", "E005"); ///선택된 수가코드의 적용일자~종료일자를 벗어난 처방일자가 선택되었습니다.
- // 처방 data 및 row status를 변경 이전 상태로 복구한다.
- fCancelClodStatusChng();
- //model.refresh();
- grd_clodhist.refresh();
- return;
- }
- }
- */
- // 신규입력된 처방만 처방일수를 변경한다.
- var rowstatus = grd_clodhist.rowstatus(row);
- if (rowstatus == 1 || rowstatus == 3) { // 1 : insert, 3 : insert & new
- model.setValue("/root/main/list2/clod["+ row +"]/orddd", ordfromdd);
- }
- model.setValue("/root/main/list2/clod["+ row +"]/ordfromdd", ordfromdd);
- model.setValue("/root/main/list2/clod["+ row +"]/ordtodd", ordfromdd);
- // 처방의 수정된 row 상태를 표시한다.
- fSetOrderChangeRowStat(row);
-
- // 2009-01-30 실시일자를 변경한 경우 현재 수가의 적용일자를 벗어나면 수가를 다시 조회한다.
- var mechfromdd = model.getValue("/root/main/list2/clod["+ row +"]/mechfromdd");
- var mechtodd = model.getValue("/root/main/list2/clod["+ row +"]/mechtodd");
- if (mechfromdd && mechtodd) { // 신규 추가된 row를 제외한다.
- if (mechfromdd > ordfromdd || mechtodd < ordfromdd) { // 입력된 처방일자가 수가적용~종료일자를 벗어난 경우
- fSetTotDrugQtyAmt();
- }
- }
- } else {
- // 처방 data 및 row status를 변경 이전 상태로 복구한다.
- fCancelClodStatusChng();
- }
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("updtdd")) { // 변경일자가 변경된 경우
- var updtdd = model.getValue("/root/main/list2/clod["+ row +"]/updtdd");
- if (model.getValue("/root/hidden/item5/clod/updtdd") == updtdd) {
- return;
- }
- if (isValidDateTime(updtdd) == false) { // (dateHelper.js) 유효한 날짜, 시간 인지 점검
- // 처방 data 및 row status를 변경 이전 상태로 복구한다.
- fCancelClodStatusChng();
- grd_clodhist.refresh();
- return;
- }
- }
- else if (col == grd_clodhist.colRef("grupcalcscorcd") || col == grd_clodhist.colRef("snglcalcscorcd") || col == grd_clodhist.colRef("basecd") || col == grd_clodhist.colRef("hngnm")) { // 그룹/수가/EDI코드를 입력한 경우이면
- fSetSrchCalcScorCd();
- }
- else if (col == grd_clodhist.colRef("unitcost")) { // 단가가 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/unitcost") != model.getValue("/root/hidden/item5/clod/unitcost")) {
- fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("ediunitcost")) { // 단가가 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/ediunitcost") != model.getValue("/root/hidden/item5/clod/ediunitcost")) {
- var ediunitcost = model.getValue("/root/main/list2/clod["+ row +"]/ediunitcost");
- var totdrugqty = model.getValue("/root/main/list2/clod["+ row +"]/totdrugqty");
-
- var ediamt = eval(ediunitcost) * eval(totdrugqty);
-
- model.setValue("/root/main/list2/clod["+ row +"]/ediamt",ediamt)
- // fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("amt")) { // 금액이 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/amt") != model.getValue("/root/hidden/item5/clod/amt")) {
- // fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("ediamt")) { // 금액이 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/ediamt") != model.getValue("/root/hidden/item5/clod/ediamt")) {
- // fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("druglimitamt")) { // 금액이 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/druglimitamt") != model.getValue("/root/hidden/item5/clod/druglimitamt")) {
- // fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("edidruglimitamt")) { // 금액이 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/edidruglimitamt") != model.getValue("/root/hidden/item5/clod/edidruglimitamt")) {
- // fSetTotDrugQtyAmt();
- var edidruglimitamt = model.getValue("/root/main/list2/clod["+ row +"]/edidruglimitamt");
- var totdrugqty = model.getValue("/root/main/list2/clod["+ row +"]/totdrugqty");
- var ediunitcost = model.getValue("/root/main/list2/clod["+ row +"]/ediunitcost");
-
- var edilimitdiffamt = (eval(edidruglimitamt) - eval(ediunitcost)) * 0.7 * eval(totdrugqty);
-
- model.setValue("/root/main/list2/clod["+ row +"]/edilimitdiffamt",edilimitdiffamt)
-
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("limitdiffamt")) { // 금액이 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/limitdiffamt") != model.getValue("/root/hidden/item5/clod/limitdiffamt")) {
- // fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("edilimitdiffamt")) { // 금액이 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/edilimitdiffamt") != model.getValue("/root/hidden/item5/clod/edilimitdiffamt")) {
- // fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("drugqty")) { // 1회투여량이 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/drugqty") != model.getValue("/root/hidden/item5/clod/drugqty")) {
- fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("tims")) { // 횟수가 변경된 경우
-
- if (model.getValue("/root/main/list2/clod["+ row +"]/tims") != model.getValue("/root/hidden/item5/clod/tims")) {
-
- fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("dayno")) { // 일수가 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/dayno") != model.getValue("/root/hidden/item5/clod/dayno")) {
-
- var Sdayno = model.getValue("/root/main/list2/clod["+ row +"]/dayno");
- var dayno = parseInt(Sdayno);
- var ordfromdd = model.getValue("/root/main/list2/clod["+ row +"]/ordfromdd");
- var ordtodd = model.getValue("/root/main/list2/clod["+ row +"]/ordtodd");
- var item1 = model.getValue("/root/main/list2/clod["+ row +"]/item1");
-
- // 진료개시일과 종료일 사이의 일자인지 체크
- var clbsordfromdd = model.getValue("/root/main/item1/clbs/ordfromdd");
- var clbsordtodd = model.getValue("/root/main/item1/clbs/ordtodd");
- var insukind = model.getValue("/root/main/item1/clbs/insukindcd");
-
- if (Sdayno == "" || dayno <= 0) {
- }
- else if (ordfromdd) {
- var fromDate = ordfromdd.toDate();
- var toDate = fromDate.getAddDate(dayno - 1, "D"); // (dateHelper.js) 특정일자의 상대일자(+/-)를 계산
- ordtodd = toDate.getDateFormat("YYYY") + toDate.getDateFormat("MM") + toDate.getDateFormat("DD");
- if (insukind == "41" && clbsordfromdd && clbsordtodd) {
- if (ordtodd > clbsordtodd) {
- model.setValue("/root/main/item1/clbs/ordtodd", ordtodd);
- }
- model.setValue("/root/main/list2/clod["+ row +"]/ordtodd", ordtodd);
- }
- }
- grd_clodhist.refresh();
- ipt_ordtodd.refresh();
- fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
- else if (col == grd_clodhist.colRef("edidrugqty")) { // edi1회투여량이 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/edidrugqty") != model.getValue("/root/hidden/item5/clod/edidrugqty")) {
- fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
-
- else if (col == grd_clodhist.colRef("edidayno")) { // edi일수가 변경된 경우
- if (model.getValue("/root/main/list2/clod["+ row +"]/edidayno") != model.getValue("/root/hidden/item5/clod/edidayno")) {
- fSetTotDrugQtyAmt();
- grd_clodhist.refresh();
- }
- }
-
- row = grd_clodhist.row;
- if (row != -1 && grd_clodhist.rowStatus(row) == 2) { // sort 이후에 선택된 row가 있고 0 : new, 2 : update
- if (cmbAdjtresncd) {
- model.setValue("/root/main/list2/clod["+ row +"]/adjtresncd", cmbAdjtresncd);
- }
- else if (newcd) {
- model.setValue("/root/main/list2/clod["+ row +"]/adjtresncd", newcd);
- }
- // 처방 Grid 배경색을 설정한다. - 추가/수정된 row
- fOrderBkColorNew(row);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- // 잘못된 입력을 취소하고 복구할 경우를 위해 수정전 상태를 기억해둔다.
- var row = grd_clodhist.row;
- model.setValue("/root/hidden/item5/clod/adjtresncd", model.getValue("/root/main/list2/clod["+ row +"]/adjtresncd"));
- model.setValue("/root/hidden/item5/clod/orddd", model.getValue("/root/main/list2/clod["+ row +"]/orddd"));
- model.setValue("/root/hidden/item5/clod/ordfromdd", model.getValue("/root/main/list2/clod["+ row +"]/ordfromdd"));
- model.setValue("/root/hidden/item5/clod/ordtodd", model.getValue("/root/main/list2/clod["+ row +"]/ordtodd"));
- model.setValue("/root/hidden/item5/clod/grupcalcscorcd", model.getValue("/root/main/list2/clod["+ row +"]/grupcalcscorcd"));
- model.setValue("/root/hidden/item5/clod/snglcalcscorcd", model.getValue("/root/main/list2/clod["+ row +"]/snglcalcscorcd"));
- model.setValue("/root/hidden/item5/clod/basecd", model.getValue("/root/main/list2/clod["+ row +"]/basecd"));
- model.setValue("/root/hidden/item5/clod/drugqty", model.getValue("/root/main/list2/clod["+ row +"]/drugqty"));
- model.setValue("/root/hidden/item5/clod/tims", model.getValue("/root/main/list2/clod["+ row +"]/tims"));
- model.setValue("/root/hidden/item5/clod/dayno", model.getValue("/root/main/list2/clod["+ row +"]/dayno"));
- model.setValue("/root/hidden/item5/clod/edidrugqty", model.getValue("/root/main/list2/clod["+ row +"]/edidrugqty"));
- model.setValue("/root/hidden/item5/clod/edidayno", model.getValue("/root/main/list2/clod["+ row +"]/edidayno"));
- model.setValue("/root/hidden/item5/clod/unitcost", model.getValue("/root/main/list2/clod["+ row +"]/unitcost"));
- model.setValue("/root/hidden/item5/clod/rowstatus", grd_clodhist.rowstatus(row));
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_clodhist.isCell(event.target) && grd_clodhist.mouseRow >= grd_clodhist.fixedrows) {
- var col = grd_clodhist.col;
-
- if (col == grd_clodhist.colRef("estmmncd") || col == grd_clodhist.colRef("estmcd")) { // '산정의미' / '산정코드' 필드
- var row = grd_clodhist.row;
- var isEstm = false;
- var matractflag = model.getValue("/root/main/list2/clod["+ row +"]/matractflag");
- if (matractflag == "2") { // (P0137) 1 : 재료, 2 : 가산있는 행위, 3 : 가산없는 행위, 4:약제, - : 해당없음
- isEstm = true;
- } else {
- // 검체코드 별로 EDI코드가 존재하는 경우 가X행위로 코드길이는 8자리이고 산정붙은 EDI코드와 basecd가 동일함.
- // 산정코드 바꾸려면 처방 삭제후 신규추가해야하므로 코드 길이를 체크함 (picmediu 예:C4722616)
- var basecd = model.getValue("/root/main/list2/clod["+ row +"]/basecd");
- if (basecd.length == 5) {
- // var estmmncd = model.getValue("/root/main/list2/clod["+ row +"]/estmmncd");
- // if (estmmncd != "" && estmmncd != "-") {
- isEstm = true;
- } else {
- var ediitem = model.getValue("/root/main/list2/clod["+ row +"]/ediitem");
- if (ediitem == "0101" || ediitem == "0102" || ediitem == "0103"
- || ediitem == "0201" || ediitem == "0202" || ediitem == "0203" || ediitem == "0204" || ediitem == "0299") {
- isEstm = true;
- }
- }
- }
- if (isEstm == false) {
- return;
- }
- fSrchEstmCd();
- //model.refresh();
- grd_clodhist.refresh();
-
- }
- else if (col == grd_clodhist.colRef("cnfmcd")) { // '확인코드' 필드
- // 팝업을 이용하지 않고 직접 Edit하는 것을 막기 위해
- grd_clodhist.colDisabled(grd_clodhist.colRef("cnfmcd")) = true;
- // fOrderGridInsertCnfmCd();
- }
- else if (col == grd_clodhist.colRef("lnunitspclspecyn")) { // 'T' 필드
- fSetLnUnitSpclSpec();
- }
- else if (col == grd_clodhist.colRef("toot1")) { // '치식' 필드
- fDiagOrderToothInput("Order");
- }
- else if (col == grd_clodhist.colRef("grupcalcscorcd") || col == grd_clodhist.colRef("snglcalcscorcd") || col == grd_clodhist.colRef("basecd") || col == grd_clodhist.colRef("ediecd") || col == grd_clodhist.colRef("hngnm")) {
- var row = grd_clodhist.row;
- var rowstatus = grd_clodhist.rowstatus(row);
- if (grd_clodhist.valueMatrix(row, col) != "" && rowstatus != 1) {
- //상세계산내역조회
- fGetOsclClamData("N", "grd_clodhist");
- }
- }
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_clodhist.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
- fGetSelectedOrderData(); // 처방 조회부 - 재행/급여/항목구분 Radio 선택에 따라 처방 내역을 보여준다.
- ]]>
- </script>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- // col@type = "input" 일 경우 onentercell시점에 EditMode 상태 만들기
- if (grd_clodhist.colType(grd_clodhist.col) == "input") {
- if (event.button != 3 && grd_clodhist.colDisabled(grd_clodhist.col) == false) {
- if (grd_clodhist.col != grd_clodhist.colRef("cnfmcd")) { // '확인코드' 필드
- grd_clodhist.editCell();
- } else {
- // 팝업을 이용하지 않고 직접 Edit하는 것을 막기 위해
- grd_clodhist.colDisabled(grd_clodhist.colRef("cnfmcd")) = true;
- return;
- }
- }
- } else {
- if (grd_clodhist.colAttribute(grd_clodhist.col,"disabled") == "true") {
- if ((grd_clodhist.cols - 1)> grd_clodhist.col) {
- grd_clodhist.col = grd_clodhist.col + 1;
- grd_clodhist.dispatch("onentercell");
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (grd_clodhist.isCell(event.target) && grd_clodhist.mouseRow >= grd_clodhist.fixedrows) {
- grd_clodhist.colDisabled(grd_clodhist.colRef("orddeptcd")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("orddrid")) = true;
- var clodstatus = grd_clodhist.rowstatus(grd_clodhist.mouseRow);
- if (clodstatus == 0 || clodstatus == 2) { // 0 : new, 2 : update
- // 조회된 처방에 대해서는 그룹/수가/EDI코드 입력을 제한한다.
- grd_clodhist.colDisabled(grd_clodhist.colRef("grupcalcscorcd")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("snglcalcscorcd")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("basecd")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("hngnm")) = true;
-
- var payflag = model.getValue("/root/main/list2/clod["+ grd_clodhist.mouseRow +"]/payflag");
- if (payflag == "0" || payflag == "9") {
- // 급여 처방의 경우 1회투여량, 횟수, 일수 등 수정 가능
- // 2008-12-03 edi1회량, edi일수 수정가능
- grd_clodhist.colDisabled(grd_clodhist.colRef("ordfromdd")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("drugqty")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("tims")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("dayno")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("edidrugqty")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("edidayno")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("cnfmcd")) = false;
- } else {
- // 비급여, 0원 처방은 조회만 가능하다.
- grd_clodhist.colDisabled(grd_clodhist.colRef("ordfromdd")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("drugqty")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("tims")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("dayno")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("edidrugqty")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("edidayno")) = true;
- grd_clodhist.colDisabled(grd_clodhist.colRef("cnfmcd")) = true;
- }
- } else {
- grd_clodhist.colDisabled(grd_clodhist.colRef("grupcalcscorcd")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("snglcalcscorcd")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("basecd")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("hngnm")) = false;
-
- grd_clodhist.colDisabled(grd_clodhist.colRef("ordfromdd")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("drugqty")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("tims")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("dayno")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("edidrugqty")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("edidayno")) = false;
- grd_clodhist.colDisabled(grd_clodhist.colRef("cnfmcd")) = false;
- }
-
- var row = grd_clodhist.mouseRow;
- var col = grd_clodhist.mouseCol;
- if (col == grd_clodhist.colRef("estmmncd") || col == grd_clodhist.colRef("estmcd")) { // '산정의미' / '산정코드' 필드
- var estmcls = model.getValue("/root/main/list2/clod["+ row +"]/estmcls");
- var estmmncd = model.getValue("/root/main/list2/clod["+ row +"]/estmmncd");
- var estmcd = model.getValue("/root/main/list2/clod["+ row +"]/estmcd");
- var estmcdnm = model.getValue("/root/main/list2/clod["+ row +"]/estmcdnm");
- if (estmcls && estmmncd && estmcdnm) {
- grd_clodhist.tooltipText(row, col) = "[산정의미코드: " + estmmncd + "] " + estmcdnm;
- } else {
- grd_clodhist.tooltipText(row, col) = "";
- }
- }
-
- //T컬럼의 툴팁에 특정내역 보여주기
- if (col == grd_clodhist.colRef("lnunitspclspecyn")) {
- var lnunitspclspec = model.getValue("/root/main/list2/clod["+ row +"]/lnunitspclspec");
- grd_clodhist.tooltipText(row, col) = lnunitspclspec;
- }
-
- // 청구구분이 "추가청구" 일 경우에는 단가를 수정할 수 있다.
- if (col == grd_clodhist.colRef("unitcost") && model.getValue("/root/main/item1/clbs/clamflagcd") == "2") {
- grd_clodhist.colDisabled(grd_clodhist.colRef("unitcost")) = false;
- } else {
- grd_clodhist.colDisabled(grd_clodhist.colRef("unitcost")) = true;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var col = grd_clodhist.col;
- var row = grd_clodhist.row;
- if (col == grd_clodhist.colRef("ordfromdd")) { // 처방일시 달력을 클릭한 경우
- var adjtresncd = model.getValue("/root/main/list2/clod["+ row +"]/adjtresncd");
- if (adjtresncd == "" || adjtresncd == "-") { // 심사(조정)사유가 입력되지 않은 경우
- var newcd = fSetAdjtResnCd();
- if (newcd == "" || newcd == "-") {
- cal_01.calendar.attribute("height") = 0;
- //grd_clodhist.row = 0;
- return;
- }
- }
- cal_01.calendar.attribute("height") = 150;
- model.setFocus("body");
- model.setFocus("grd_clodhist");
- grd_clodhist.dispatch("onentercell");
- }
- else if (col == grd_clodhist.colRef("cnfmcd")) {
- fOrderGridInsertCnfmCd();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- // 그리드 내용 복사
- if (grd_clodhist.selectedRows == 1) { // 한줄
- var row = grd_clodhist.row;
- var col = grd_clodhist.col;
- if (col == grd_clodhist.colRef("grupcalcscorcd") || col == grd_clodhist.colRef("snglcalcscorcd") || col == grd_clodhist.colRef("basecd") || col == grd_clodhist.colRef("hngnm")) {
- // 그룹/수가/EDI코드/한글명
- // var clip = grd_clodhist.valueMatrix(row, col);
- var clip = grd_clodhist.labelMatrix(row, col);
- // var clip = grd_clodhist.labelMatrix(grd_clodhist.mouseRow, grd_clodhist.mouseCol);
- window.clipBoardData = clip;
- } else {
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- }
- else if (grd_clodhist.selectedRows > 1) { // 여러줄
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_predoculist" visibility="hidden" scroll="autovscroll" style="left:315px; top:250px; width:797px; height:275px; border-color:#333333; border-style:solid; ">
- <line id="line6" class="line_1" style="x1:0px; y1:45px; x2:760px; y2:45px; "/>
- <datagrid id="grd_predocu" nodeset="/root/main/list4/clbs" class="datagrid2" caption="선택^청구년월^차수^순
번^내
원^개시일^종료일^주상병^분야^과^진료의^유
형^보
조^심사
상태^청구
상태^명일련^삭제
사유^clamkey" colsep="^" colwidth="25, 61, 42, 27, 19, 68, 70, 56, 44, 42, 49, 18, 18, 47, 69, 42, 30, 54" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:49px; width:769px; height:191px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="pidsn" style="text-align:center; "/>
- <col ref="ioflag" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordfromdd" style="text-align:left; "/>
- <col ref="ordtodd" style="text-align:left; "/>
- <col ref="diagcd" style="text-align:left; "/>
- <col disabled="true" ref="ordfildcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="insukind"/>
- <col ref="suppkind"/>
- <col disabled="true" ref="judgendyn" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151">
- <label ref="cdengabbrnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="clamstat" style="text-align:center; "/>
- <col ref="docuseqno"/>
- <col ref="delresn" style="text-align:right; "/>
- <col ref="clamkey" visibility="hidden" style="background-color:#c0c0c0; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 이전 명세서 목록
- fPreListOnDblClick();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_predocu.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_closepredoculist" class="btn4_letter2" style="left:610px; top:244px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetClosepredocuList();
- ]]>
- </script>
- </button>
- <select1 id="rdo_refterm" ref="/root/send/list4/refterm" appearance="full" cellspacing="6" cols="6" overflow="visible" style="left:63px; top:27px; width:377px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>1개월</label>
- <value>1</value>
- </item>
- <item>
- <label>3개월</label>
- <value>3</value>
- </item>
- <item>
- <label>6개월</label>
- <value>6</value>
- </item>
- <item>
- <label>기간선택</label>
- <value>0</value>
- </item>
- <item>
- <label>동일월</label>
- <value>7</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var refterm = model.getValue("/root/send/list4/refterm");
- if (refterm == "0") {
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
- } else {
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- }
- fSrchPreDocuList();
- ]]>
- </script>
- </select1>
- <select id="chk_allordfild" ref="/root/send/list4/allordfild" class="check_fSetDelOrdPreDocuSizesearch" overflow="visible" appearance="full" style="left:292px; top:5px; width:87px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>타 분야 포함</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSrchPreDocuList();
- ]]>
- </script>
- </select>
- <caption id="caption3" style="left:537px; top:27px; width:11px; height:17px; ">~</caption>
- <caption id="caption19" class="search_name" style="left:0px; top:25px; width:60px; height:17px; ">기간 :</caption>
- <input id="ipt_todd" ref="/root/send/list4/todd" class="input_default" disabled="true" inputtype="date" style="left:549px; top:25px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSrchPreDocuList();
- // var fromdd = model.getValue("/root/send/list4/fromdd");
- // var todd = model.getValue("/root/send/list4/todd");
- // if (isValidDateTime(todd)) { // (dateHelper.js) 유효한 날짜, 시간 인지 점검
- // if (isValidDateTime(fromdd)) {
- // var dateDif = getDateInterval(fromdd, todd); // (dateHelper.js) 두 일자사이의 차를 일단위로 반환
- // if (dateDif < 0) {
- // messageBox("검색 시작일자가 종료일자 보다 이후", "E008"); ///검색 시작일자가 종료일자 보다 이후 입니다.
- // } else {
- // fSrchPreDocuList();
- // }
- // }
- // }
- ]]>
- </script>
- </input>
- <select1 id="rdo_ioflag" ref="/root/send/list4/ioflag" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:398px; top:5px; width:140px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSrchPreDocuList();
- ]]>
- </script>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/list4/fromdd" class="input_default" disabled="true" inputtype="date" style="left:451px; top:25px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSrchPreDocuList();
- // var fromdd = model.getValue("/root/send/list4/fromdd");
- // var todd = model.getValue("/root/send/list4/todd");
- // if (isValidDateTime(fromdd)) { // (dateHelper.js) 유효한 날짜, 시간 인지 점검
- // if (isValidDateTime(todd)) {
- // var dateDif = getDateInterval(fromdd, todd); // (dateHelper.js) 두 일자사이의 차를 일단위로 반환
- // if (dateDif < 0) {
- // messageBox("검색 시작일자가 종료일자 보다 이후", "E008"); ///검색 시작일자가 종료일자 보다 이후 입니다.
- // } else {
- // fSrchPreDocuList();
- // }
- // }
- // }
- ]]>
- </script>
- </input>
- <caption id="cap_grptemp" class="tit_2" style="left:5px; top:5px; width:118px; height:13px; ">이전 명세서 목록</caption>
- <button id="btn_readpopup" class="btn4_letter8" visibility="visible" style="left:348px; top:244px; width:128px; height:22px; ">
- <caption>선택명세서 조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 이전 명세서 목록
- fPreListOnDblClick();
- ]]>
- </script>
- </button>
- <button id="btn_judgmode" class="btn4_letter8" visibility="visible" style="left:479px; top:244px; width:128px; height:22px; ">
- <caption>선택명세서 심사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택한 명세서로 화면 refresh
- fGetPreDocuAftJudgTrgtMan();
- ]]>
- </script>
- </button>
- <button id="btn_copydiag" class="btn4_letter4" disabled="true" style="left:5px; top:244px; width:80px; height:22px; ">
- <caption>상병복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCopyDiagMemo("1");
- ]]>
- </script>
- </button>
- <button id="btn_copyedimemo" class="btn4_letter6" disabled="true" style="left:85px; top:244px; width:104px; height:22px; ">
- <caption>EDI메모복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCopyDiagMemo("2");
- ]]>
- </script>
- </button>
- <button id="btn_copydiagedimemo" class="btn4_letter6" disabled="true" style="left:190px; top:244px; width:104px; height:22px; ">
- <caption>상병메모복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCopyDiagMemo("3");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_ordsrch" style="left:0px; top:165px; width:570px; height:86px; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:1px; width:563px; height:80px; "/>
- <select1 id="rdo_payflag" ref="/root/hidden/list2/clodsrch/selectedRdoPay" appearance="full" cellspacing="5" cols="5" overflow="visible" style="left:9px; top:22px; width:266px; height:16px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <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>8</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 급여구분별 처방조회
- fClodSelectByPayflag();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_item1" ref="/root/hidden/list2/clodsrch/selectedRdoItem" appearance="full" cellspacing="3" cols="13" overflow="visible" style="left:9px; top:2px; width:516px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>진찰</label>
- <value>01</value>
- </item>
- <!--
- <item>
- <label>입원</label>
- <value>02</value>
- </item>
- -->
- <item>
- <label>투약</label>
- <value>03</value>
- </item>
- <item>
- <label>주사</label>
- <value>04</value>
- </item>
- <item>
- <label>마취</label>
- <value>05</value>
- </item>
- <item>
- <label>이학</label>
- <value>06</value>
- </item>
- <item>
- <label>정신</label>
- <value>07</value>
- </item>
- <item>
- <label>수술</label>
- <value>08</value>
- </item>
- <item>
- <label>검사</label>
- <value>09</value>
- </item>
- <item>
- <label>방사</label>
- <value>10</value>
- </item>
- <item>
- <label>특수</label>
- <value>SS</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetSelectedOrderData(); // 처방 조회부 - 재행/급여/항목구분 Radio 선택에 따라 처방 내역을 보여준다.
- ]]>
- </script>
- </select1>
- <button id="btn_rdoItemPre" class="icon_pre" style="left:529px; top:3px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- var selectedIndex = rdo_item1.selectedIndex; // 아이템의 인덱스를 반환한다.
- var itemRadioList = instance1.selectSingleNode("/root/hidden/list2/cloditem1");
- var itemNode = itemRadioList.childNodes;
- var isFind = false;
- var preIndex = itemNode.length - 1; // itemNode.length = 11
- if (selectedIndex > 0) {
- preIndex = parseInt(selectedIndex) - 1;
- }
- for (var i = preIndex; i > 0; i--) {
- if (rdo_item1.item(i).attribute("font-weight") == "bold") {
- preIndex = i;
- i = 0;
- isFind = true;
- }
- }
- if (isFind) {
- rdo_item1.selectedIndex = preIndex;
- } else {
- rdo_item1.selectedIndex = 0;
- }
- */
-
- var selectedIndex = rdo_item1.selectedIndex; // 아이템의 인덱스를 반환한다.
- var itemRadioList = instance1.selectSingleNode("/root/hidden/list2/cloditem1");
- var itemNode = itemRadioList.childNodes;
- var preIndex = itemNode.length - 1; // itemNode.length = 11
- if (selectedIndex > 0) {
- preIndex = parseInt(selectedIndex) - 1;
- }
- rdo_item1.selectedIndex = preIndex;
- fGetSelectedOrderData(); // 처방 조회부 - 재행/급여/항목구분 Radio 선택에 따라 처방 내역을 보여준다.
- ]]>
- </script>
- </button>
- <button id="btn_rdoItemNext" class="icon_next" style="left:545px; top:3px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- var selectedIndex = rdo_item1.selectedIndex;
- var itemRadioList = instance1.selectSingleNode("/root/hidden/list2/cloditem1");
- var itemNode = itemRadioList.childNodes;
- var isFind = false;
- var nextIndex = 0;
- if (selectedIndex < (itemNode.length - 1)) { // 전체~특수 12개의 Radio Item => 입원 항목을 제외시켜 총 11개임
- nextIndex = parseInt(selectedIndex) + 1;
- }
- for (var i = nextIndex; i < itemNode.length; i++) {
- if (rdo_item1.item(i).attribute("font-weight") == "bold") {
- nextIndex = i;
- i = itemNode.length;
- isFind = true;
- }
- }
- if (isFind) {
- rdo_item1.selectedIndex = nextIndex;
- } else {
- rdo_item1.selectedIndex = 0; // 0 = 가장 첫번째 item 항목임
- }
- */
-
- var selectedIndex = rdo_item1.selectedIndex;
- var itemRadioList = instance1.selectSingleNode("/root/hidden/list2/cloditem1");
- var itemNode = itemRadioList.childNodes;
- var nextIndex = 0;
- if (selectedIndex < (itemNode.length - 1)) { // 전체~특수 12개의 Radio Item => 입원 항목을 제외시켜 총 11개임
- nextIndex = parseInt(selectedIndex) + 1;
- }
- rdo_item1.selectedIndex = nextIndex;
- fGetSelectedOrderData(); // 처방 조회부 - 재행/급여/항목구분 Radio 선택에 따라 처방 내역을 보여준다.
- ]]>
- </script>
- </button>
- <button id="btn_initfilter" class="btn2_letter5" style="left:351px; top:20px; width:75px; height:19px; ">
- <caption>필터초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 처방 Grid 필터용 조회조건을 초기화한다.
- fInitOrderFilter();
- fGetSelectedOrderData();
-
- // 필터초기화버튼 클릭시 급여구분이 "급여"가 아니면 급여로 처방을 다시 조회한다.
- if (model.getValue("/root/hidden/list2/clodsrch/selectedRdoPay") != "0") {
- fClodSelectByPayflag();
- }
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/hidden/edicheck" overflow="visible" appearance="full" style="left:278px; top:22px; width:70px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>재원비교</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEdiCheck();
- ]]>
- </script>
- </select>
- <caption id="caption33" class="search_name" style="left:475px; top:23px; width:80px; height:17px; ">필수심사</caption>
- <output id="output3" ref="/root/main/item1/clbs/surecd" class="output_fix" style="left:254px; top:41px; width:305px; height:19px; "/>
- <button id="btn_delordlist" class="btn2_letter3" _auth="R" style="left:10px; top:40px; width:53px; height:19px; ">
- <caption>휴지통</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_delclodlist.visible == true) {
- // 처방휴지통목록
- cap_grptemp.visible = false;
- grp_delclodlist.visible = false;
- grd_clodhist.attribute("width") = "1114";
- ln_clodhist.attribute("x2") = "1114";
- } else {
- grp_delclodlist.visible = true;
- grp_predoculist.visible = false; // 이전 명세서 목록
- grp_delorderlist.visible = false; // 심사변경 목록
- fSetDelOrdPreDocuSize();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousemove">
- <![CDATA[
- var delClodNode = instance1.selectSingleNode("/root/main/list6/delclod");
- if (delClodNode != null) {
- grp_delclodlist.visible = true;
- grp_predoculist.visible = false; // 이전 명세서 목록
- grp_delorderlist.visible = false; // 심사변경 목록
- fSetDelOrdPreDocuSize();
- }
- ]]>
- </script>
- </button>
- <button id="btn_delordsrch" class="btn2_letter4" _auth="R" style="left:65px; top:40px; width:64px; height:19px; ">
- <caption>심사변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) { // 조회된 심사대상자가 있음
- open("SPPID21800", "1", "10", "10", "SPPID21800", "/root/main/list2", "/root/init/list2", "", ""); // SPPID21800_처방심사변경조회.xrw
- }
- /**
- if (grp_delorderlist.visible == true) {
- // 심사변경 목록
- cap_grptemp.visible = false;
- grp_delorderlist.visible = false;
- grd_clodhist.attribute("width") = "1114";
- ln_clodhist.attribute("x2") = "1114";
- } else {
- // var delOrderNode = instance1.selectSingleNode("/root/main/list5");
- // if (delOrderNode == null) { // 이전에 조회된 내용이 없음
- // var clamym = model.getValue("/root/main/item1/clbs/clamym");
- // if (clamym) { // 조회된 심사대상자가 있음
- // submit("TRPID20505");
- // model.refresh();
- // }
- // }
- grp_delorderlist.visible = true;
- grp_predoculist.visible = false; // 이전 명세서 목록
- grp_delclodlist.visible = false; // 처방 휴지통
- fSetDelOrdPreDocuSize();
-
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) { // 조회된 심사대상자가 있음
- submit("TRPID20505");
- for (var i = grd_delorder.fixedRows; i < grd_delorder.rows; i++) {
- grd_delorder.cellStyle("background-image", i, grd_delorder.colRef("update")) = "../../../com/commonweb/images/icon_d.gif";
- }
- for (var i = grd_clodhist.fixedRows; i < grd_clodhist.rows; i++) {
- var adjtresncd = model.getValue("/root/main/list2/clod["+ i +"]/adjtresncd");
- if (adjtresncd) {
- grd_delorder.addRow();
- model.copyNode("/root/main/list5/clod["+ grd_delorder.row +"]", "/root/main/list2/clod["+ i +"]"); // desc, sorce
-
- var rowstatus = grd_clodhist.rowstatus(i);
- if (rowstatus == 1 || rowstatus == 3) { // 1 : insert, 3 : insert & new
- grd_delorder.cellStyle("background-image", grd_delorder.row, grd_delorder.colRef("update")) = "../../../com/commonweb/images/icon_i.gif";
- }
- else if (rowstatus == 2) { // 2 : update
- grd_delorder.cellStyle("background-image", grd_delorder.row, grd_delorder.colRef("update")) = "../../../com/commonweb/images/icon_u.gif";
- }
- }
- }
- model.refresh();
- }
- }
- */
- ]]>
- </script>
- <script type="javascript" ev:event="onmousemove">
- <![CDATA[
- // var preDocuNode = instance1.selectSingleNode("/root/main/list5/clod");
- // if (preDocuNode != null) {
- // grp_delorderlist.visible = true;
- // grp_predoculist.visible = false; // 이전 명세서 목록
- // grp_delclodlist.visible = false; // 처방 휴지통
- // fSetDelOrdPreDocuSize();
- // }
- ]]>
- </script>
- </button>
- <button id="btn_bfjudgdocu" class="btn2_letter3" _auth="X" style="left:131px; top:40px; width:53px; height:19px; ">
- <caption>심사전</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- var clamdg = model.getValue("/root/main/item1/clbs/clamdg");
- var pid = model.getValue("/root/main/item1/clbs/pid");
- var pidsn = model.getValue("/root/main/item1/clbs/pidsn");
- if (clamym) {
- var preDocuWindow = getChildWindow("SMPID20300");
- if (preDocuWindow != null) {
- var rslt = preDocuWindow.javascript.fInitSrchData(); // 화면을 초기화한다.
- if (rslt == false) { // 수정사항 저장이 완료되지 않아 초기화할 수 없는 경우
- activateChild("SMPID20300");
- return false;
- }
- preDocuWindow.close();
- }
- preDocuWindow = getChildWindow("SMPID20500");
- if (preDocuWindow == null) {
- // open("SMPID20500", "2", "10", "10", "SMPID20500", "/root/main/list4/clbs["+ row +"]/clamym", "/root/send/item1/clbs/clamym", "", "");
- model.setValue("/root/send/item1/clbs/workflag", "11");
- model.setValue("/root/send/item1/clbs/clamym", clamym);
- model.setValue("/root/send/item1/clbs/clamdg", clamdg);
- model.setValue("/root/send/item1/clbs/pid", pid);
- model.setValue("/root/send/item1/clbs/pidsn", pidsn);
- model.setValue("/root/send/item1/clbs/ioflag", "O");
- open("SMPID20500", "2", "10", "10", "SMPID20500", "/root/send/item1/clbs", "/root/send/item1/clbs", "", ""); // SMPID20500_외래사후심사관리
- } else { // 이전명세서 용도의 SMPID20500_입원사후심사관리 Popup 화면이 이미 열려있는 경우
- model.setValue("/root/hidden/smpid20500/cond/workflag", "11");
- model.setValue("/root/hidden/smpid20500/cond/clamym", clamym);
- model.setValue("/root/hidden/smpid20500/cond/clamdg", clamdg);
- model.setValue("/root/hidden/smpid20500/cond/pid", pid);
- model.setValue("/root/hidden/smpid20500/cond/pidsn", pidsn);
- model.setValue("/root/hidden/smpid20500/cond/ioflag", "O");
- preDocuWindow.javascript.fActivatePreDocuWindow();
- activateChild("SMPID20500");
- }
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_adjtresncd" ref="/root/hidden/list2/clodstat/cmbAdjtresncd" class="combo_default" appearance="minimal" showvalue="true" _auth="R" style="left:306px; top:61px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0127list/P0127">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[심사조정사유]]>
- </hint>
- </select1>
- <select1 id="cmb_docudelresncd" ref="/root/main/item1/clbs/docudelresncd" class="combo_default" appearance="minimal" editmode="input" showvalue="false" _auth="R" style="left:434px; top:61px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0465list/P0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[명세서삭제사유]]>
- </hint>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //삭제사유 선택시 삭세상세사유 group 보이기
- grp_desc.visible = true;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_abdresncd" ref="/root/main/item1/clbs/abdresncd" class="combo_default" appearance="minimal" showvalue="false" _auth="R" style="left:65px; top:61px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0466list/P0466">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[반송부제기사유]]>
- </hint>
- </select1>
- <select1 id="cmb_suppkindchgresn" ref="/root/main/item1/clbs/suppkindchgresn" class="combo_default" appearance="minimal" showvalue="true" _auth="R" style="left:178px; top:61px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0491list/P0491">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[자격수정사유]]>
- </hint>
- </select1>
- </group>
- <caption id="cap_clod" class="tit_2" style="left:10px; top:230px; width:43px; height:13px; ">
- <![CDATA[처방]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 처방조회부, 처방 Grid용 Group의 컨트롤 크기를 설정한다.
- fSetOrderControlSize2();
- // 이전명세서, 처방휴지통, 삭제처방 Group의 컨트롤 크기를 설정한다.
- fSetDelOrdPreDocuSize();
- ]]>
- </script>
- </caption>
- <line id="ln_clodhist" class="line_1" style="x1:0px; y1:246px; x2:1192px; y2:246px; "/>
- <button id="btn_oscllist" class="btn2_letter5" _auth="R" style="left:1117px; top:535px; width:75px; height:19px; ">
- <caption>상세내역</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOsclClamData("ALL", "grd_clodhist");
- ]]>
- </script>
- </button>
- <button id="btn_emrpatinfo" class="btn2_letter5" visibility="visible" _auth="R" style="left:1117px; top:426px; width:75px; height:19px; ">
- <caption>진료정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //진료정보조회 : SMMMO02500_환자진료정보.xrw
- fGetEmrInformation();
- ]]>
- </script>
- </button>
- <button id="btn_EnvSetup" class="btn2_letter5" visibility="hidden" _auth="P" style="left:1116px; top:577px; width:75px; height:19px; ">
- <caption>환경저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // getOrderInfoOfCol("grd_clodhist");
-
- var refdata = ""; // ref
- var sizedata = ""; // size
- var grdobj = document.controls.item("grd_clodhist");
-
- for (var i = 0; i < grdobj.cols; i++) {
- var refval = grdobj.colAttribute(i, "ref");
- refdata += refval + "^";
- var sizeval = grdobj.colWidth(i);
- sizedata += sizeval + "^";
- }
- refdata = refdata.substring(0, refdata.length-1);
- sizedata = sizedata.substring(0, sizedata.length-1);
-
- var compscnts = model.getValue("/root/hidden/listval/uuee/compscnts"); // Grid의 칼럼명
- var compssizecnts = model.getValue("/root/hidden/listval/uuee/compssizecnts"); // Grid의 칼럼Size
-
- if (refdata == compscnts && sizedata == compssizecnts) {
- messageBox("변경된 데이터가", "I004"); ///변경된 데이터가 없습니다.
- return;
- }
-
- var scrnid = model.getValue("/root/hidden/listval/uuee/scrnid"); // 화면(xrw)의 ID
- if (scrnid == "") {
- model.setValue("/root/send/listval/uuee/flag", "I");
- } else {
- model.setValue("/root/send/listval/uuee/flag", "U");
- }
- model.setValue("/root/send/listval/uuee/scrnid", "SMPID20500"); // 화면(xrw)의 ID - SMPID20500_외래사후심사관리
- model.setValue("/root/send/listval/uuee/compsnm", "grd_clodhist"); // Grid ID 정보
- model.setValue("/root/send/listval/uuee/compscnts", refdata); // Grid의 칼럼명
- model.setValue("/root/send/listval/uuee/compsrefcnts", ""); // Grid의 reference명
- model.setValue("/root/send/listval/uuee/compssizecnts", sizedata); // Grid의 칼럼Size
-
- if (submit("TXPID21601")) {
- messageBox("사용자 환경 저장이", "I002"); ///사용자 환경 저장이 완료되었습니다.
-
- //그리드 caption 재지정
- var caption = ""
- for( var i = 1; i < grdobj.cols ; i++ ){
- if (caption == "") {
- caption = grdobj.textMatrix(0,i);
- } else {
- caption += "^" + grdobj.textMatrix(0,i);
- }
- }
- grdobj.caption = caption;
- }
- ]]>
- </script>
- <hint>
- <![CDATA[처방item 순서저장]]>
- </hint>
- </button>
- <group id="grp_desc" visibility="hidden" style="left:435px; top:250px; width:255px; height:189px; border-color:#c7a3cf; border-style:solid; ">
- <line id="line19" class="line_1" style="x1:0px; y1:64px; x2:250px; y2:64px; "/>
- <caption id="caption24" class="tit_2" style="left:6px; top:49px; width:129px; height:13px; ">삭제상세사유</caption>
- <textarea id="txtr_adjtresndesc" ref="/root/main/item1/clbs/adjtresndesc" style="left:0px; top:69px; width:250px; height:85px; text-align:left; vertical-align:top; "/>
- <button id="button8" class="btn4_letter2" style="left:193px; top:159px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var judgendyn = model.getValue("/root/main/item1/clbs/judgendyn");
- if(judgendyn == "D") {
- model.setValue("/root/send/item1/clbs/docudelresncd", model.getValue("/root/main/item1/clbs/docudelresncd"));
- model.setValue("/root/send/item1/clbs/adjtresndesc", model.getValue("/root/main/item1/clbs/adjtresndesc"));
- submit("TXPID20307");
- messageBox("","I001");
- }
- grp_desc.visible = false;
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" visibility="hidden" style="left:79px; top:159px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main/item1/clbs/adjtresndesc", "");
- grp_desc.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption31" class="tit_2" style="left:6px; top:4px; width:129px; height:13px; ">삭제사유</caption>
- <line id="line21" class="line_1" style="x1:0px; y1:19px; x2:250px; y2:19px; "/>
- <select1 id="combo1" ref="/root/main/item1/clbs/docudelresncd" class="combo_default" appearance="minimal" showvalue="false" _auth="R" style="left:0px; top:24px; width:250px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0465list/P0465">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[명세서삭제사유]]>
- </hint>
- </select1>
- </group>
- </group>
- <group id="grp_calendar" scroll="none" style="left:569px; top:267px; width:622px; height:81px; ">
- <datagrid id="grd_ordddcalc" nodeset="/root/hidden/orddddisp" class="gridcalendar" caption="일^월^화^수^목^금^토^일^월^화^수^목^금^토^일^월^화^수^목^금^토^일^월^화^수^목^금^토^일^월^화^수^목^금^토^일^월^화^수^목^금^토" colsep="^" colwidth="20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20" dataheight="15" defaultrows="3" mergecellsfixedrows="bycolrec" rowheight="15" rowsep="|" style="left:0px; top:5px; width:622px; height:75px; ">
- <col class="color_sun" checkvalue="1,0" ref="col1" type="output"/>
- <col checkvalue="1,0" ref="col2" type="output"/>
- <col checkvalue="1,0" ref="col3" type="output"/>
- <col checkvalue="1,0" ref="col4" type="output"/>
- <col ref="col5" type="output"/>
- <col ref="col6" type="output"/>
- <col class="color_sat" ref="col7" type="output"/>
- <col class="color_sun" ref="col8" type="output"/>
- <col ref="col9" type="output"/>
- <col checkvalue="1,0" ref="col10" type="output"/>
- <col checkvalue="1,0" ref="col11" type="output"/>
- <col checkvalue="1,0" ref="col12" type="output"/>
- <col ref="col13" type="output"/>
- <col class="color_sat" ref="col14" type="output"/>
- <col class="color_sun" ref="col15" type="output"/>
- <col ref="col16" type="output"/>
- <col ref="col17" type="output"/>
- <col ref="col18" type="output"/>
- <col ref="col19" type="output"/>
- <col ref="col20" type="output"/>
- <col class="color_sat" ref="col21" type="output"/>
- <col class="color_sun" ref="col22" type="output"/>
- <col ref="col23" type="output"/>
- <col ref="col24" type="output"/>
- <col ref="col25" type="output"/>
- <col ref="col26" type="output"/>
- <col ref="col27" type="output"/>
- <col class="color_sat" ref="col28" type="output"/>
- <col class="color_sun" ref="col29" type="output"/>
- <col ref="col30" type="output"/>
- <col ref="col31" type="output"/>
- <col ref="col32" type="output"/>
- <col ref="col33" type="output"/>
- <col ref="col34" type="output"/>
- <col class="color_sat" ref="col35" type="output"/>
- <col class="color_sun" ref="col36" type="output"/>
- <col ref="col37" type="output"/>
- <col ref="col38" type="output"/>
- <col ref="col39" type="output"/>
- <col ref="col40" type="output"/>
- <col ref="col41" type="output"/>
- <col class="color_sat" ref="col42" type="output"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClickOrdYN(grd_ordddcalc.row,grd_ordddcalc.col);
- ]]>
- </script>
- </datagrid>
- <output id="opt_msgspclformat" ref="/root/hidden/list3/msgspclformat" class="output_fix" style="left:2px; top:56px; width:306px; height:19px; "/>
- <button id="btn_cloddelete" class="btn2_letter3" _auth="R" style="left:417px; top:56px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOrderGridDeleteRow(); // 행삭제
- ]]>
- </script>
- </button>
- <button id="btn_clodcopy" class="btn2_letter3" _auth="R" style="left:363px; top:56px; width:53px; height:19px; ">
- <caption>행복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOrderGridCopyRow(); // 행복사
- ]]>
- </script>
- </button>
- <button id="btn_clodinsert" class="btn2_letter3" _auth="R" style="left:309px; top:56px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOrderGridInsertRow(); // 행추가
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/main/item1/clbs/chosindayno" class="input_default" navindex="5" imemode="disabled" _auth="R" style="left:543px; top:56px; width:38px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[내원일수]]>
- </hint>
- </input>
- <input id="input4" ref="/root/main/item1/clbs/medcaredayno" class="input_default" navindex="6" imemode="disabled" _auth="R" style="left:582px; top:56px; width:38px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[요양일수]]>
- </hint>
- </input>
- <caption id="caption20" class="cell_1" style="left:472px; top:56px; width:70px; height:19px; ">내원/요양</caption>
- </group>
- <button id="btn_save" accesskey="F1" class="btn5_letter5" _auth="X" style="left:1117px; top:400px; width:75px; height:19px; ">
- <caption>저장 F1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (btn_save.disabled == false ){
- fSaveOutAftJudg("B");
- } else {
- messageBox("비활성 상태입니다. 진행","E001");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[F1]]>
- </hint>
- </button>
- <button id="btn_end" accesskey="f3" class="btn5_letter5" _auth="X" style="left:1117px; top:422px; width:75px; height:19px; ">
- <caption>완료 F3</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (btn_end.disabled == false ){
- fGetNextAftJudgTrgtMan("C"); // P0151 (사후심사-심사완료여부) C: 심사완료
- } else {
- messageBox("비활성 상태입니다. 진행","E001");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[F3]]>
- </hint>
- </button>
- <button id="btn_unjudg" accesskey="F6" class="btn5_letter5" _auth="X" style="left:1117px; top:444px; width:75px; height:19px; ">
- <caption>미심 F6</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (btn_unjudg.disabled == false ){
- fGetNextAftJudgTrgtMan("A"); // P0151 (사후심사-심사완료여부) A: 미심사
- } else {
- messageBox("비활성 상태입니다. 진행","E001");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[F6]]>
- </hint>
- </button>
- <button id="btn_rete" accesskey="F9" class="btn5_letter5" _auth="X" style="left:1117px; top:466px; width:75px; height:19px; ">
- <caption>보류 F9</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (btn_rete.disabled == false ){
- fGetNextAftJudgTrgtMan("N"); // P0151 (사후심사-심사완료여부) N: 심사보류
- } else {
- messageBox("비활성 상태입니다. 진행","E001");
- }
-
- ]]>
- </script>
- <hint>
- <![CDATA[F9]]>
- </hint>
- </button>
- <button id="btn_del" class="btn5_letter5" _auth="X" style="left:1117px; top:488px; width:75px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1. 재청구삭제일 경우 : (1). 반송부제기사유 체크
- // (2). 반송부제기사유 UPDATE
- if ( messageBox("","Q001")==6 ) {
- var clamflagcd = model.getValue("/root/main/item1/clbs/clamflagcd");
- if (clamflagcd == "1") {
- if (pidfChkAbdResncd()) {
- fGetNextAftJudgTrgtMan("D"); // P0151 (사후심사-심사완료여부) D: 삭제
- }
- }
- // 2. 명세서삭제일 경우 : (1). 명세서삭제사유 체크
- // (2). 기타일경우 심사자메모에 기타사유 추가
- else {
- if (pidfChkDocuDelResncd()) {
- fGetNextAftJudgTrgtMan("D"); // P0151 (사후심사-심사완료여부) D: 삭제
- }
- }
- }
- ]]>
- </script>
- <hint>
- <![CDATA[심사상태 삭제처리]]>
- </hint>
- </button>
- <button id="btn_amtsum" class="btn2_letter5" _auth="R" style="left:1117px; top:553px; width:75px; height:19px; ">
- <caption>진료비누적</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) {
- // 심사전후 차액이 얼마 이상이면 심사전후차액조회 Popup을 표시한다.
- // 그 화면에서 "심사완료" 처리를 한다던건 보류.
- model.setValue("/root/hidden/sppid21300/cond/clamym", clamym);
- model.setValue("/root/hidden/sppid21300/cond/clamdg", model.getValue("/root/main/item1/clbs/clamdg"));
- model.setValue("/root/hidden/sppid21300/cond/pid", model.getValue("/root/main/item1/clbs/pid"));
- model.setValue("/root/hidden/sppid21300/cond/pidsn", model.getValue("/root/main/item1/clbs/pidsn"));
- model.setValue("/root/hidden/sppid21300/cond/insukind", model.getValue("/root/main/item1/clbs/insukindcd"));
- model.setValue("/root/hidden/sppid21300/cond/suppkind", model.getValue("/root/main/item1/clbs/suppkindcd"));
- model.setValue("/root/hidden/sppid21300/cond/ordfromdd", model.getValue("/root/main/item1/clbs/ordfromdd"));
-
- //modal("SPPID21300", "1", "10", "10", "SPPID21300", "/root/hidden/sppid21300/cond", "/root/send/data1", "", ""); // SPPID21300_심사전후차액조회.xrw
- open("SPPID21300", "1", "10", "10", "SPPID21300", "/root/hidden/sppid21300/cond", "/root/send/data1", "", ""); // SPPID21300_심사전후차액조회.xrw
- }
- ]]>
- </script>
- <hint>
- <![CDATA[심사전후 차액조회]]>
- </hint>
- </button>
- <button id="btn_predocu" class="btn2_letter5" _auth="X" style="left:1117px; top:575px; width:75px; height:19px; ">
- <caption>이전명세서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grp_predoculist.visible == true ) {
- grd_clodhist.attribute("width") = "1114";
- ln_clodhist.attribute("x2") = "1114";
- cap_grptemp.visible = false;
- grp_predoculist.visible = false;
- return;
- }
-
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- var clamdg = model.getValue("/root/main/item1/clbs/clamdg");
- var pid = model.getValue("/root/main/item1/clbs/pid");
- var pidsn = model.getValue("/root/main/item1/clbs/pidsn");
- if (clamym) { // 조회된 심사대상자가 있음
- // pid로 검색한 명세서 목록을 보여주고, 해당 목록에서 고른 건에 대하여 이전명세서 조회 화면을 호출한다.
- var preDocuNode = instance1.selectSingleNode("/root/hidden/list4/clbs");
- if (preDocuNode == null) { // 이전에 조회된 내용이 없음
- model.resetInstanceNode("/root/send/list4");
- model.setValue("/root/send/list4/pid", model.getValue("/root/main/item1/clbs/pid"));
- model.setValue("/root/send/list4/clamym", model.getValue("/root/main/item1/clbs/clamym"));
- model.setValue("/root/send/list4/allordfild", "Y");
- // model.setValue("/root/send/list4/ordfildcd", model.getValue("/root/main/item1/clbs/ordfildcd"));
- model.setValue("/root/send/list4/ioflag", "-");
- model.setValue("/root/send/list4/refterm", "3");
- // 현재 명세서는 제외하고 산출해야하기 때문에 clamdg, pidsn추가 - 20091127 박창원
- model.setValue("/root/send/list4/clamdg", model.getValue("/root/main/item1/clbs/clamdg"));
- model.setValue("/root/send/list4/pidsn", model.getValue("/root/main/item1/clbs/pidsn"));
- model.setValue("/root/send/list4/refterm", "3");
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- submit("TRPID20304");
- model.copyNode("/root/hidden/list4", "/root/main/list4");
- grd_predocu.refresh();
- } else {
- model.copyNode("/root/main/list4", "/root/hidden/list4");
- grd_predocu.refresh();
- }
- grd_predocu.rebuildStyle();
- for (var i = 1; i < grd_predocu.rows; i++) {
- if ((clamym == model.getValue("/root/main/list4/clbs["+ i +"]/clamym")) &&
- (clamdg == model.getValue("/root/main/list4/clbs["+ i +"]/clamdg")) &&
- (pid == model.getValue("/root/main/list4/clbs["+ i +"]/pid")) &&
- (pidsn == model.getValue("/root/main/list4/clbs["+ i +"]/pidsn"))) {
- grd_predocu.rowStyle(i, "data", "background-color") = "#4d4d4d"; // common.css (input)
- grd_predocu.rowStyle(i, "data", "background-image") = "../../../com/commonweb/images/grid_bg.gif";
- grd_predocu.rowStyle(i, "data", "background-repeat") = "repeat-x";
- i = grd_predocu.rows;
- }
- }
- }
-
- grp_predoculist.visible = true;
- grp_delclodlist.visible = false; // 처방 휴지통
- grp_delorderlist.visible = false; // 심사변경 목록
- fSetDelOrdPreDocuSize();
- // }
- ]]>
- </script>
- <!--
- <script type="javascript" ev:event="onmousemove">
- <![CDATA[
- var preDocuNode = instance1.selectSingleNode("/root/main/list4/clbs");
- if (preDocuNode != null) {
- grp_predoculist.visible = true;
- grp_delclodlist.visible = false; // 처방 휴지통
- grp_delorderlist.visible = false; // 심사변경 목록
- fSetDelOrdPreDocuSize();
- }
- ]]>
- </script>
- -->
- </button>
- <button id="btn_unexecord" class="btn2_letter5" _auth="R" style="left:1117px; top:597px; width:75px; height:19px; ">
- <caption>미시행처방</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) {
- var judgOpenWindow = getChildWindow("SPPID21400"); // SPPID21400_외래미시행처방조회
- if (judgOpenWindow == null) {
- model.setValue("/root/hidden/sppid21400/cond/pid", model.getValue("/root/main/item1/clbs/pid"));
- model.setValue("/root/hidden/sppid21400/cond/orddeptcd", model.getValue("/root/main/item1/clbs/orddeptcd"));
- model.setValue("/root/hidden/sppid21400/cond/orddd", model.getValue("/root/main/item1/clbs/indd"));
- model.setValue("/root/hidden/sppid21400/cond/chk", "Y"); // 타과포함 조회 CheckBox 선택
- open("SPPID21400", "2", "10", "10", "SPPID21400", "/root/hidden/sppid21400/cond", "/root/send", "", ""); // SPPID21400_외래미시행처방조회
- } else {
- judgOpenWindow.model.setValue("/root/send/pid", model.getValue("/root/main/item1/clbs/pid"));
- judgOpenWindow.model.setValue("/root/send/orddeptcd", model.getValue("/root/main/item1/clbs/orddeptcd"));
- judgOpenWindow.model.setValue("/root/send/orddd", model.getValue("/root/main/item1/clbs/indd"));
- judgOpenWindow.model.setValue("/root/send/chk", "Y"); // 타과포함 조회 CheckBox 선택
- judgOpenWindow.btn_srch.dispatch("DOMActivate");
- activateChild("SPPID21400");
- }
- }
- ]]>
- </script>
- </button>
- <output id="opt_patage" ref="/root/main/item1/clbs/patage" class="output_fix" style="left:442px; top:31px; width:37px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[나이]]>
- </hint>
- </output>
- <output id="opt_insunm" ref="/root/main/item1/clbs/insunm" class="output_fix" style="left:976px; top:55px; width:85px; height:19px; "/>
- <caption id="caption51" class="cell_1" style="left:285px; top:78px; width:61px; height:23px; text-align:left; ">보조유형</caption>
- <output id="opt_payownbrate" ref="/root/main/item1/clbs/payownbrate" class="output_fix" style="left:455px; top:54px; width:24px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[요율]]>
- </hint>
- </output>
- <caption id="cap_certno" class="cell_1" style="left:920px; top:78px; width:55px; height:23px; text-align:left; ">증번호</caption>
- <input id="ipt_certno" ref="/root/main/item1/clbs/certno" class="input_default" navindex="9" maxlength="30" _auth="R" style="left:976px; top:80px; width:85px; height:19px; ">
- <hint>
- <![CDATA[보험:증번호, 자보:접수번호, 산재:관리번호]]>
- </hint>
- </input>
- <caption id="caption30" class="cell_1" style="left:159px; top:30px; width:55px; height:23px; text-align:left; ">공상구분</caption>
- <caption id="caption32" class="cell_1" style="left:285px; top:54px; width:61px; height:23px; text-align:left; ">보험유형</caption>
- <output id="opt_insukindnm" ref="/root/main/item1/clbs/insukindnm" class="output_fix" style="left:367px; top:54px; width:85px; height:19px; "/>
- <input id="opt_acptno" ref="/root/main/item1/clbs/acptno" navindex="1" style="left:57px; top:79px; width:64px; height:19px; border-style:solid; "/>
- <caption id="cap_ordfildcd" class="cell_1" style="left:481px; top:29px; width:67px; height:23px; text-align:left; ">
- <![CDATA[진료분야]]>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- cap_ordfildcd.hint = model.getValue("/root/main/item1/clbs/ordfildcd");
- ]]>
- </script>
- </caption>
- <select1 id="cmb_ordfildcd" ref="/root/main/item1/clbs/ordfildcd" class="combo_default" disabled="false" appearance="minimal" style="left:549px; top:31px; width:67px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0291list/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var ordfildcd = model.getValue("/root/main/item1/clbs/ordfildcd");
- var clamtypecd = model.getValue("/root/main/item1/clbs/clamtypecd");
- // 집계형태(sumtypecd) 업데이트
-
- // 건강보험, 의료급여 => 진료분야그대로...
- //if (clamtypecd == "1") {
- // model.setValue("/root/main/item1/clbs/sumtypecd", ordfildcd); // 집계형태 : 진료분야
- //}
- // 자보 => 의과,치과,한방
- //else
- if (clamtypecd == "8") {
- if (ordfildcd == "6") {
- model.setValue("/root/main/item1/clbs/sumtypecd", "6"); // 집계형태 : 치과분야
- }
- else if (ordfildcd == "8") {
- model.setValue("/root/main/item1/clbs/sumtypecd", "8"); // 집계형태 : 한방분야
- }
- else {
- model.setValue("/root/main/item1/clbs/sumtypecd", "0"); // 집계형태 : 의과분야
- }
- }
- ]]>
- </script>
- </select1>
- <output id="opt_insukindcd" ref="/root/main/item1/clbs/insukindcd" class="output_fix" style="left:347px; top:54px; width:17px; height:19px; "/>
- <select1 id="cmb_orddeptcd" ref="/root/main/item1/clbs/orddeptcd" class="c ombo_default" disabled="false" appearance="minimal" style="left:618px; top:31px; width:96px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '"+ model.getValue("/root/main/item1/clbs/orddeptcd") +"']";
- model.resetInstanceNode("/root/main/item1/clbs/orddrid"); // 진료과가 변경되었으므로 주치의를 초기화한다.
- cmb_orddrid.refresh();
-
- // 변경된 진료과의 청구과를 다시 셋팅한다.
- var orddeptcd = model.getValue("/root/main/item1/clbs/orddeptcd");
- var nodeList = instance1.selectNodes("/root/init/orddeptcd2/orddeptcdlist");
- var i=1;
- for (i=1; i < nodeList.length; i++) {
- if (orddeptcd == model.getValue("/root/init/orddeptcd2/orddeptcdlist[" + i + "]/cd")) {
- var clamdeptcd = model.getValue("/root/init/orddeptcd2/orddeptcdlist[" + i + "]/reqdeptno");
- model.setValue("/root/main/item1/clbs/clamdeptcd", clamdeptcd);
- break;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd/orddeptcdlist[reqfild = '"+ model.getValue("/root/main/item1/clbs/ordfildcd") +"']";
- cmb_orddeptcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddrid" ref="/root/main/item1/clbs/orddrid" class="combo_default" disabled="false" appearance="minimal" style="left:716px; top:31px; width:79px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid2/orddridlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '"+ model.getValue("/root/main/item1/clbs/orddeptcd") +"']";
- cmb_orddrid.refresh();
-
- // [2008-01-16] 주치의 Combo disabled 상태이므로 아래 구현을 주석처리함
- /*
- if (model.getValue("/root/main/item1/clbs/orddeptcd") == "") {
- messageBox("진료과를 먼저", "C002"); ///진료과를 먼저 선택하십시오.
- cmb_orddrid.disabled = true;
- }
- */
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddrid = model.getValue("/root/main/item1/clbs/orddrid");
- var chk_snglcalcscorcd = model.getValue("/root/main/list2/clod[item='0101' or item='0102']/snglcalcscorcd");
- if (orddrid == "") {
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid2/orddridlist";
- cmb_orddrid.refresh();
- }
- grd_cldihist.rowstatus(1) = 2;
- grd_clodhist.rowstatus(grd_clodhist.findRow(chk_snglcalcscorcd,grd_clodhist.fixedRows,grd_clodhist.colRef("snglcalcscorcd"), false, true)) = 2;
- ]]>
- </script>
- </select1>
- <caption id="caption11" class="cell_1" style="left:0px; top:30px; width:55px; height:23px; text-align:left; ">청구차수</caption>
- <caption id="caption12" class="cell_1" style="left:159px; top:78px; width:55px; height:23px; text-align:left; ">본인부담</caption>
- <input id="opt_patnm" ref="/root/main/item1/clbs/patnm" appearance="input" style="left:215px; top:55px; width:47px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:797px; top:30px; width:61px; height:23px; text-align:left; ">진료결과</caption>
- <select1 id="cmb_ordrsltcd" ref="/root/main/item1/clbs/ordrsltcd" class="combo_default" navindex="7" appearance="minimal" style="left:859px; top:30px; width:59px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0110list/P0110">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_clamym" ref="/root/main/item1/clbs/clamym" class="input_default" navindex="2" inputtype="date" format="yyyy-mm" style="left:57px; top:30px; width:71px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:0px; top:54px; width:55px; height:23px; text-align:left; ">등록번호</caption>
- <caption id="caption13" class="cell_1" style="left:159px; top:54px; width:55px; height:23px; text-align:left; ">환자이름</caption>
- <input id="opt_docuseqno" ref="/root/main/item1/clbs/docuseqno" style="left:122px; top:79px; width:36px; height:19px; border-style:solid; "/>
- <caption id="cap_insuno" class="cell_1" style="left:920px; top:30px; width:55px; height:23px; text-align:left; ">조합기호</caption>
- <caption id="caption48" class="cell_1" style="left:618px; top:78px; width:96px; height:23px; ">내원/요양</caption>
- <caption id="caption37" class="cell_1" style="left:285px; top:29px; width:61px; height:23px; text-align:left; ">주민번호</caption>
- <caption id="caption1" class="cell_1" style="left:920px; top:54px; width:55px; height:23px; text-align:left; ">조합명칭</caption>
- <input id="ipt_pid" ref="/root/main/item1/clbs/pid" class="input_default" navindex="3" imemode="disabled" maxlength="10" _auth="R" style="left:57px; top:54px; width:66px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- var clamym = model.getValue("/root/main/item1/clbs/clamym"); // 청구일자
- var oldpid = model.getValue("/root/main/item1/clbs/pid");
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- var newpid = model.getValue("/root/main/item1/clbs/pid");
- if (newpid == model.getValue("/root/hidden/item1/initclbs/clbs/pid")) {
- return;
- }
- var rslt = fInitSrchData(); // 화면을 초기화한다.
- if (rslt == false) { // 수정사항 저장이 완료되지 않아 초기화할 수 없는 경우
- model.setValue("/root/main/item1/clbs/pid", oldpid);
- model.refreshpart("/root/main/item1/clbs/pid");
- } else {
- model.setValue("/root/main/item1/clbs/clamym", clamym);
- model.setValue("/root/main/item1/clbs/pid", newpid);
- model.refreshpart("/root/main/item1/clbs/pid");
- fGetOutAftJudgTrgtManPidSrch();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym"); // 청구일자
- var newpid = model.getValue("/root/main/item1/clbs/pid");
- var oldpid = model.getValue("/root/hidden/item1/initclbs/clbs/pid");
- var rslt = fInitSrchData(); // 화면을 초기화한다.
- if (rslt == false) { // 수정사항 저장이 완료되지 않아 초기화할 수 없는 경우
- model.setValue("/root/main/item1/clbs/pid", oldpid);
- model.refreshpart("/root/main/item1/clbs/pid");
- //model.refresh();
- } else {
- model.setValue("/root/main/item1/clbs/clamym", clamym);
- model.setValue("/root/main/item1/clbs/pid", newpid);
- model.refreshpart("/root/main/item1/clbs/pid");
- //model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="btn_srchpid" class="icon_search" _auth="R" style="left:141px; top:54px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ipt_pid = model.getValue("/root/main/item1/clbs/pid");
- if (ipt_pid) {
- // if (ipt_pid.length < 8) {
- // ipt_pid = ipt_pid.getLeftPad(8, "0"); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- // }
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- modal("SPPMC02500", "1", "10", "10", "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", ""); // SPPMC02500_환자조회.xrw
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
- var rslt = fInitSrchData(); // 화면을 초기화한다.
- if (rslt == false) { // 수정사항 저장이 완료되지 않아 초기화할 수 없는 경우
- } else {
- model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- model.setValue("/root/main/item1/clbs/pid", srch_pid);
- //model.refresh();
- model.refreshpart("/root/main/item1/clbs/pid");
- }
- }
- ]]>
- </script>
- </button>
- <input id="ipt_insuno" ref="/root/main/item1/clbs/insuno" class="input_default" navindex="8" inputtype="button" _auth="R" style="left:976px; top:31px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- fGetOutAftJudgTrgtManInsunm();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var pid = model.getValue("/root/main/item1/clbs/pid");
- if (pid) { // 조회된 심사대상자가 있으면
- /*
- // pam\pamcomnweb\xrw\SPPMC03700_자격조회
- // 보험증번호 조회(보험자격조회)
- var rrgstno = model.getValue("/root/main/item1/clbs/patrrgstno");
- rrgstno = rrgstno.replace("-", "");
- var patnm = model.getValue("/root/main/item1/clbs/patnm");
- var indd = model.getValue("/root/main/item1/clbs/indd");
- var parm = rrgstno + "▦" + patnm + "▦" + indd + "▦"; // 주민번호▦이름▦진료일자
- setParameter("SPPMC03700_PARM", parm);
- setParameter("SPPMC03700_RTN", "");
- modal("SPPMC03700", "1", "10", "10", "SPPMC03700", "", "", "", ""); // SPPMC03700_자격조회.xrw
- if (getParameter("SPPMC03700_RTN") == "Y") {
- var ptin_insdnm = getParameter("SPPMC03700_insdnm"); // 세대주성명
- var ptin_insucd = getParameter("SPPMC03700_insucd"); // 보장기관기호(사업장기호)
- var ptin_insuno = getParameter("SPPMC03700_insuno"); // 시설기호(증번호)
-
- if (ptin_insdnm == "") {
- ptin_insdnm = "-";
- }
- if (ptin_insucd == "") {
- ptin_insucd = "-";
- }
- if (ptin_insuno == "") {
- ptin_insuno = "-";
- }
- model.setValue("/root/main/item1/clbs/insdnm", ptin_insdnm); //가입자
- model.setValue("/root/main/item1/clbs/insuno", ptin_insucd); //조합기호
- model.setValue("/root/main/item1/clbs/certno", ptin_insuno); //증번호
-
- model.refreshpart("/root/main/item1/clbs/insdnm");
- model.refreshpart("/root/main/item1/clbs/insuno");
- model.refreshpart("/root/main/item1/clbs/certno");
-
- // 조합기호에 해당하는 조합명칭을 조회한다.
- model.makeValue("/root/send/item2/incd/insucd", model.getValue("/root/main/item1/clbs/insuno"));
- model.makeValue("/root/send/item2/incd/ordfromdd", model.getValue("/root/main/item1/clbs/ordfromdd"));
- submit("TRPID20302");
- var insucdnm = model.getValue("/root/main/item2/incd/insucdnm");
- model.setValue("/root/main/item1/clbs/insunm", insucdnm);
- model.refreshpart("/root/main/item1/clbs/insunm");
- }
- */
-
- // pam\pamcomnweb\xrw\SPPMC03900_의료급여자격조회승인
- // 의료급여자격조회
- var ordtype = model.getValue("/root/main/item1/clbs/stsioflag");
- if (ordtype == "-") {
- ordtype = "O";
- }
-
- var parm = model.getValue("/root/main/item1/clbs/patrrgstno").substr(0,6) +
- model.getValue("/root/main/item1/clbs/patrrgstno").substr(6,7) + "▦" + //주민번호
- model.getValue("/root/main/item1/clbs/patnm") + "▦" + //이름
- model.getValue("/root/main/item1/clbs/ordfromdd") + "▦" + //입원일
- model.getValue("/root/main/item1/clbs/cretno") + "▦" + //생성번호
- ordtype + "▦" + //진료형태
- model.getValue("/root/main/item1/clbs/ordtodd") + "▦" + //퇴원일자
- "" + "▦" + //본인일부부담금
- "" + "▦" + //기관부담금
- model.getValue("/root/main/item1/clbs/pid") + "▦" + //등록번호
- model.getValue("/root/main/item1/clbs/orddeptcd") + "▦" ; //진료과
-
- setParameter("SPPMC03900_PARM",parm);
- modal("SPPMC03900", "1","50", "50", "SPPMC03900", "", "");
-
- if (getParameter("SPPMC03900_RTN") == "Y") {
- var ptin_insdnm = getParameter("SPPMC03900_insdnm"); // 세대주성명
- var ptin_insucd = getParameter("SPPMC03900_insucd"); // 보장기관기호(사업장기호)
- var ptin_insuno = getParameter("SPPMC03900_insuno"); // 시설기호(증번호)
-
- if (ptin_insdnm == "") {
- ptin_insdnm = "-";
- }
- if (ptin_insucd == "") {
- ptin_insucd = "-";
- }
- if (ptin_insuno == "") {
- ptin_insuno = "-";
- }
- model.setValue("/root/main/item1/clbs/insdnm", ptin_insdnm); //가입자
- model.setValue("/root/main/item1/clbs/insuno", ptin_insucd); //조합기호
- model.setValue("/root/main/item1/clbs/certno", ptin_insuno); //증번호
-
- model.refreshpart("/root/main/item1/clbs/insdnm");
- model.refreshpart("/root/main/item1/clbs/insuno");
- model.refreshpart("/root/main/item1/clbs/certno");
-
- // 조합기호에 해당하는 조합명칭을 조회한다.
- model.makeValue("/root/send/item2/incd/insucd", model.getValue("/root/main/item1/clbs/insuno"));
- model.makeValue("/root/send/item2/incd/ordfromdd", model.getValue("/root/main/item1/clbs/ordfromdd"));
- submit("TRPID20302");
- var insucdnm = model.getValue("/root/main/item2/incd/insucdnm");
- model.setValue("/root/main/item1/clbs/insunm", insucdnm);
- model.refreshpart("/root/main/item1/clbs/insunm");
- }
- }
- ]]>
- </script>
- </input>
- <output id="opt_clamdgfr" ref="/root/main/item1/clbs/clamdg" class="output_fix" format="####" style="left:130px; top:30px; width:27px; height:19px; text-align:center; ">
- <hint>
- <![CDATA[차수시작]]>
- </hint>
- </output>
- <caption id="caption29" class="cell_1" style="left:0px; top:78px; width:55px; height:23px; text-align:left; ">접수번호</caption>
- <caption id="cap_insdnm" class="cell_1" style="left:797px; top:54px; width:61px; height:23px; text-align:left; ">가입자</caption>
- <line id="line3" class="line_3" style="x1:0px; y1:100px; x2:1194px; y2:100px; "/>
- <output id="opt_gender" ref="/root/main/item1/clbs/gender" class="output_fix" style="left:265px; top:55px; width:18px; height:19px; ">
- <hint>
- <![CDATA[성별]]>
- </hint>
- </output>
- <select1 id="cmb_supprate" ref="/root/hidden/item1/clbs/patsupprate" class="combo_default" navindex="4" appearance="minimal" _auth="R" style="left:367px; top:79px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/item3/supp">
- <label ref="suppratenm"/>
- <value ref="supprateid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 보조유형 및 요율 combo의 선택 값이 변경된 경우 각각을 해당 output에 설정한다.
- fSetPatSuppRate();
- ]]>
- </script>
- </select1>
- <output id="opt_suppkind" ref="/root/main/item1/clbs/suppkindcd" class="output_fix" style="left:347px; top:79px; width:17px; height:19px; "/>
- <group id="grp_cldihist" style="left:0px; top:102px; width:482px; height:165px; ">
- <button id="btn_opyn" class="btn2_letter4" _auth="R" style="left:282px; top:0px; width:64px; height:19px; ">
- <caption>수술(유)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) { // 조회된 심사대상자가 있으면
- var judgOpenWindow = getChildWindow("SPPIZ01300"); // SPPIZ01300_수술정보조회
- if (judgOpenWindow == null) {
- model.resetInstanceNode("/root/hidden/sppiz01300/cond");
- model.setValue("/root/hidden/sppiz01300/cond/pid", model.getValue("/root/main/item1/clbs/pid"));
- model.setValue("/root/hidden/sppiz01300/cond/indd", model.getValue("/root/main/item1/clbs/indd"));
- model.setValue("/root/hidden/sppiz01300/cond/cretno", model.getValue("/root/main/item1/clbs/cretno"));
- // alert("opyn = "+ model.getValue("/root/main/item1/clbs/opyn"));
- open("SPPIZ01300", "2", "10", "10", "SPPIZ01300","/root/hidden/sppiz01300/cond", "/root/send/data1", "", ""); // SPPIZ01300_수술정보조회
- } else {
- judgOpenWindow.javascript.fSrchInfo();
- activateChild("SPPIZ01300");
- // model.refresh();
- }
- }
- // var testnum = "456.789";
- // var test1 = testnum.getRound("1", "HALF_UP"); // 460 // (numericHelper.js) 지정한 자리에서 올림/반올림/버림 처리
- // var test2 = testnum.getRound("2", "HALF_UP"); // 500
- // var test3 = testnum.getRound("-1", "HALF_UP"); // 457
- // var test4 = testnum.getRound("-2", "HALF_UP"); // 456.8
- // alert(test1 +" / "+ test2 +" / "+ test3 +" / "+ test4);
- ]]>
- </script>
- </button>
- <button id="btn_diagHist" class="btn2_letter4" _auth="X" style="left:349px; top:0px; width:64px; height:19px; ">
- <caption>상병이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDiagHistList(); // 특정 환자에 대한 상병이력을 조회한다.
- ]]>
- </script>
- </button>
- <caption id="cap_diag" class="tit_2" style="left:5px; top:5px; width:43px; height:14px; ">
- <![CDATA[상병]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_cldihist.attribute("height") == "143") { // 기존 크기를 세로로 확대시킨다.
- grp_cldihist.attribute("height") = "300";
- grd_cldihist.attribute("height") = "275";
- //cap_message.attribute("left") = "485"; // "635";
- //opt_msgspclformat.attribute("left") = parseInt(cap_message.attribute("left")) + 90;
- //opt_msgspclformat.attribute("width") = 1099 - parseInt(cap_message.attribute("left")) + 5; //"545";
- } else {
- grp_cldihist.attribute("height") = "170";
- grd_cldihist.attribute("height") = "143";
- //cap_message.attribute("left") = "5";
- //opt_msgspclformat.attribute("left") = parseInt(cap_message.attribute("left")) + 90;
- //opt_msgspclformat.attribute("width") = 1099 - parseInt(cap_message.attribute("left")) + 5; //"1099";
- }
- ]]>
- </script>
- </caption>
- <line id="line7" class="line_1" style="x1:0px; y1:20px; x2:480px; y2:20px; "/>
- <datagrid id="grd_cldihist" nodeset="/root/main/list1/cldi" caption="X^R/O^no^상병코드^상 병 명^청구과^MT002^치식EDI^치식^진료일자^특정기호^wundresncd^diagengnm^seqno^workflag^kcd6chk^면허구분^면허번호^caption1^caption2" colsep="^" colwidth="20, 30, 20, 56, 159, 67, 44, 30, 53, 85, 74, 68, 40, 60, 100, 100, 100, 100, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:25px; width:480px; height:138px; ">
- <col ref="rowstat"/>
- <col checkvalue="R,C" ref="diagkindcd" type="checkbox"/>
- <col imemode="disabled" ref="diagseq" type="input" format="##"/>
- <col imemode="disabled" ref="diagcd" type="input" _chartype="upper"/>
- <col ref="diagnm"/>
- <col disabled="true" ref="clamdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0322list/P0322">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="vcode" style="text-align:center; "/>
- <col ref="toot" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="toot1"/>
- <col ref="ordfromdd" type="inputdate" format="yyyy/mm/dd"/>
- <col ref="estmspclcd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="wundresncd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="diagengnm" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="seqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="workflag" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="kcd6chk" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="licnsflag" type="input"/>
- <col ref="licnsno" type="input"/>
- <col ref="dutpno" visibility="hidden"/>
- <col ref="endyn" visibility="hidden"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
-
- var col = grd_cldihist.col;
- var row = grd_cldihist.row;
- if (col == grd_cldihist.colRef("ordfromdd")) { // 진료개시일이 변경된 경우
- var ordfromdd = model.getValue("/root/main/list1/cldi["+ row +"]/ordfromdd");
- if (!isValidDateTime(ordfromdd)) { // (dateHelper.js) 유효한 날짜, 시간 인지 점검
- model.setValue("/root/main/list1/cldi["+ row +"]/ordfromdd", model.getValue("/root/hidden/list1/cldi/oldordfromdd"));
- grd_cldihist.rowstatus(row) = model.getValue("/root/hidden/list1/cldi/oldrowstat");
- grd_cldihist.refresh();
- }
- }
- else if (col == grd_cldihist.colRef("diagcd")) { // '상병코드'
- if (model.getValue("/root/hidden/list1/cldi/olddiagcd") != model.getValue("/root/main/list1/cldi["+ row +"]/diagcd")) {
- model.resetInstanceNode("/root/main/list1/cldi["+ grd_cldihist.row +"]/diagnm");
- model.resetInstanceNode("/root/main/list1/cldi["+ grd_cldihist.row +"]/diagengnm");
- fSearchDiageCode();
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- // col@type = "input" 일 경우 onentercell시점에 EditMode 상태 만들기
- if (grd_cldihist.colType(grd_cldihist.col) == "input") {
- grd_cldihist.editCell();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- var row = grd_cldihist.row;
- model.setValue("/root/hidden/list1/cldi/oldseq", model.getValue("/root/main/list1/cldi["+ row +"]/diagseq"));
- model.setValue("/root/hidden/list1/cldi/olddiagcd", model.getValue("/root/main/list1/cldi["+ row +"]/diagcd"));
- model.setValue("/root/hidden/list1/cldi/olddiagnm", model.getValue("/root/main/list1/cldi["+ row +"]/diagnm"));
- model.setValue("/root/hidden/list1/cldi/oldengnm", model.getValue("/root/main/list1/cldi["+ row +"]/diagengnm"));
- model.setValue("/root/hidden/list1/cldi/oldrowstat", grd_cldihist.rowstatus(row));
- model.setValue("/root/hidden/list1/cldi/oldordfromdd", model.getValue("/root/main/list1/cldi["+ row +"]/ordfromdd"));
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- // event="xforms-value-changed" 사용시에는 오류 발생한다.
- // 숫자 입력 후 마우스 커서 위치를 바꾸거나 Enter 입력 시에 호출된다.
- var col = grd_cldihist.col;
- if (col == grd_cldihist.colRef("diagseq")) { // no (상병순서)
- if (model.getValue("/root/main/list1/cldi["+ grd_cldihist.row +"]/diagseq") != model.getValue("/root/hidden/list1/cldi/oldseq")) {
- // 사용자가 입력한 숫자를 기준으로 상병순서 부여
- fChangeDiagNo();
- }
- }
-
-
- /*
- else if (col == grd_cldihist.colRef("diagcd")) { // '상병코드'
- if (model.getValue("/root/main/list1/cldi["+ grd_cldihist.row +"]/diagcd") != model.getValue("/root/hidden/list1/cldi/olddiagcd")) {
- model.resetInstanceNode("/root/main/list1/cldi["+ grd_cldihist.row +"]/diagnm");
- model.resetInstanceNode("/root/main/list1/cldi["+ grd_cldihist.row +"]/diagengnm");
- fSearchDiageCode();
- }
- }
- */
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { // 3 : 오른쪽 버튼
- if (grd_cldihist.isCell(event.target) && grd_cldihist.mouseRow >= grd_cldihist.fixedrows) {
- var rowstatus = grd_cldihist.rowstatus(grd_cldihist.mouseRow);
- if (rowstatus == 4) { // 4 : delete
- setPopupMenu("grd_cldihist", false, "/root/hidden/popupmenu/gridcldi/delitem", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- } else {
- setPopupMenu("grd_cldihist", false, "/root/hidden/popupmenu/gridcldi/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- }
- }
- // else {
- // // 상병이 한줄도 없는 경우에도 "행 추가"를 하기 위해 사용함
- // window.showPopupMenu(true);
- // window.setPopupMenu(true, "/root/hidden/popupmenu/gridcldi/inititem", "name", "func", false);
- // }
- } else {
- // if (grd_cldihist.isCell(event.target) && grd_cldihist.mouseRow >= grd_cldihist.fixedrows) {
- // // 해당 상병의 한글상병명과 영문상병명이 Message 용 output 컨트롤에 표시된다.
- // var diagcd = model.getValue("/root/main/list1/cldi["+ grd_cldihist.mouseRow +"]/diagcd");
- // var diagnm = model.getValue("/root/main/list1/cldi["+ grd_cldihist.mouseRow +"]/diagnm");
- // var diagengnm = model.getValue("/root/main/list1/cldi["+ grd_cldihist.mouseRow +"]/diagengnm");
- // model.setValue("/root/hidden/list3/msgspclformat", "상병코드 - "+ diagcd +" / "+ diagnm +" / "+ diagengnm);
- // model.refresh();
- // }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_cldihist.mouseRow;
-
- if (grd_cldihist.isCell(event.target) && row >= grd_cldihist.fixedrows) {
- var col = grd_cldihist.mouseCol;
- if (col == grd_cldihist.colRef("diagnm")) { // '상병명'
- // 상병코드 조회를 위해 SPPIZ00400_상병코드조회.xrw 를 호출한다.
- fSearchSPPIZ00400();
- fSortDiagNo(true);
- }
- else if (col == grd_cldihist.colRef("toot1")) { // 상병 - 치식여부 (Y/N)
- fDiagOrderToothInput("Diag");
- }
- }
-
- ]]>
- </script>
- <!-- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_cldihist.colType(grd_cldihist.col) == "input") {
- grd_cldihist.editCell();
- }
- ]]>
- </script>-->
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_cldihist.isCell(event.target) && grd_cldihist.mouseRow >= grd_cldihist.fixedrows) {
- var row = grd_cldihist.mouseRow;
- // 해당 상병의 한글상병명과 영문상병명이 Message 용 output 컨트롤에 표시된다.
- var diagcd = model.getValue("/root/main/list1/cldi["+ row +"]/diagcd");
- var diagnm = model.getValue("/root/main/list1/cldi["+ row +"]/diagnm");
- var diagengnm = model.getValue("/root/main/list1/cldi["+ row +"]/diagengnm");
- model.setValue("/root/hidden/list3/msgspclformat", "상병코드 - "+ diagcd +" / "+ diagnm +" / "+ diagengnm);
- model.refreshpart("/root/hidden/list3/msgspclformat");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- // 그리드 내용 복사
- if (grd_cldihist.selectedRows == 1) { // 한줄
- var row = grd_cldihist.row;
- var col = grd_cldihist.col;
- if (col == grd_cldihist.colRef("diagcd") || col == grd_cldihist.colRef("diagnm")) {
- // 상병코드/상병명
- // var clip = grd_cldihist.valueMatrix(row, col);
- var clip = grd_cldihist.labelMatrix(row, col);
- // var clip = grd_cldihist.labelMatrix(grd_cldihist.mouseRow, grd_cldihist.mouseCol);
- window.clipBoardData = clip;
- } else {
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- }
- else if (grd_cldihist.selectedRows > 1) { // 여러줄
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_diagSrch" class="btn2_letter4" _auth="X" style="left:416px; top:0px; width:64px; height:19px; ">
- <caption>상병조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchSPPIZ00400();
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) { // 조회된 심사대상자가 있음
- fSortDiagNo(true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_esscdiag" class="btn2_letter4" visibility="hidden" _auth="R" style="left:215px; top:0px; width:64px; height:19px; ">
- <caption>중증질환</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- var clamdg = model.getValue("/root/main/item1/clbs/clamdg");
- var pid = model.getValue("/root/main/item1/clbs/pid");
- var pidsn = model.getValue("/root/main/item1/clbs/pidsn");
-
- if (clamym) { // 조회된 심사대상자가 있으면
- // 중증, 산정특례 여부 체크
- model.makeValue("/root/send/item6/essc/esscclamym", clamym);
- model.makeValue("/root/send/item6/essc/esscclamdg", clamdg);
- model.makeValue("/root/send/item6/essc/esscpid", pid);
- model.makeValue("/root/send/item6/essc/esscpidsn", pidsn);
-
- submit("TRPID20509");
-
- var cEssc = instance1.selectSingleNode("/root/main/item6/essc");
- if (cEssc == null) { // 특례기호가 없는 경우임
- return;
- }
- var isEsscV193 = false;
- var isEsscV191V192 = false;
- var isEsscVelse = false;
- cEssc = instance1.selectSingleNode("/root/main/item6");
- var cEsscChildNodeList = cEssc.childNodes;
- for (var i = 1; i <= cEsscChildNodeList.length; i++) { // root/main/item6/essc
- var spclcd = model.getValue("root/main/item6/essc["+ i +"]/vcode");
- if (spclcd == "V193") {
- isEsscV193 = true;
- }
- else if (spclcd == "V191" || spclcd == "V192") {
- isEsscV191V192 = true;
- }
- else {
- isEsscVelse = true;
- }
- }
- var newsuppkind = "";
- var supprateid = "";
- var msg = "";
- var suppkindcd = model.getValue("/root/main/item1/clbs/suppkindcd");
- if (isEsscV193) { // 등록 암환자
- if (suppkindcd != "06") { // 06: 등록암 10%
- newsuppkind = "06";
- supprateid = "06/10";
- msg = "등록암환자입니다. 중증요율";
- }
- }
- else if (isEsscV191V192) { // 개두술(V191) 및 개심술(V192)환자
- if (suppkindcd != "05") { // 05: 개심,개두 10%
- newsuppkind = "05";
- supprateid = "05/10";
- msg = "개심,개두환자입니다. 중증요율";
- }
- }
- else if (isEsscVelse) {
- if (suppkindcd != "07") { // 07: 산정특례 20%
- newsuppkind = "07";
- supprateid = "07/20";
- msg = "산정특례환자입니다. 산정특례";
- }
- }
- if (newsuppkind){
- var ans = messageBox(msg+" 적용","S001"); ///***환자입니다. **요율 적용하시려면 예(Yes)\n아니면 아니오(No)
- if (ans != 6) { // 6: yes
- return;
- } else {
- // model.setValue("/root/main/item1/clbs/suppkindcd", newsuppkind);
- model.setValue("/root/hidden/item1/clbs/patsupprate", supprateid);
- model.refreshpart("/root/hidden/item1/clbs/patsupprate");
- // 보조유형 및 요율 combo의 선택 값이 변경된 경우 각각을 해당 output에 설정한다.
- fSetPatSuppRate();
-
- model.makeValue("/root/send/item4/endclbs/suppkind", newsuppkind);
- }
- }
- }
- ]]>
- </script>
- </button>
- <output id="opt_drgcd" ref="/root/main/item1/clbs/drgcd" class="output_fix" visibility="hidden" style="left:77px; top:1px; width:58px; height:19px; text-align:center; "/>
- <button id="button2" class="btn2_letter4" _auth="X" style="left:215px; top:0px; width:64px; height:19px; ">
- <caption>청구상병</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetClamDiagHistList(); // 특정 환자에 대한 상병이력을 조회한다.
- ]]>
- </script>
- </button>
- <select1 id="cbo_diag" ref="/root/main/item1/clbs/orddiag" class="combo_default" appearance="minimal" editmode="inputsearch" showvalue="true" style="left:56px; top:0px; width:156px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/main/diaghist01/list01/mmohdiag1">
- <label ref="diaghngnm"/>
- <value ref="diagcd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption14" class="cell_1" style="left:1062px; top:31px; width:55px; height:23px; text-align:left; ">청구구분</caption>
- <output id="opt_clamno" ref="/root/main/item1/clbs/clamno" class="output_fix" style="left:1118px; top:55px; width:73px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:1062px; top:55px; width:55px; height:23px; text-align:left; ">청구번호</caption>
- <select1 id="cmb_clamflagcd" ref="/root/main/item1/clbs/clamflagcd" class="combo_default" disabled="true" appearance="minimal" style="left:1118px; top:31px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_judgendstat" ref="/root/main/item1/clbs/judgendyn" class="combo_default" disabled="true" visibility="hidden" appearance="minimal" style="left:1118px; top:80px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0151list/P0151">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <group id="grp_aftamt" style="left:0px; top:744px; width:1194px; height:27px; ">
- <line id="line11" class="line_3" style="x1:0px; y1:2px; x2:1191px; y2:2px; "/>
- <caption id="caption21" style="left:0px; top:4px; width:26px; height:23px; text-align:center; background-color:#ffe79d; ">인수</caption>
- <output id="opt_acptamt" ref="/root/main/item1/clbs/acptamt" class="output_fix" format="#,###" appearance="output" style="left:25px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption23" style="left:171px; top:4px; width:26px; height:23px; text-align:center; background-color:#ffe79d; ">사후</caption>
- <output id="opt_clamamt" ref="/root/main/item1/clbs/clamamt" class="output_fix" format="#,###" appearance="output" style="left:197px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption27" style="left:453px; top:4px; width:38px; height:23px; font-size:10; text-align:center; background-color:#f7a08b; ">심사수정차액</caption>
- <output id="opt_judgdifamt" ref="/root/main/item1/clbs/judgdifamt" class="output_fix" format="(-)#,###" appearance="output" style="left:491px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption28" class="cell_1" style="left:551px; top:4px; width:31px; height:23px; text-align:center; ">본인</caption>
- <output id="opt_ownbamt" ref="/root/main/item1/clbs/ownbamt" class="output_fix" format="#,###" appearance="output" style="left:582px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption36" class="cell_1" style="left:642px; top:4px; width:31px; height:23px; text-align:center; ">청구</caption>
- <output id="opt_insuclamamt" ref="/root/main/item1/clbs/insuclamamt" class="output_fix" format="#,###" appearance="output" style="left:672px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption38" class="cell_1" style="left:732px; top:4px; width:31px; height:23px; text-align:center; ">상한</caption>
- <output id="opt_ownbmaxexamt" ref="/root/main/item1/clbs/ownbmaxexamt" class="output_fix" format="#,###" appearance="output" style="left:762px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption39" class="cell_1" style="left:911px; top:4px; width:31px; height:23px; ">장애</caption>
- <output id="opt_handcaprfund" ref="/root/main/item1/clbs/handcaprfund" class="output_fix" format="#,###" appearance="output" style="left:941px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption40" class="cell_1" style="left:1101px; top:4px; width:31px; height:23px; ">대불</caption>
- <output id="opt_subtamt" ref="/root/main/item1/clbs/subtamt" class="output_fix" format="#,###" appearance="output" style="left:1132px; top:5px; width:59px; height:19px; text-align:right; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:26px; x2:1191px; y2:26px; "/>
- <caption id="caption2" class="cell_1" style="left:822px; top:4px; width:31px; height:22px; ">지원</caption>
- <output id="opt_suppamt" ref="/root/main/item1/clbs/suppamt" class="output_fix" format="#,###" appearance="output" style="left:851px; top:5px; width:60px; height:19px; text-align:right; "/>
- <output id="output1" ref="/root/main/item1/clbs/bfclamamt" class="output_fix" format="#,###" appearance="output" style="left:111px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption10" style="left:85px; top:3px; width:26px; height:23px; text-align:center; background-color:#ffe79d; ">사전</caption>
- <caption id="caption15" style="left:257px; top:3px; width:38px; height:23px; font-size:10; text-align:center; background-color:#ffcc99; ">인수차액총액</caption>
- <output id="output2" ref="/root/main/item1/clbs/bfclamdifamt" class="output_fix" format="(-)#,###" appearance="output" style="left:295px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption16" style="left:355px; top:3px; width:38px; height:23px; font-size:10; text-align:center; background-color:#ffcc99; ">인수차액본인부담</caption>
- <output id="output4" ref="/root/main/item1/clbs/bfowndifamt" class="output_fix" format="(-)#,###" appearance="output" style="left:393px; top:5px; width:60px; height:19px; text-align:right; "/>
- <caption id="caption18" class="cell_1" style="left:1001px; top:4px; width:43px; height:22px; font-size:10; ">약제상한차액총액</caption>
- <output id="output5" ref="/root/main/item1/clbs/totlimitdiffamt" class="output_fix" format="#,###" appearance="output" style="left:1044px; top:5px; width:58px; height:19px; text-align:right; "/>
- </group>
- <input id="ipt_chosindayno" ref="/root/main/item1/clbs/chosindayno" class="input_default" navindex="5" imemode="disabled" _auth="R" style="left:716px; top:80px; width:38px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[내원일수]]>
- </hint>
- </input>
- <input id="ipt_medcaredayno" ref="/root/main/item1/clbs/medcaredayno" class="input_default" navindex="6" imemode="disabled" _auth="R" style="left:757px; top:80px; width:38px; height:19px; text-align:right; ">
- <hint>
- <![CDATA[요양일수]]>
- </hint>
- </input>
- <button id="btn_trgtsrch" class="btn2_letter5" _auth="R" style="left:1117px; top:357px; width:75px; height:19px; ">
- <caption>대상자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOutAftJudgTrgtManPidSrch();
- ]]>
- </script>
- </button>
- <button id="btn_pretrgtman" class="icon_left" _auth="R" style="left:1124px; top:378px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 이전 심사대상 조회
- fClickPrevNext("P");
- ]]>
- </script>
- </button>
- <button id="btn_nexttrgtman" class="icon_right" _auth="R" style="left:1159px; top:378px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 다음 심사대상 조회
- fClickPrevNext("N");
- ]]>
- </script>
- </button>
- <button id="btn_outrcpt" class="btn2_letter5" _auth="R" style="left:1117px; top:619px; width:75px; height:19px; ">
- <caption>외래수납</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) {
- // pam/outordamtmngtweb/xrw/SMPAO00300_외래수납조회.xrw
- // var judgOpenWindow = getChildWindow("SMPAO00300"); // SMPAO00300_외래수납조회.xrw
- // if (judgOpenWindow == null) {
- model.resetInstanceNode("/root/hidden/smpao00300/cond");
- model.setValue("/root/hidden/smpao00300/cond/pid", model.getValue("/root/main/item1/clbs/pid"));
- model.setValue("/root/hidden/smpao00300/cond/orddeptcd", model.getValue("/root/main/item1/clbs/orddeptcd"));
- model.setValue("/root/hidden/smpao00300/cond/insukind", model.getValue("/root/main/item1/clbs/insukindcd"));
- model.setValue("/root/hidden/smpao00300/cond/cond", "1"); // 1:수납일자, 2:진료일자
- model.setValue("/root/hidden/smpao00300/cond/fromdd", model.getValue("/root/main/item1/clbs/indd"));
- model.setValue("/root/hidden/smpao00300/cond/todd", model.getValue("/root/main/item1/clbs/dschdd"));
- model.setValue("/root/hidden/smpao00300/cond/mig_oscl2yn", false);
- model.setValue("/root/hidden/smpao00300/cond/togoyn", false);
- modal("SMPAO00300", "1", "10", "10", "SMPAO00300", "/root/hidden/smpao00300/cond", "/root/send", "", ""); // SMPAO00300_외래수납조회
- // open("SMPAO00300", "2", "10", "10", "SMPAO00300", "/root/hidden/smpao00300/cond", "/root/send", "", ""); // SMPAO00300_외래수납조회
- // } else {
- // activateChild("SMPAO00300");
- // }
- }
- ]]>
- </script>
- </button>
- <button id="btn_patinfodetl" class="btn2_letter5" _auth="R" style="left:1117px; top:662px; width:75px; height:19px; ">
- <caption>환자상세</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) {
- // pam/patinfomngtweb/xrw/SMPMC01900_환자상세내역조회.xrw
- // 환자상세내역조회
- modal("SMPMC01900", "1", "10", "10", "SMPMC01900", "/root/main/item1/clbs/pid", "/root/source/pid", "", ""); // SMPMC01900_환자상세내역조회.xrw
- }
- ]]>
- </script>
- </button>
- <button id="btn_excelsave" class="btn2_letter5" _auth="P" style="left:1117px; top:683px; width:75px; height:19px; ">
- <caption>
- <![CDATA[엑셀&출력]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ans = messageBox("1. 엑셀저장", "S006", "2. 프린터출력|3. 취소"); ///하시려면 예(Yes)\n아니면 아니오(No)
- if (ans == 6) {
- //원내처방 엑셀저장
- if (grd_clodhist.rows > 1) {
- var isSave = false;
- for (var i = grd_clodhist.fixedRows; i < grd_clodhist.rows; i ++ ) {
- if (grd_clodhist.rowHidden(i) == false) {
- isSave = true;
- i = grd_clodhist.rows;
- }
- }
- if (isSave == false) {
- messageBox("처방 필터를 변경하세요. 엑셀저장할 원내처방이", "I004"); ///처방 필터를 변경하세요. 엑셀저장할 원내처방이 없습니다.
- return;
- }
- var fileName = window.fileDialog("save", "", false, "원내처방", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- // grd_clodhist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- // grd_clodhist.saveExcel(fileName, "sheetname:Transaction;colhiddenextend:true;", true, true, "", "", true);
- grd_clodhist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 원내처방이", "I004"); ///엑셀저장할 원내처방이 없습니다.
- }
-
- //원외처방 엑셀저장
- if (grd_oprcphist.rows > 1) {
- var isSave = false;
- for (var i = grd_oprcphist.fixedRows; i < grd_oprcphist.rows; i ++ ) {
- if (grd_oprcphist.rowHidden(i) == false) {
- isSave = true;
- i = grd_oprcphist.rows;
- }
- }
- if (isSave == false) {
- //messageBox("처방 필터를 변경하세요. 엑셀저장할 원외처방이", "I004"); ///처방 필터를 변경하세요. 엑셀저장할 원외처방이 없습니다.
- return;
- }
- var fileName = window.fileDialog("save", "", false, "원외처방", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
- grd_oprcphist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- }
- }
- else if (ans == 7) {
- if (grd_clodhist.rows > 1) {
- // 선택 : 부분출력(예6), 전체출력(아니오7), 취소(취소7)
- // 보고서에 들어갈 내용 담기
- var pid = model.getValue("/root/main/item1/clbs/pid");
- var patnm = model.getValue("/root/main/item1/clbs/patnm");
- var ordfromdd = model.getValue("/root/main/item1/clbs/ordfromdd");
- var ordtodd = model.getValue("/root/main/item1/clbs/ordtodd");
- var insukind = model.getValue("/root/main/item1/clbs/insukindcd");
- var insukindnm = model.getValue("/root/main/item1/clbs/insukindnm");
- var suppkind = model.getValue("/root/main/item1/clbs/suppkindcd");
- var suppkindnm = cmb_supprate.label;
- var iphsfromdd = model.getValue("/root/main/item1/clbs/iphsfromdd"); // 유형시작일
- var diagcd = model.getValue("/root/main/list1/cldi/diagcd") + " (" + model.getValue("/root/main/list1/cldi/diagnm") + ")";
- var ret = messageBox("데이터를 부분출력", "S001"); ///데이터를 부분출력 하시려면 예(Yes)\n아니면 아니오(No)
- if (ret == 6) {
- // 1. 부분출력 (그리드에 선택된 행만 보고서로 전달한다.)
- model.removeNodeset("/root/send/prntlist");
- model.makeNode("/root/send/prntlist");
-
- var idx = 1;
- for (var i = 0; i < grd_clodhist.selectedRows; i++) {
- var row = grd_clodhist.selectedRow(i);
- // 상단 정보
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/pid", pid); // 환자번호
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/patnm", patnm); // 성명
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/indd", ordfromdd); // 진료시작일
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/insukindcd", insukind); // 환자유형
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/insukindnm", insukindnm);
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/suppkindcd", suppkind); // 보조유형
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/suppkindnm", suppkindnm);
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/iphsfromdd", ordtodd); // 진료종료일
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/diagcd", diagcd);
-
- // 리스트
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/edilnno", model.getValue("/root/main/list2/clod["+ row +"]/edilnno")); // 줄
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/item1", model.getValue("/root/main/list2/clod["+ row +"]/ediitem1")); // 항
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/item2", model.getValue("/root/main/list2/clod["+ row +"]/ediitem2")); // 목
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ordfromdd", model.getValue("/root/main/list2/clod["+ row +"]/ordfromdd")); // 처방시작일자
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/grupsnglflag", model.getValue("/root/main/list2/clod["+ row +"]/grupsnglflag")); // G
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/grupcalcscorcd", model.getValue("/root/main/list2/clod["+ row +"]/grupcalcscorcd")); // 그룹코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/matractflag", grd_clodhist.labelMatrix(row, grd_clodhist.colRef("matractflag"))); // 행위재료
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/snglcalcscorcd", model.getValue("/root/main/list2/clod["+ row +"]/snglcalcscorcd")); // 수가코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/basecd", model.getValue("/root/main/list2/clod["+ row +"]/basecd")); // EDI코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/estmcd", model.getValue("/root/main/list2/clod["+ row +"]/estmcd")); // 산정코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/hngnm", model.getValue("/root/main/list2/clod["+ row +"]/hngnm")); // 한글명
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/payflag", grd_clodhist.labelMatrix(row, grd_clodhist.colRef("payflag"))); // 급비
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ediunitcost", model.getValue("/root/main/list2/clod["+ row +"]/ediunitcost")); // 단가
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/edidrugqty", model.getValue("/root/main/list2/clod["+ row +"]/edidrugqty")); // 1회량
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/tims", model.getValue("/root/main/list2/clod["+ row +"]/tims")); // 횟수
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/daydrugqty", model.getValue("/root/main/list2/clod["+ row +"]/daydrugqty")); // 1일량(일투)
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/dayno", model.getValue("/root/main/list2/clod["+ row +"]/dayno")); // 일수(총투)
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ediamt", model.getValue("/root/main/list2/clod["+ row +"]/ediamt")); // 금액
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/cnfmcd", model.getValue("/root/main/list2/clod["+ row +"]/cnfmcd")); // 확인코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ordtodd", model.getValue("/root/main/list2/clod["+ row +"]/ordtodd")); // 처방종료일자
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/updtdd", model.getValue("/root/main/list2/clod["+ row +"]/updtdd")); // 변경일자
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/edihospaddamt", model.getValue("/root/main/list2/clod["+ row +"]/edihospaddamt")); // 병원가산단가
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ediaddamt", model.getValue("/root/main/list2/clod["+ row +"]/ediaddamt")); // 가산단가
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/totordamt", model.getValue("/root/main/list2/clod["+ row +"]/totordamt")); // 진료비총액
- idx++;
- }
- //model.refresh();
- exeReportPreview("RPPID20500", "XMLSTR", "", "", "false", "", "", "", "", "false");
- } else if (ret == 7) {
- // 2. 전체출력 (그리드에 보여지는 내용 전체를 보고서로 전달한다.)
- var isPrint = false;
- model.removeNodeset("/root/send/prntlist");
- model.makeNode("/root/send/prntlist");
-
- var idx = 1;
- for (var i = grd_clodhist.fixedRows; i < grd_clodhist.rows; i ++ ) {
- if (grd_clodhist.rowHidden(i) == false) {
- isPrint = true;
- var row = i;
-
- // 상단 정보
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/pid", pid); // 환자번호
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/patnm", patnm); // 성명
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/indd", ordfromdd); // 진료시작일
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/insukindcd", insukind); // 환자유형
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/insukindnm", insukindnm);
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/suppkindcd", suppkind); // 보조유형
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/suppkindnm", suppkindnm);
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/iphsfromdd", ordtodd); // 진료종료일
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/diagcd", diagcd);
-
- // 리스트
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/edilnno", model.getValue("/root/main/list2/clod["+ row +"]/edilnno")); // 줄
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/item1", model.getValue("/root/main/list2/clod["+ row +"]/ediitem1")); // 항
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/item2", model.getValue("/root/main/list2/clod["+ row +"]/ediitem2")); // 목
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ordfromdd", model.getValue("/root/main/list2/clod["+ row +"]/ordfromdd")); // 처방시작일자
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/grupsnglflag", model.getValue("/root/main/list2/clod["+ row +"]/grupsnglflag")); // G
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/grupcalcscorcd", model.getValue("/root/main/list2/clod["+ row +"]/grupcalcscorcd")); // 그룹코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/matractflag", model.getValue("/root/main/list2/clod["+ row +"]/matractflag")); // 행위재료
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/snglcalcscorcd", model.getValue("/root/main/list2/clod["+ row +"]/snglcalcscorcd")); // 수가코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/basecd", model.getValue("/root/main/list2/clod["+ row +"]/basecd")); // EDI코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/estmcd", model.getValue("/root/main/list2/clod["+ row +"]/estmcd")); // 산정코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/hngnm", model.getValue("/root/main/list2/clod["+ row +"]/hngnm")); // 한글명
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/payflag", model.getValue("/root/main/list2/clod["+ row +"]/payflag")); // 급비
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ediunitcost", model.getValue("/root/main/list2/clod["+ row +"]/ediunitcost")); // 단가
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/edidrugqty", model.getValue("/root/main/list2/clod["+ row +"]/edidrugqty")); // 1회량
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/tims", model.getValue("/root/main/list2/clod["+ row +"]/tims")); // 횟수
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/daydrugqty", model.getValue("/root/main/list2/clod["+ row +"]/daydrugqty")); // 1일량(일투)
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/dayno", model.getValue("/root/main/list2/clod["+ row +"]/dayno")); // 일수(총투)
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ediamt", model.getValue("/root/main/list2/clod["+ row +"]/ediamt")); // 금액
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/cnfmcd", model.getValue("/root/main/list2/clod["+ row +"]/cnfmcd")); // 확인코드
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ordtodd", model.getValue("/root/main/list2/clod["+ row +"]/ordtodd")); // 처방종료일자
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/updtdd", model.getValue("/root/main/list2/clod["+ row +"]/updtdd")); // 변경일자
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/edihospaddamt", model.getValue("/root/main/list2/clod["+ row +"]/edihospaddamt")); // 병원가산단가
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/ediaddamt", model.getValue("/root/main/list2/clod["+ row +"]/ediaddamt")); // 가산단가
- model.makeValue("/root/send/prntlist/prntinfo["+ idx +"]/totordamt", model.getValue("/root/main/list2/clod["+ row +"]/totordamt")); // 진료비총액
- idx++;
- }
- }
- if (isPrint == false) {
- messageBox("처방 필터를 변경하세요. 출력할 처방이", "I004"); ///처방 필터를 변경하세요. 출력할 처방이 없습니다.
- return;
- }
- model.refresh();
- exeReportPreview("RPPID20500", "XMLSTR", "", "", "false", "", "", "", "", "false");
-
- } else {
- // 3. 취소
- return;
- }
- } else {
- messageBox("출력할 처방이", "I004"); ///출력할 처방이 없습니다.
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption46" class="cell_1" style="left:1116px; top:704px; width:75px; height:23px; ">자보한도</caption>
- <output id="opt_paylimamt" ref="/root/main/item1/clbs/paylimamt" class="output_fix" format="#,###" appearance="output" style="left:1115px; top:724px; width:75px; height:19px; text-align:right; "/>
- <button id="btn_autolimit" style="left:1174px; top:707px; width:14px; height:14px; background-image:../../../com/commonweb/images/icon_btn.gif; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var insukind = model.getValue("/root/main/item1/clbs/insukindcd");
- var suppkind = model.getValue("/root/main/item1/clbs/suppkindcd");
-
- if (insukind != "31" && suppkind != "18") {
- messageBox("자보환자중 자손/책임/무보험만 한도잔액조회","I006");
- return;
- }
- model.resetInstanceNode("/root/hidden/sppmc04500/cond");
- model.setValue("/root/hidden/sppmc04500/cond/pid", model.getValue("/root/main/item1/clbs/pid"));
- modal("SPPMC04500", "1", "", "", "SPPMC04500", "/root/hidden/sppmc04500/cond", "/root/send");
- ]]>
- </script>
- </button>
- <button id="btn_maininit" class="btn5_letter5" _auth="R" style="left:1117px; top:510px; width:75px; height:19px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitSrchData(); // 화면을 초기화한다.
-
- // 치식팝업 닫기
- var tootpopwindow = getChildWindow("SPPIZ00600");
- if ( tootpopwindow != null ) { tootpopwindow.close(); }
- model.refresh();
- ]]>
- </script>
- <hint>
- <![CDATA[화면초기화]]>
- </hint>
- </button>
- <group id="grp_clsphist" style="left:483px; top:101px; width:709px; height:168px; ">
- <switch id="swt_spclmemo" class="sw_box" style="left:0px; top:24px; width:709px; height:144px; ">
- <case id="case_spclspec" selected="true">
- <datagrid id="grd_clsphist" nodeset="/root/main/list3/clsp" caption="X^구분^줄^수가코드^한글명^특정내역코드^구분코드^내역^형식^상세설명^initedilnno^oldedilnno^seqno^oldspclcd^clodseqno^원외^교부번호^workflag^spclcd^caption1" colsep="^" colwidth="15, 30, 24, 61, 45, 152, 70, 210, 82, 440, 30, 30, 30, 30, 41, 38, 100, 29, 100, 100" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:2px; top:23px; width:704px; height:118px; ">
- <col ref="rowstat"/>
- <col ref="unitflag" style="text-align:center; "/>
- <col ref="edilnno"/>
- <col ref="snglcalcscorcd"/>
- <col ref="hngnm"/>
- <col id="col01" ref="spclcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0117list/P0117">
- <label ref="cdengabbrnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="cdnm" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="spclspec" type="input"/>
- <col ref="spclformat"/>
- <col ref="detldesc" visibility="hidden"/>
- <col ref="initedilnno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="oldedilnno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="seqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="oldspclcd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="clodseqno" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="clsoyn" style="text-align:center; "/>
- <col ref="mpsno" type="input" visibility="visible" style="text-align:center; "/>
- <col ref="workflag" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="spclcd" visibility="hidden" style="background-color:#c0c0c0; "/>
- <col ref="insntstat" visibility="hidden" style="background-color:#c0c0c0; "/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_clsphist", false, "/root/hidden/popupmenu/gridclsp/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
- // if (event.button != 3) {
- // var row = grd_clsphist.mouseRow;
- // if (grd_clsphist.isCell(event.target) && row >= grd_clsphist.fixedRows) {
- // // 해당 특정코드의 기재형식이 Message 용 output 컨트롤에 표시된다.
- // var spclcd = model.getValue("/root/main/list3/clsp["+ row +"]/spclcd");
- // if (spclcd == "JT001") {
- // var spclspec = model.getValue("/root/main/list3/clsp["+ row +"]/spclspec");
- // var spclformat = model.getValue("/root/main/list3/clsp["+ row +"]/spclformat");
- // model.setValue("/root/hidden/list3/msgspclformat", "확인코드 - "+ spclcd +" / 입력코드내역 : "+ spclspec +" / 기재형식 : "+ spclformat);
- // model.refresh();
- // } else if (spclcd) {
- // var cdnm = model.getValue("/root/main/list3/clsp["+ row +"]/cdnm");
- // var spclspec = model.getValue("/root/main/list3/clsp["+ row +"]/spclspec");
- // var spclformat = model.getValue("/root/main/list3/clsp["+ row +"]/spclformat");
- // model.setValue("/root/hidden/list3/msgspclformat", "특정내역코드: "+ spclcd +" / 특정내역명칭: "+ cdnm +" / 기재내역: "+ spclspec +" / 기재형식: "+ spclformat);
- // model.refresh();
- // }
- // }
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 특정내역 그리드 변경시
- fSpclGridChanged();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- var row = grd_clsphist.mouseRow;
- if (grd_clsphist.isCell(event.target) && row >= grd_clsphist.fixedRows) {
- var rowstatus = grd_clsphist.rowstatus(grd_clsphist.mouseRow);
- if (rowstatus == 0 || rowstatus == 2 || rowstatus == 4) { // DB에 저장된 data인 경우
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclcd")) = true;
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclspec")) = false;
- } else { // 신규로 추가한 경우
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclcd")) = false;
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclspec")) = false;
- var unitflag = model.getValue("/root/main/list3/clsp["+ grd_clsphist.mouseRow +"]/unitflag");
- if (unitflag == "J") {
- if (model.getValue("/root/main/list3/clsp["+ grd_clsphist.mouseRow +"]/spclcd") == "JT001") {
- // 확인코드의 경우 전용 팝업창을 사용하므로 특정내역 Grid에서 수정하지 않는다.
- grd_clsphist.colDisabled(grd_clsphist.colRef("spclcd")) = true;
- grd_clsphist.cellComboNodeset(row, grd_clsphist.colRef("spclcd")) = "/root/init/P0117list/P0117[cdid = 'JT001']";
- } else {
- grd_clsphist.cellComboNodeset(row, grd_clsphist.colRef("spclcd")) = "/root/init/P0117list/P0117[minval = 'J' and cdid != 'JT001']";
- }
- } else {
- grd_clsphist.cellComboNodeset(row, grd_clsphist.colRef("spclcd")) = "/root/init/P0117list/P0117[minval = 'M' and cdid != 'MX999']";
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 특정내역 Grid 에서 선택한 줄단위 특정내역을 조회하고, 명세서단위 특정내역을 수정/입력한다.
- if (grd_clsphist.isCell(event.target) && grd_clsphist.mouseRow >= grd_clsphist.fixedRows) {
- var row = grd_clsphist.mouseRow;
- if (model.getValue("/root/main/list3/clsp["+ row +"]/spclcd") == "JT001") {
- fSetCnfmCdSpclSpec();
- } else {
- if (model.getValue("/root/main/list3/clsp["+ row +"]/clsoyn") == "N") {
- fSetDocRefLnSpclSpec(); // 명세서 특정내역
- } else {
- fSetLnUnitClsoSpclSpec("grd_clsphist"); // 원외처방 특정내역
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- // col@type = "input" 일 경우 onentercell시점에 EditMode 상태 만들기
- if (event.button != 3 && grd_clsphist.colType(grd_clsphist.col) == "input") {
- grd_clsphist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- // if (event.button != 3) {
- var row = grd_clsphist.mouseRow;
- if (grd_clsphist.isCell(event.target) && row >= grd_clsphist.fixedRows) {
- // 해당 특정코드의 기재형식이 Message 용 output 컨트롤에 표시된다.
- var spclcd = model.getValue("/root/main/list3/clsp["+ row +"]/spclcd");
- if (spclcd == "JT001") {
- var spclspec = model.getValue("/root/main/list3/clsp["+ row +"]/spclspec");
- var spclformat = model.getValue("/root/main/list3/clsp["+ row +"]/spclformat");
- model.setValue("/root/hidden/list3/msgspclformat", "확인코드 - "+ spclcd +" / 입력코드내역 : "+ spclspec +" / 기재형식 : "+ spclformat);
- opt_msgspclformat.refresh();
- } else if (spclcd) {
- var cdnm = model.getValue("/root/main/list3/clsp["+ row +"]/cdnm");
- var spclspec = model.getValue("/root/main/list3/clsp["+ row +"]/spclspec");
- var spclformat = model.getValue("/root/main/list3/clsp["+ row +"]/spclformat");
- model.setValue("/root/hidden/list3/msgspclformat", "특정내역코드: "+ spclcd +" / 특정내역명칭: "+ cdnm +" / 기재내역: "+ spclspec +" / 기재형식: "+ spclformat);
- opt_msgspclformat.refresh();
- }
- }
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- // 그리드 내용 복사
- if (grd_clsphist.selectedRows == 1) { // 한줄
- var row = grd_clsphist.row;
- var col = grd_clsphist.col;
- if (col == grd_clsphist.colRef("snglcalcscorcd")) {
- // EDI코드
- // var clip = grd_clsphist.valueMatrix(row, col);
- var clip = grd_clsphist.labelMatrix(row, col);
- // var clip = grd_clsphist.labelMatrix(grd_clsphist.mouseRow, grd_clsphist.mouseCol);
- window.clipBoardData = clip;
- } else {
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- }
- else if (grd_clsphist.selectedRows > 1) { // 여러줄
- grid_oncopy(); // (tfHelper.js) window.clipBoardData 복사 기능
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_spcldetl" class="btn2_letter4" _auth="X" style="left:576px; top:3px; width:64px; height:19px; ">
- <caption>코드조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_clsphist.row;
- var spclcd = model.getValue("/root/main/list3/clsp["+ row +"]/spclcd");
- model.setValue("/root/hidden/sppiz01400/cond/srchcond", spclcd);
- model.removeNodeset("/root/hidden/sppiz01400/rslt");
- modal("SPPIZ01400", "1", "10", "10", "SPPIZ01400", "/root/hidden/sppiz01400/cond", "/root/send", "", ""); // SPPIZ01400_특정내역코드상세조회.xrw
- if (model.getValue("/root/hidden/sppiz01400/rslt/spclcd")) {
- fSpclGridInsertRow(); // 특정내역 Grid 마우스 오른쪽 버튼 클릭시 팝업 메뉴 "행 추가"
- var clsprow = grd_clsphist.row;
- //copyNode 로 복사하는 경우에는 특정내역Grid의 모든 필드를 전달해야 함
- //model.copyNode("/root/main/list3/clsp["+ clsprow +"]", "/root/hidden/sppiz01400/rslt");
- model.setValue("/root/main/list3/clsp["+ clsprow +"]/spclcd", model.getValue("/root/hidden/sppiz01400/rslt/spclcd"));
- model.setValue("/root/main/list3/clsp["+ clsprow +"]/cdnm", model.getValue("/root/hidden/sppiz01400/rslt/cdnm"));
- model.setValue("/root/main/list3/clsp["+ clsprow +"]/spclspec", model.getValue("/root/hidden/sppiz01400/rslt/spclspec"));
- model.setValue("/root/main/list3/clsp["+ clsprow +"]/spclformat", model.getValue("/root/hidden/sppiz01400/rslt/spclformat"));
- model.setValue("/root/main/list3/clsp["+ clsprow +"]/detldesc", model.getValue("/root/hidden/sppiz01400/rslt/detldesc"));
- // 특정내역 줄번호/특정코드에 따라 sorting 작업
- fSortSpclNo();
- //model.refresh();
- grd_clsphist.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_addspec" class="btn2_letter4" _auth="X" style="left:642px; top:3px; width:64px; height:19px; ">
- <caption>내역추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_clsphist.row;
- if (row > 0) {
- if (model.getValue("/root/main/list3/clsp["+ row +"]/spclcd") == "JT001") {
- fSetCnfmCdSpclSpec();
- } else {
- fSetDocRefLnSpclSpec();
- }
- } else { // 특정내역 Grid에서 선택한 row가 없는 경우임
- var clamym = model.getValue("/root/main/item1/clbs/clamym");
- if (clamym) { // 조회된 심사대상자가 있으면
- var rdounitflag = model.getValue("/root/hidden/list3/selectedUnitFlag");
- if (rdounitflag == "-" || rdounitflag == "M") {
- fSpclGridInsertRow(); // 특정내역 Grid 마우스 오른쪽 버튼 클릭시 팝업 메뉴 "행 추가"
- fSetDocRefLnSpclSpec();
- } else {
- if (grd_clodhist.row > 0) {
- fSetLnUnitSpclSpec(); // 'T' 필드 더블클릭시 호출한다.
- } else {
- messageBox("특정내역을 추가할 줄번호를 먼저", "C002"); ///특정내역을 추가할 줄번호를 먼저 선택하십시오.
- }
- }
- }
- }
- ]]>
- </script>
- </button>
- <select1 id="rdo_unitflag" ref="/root/hidden/list3/selectedUnitFlag" appearance="full" cols="4" _auth="X" overflow="visible" style="left:5px; top:4px; width:222px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>명단위</label>
- <value>M</value>
- </item>
- <item>
- <label>줄단위</label>
- <value>J</value>
- </item>
- <item>
- <label>처방주석</label>
- <value>JX999</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 특정내역 Radio button
- fSelectSpclRadio();
- ]]>
- </script>
- </select1>
- </case>
- <case id="case_judgrmemo">
- <textarea id="tar_judgrmemo" ref="/root/main/item1/memo/judgmemo" style="left:5px; top:27px; width:698px; height:109px; vertical-align:top; ">
- <hint>
- <![CDATA[심사자 메모]]>
- </hint>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- tar_judgrmemo.attribute("_selectionText") = tar_judgrmemo.selectionText;
- ]]>
- </script>
- </textarea>
- <button id="btn_memohistory" class="btn2_letter5" _auth="X" style="left:5px; top:5px; width:75px; height:19px; ">
- <caption>심사자메모</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("1", "");
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_drug" class="btn2_letter2" _auth="X" style="left:83px; top:5px; width:42px; height:19px; ">
- <caption>약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("1", "01"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_injection" class="btn2_letter2" _auth="X" style="left:128px; top:5px; width:42px; height:19px; ">
- <caption>주사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("1", "02"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_treat" class="btn2_letter2" _auth="X" style="left:173px; top:5px; width:42px; height:19px; ">
- <caption>처치</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("1", "03"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_exam" class="btn2_letter2" _auth="X" style="left:218px; top:5px; width:42px; height:19px; ">
- <caption>검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("1", "04"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memohistory_etc" class="btn2_letter2" _auth="X" style="left:263px; top:5px; width:42px; height:19px; ">
- <caption>기타</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("1", "99"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_clearjudgrmemo" class="btn5_letter3" _auth="X" style="left:561px; top:5px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/item1/memo/judgmemo");
- model.refreshpart("/root/main/item1/memo/judgmemo");
- ]]>
- </script>
- </button>
- <button id="btn_toclammemo" class="btn5_letter7" _auth="X" style="left:461px; top:5px; width:97px; height:19px; ">
- <caption>청구메모로 전달</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var memo = model.getValue("/root/main/item1/memo/edimemo");
- if (memo) {
- // var seletedMemo = tar_judgrmemo.selectionText;
- var seletedMemo = tar_judgrmemo.attribute("_selectionText");
- if (seletedMemo) {
- memo += " \n"+ seletedMemo;
- } else {
- var judgmemo = model.getValue("/root/main/item1/memo/judgmemo");
- if (judgmemo) {
- memo += " \n"+ model.getValue("/root/main/item1/memo/judgmemo");
- }
- }
- } else {
- // var seletedMemo = tar_judgrmemo.selectionText;
- var seletedMemo = tar_judgrmemo.attribute("_selectionText");
- if (seletedMemo) {
- memo = seletedMemo;
- } else {
- memo = model.getValue("/root/main/item1/memo/judgmemo");
- }
- }
- model.setValue("/root/main/item1/memo/edimemo", memo);
- model.refreshpart("/root/main/item1/memo/edimemo");
- btn_ediclammemo.selected = true;
- case_ediclammemo.selected = true;
- model.toggle("case_ediclammemo"); // 해당 tab 으로 토글시킨다.
- ]]>
- </script>
- </button>
- <button id="btn_judgmemorepeat" class="btn2_letter6" visibility="hidden" _auth="X" style="left:617px; top:5px; width:86px; height:19px; ">
- <caption>심사메모반복</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var judgmemorepeat = model.getValue("/root/main/item1/memo/judgmemorepeat");
- if (judgmemorepeat == "R") {
- judgmemorepeat = "";
- btn_judgmemorepeat.attribute("class") = "btn2_letter6"; // 표준에서 정한 기본 버튼으로 설정
- } else {
- judgmemorepeat = "R";
- btn_judgmemorepeat.attribute("class") = "btn5_letter6";
- btn_judgmemorepeat.attribute("color") = "#cc3333"; //#ff0066"; // 해당 정보가 있는 경우 버튼 색 변경 // cc3333=붉은색
- }
- model.setValue("/root/main/item1/memo/judgmemorepeat", judgmemorepeat);
- ]]>
- </script>
- </button>
- </case>
- <case id="case_ediclammemo">
- <textarea id="tar_ediclammemo" ref="/root/main/item1/memo/edimemo" style="left:5px; top:27px; width:698px; height:109px; vertical-align:top; ">
- <hint>
- <![CDATA[EDI 청구메모]]>
- </hint>
- </textarea>
- <button id="btn_memoedi" class="btn2_letter5" _auth="X" style="left:5px; top:5px; width:75px; height:19px; ">
- <caption>EDI 메모</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("2", "");
- ]]>
- </script>
- </button>
- <button id="btn_memoedi_drug" class="btn2_letter2" _auth="X" style="left:83px; top:5px; width:42px; height:19px; ">
- <caption>약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("2", "01"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memoedi_injection" class="btn2_letter2" _auth="X" style="left:128px; top:5px; width:42px; height:19px; ">
- <caption>주사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("2", "02"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memoedi_treat" class="btn2_letter2" _auth="X" style="left:173px; top:5px; width:42px; height:19px; ">
- <caption>처치</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("2", "03"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memoedi_exam" class="btn2_letter2" _auth="X" style="left:218px; top:5px; width:42px; height:19px; ">
- <caption>검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("2", "04"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_memoedi_etc" class="btn2_letter2" _auth="X" style="left:263px; top:5px; width:42px; height:19px; ">
- <caption>기타</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("2", "99"); // memocls - 메모분류(01:약, 02:주사, 03:처치, 04:검사, 99:기타)
- ]]>
- </script>
- </button>
- <button id="btn_clearediclammemo" class="btn5_letter3" _auth="X" style="left:561px; top:5px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/item1/memo/edimemo");
- model.refresh("/root/main/item1/memo/edimemo");
- ]]>
- </script>
- </button>
- <button id="btn_edimemorepeat" class="btn2_letter6" visibility="hidden" _auth="X" style="left:617px; top:5px; width:86px; height:19px; ">
- <caption>EDI메모반복</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var edimemorepeat = model.getValue("/root/main/item1/memo/edimemorepeat");
- if (edimemorepeat == "R") {
- edimemorepeat = "";
- btn_edimemorepeat.attribute("class") = "btn2_letter6"; // 표준에서 정한 기본 버튼으로 설정
- } else {
- edimemorepeat = "R";
- btn_edimemorepeat.attribute("class") = "btn5_letter6";
- btn_edimemorepeat.attribute("color") = "#cc3333"; //#ff0066"; // 해당 정보가 있는 경우 버튼 색 변경 // cc3333=붉은색
- }
- model.setValue("/root/main/item1/memo/edimemorepeat", edimemorepeat);
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="btn_spclspec" class="btn_sw" group="tab" selected="true" style="left:0px; top:3px; width:85px; height:22px; ">
- <caption>특정내역</caption>
- <!--
- <toggle case="case_spclspec" ev:event="onclick"/>
- -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGeCaseSelect("case_spclspec", true);
- ]]>
- </script>
- </button>
- <button id="btn_judgrmemo" class="btn_sw" group="tab" style="left:84px; top:3px; width:85px; height:22px; ">
- <caption>심사자메모</caption>
- <!--
- <toggle case="case_judgrmemo" ev:event="onclick"/>
- -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGeCaseSelect("case_judgrmemo", false);
- ]]>
- </script>
- </button>
- <button id="btn_ediclammemo" class="btn_sw" group="tab" style="left:168px; top:3px; width:85px; height:22px; ">
- <caption>EDI 메모</caption>
- <!--
- <toggle case="case_ediclammemo" ev:event="onclick"/>
- -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGeCaseSelect("case_ediclammemo", false);
- ]]>
- </script>
- </button>
- <button id="btn_mt0004" class="btn2_letter4" _auth="X" style="left:513px; top:4px; width:64px; height:19px; ">
- <caption>MT004</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetSpclMT004(); // 특정내역 중 MT004 내역을 설정한다.
- ]]>
- </script>
- </button>
- <button id="btn_attData" class="btn2_letter4" _auth="X" style="left:579px; top:4px; width:64px; height:19px; ">
- <caption>소명자료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetAttachedDataList(); // 특정내역 중 MT015, MT016 내역을 조회하여 "소명자료" Btn (첨부물 자료관리) Popup 화면에 표시한다.
- ]]>
- </script>
- </button>
- <button id="btn_memohist" class="btn2_letter4" _auth="X" style="left:645px; top:4px; width:64px; height:19px; ">
- <caption>메모이력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMemoHistList(); // 특정 환자에 대해 그동안 작성된 심사자메모, 청구메모 내역을 조회한다.
- ]]>
- </script>
- </button>
- <select id="chk_JT001" ref="/root/chkJT001" class="check_fSetDelOrdPreDocuSizesearch" overflow="visible" appearance="full" style="left:404px; top:30px; width:90px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>JT001 제외</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rdo_unitflag.dispatch("xforms-select"); //20091013 JT001 제외 기능 추가 - 박창원
- ]]>
- </script>
- </select>
- <output id="opt_preresncd" ref="/root/main/item1/clbs/preresncd" class="output_fix" style="left:325px; top:4px; width:30px; height:19px; "/>
- <output id="opt_preresncdnm" ref="/root/main/item1/clbs/preresncdnm" class="output_fix" style="left:357px; top:4px; width:154px; height:19px; ">
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- opt_preresncdnm.hint = model.getValue("/root/main/item1/clbs/preresncdnm");
- ]]>
- </script>
- </output>
- <button id="btn_preresncd" class="btn2_letter4" style="left:259px; top:4px; width:64px; height:19px; ">
- <caption>반송사유</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- messageBox( "반송사유 : "
- + model.getValue("/root/main/item1/clbs/preresncd") + " - "
- + model.getValue("/root/main/item1/clbs/preresncdnm") + "\n\n"
- + "수신비고 : "
- + model.getValue("/root/main/item1/clbs/preresntext")
- , "I009");
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_histref" class="btn2_letter4" _auth="R" style="left:416px; top:5px; width:64px; height:19px; ">
- <caption>이력조회</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_histref.disabled == false) {
- model.toggle("histref");
- grp_dropdownmenu.attribute("left") = btn_histref.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_histref.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_patinfo" class="btn2_letter4" _auth="R" style="left:481px; top:5px; width:64px; height:19px; ">
- <caption>환자정보</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_patinfo.disabled == false) {
- model.toggle("patinfo");
- grp_dropdownmenu.attribute("left") = btn_patinfo.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_patinfo.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_qualinfo" class="btn2_letter4" _auth="R" style="left:546px; top:5px; width:64px; height:19px; ">
- <caption>자격정보</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_qualinfo.disabled == false) {
- model.toggle("qualinfo");
- grp_dropdownmenu.attribute("left") = btn_qualinfo.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_qualinfo.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_prcpref" class="btn2_letter4" _auth="R" style="left:611px; top:5px; width:64px; height:19px; ">
- <caption>처방조회</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_prcpref.disabled == false) {
- model.toggle("prcpref");
- grp_dropdownmenu.attribute("left") = btn_prcpref.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_prcpref.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_mediinfo" class="btn2_letter4" _auth="R" style="left:676px; top:5px; width:64px; height:19px; ">
- <caption>투약정보</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_mediinfo.disabled == false) {
- model.toggle("mediinfo");
- grp_dropdownmenu.attribute("left") = btn_mediinfo.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_mediinfo.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_rsltsrch" class="btn2_letter4" _auth="R" style="left:741px; top:5px; width:64px; height:19px; ">
- <caption>결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOrderRsltSrch();
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- }
- ]]>
- </script>
- </button>
- <button id="btn_ordamt" class="btn2_letter3" _auth="R" style="left:806px; top:5px; width:53px; height:19px; ">
- <caption>진료비</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_ordamt.disabled == false) {
- model.toggle("ordamt");
- grp_dropdownmenu.attribute("left") = btn_ordamt.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_ordamt.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_etcref" class="btn2_letter4" _auth="R" style="left:860px; top:5px; width:64px; height:19px; ">
- <caption>각종조회</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_etcref.disabled == false) {
- model.toggle("etcref");
- grp_dropdownmenu.attribute("left") = btn_etcref.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_etcref.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_emr" class="btn2_letter2" _auth="R" style="left:925px; top:5px; width:42px; height:19px; ">
- <caption>EMR</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_emr.disabled == false) {
- model.toggle("emr");
- grp_dropdownmenu.attribute("left") = btn_emr.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_emr.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_erroomref" class="btn2_letter5" _auth="R" style="left:968px; top:5px; width:75px; height:19px; ">
- <caption>응급실정보</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_erroomref.disabled == false) {
- model.toggle("erroomref");
- grp_dropdownmenu.attribute("left") = btn_erroomref.attribute("left");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = btn_erroomref.attribute("left");
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_trnptinforef" class="btn2_letter4" _auth="R" style="left:1044px; top:5px; width:64px; height:19px; ">
- <caption>이식정보</caption>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- if (btn_trnptinforef.disabled == false) {
- model.toggle("trnptinforef");
- grp_dropdownmenu.attribute("left") = parseInt(btn_trnptinforef.attribute("left")) + parseInt(btn_trnptinforef.attribute("width")) - parseInt(grp_dropdownmenu.attribute("width"));
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grp_dropdownmenu.visible == true) {
- grp_dropdownmenu.visible = false;
- } else {
- grp_dropdownmenu.attribute("left") = parseInt(btn_trnptinforef.attribute("left")) + parseInt(btn_trnptinforef.attribute("width")) - parseInt(grp_dropdownmenu.attribute("width"));
- grp_dropdownmenu.visible = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_patspcfyn" style="left:77px; top:9px; width:14px; height:14px; background-image:../../../com/commonweb/images/icon_btn.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // pam/patinfomngtweb/xrw/SMPMC01300_특이환자관리.xrw
- model.resetInstanceNode("/root/hidden/smpmc01300/cond");
- model.resetInstanceNode("/root/hidden/smpmc01300/rslt");
- model.setValue("/root/hidden/smpmc01300/cond/srchcond", 1);
- model.setValue("/root/hidden/smpmc01300/cond/pid", model.getValue("/root/main/item1/clbs/pid"));
- modal("SMPMC01300", "1", "", "", "SMPMC01300", "/root/hidden/smpmc01300/cond", "/root/source");
- var indd = model.getValue("/root/main/item1/clbs/indd");
- if (indd) {
- // SMPMC01300_특이환자관리 팝업에서 특이내역을 추가,삭제한 경우 결과를 표시하기 위해
- model.setValue("/root/hidden/smpmc01300/cond/acptdd", indd);
- submit("TRPID20308");
- var patspcfyn = model.getValue("/root/hidden/smpmc01300/rslt/patspcfyn");
- model.setValue("/root/main/item1/clbs/patspcfyn", patspcfyn);
- // 특이환자 버튼 설정
- if (model.getValue("/root/main/item1/clbs/patspcfyn") == "Y") {
- btn_patspcfyn.attribute("background-image") = "../../../com/commonweb/images/icon_btn_s.gif"; // 주황색
- } else {
- btn_patspcfyn.attribute("background-image") = "../../../com/commonweb/images/icon_btn.gif"; // 파란색
- }
- //model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_closepredocupopup" class="btn4_letter2" style="left:1115px; top:720px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <img id="img_msg" visibility="hidden" src="../../../com/commonweb/images/icon_input.gif" style="left:1174px; top:7px; width:16px; height:15px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 등록번호가 존재하면(환자가 조회되었다는 판단에 의해) 간편조회 열기
- if (model.getValue("/root/main/item1/clbs/pid") != "" &&
- model.getValue("/root/main/item1/clbs/pid") != " " &&
- model.getValue("/root/main/item1/clbs/pid") != "-" &&
- model.getValue("/root/main/item1/clbs/pid") != null ){
- // SMPIJ00300.js 환자전체 메세지 내용 간편조회
- fJudgPatMsgTrsmRef();
- }
- ]]>
- </script>
- </img>
- <button id="button6" accesskey="F8" class="btn5_letter5" visibility="hidden" _auth="X" style="left:1117px; top:430px; width:75px; height:19px; ">
- <caption>완료 F8</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (button6.disabled == false ){
- fGetNextAftJudgTrgtMan("C"); // P0151 (사후심사-심사완료여부) C: 심사완료
- } else {
- messageBox("비활성 상태입니다. 진행","E001");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[F8]]>
- </hint>
- </button>
- <select1 id="cmb_rarecancermsg" ref="/root/hidden/rarecancermsg/msg" visibility="hidden" appearance="minimal" style="left:95px; top:5px; width:320px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/rarecancermsglist/rarecancermsg">
- <label ref="msg"/>
- <value ref="msg"/>
- </itemset>
- </choices>
- </select1>
- <button id="button3" class="btn2_letter4" style="left:1109px; top:5px; width:64px; height:19px; ">
- <caption>삭감처방</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- setParameter("openflag", 'O');
- setParameter("pid", model.getvalue("/root/main/item1/clbs/pid"));
-
- open("SMPIS00600", "", "50", "50" ,"SMPIS00600", "", "");
- ]]>
- </script>
- </button>
- <input id="ipt_rareobstflag" ref="/root/main/item1/clbs/rareobstflag" style="left:455px; top:79px; width:24px; height:19px; border-style:solid; "/>
- <input id="ipt_paygrntno" ref="/root/main/item1/clbs/paygrntno" class="input_default" navindex="9" maxlength="30" _auth="R" style="left:1118px; top:80px; width:73px; height:19px; ">
- <hint>
- <![CDATA[자보 지급보증번호]]>
- </hint>
- </input>
- </group>
- <group id="grp_dropdownmenu" visibility="hidden" style="left:490px; top:40px; width:181px; height:321px; border-color:#c7a3cf; border-style:solid; ">
- <button id="btn_closedropdownmenu" class="btn4_letter2" style="left:120px; top:294px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_dropdownmenu.visible = false;
- ]]>
- </script>
- </button>
- <switch id="swt_dropdownmenu" class="sw_box" style="left:-1px; top:-1px; width:179px; height:289px; ">
- <case id="histref" style="left:0px; top:0px; width:177px; height:287px; ">
- <line id="line50" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption133" class="tit_2" style="left:6px; top:4px; width:129px; height:13px; ">이력조회</caption>
- <treeview id="trv_histref" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>이력조회</label>
- <value/>
- <item>
- <label>환자진료정보</label>
- <value>SMMMO02500</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>환자상세내역</label>
- <value>SMPMC01900</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>외래등록조회</label>
- <value>SMPMO00600</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>청구및자료수집이력</label>
- <value>SMPIS00100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>계산처방시행조회</label>
- <value>SMPIS00500</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>청구삭감조회</label>
- <value>SMPIS00600</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_histref.selectedIndex;
- var view = trv_histref.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_histref.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- <case id="patinfo">
- <line id="line2" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption41" class="tit_2" style="left:6px; top:4px; width:129px; height:13px; ">환자정보</caption>
- <treeview id="trv_patinfo" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_patinfo.selectedIndex;
- var view = trv_patinfo.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_patinfo.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- <item>
- <label>환자정보</label>
- <value/>
- <item>
- <label>입원의뢰서</label>
- <value>SPMMO00100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>카덱스조회</label>
- <value>SMMNB00200</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>병기분류조회</label>
- <value>SPMMO08500</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>중증등록신청서</label>
- <value>SMMRD00200</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>중증등록사항</label>
- <value>SPMRD00900</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>희귀난치등록신청서</label>
- <value>SMMRD02000</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>휘귀난치등록사항</label>
- <value>SPMRD02100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>병원감염대상자기록</label>
- <value>SMASI00100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>환자별영양관리</label>
- <value>SMANC00300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>피부욕창기록</label>
- <value>SMMNW04700</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>중증도및위험사정</label>
- <value>SMMNW04000</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>투석간호정보</label>
- <value>SMMND00300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>항암제투여현황</label>
- <value>SMPIJ02900</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- </treeview>
- </case>
- <case id="qualinfo">
- <line id="line10" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption42" class="tit_2" style="left:6px; top:4px; width:129px; height:13px; ">자격정보</caption>
- <treeview id="trv_qualinfo" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>자격정보</label>
- <value/>
- <item>
- <label>환자기본정보관리</label>
- <value>SMPMC01400</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>재원변경관리</label>
- <value>SMPMI00400</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>자보환자관리</label>
- <value>SMPMC02600</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>산재공상환자관리</label>
- <value>SMPMC02700</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>장애인환자관리</label>
- <value>SMPMC01700</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>선택진료관리</label>
- <value>SMPMC06500</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_qualinfo.selectedIndex;
- var view = trv_qualinfo.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_qualinfo.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- <case id="prcpref">
- <line id="line13" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption43" class="tit_2" style="left:6px; top:4px; width:129px; height:13px; ">처방조회</caption>
- <treeview id="trv_prcpref" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>처방조회</label>
- <value/>
- <item>
- <label>처방상태조회</label>
- <value>SMPIJ01200</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>식사력조회</label>
- <value>SMANT01000</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>수혈조회</label>
- <value>SMMNR01000</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>수혈현황조회</label>
- <value>SMMNR04600</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>검사진행현황</label>
- <value>SMAEA00500</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>개인별예약현황</label>
- <value>SMAEA00300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>CRRT 내역</label>
- <value>SMMNW09100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>미수행처방관리</label>
- <value>SMPIJ01700</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>시행부서처방</label>
- <value>SMMMO00200</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>판독신청</label>
- <value>SMAEF00100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>수혈심사</label>
- <value>SPPIZ01800</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>처방조회</label>
- <value>SPMMO14900</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>특수조제실처방조회</label>
- <value>SMADT20100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>병리조직결과조회</label>
- <value>SMLPP00500</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_prcpref.selectedIndex;
- var view = trv_prcpref.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_prcpref.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- <case id="mediinfo">
- <line id="line14" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption44" class="tit_2" style="left:6px; top:4px; width:129px; height:13px; ">투약정보</caption>
- <treeview id="trv_mediinfo" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>투약정보</label>
- <value/>
- <item>
- <label>투약이력</label>
- <value>SPMMO02400</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>투약기록</label>
- <value>SMMNR04500</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>제한항생제</label>
- <value>SMASI00800</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>항암프로토콜</label>
- <value>SMADB01020</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>주사실액팅조회</label>
- <value>SMMNI00400</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_mediinfo.selectedIndex;
- var view = trv_mediinfo.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_mediinfo.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- <case id="ordamt">
- <line id="line15" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption45" class="tit_2" style="left:6px; top:4px; width:129px; height:13px; ">진료비</caption>
- <treeview id="trv_ordamt" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>진료비</label>
- <value/>
- <item>
- <label>진료비누적(사후)</label>
- <value>SPPID21300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>입원진료비상세</label>
- <value>SMPAI00200</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>외래수납조회</label>
- <value>SMPAO00300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>외래처방계산내역조회</label>
- <value>SMPMOTMP00</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>예상진료비조회</label>
- <value>SMPAI00400</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>급종변경전후금액조회</label>
- <value>SMPAI03600</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_ordamt.selectedIndex;
- var view = trv_ordamt.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_ordamt.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- <case id="etcref">
- <line id="line16" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption47" class="tit_2" style="left:6px; top:4px; width:129px; height:13px; ">각종조회</caption>
- <treeview id="trv_etcref" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>각종조회</label>
- <value/>
- <item>
- <label>약품편람</label>
- <value>SMADB01900</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>의약품정보조회</label>
- <value>SMADB00100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>수가관리</label>
- <value>SMPIC00100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>수가세부조회</label>
- <value>SMPIC00700</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>보험인정기준</label>
- <value>SPPIZ01600</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>격리신청서</label>
- <value>SMASB02100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>수술마취스케줄조회</label>
- <value>SMMMO05100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>수술마취의뢰서등록</label>
- <value>SPMMO00200</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>입원/퇴원/재원조회</label>
- <value>SMPMI00700</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>임상시험약속처방</label>
- <value>SMMMB00200</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>신규항암프로토콜조회</label>
- <value>SMADB00900</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>보험유형코드관리</label>
- <value>SMPMB00200</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>CP검색</label>
- <value>SPMMP01200_CP</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_etcref.selectedIndex;
- var view = trv_etcref.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_etcref.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- <case id="emr">
- <line id="line17" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption49" class="tit_2" style="left:6px; top:4px; width:54px; height:13px; ">EMR</caption>
- <treeview id="trv_emr" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>EMR</label>
- <value/>
- <item>
- <label>입퇴원요약기록지</label>
- <value>SSMMR01100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>경과기록지</label>
- <value>SSMMR01100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>CONSULT</label>
- <value>SMMMR05000</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>임상관찰기록지</label>
- <value>SMMNR00900</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>혈당간호기록</label>
- <value>SMMNR02500</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>통합기록전체조회</label>
- <value>SMMRI00400</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_emr.selectedIndex;
- var view = trv_emr.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_emr.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- <case id="erroomref">
- <line id="line18" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption50" class="tit_2" style="left:6px; top:4px; width:54px; height:13px; ">응급실정보</caption>
- <treeview id="trv_erroomref" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>응급실정보</label>
- <value/>
- <item>
- <label>ERcensus</label>
- <value>SMMNE01300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>응급실triage</label>
- <value>SPMNE04400</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>응급의료관리료</label>
- <value>SMMMO06300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>응급간호기록</label>
- <value>SMMNE04300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_erroomref.selectedIndex;
- var view = trv_erroomref.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_erroomref.item(select).value;
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- <case id="trnptinforef" selected="true">
- <line id="line20" class="line_1" style="x1:0px; y1:19px; x2:175px; y2:19px; "/>
- <caption id="caption53" class="tit_2" style="left:6px; top:4px; width:54px; height:13px; ">이식정보</caption>
- <treeview id="trv_trnptinforef" expanddepth="3" itemsettype="depth" style="left:0px; top:25px; width:175px; height:260px; ">
- <item>
- <label>이식정보</label>
- <value/>
- <item>
- <label>HSCT원무관리</label>
- <value>SMPMC01600</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>HSCT스케줄조회</label>
- <value>SMABO00800</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>HSCT환자별스케줄</label>
- <value>SMMMR02100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>조혈모처리현황</label>
- <value>SMABC00900</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>HSCT환자관리</label>
- <value>SMABO00100</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>조혈모보관해동현황</label>
- <value>SMABC00300</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- <item>
- <label>장기이식</label>
- <value>SMPIB02400</value>
- <image>../../../com/commonweb/images/tree_bullet.gif</image>
- </item>
- </item>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var select = trv_trnptinforef.selectedIndex;
- var view = trv_trnptinforef.item(select);
- if (view == null) return;
-
- var trgtWindow = trv_trnptinforef.item(select).value;
-
- // 트리뷰 조회 ( 타메뉴조회시 )
- fTrvOnClick(trgtWindow);
- ]]>
- </script>
- </treeview>
- </case>
- </switch>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption4" class="tit_1" style="left:0px; top:0px; width:93px; height:13px; ">사후외래심사</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|