SMPIB00400_보험인정기준코드관리.xfdl 201 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIB00400" position="absolute 0 0 1203 815" titletext="보험인정기준코드관리(SMPIB00400)" oninit="SMPIB00400_oninit" onload="SMPIB00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 24 252 209" id="group2" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Static text="적용일 :" position="absolute 11 15 86 32" align="align:center middle;" id="caption1" class="search_name" anchor="default"/>
  11. <Div position="absolute 69 35 195 80" id="group4" anchor="default">
  12. <Layouts>
  13. <Layout>
  14. <Radio position="absolute 10 3 121 38" id="radio1" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group2_group4_radio1_onitemchanged">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">%</Col>
  23. <Col id="datacolumn">전체</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">3</Col>
  27. <Col id="datacolumn">행위</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">2</Col>
  31. <Col id="datacolumn">재료</Col>
  32. </Row>
  33. <Row>
  34. <Col id="codecolumn">1</Col>
  35. <Col id="datacolumn">약</Col>
  36. </Row>
  37. </Rows>
  38. </Dataset>
  39. </Radio>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Button position="absolute 129 159 185 181" id="btn_ref" class="btn1" text="조회" anchor="default" onclick="group2_btn_ref_onclick"/>
  44. <Button position="absolute 189 159 245 181" id="button2" class="btn7" text="엑셀" anchor="default" onclick="group2_button2_onclick"/>
  45. <Static text="구분자 :" position="absolute 11 40 86 57" align="align:center middle;" id="caption3" class="search_name" anchor="default"/>
  46. <Calendar position="absolute 80 14 180 33" id="ipt_aplydd" class="input_search" anchor="default" dateformat="yyyy-MM-dd" value="null" onchanged="group2_ipt_aplydd_onchanged"/>
  47. <Static text="단 가 :" position="absolute 11 80 86 97" align="align:center middle;" id="caption22" class="search_name" anchor="default"/>
  48. <MaskEdit position="absolute 80 80 155 99" id="ipt_unitcost" class="input_search" mask="#,###" anchor="default"/>
  49. <Static text="이상" position="absolute 160 80 200 100" id="caption23" anchor="default"/>
  50. <Static text="분 류 :" position="absolute 11 105 97 122" align="align:center middle;" id="caption31" class="search_name" anchor="default"/>
  51. <Combo position="absolute 80 104 238 123" id="cmb_efcycls2" class="combo_search" innerdataset="@ds_init_R0040list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  52. <Static id="caption00" text="수가코드 :" class="search_name" position="absolute 11 129 97 146" anchor="default"/>
  53. <Edit id="search_calcsocrcd" taborder="1" onkeydown="group3_ipt_calcscorcd_onkeydown" class="input_default" position="absolute 90 127 190 146"/>
  54. </Layout>
  55. </Layouts>
  56. </Div>
  57. <Div position="absolute 260 17 1202 807" id="group3" style="background:transparent;" anchor="all">
  58. <Layouts>
  59. <Layout>
  60. <Tab position="absolute 582 594 927 790" id="switch3" anchor="all">
  61. <Tabpages>
  62. <Tabpage text="진료의사" id="case6">
  63. <Layouts>
  64. <Layout>
  65. <Button position="absolute 249 19 291 38" id="button14" class="btn2" text="추가" anchor="top right" onclick="group3_switch3_case6_button14_onclick"/>
  66. <Button position="absolute 296 19 338 38" id="button15" class="btn2" text="삭제" anchor="top right" onclick="group3_switch3_case6_button15_onclick"/>
  67. <Grid position="absolute 3 39 339 160" id="grd_ldoc" binddataset="ds_main_right_h_ldoc_ldoc" anchor="all" autofittype="col" cellmovingtype="col" cellsizingtype="col">
  68. <Formats>
  69. <Format id="default">
  70. <Columns>
  71. <Column size="0"/>
  72. <Column size="0"/>
  73. <Column size="23"/>
  74. <Column size="186"/>
  75. <Column size="107"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. </Columns>
  87. <Rows>
  88. <Row size="24" band="head"/>
  89. <Row size="24"/>
  90. </Rows>
  91. <Band id="head">
  92. <Cell text="수가코드"/>
  93. <Cell col="1" text="순번"/>
  94. <Cell col="2"/>
  95. <Cell col="3" text="진료과"/>
  96. <Cell col="4" text="진료의"/>
  97. <Cell col="5" text="진료분야HID"/>
  98. <Cell col="6" text="진료의HID"/>
  99. <Cell col="7" text="종료일자"/>
  100. <Cell col="8" text="기관코드"/>
  101. <Cell col="9" text="시작일"/>
  102. <Cell col="10" text="최초등록자"/>
  103. <Cell col="11" text="최초등록일시"/>
  104. <Cell col="12" text="최종수정자"/>
  105. <Cell col="13" text="최종수정일시"/>
  106. <Cell col="14" text="예외구분"/>
  107. </Band>
  108. <Band id="body">
  109. <Cell displaytype="text" edittype="text" text="bind:calcscorcd"/>
  110. <Cell col="1" displaytype="text" edittype="text" text="bind:seq"/>
  111. <Cell col="2" celltype="head"/>
  112. <Cell col="3" text="bind:exptdeptnm"/>
  113. <Cell col="4" text="bind:exptdrnm"/>
  114. <Cell col="5" text="bind:exptdeptcd"/>
  115. <Cell col="6" text="bind:exptdrcd"/>
  116. <Cell col="7" text="bind:expttodd"/>
  117. <Cell col="8" text="bind:instcd"/>
  118. <Cell col="9" text="bind:exptfromdd"/>
  119. <Cell col="10" text="bind:fstrgstrid"/>
  120. <Cell col="11" text="bind:fstrgstdt"/>
  121. <Cell col="12" text="bind:lastupdtrid"/>
  122. <Cell col="13" text="bind:lastupdtdt"/>
  123. <Cell col="14" text="bind:limitflag"/>
  124. </Band>
  125. </Format>
  126. </Formats>
  127. </Grid>
  128. <Combo position="absolute 7 11 107 30" id="cmb_orddeptcd" class="combo_default" innerdataset="@ds_init_orddeptcd_orddeptcdlist" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group3_switch3_case6_cmb_orddeptcd_onitemchanged"/>
  129. <Combo position="absolute 112 11 212 30" id="cmb_orddrid" class="combo_default" innerdataset="@ds_init_orddrid_orddridlist" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group3_switch3_case6_cmb_orddrid_onitemchanged" onmouseenter="group3_switch3_case6_cmb_orddrid_onmouseenter" onsetfocus="group3_switch3_case6_cmb_orddrid_onsetfocus" onitemclick="group3_switch3_case6_cmb_orddrid_onitemclick"/>
  130. <Radio position="absolute 241 0 331 20" id="rdo_drlimitflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="top right">
  131. <Dataset id="innerdataset">
  132. <ColumnInfo>
  133. <Column id="codecolumn"/>
  134. <Column id="datacolumn"/>
  135. </ColumnInfo>
  136. <Rows>
  137. <Row>
  138. <Col id="codecolumn">A</Col>
  139. <Col id="datacolumn">허용</Col>
  140. </Row>
  141. <Row>
  142. <Col id="codecolumn">E</Col>
  143. <Col id="datacolumn">제한</Col>
  144. </Row>
  145. </Rows>
  146. </Dataset>
  147. </Radio>
  148. </Layout>
  149. </Layouts>
  150. </Tabpage>
  151. </Tabpages>
  152. </Tab>
  153. <Static text="코드정보" position="absolute 1 9 101 30" id="caption96" class="tit_2" anchor="default"/>
  154. <Shape position="absolute 0 27 934 33" linetype="horizontal" id="line36" class="line_10" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  155. <Static text="수가코드" position="absolute 10 35 75 55" align="align:center middle;" id="caption4" class="cell_1" anchor="default"/>
  156. <Button position="absolute 182 36 198 52" id="btn_search" class="icon_search" text="" anchor="default" onclick="group3_btn_search_onclick"/>
  157. <Static text="구분" position="absolute 210 35 275 55" align="align:center middle;" id="caption5" class="cell_1" anchor="default"/>
  158. <Static text="EDI" position="absolute 390 35 455 55" align="align:center middle;" id="caption6" class="cell_1" anchor="default"/>
  159. <Static text="적용일" position="absolute 570 35 635 55" align="align:center middle;" id="caption7" class="cell_1" anchor="default"/>
  160. <Static text="종료일" position="absolute 755 35 820 55" align="align:center middle;" id="caption8" class="cell_1" anchor="default"/>
  161. <Calendar position="absolute 825 35 925 54" align="align:center middle;" id="ipt_todd" class="input_default" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  162. <Static text="한글명" position="absolute 10 60 75 80" align="align:center middle;" id="caption9" class="cell_1" anchor="default"/>
  163. <Static text="영문명" position="absolute 390 60 455 80" align="align:center middle;" id="caption10" class="cell_1" anchor="default"/>
  164. <Static text="보험유형" position="absolute 0 108 100 130" id="caption11" class="tit_2" anchor="default"/>
  165. <Shape position="absolute 0 124 130 130" linetype="horizontal" id="line1" class="line_10" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  166. <Div position="absolute 0 131 130 200" id="group5" anchor="default">
  167. <Layouts>
  168. <Layout>
  169. <CheckBox position="absolute 1 0 71 20" id="chk_insuexptyn" text="건강보험" truevalue="Y" anchor="default"/>
  170. <CheckBox position="absolute 77 0 124 20" id="chk_dutywundexptyn" text="공상" truevalue="Y" anchor="default"/>
  171. <CheckBox position="absolute 1 40 46 60" id="chk_inducsexptyn" truevalue="Y" text="산재" anchor="default"/>
  172. <CheckBox position="absolute 1 21 71 41" id="chk_procexptyn" text="의료급여" truevalue="Y" anchor="default"/>
  173. <CheckBox position="absolute 77 22 127 42" id="chk_autmbinsuexptyn" text="자보" truevalue="Y" anchor="default"/>
  174. </Layout>
  175. </Layouts>
  176. </Div>
  177. <Static text="입원/외래" position="absolute 139 109 219 130" id="caption12" class="tit_2" anchor="default"/>
  178. <Shape position="absolute 139 125 225 131" linetype="horizontal" id="line2" class="line_10" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  179. <Div position="absolute 137 131 223 200" id="group6" anchor="default">
  180. <Layouts>
  181. <Layout>
  182. <CheckBox position="absolute 5 0 50 20" id="chk_inexptyn" anchor="default" text="입원" truevalue="Y"/>
  183. <CheckBox position="absolute 5 20 50 40" id="chk_outexptyn" anchor="default" text="외래" truevalue="Y"/>
  184. </Layout>
  185. </Layouts>
  186. </Div>
  187. <Static text="허용수량" position="absolute 560 109 668 130" id="caption13" class="tit_2" visible="false" anchor="default"/>
  188. <Shape position="absolute 559 125 748 131" linetype="horizontal" id="line4" class="line_10" visible="false" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  189. <Div position="absolute 559 131 750 200" id="group7" visible="false" anchor="default">
  190. <Layouts>
  191. <Layout>
  192. <Static text="일투여량(투여량*횟수)" position="absolute 0 2 142 22" align="align:center middle;" id="caption14" class="cell_1" anchor="default"/>
  193. <Static text="총수량(일투*일수)" position="absolute 1 23 143 43" align="align:center middle;" id="caption15" class="cell_1" anchor="default"/>
  194. <Static text="총일수" position="absolute 1 44 143 64" align="align:center middle;" id="caption16" class="cell_1" anchor="default"/>
  195. </Layout>
  196. </Layouts>
  197. </Div>
  198. <Edit position="absolute 702 134 747 153" align="align:right middle;" id="input9" class="input_default" visible="false" anchor="default"/>
  199. <Edit position="absolute 703 154 748 173" align="align:right middle;" id="input10" class="input_default" visible="false" anchor="default"/>
  200. <Edit position="absolute 703 175 748 194" align="align:right middle;" id="input11" class="input_default" visible="false" anchor="default"/>
  201. <Static text="규제적용" position="absolute 760 109 860 130" id="caption17" class="tit_2" visible="false" anchor="default"/>
  202. <Shape position="absolute 760 125 929 131" linetype="horizontal" id="line5" class="line_10" visible="false" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  203. <Div position="absolute 759 131 929 200" id="group8" visible="false" anchor="default">
  204. <Layouts>
  205. <Layout>
  206. <CheckBox position="absolute 1 0 161 20" id="checkbox3" anchor="left top right" text="처방전달시 의사재량 허용" truevalue="Y"/>
  207. <CheckBox position="absolute 1 20 161 40" id="checkbox9" anchor="left top right" text="퇴원처방시 심사규제 안함" truevalue="Y"/>
  208. </Layout>
  209. </Layouts>
  210. </Div>
  211. <Static text="성별" position="absolute 233 109 295 130" id="caption18" class="tit_2" anchor="default"/>
  212. <Shape position="absolute 233 125 289 131" linetype="horizontal" id="line6" class="line_10" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  213. <Static text="나이" position="absolute 298 109 360 130" id="caption19" class="tit_2" anchor="default"/>
  214. <Shape position="absolute 298 125 423 131" linetype="horizontal" id="line7" class="line_10" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  215. <Div position="absolute 297 130 423 200" id="group10" anchor="default">
  216. <Layouts>
  217. <Layout>
  218. <Static text="미만" position="absolute 94 4 122 24" align="align:center middle;" id="caption20" anchor="default"/>
  219. <Static text="초과" position="absolute 94 27 122 47" align="align:center middle;" id="caption21" anchor="default"/>
  220. <Static text="년" position="absolute 24 4 39 24" align="align:center middle;" id="caption32" anchor="default"/>
  221. <Static text="년" position="absolute 24 27 39 47" align="align:center middle;" id="caption33" anchor="default"/>
  222. <Static text="개월" position="absolute 65 4 91 24" align="align:center middle;" id="caption34" anchor="default"/>
  223. <Static text="개월" position="absolute 65 27 91 47" align="align:center middle;" id="caption35" anchor="default"/>
  224. </Layout>
  225. </Layouts>
  226. </Div>
  227. <MaskEdit position="absolute 298 133 319 152" align="align:right middle;" id="input12" class="input_default" mask="999" anchor="default" style="align:right middle;"/>
  228. <Edit position="absolute 298 155 319 174" align="align:right middle;" id="input13" class="input_default" anchor="default" style="align:right middle;"/>
  229. <Shape position="absolute 0 200 130 206" linetype="horizontal" id="line35" class="line_3" anchor="default"/>
  230. <Shape position="absolute 138 200 224 206" linetype="horizontal" id="line8" class="line_3" anchor="default"/>
  231. <Shape position="absolute 561 200 751 206" linetype="horizontal" id="line9" class="line_3" visible="false" anchor="default"/>
  232. <Shape position="absolute 760 200 929 206" linetype="horizontal" id="line10" class="line_3" visible="false" anchor="left top right"/>
  233. <Shape position="absolute 233 200 289 206" linetype="horizontal" id="line11" class="line_3" anchor="default"/>
  234. <Shape position="absolute 298 200 424 206" linetype="horizontal" id="line12" class="line_3" anchor="default"/>
  235. <Shape position="absolute 0 375 934 381" linetype="horizontal" id="line15" class="line_3" anchor="default"/>
  236. <Tab position="absolute 0 594 293 782" id="switch1" anchor="left top bottom">
  237. <Tabpages>
  238. <Tabpage text="허용상병" id="case2">
  239. <Layouts>
  240. <Layout>
  241. <Button position="absolute 179 35 243 54" id="btn_batsnwadd" class="btn2" text="일괄추가" anchor="default" onclick="group3_switch1_case2_btn_batsnwadd_onclick"/>
  242. <Static text="~" position="absolute 135 10 150 30" align="align:center middle;" id="caption24" anchor="default"/>
  243. <Edit position="absolute 8 10 113 29" id="ipt_termcd_snw_from" class="input_default" anchor="default"/>
  244. <Edit position="absolute 155 10 260 29" id="ipt_termcd_snw_to" class="input_default" anchor="default"/>
  245. <Button position="absolute 245 35 287 54" id="button7" class="btn2" text="삭제" anchor="default" onclick="group3_switch1_case2_button7_onclick"/>
  246. <Grid position="absolute 3 55 287 160" id="datagrid_ldic1" binddataset="ds_main_right_h_ldic1_ldic1" anchor="all" autofittype="col" selecttype="multirow" cellmovingtype="col" cellsizingtype="col">
  247. <Formats>
  248. <Format id="default">
  249. <Columns>
  250. <Column size="0"/>
  251. <Column size="0"/>
  252. <Column size="24"/>
  253. <Column size="90"/>
  254. <Column size="150"/>
  255. <Column size="0"/>
  256. <Column size="0"/>
  257. <Column size="0"/>
  258. <Column size="0"/>
  259. <Column size="0"/>
  260. <Column size="0"/>
  261. <Column size="0"/>
  262. <Column size="0"/>
  263. <Column size="0"/>
  264. </Columns>
  265. <Rows>
  266. <Row size="24" band="head"/>
  267. <Row size="24"/>
  268. </Rows>
  269. <Band id="head">
  270. <Cell text="수가코드"/>
  271. <Cell col="1" text="순번"/>
  272. <Cell col="2"/>
  273. <Cell col="3" text="허용상병"/>
  274. <Cell col="4" text="허용상병명칭"/>
  275. <Cell col="5" text="종료일자"/>
  276. <Cell col="6" text="기관코드"/>
  277. <Cell col="7" text="시작일자"/>
  278. <Cell col="8" text="의과치과구분"/>
  279. <Cell col="9" text="허용제한여부"/>
  280. <Cell col="10" text="최초등록자"/>
  281. <Cell col="11" text="최초등록일시"/>
  282. <Cell col="12" text="최종수정자"/>
  283. <Cell col="13" text="최종수정일시"/>
  284. </Band>
  285. <Band id="body">
  286. <Cell text="bind:calcscorcd"/>
  287. <Cell col="1" text="bind:seq"/>
  288. <Cell col="2" celltype="head"/>
  289. <Cell col="3" text="bind:diagcd"/>
  290. <Cell col="4" text="bind:diagcdnm"/>
  291. <Cell col="5" text="bind:expttodd"/>
  292. <Cell col="6" text="bind:instcd"/>
  293. <Cell col="7" text="bind:exptfromdd"/>
  294. <Cell col="8" text="bind:meddentflag"/>
  295. <Cell col="9" text="bind:prmisnlimyn"/>
  296. <Cell col="10" text="bind:fstrgstrid"/>
  297. <Cell col="11" text="bind:fstrgstdt"/>
  298. <Cell col="12" text="bind:lastupdtrid"/>
  299. <Cell col="13" text="bind:lastupdtdt"/>
  300. </Band>
  301. </Format>
  302. </Formats>
  303. </Grid>
  304. <Button position="absolute 115 10 131 26" id="btn_searchsnwfrom" class="icon_search" text="" anchor="default" onclick="group3_switch1_case2_btn_searchsnwfrom_onclick"/>
  305. <Button position="absolute 265 10 281 26" id="btn_searchsnwto" class="icon_search" text="" anchor="default" onclick="group3_switch1_case2_btn_searchsnwto_onclick"/>
  306. </Layout>
  307. </Layouts>
  308. </Tabpage>
  309. <Tabpage text="제한상병" position="absolute 0 0 291 170" id="case3">
  310. <Layouts>
  311. <Layout>
  312. <Button position="absolute 180 35 244 54" id="button8" class="btn2" text="일괄추가" anchor="default" onclick="group3_switch1_case3_button8_onclick"/>
  313. <Button position="absolute 245 35 287 54" id="button9" class="btn2_letter2" text="삭제" anchor="default" onclick="group3_switch1_case3_button9_onclick"/>
  314. <Static text="~" position="absolute 135 10 150 30" align="align:center middle;" id="caption25" anchor="default"/>
  315. <Edit position="absolute 8 10 113 29" id="input16" class="input_default" anchor="default"/>
  316. <Edit position="absolute 155 10 260 29" id="input17" class="input_default" anchor="default"/>
  317. <Grid position="absolute 3 55 287 160" id="datagrid_ldic2" binddataset="ds_main_right_h_ldic2_ldic2" anchor="all" autosizingtype="none" autofittype="col">
  318. <Formats>
  319. <Format id="default">
  320. <Columns>
  321. <Column size="0"/>
  322. <Column size="0"/>
  323. <Column size="20"/>
  324. <Column size="90"/>
  325. <Column size="150"/>
  326. <Column size="0"/>
  327. <Column size="0"/>
  328. <Column size="0"/>
  329. <Column size="0"/>
  330. <Column size="0"/>
  331. <Column size="0"/>
  332. <Column size="0"/>
  333. <Column size="0"/>
  334. <Column size="0"/>
  335. </Columns>
  336. <Rows>
  337. <Row size="24" band="head"/>
  338. <Row size="24"/>
  339. </Rows>
  340. <Band id="head">
  341. <Cell text="수가코드"/>
  342. <Cell col="1" text="순번"/>
  343. <Cell col="2"/>
  344. <Cell col="3" text="제한상병"/>
  345. <Cell col="4" text="제한상병명"/>
  346. <Cell col="5" text="종료일자"/>
  347. <Cell col="6" text="기관코드"/>
  348. <Cell col="7" text="시작일자"/>
  349. <Cell col="8" text="의과치과구분"/>
  350. <Cell col="9" text="허용제한여부"/>
  351. <Cell col="10" text="최초등록자"/>
  352. <Cell col="11" text="최초등록일시"/>
  353. <Cell col="12" text="최종수정자"/>
  354. <Cell col="13" text="최종수정일시"/>
  355. </Band>
  356. <Band id="body">
  357. <Cell text="bind:calcscorcd"/>
  358. <Cell col="1" text="bind:seq"/>
  359. <Cell col="2" celltype="head"/>
  360. <Cell col="3" text="bind:diagcd"/>
  361. <Cell col="4" text="bind:diagcdnm"/>
  362. <Cell col="5" text="bind:expttodd"/>
  363. <Cell col="6" text="bind:instcd"/>
  364. <Cell col="7" text="bind:exptfromdd"/>
  365. <Cell col="8" text="bind:meddentflag"/>
  366. <Cell col="9" text="bind:prmisnlimyn"/>
  367. <Cell col="10" text="bind:fstrgstrid"/>
  368. <Cell col="11" text="bind:fstrgstdt"/>
  369. <Cell col="12" text="bind:lastupdtrid"/>
  370. <Cell col="13" text="bind:lastupdtdt"/>
  371. </Band>
  372. </Format>
  373. </Formats>
  374. </Grid>
  375. <Button position="absolute 115 10 131 26" id="btn_searchlimsnwfrom" class="icon_search" text="" anchor="default" onclick="group3_switch1_case3_btn_searchlimsnwfrom_onclick"/>
  376. <Button position="absolute 265 10 281 26" id="btn_searchlimsnwto" class="icon_search" text="" anchor="default" onclick="group3_switch1_case3_btn_searchlimsnwto_onclick"/>
  377. </Layout>
  378. </Layouts>
  379. </Tabpage>
  380. </Tabpages>
  381. </Tab>
  382. <Tab position="absolute 296 594 579 790" id="switch2" anchor="left top bottom">
  383. <Tabpages>
  384. <Tabpage text="진료과" id="case1">
  385. <Layouts>
  386. <Layout>
  387. <Button position="absolute 162 11 226 30" id="button11" class="btn2" text="한줄추가" anchor="default" onclick="group3_switch2_case1_button11_onclick"/>
  388. <Button position="absolute 231 11 273 30" id="button12" class="btn2" text="삭제" anchor="default" onclick="group3_switch2_case1_button12_onclick"/>
  389. <Grid position="absolute 1 37 275 159" id="grd_ldep" binddataset="ds_main_right_h_ldep_ldep" anchor="all" autofittype="col" cellsizingtype="col" cellmovingtype="col">
  390. <Formats>
  391. <Format id="default">
  392. <Columns>
  393. <Column size="0"/>
  394. <Column size="0"/>
  395. <Column size="21"/>
  396. <Column size="230"/>
  397. <Column size="0"/>
  398. <Column size="0"/>
  399. <Column size="0"/>
  400. <Column size="0"/>
  401. <Column size="0"/>
  402. <Column size="0"/>
  403. <Column size="0"/>
  404. <Column size="0"/>
  405. <Column size="0"/>
  406. </Columns>
  407. <Rows>
  408. <Row size="24" band="head"/>
  409. <Row size="24"/>
  410. </Rows>
  411. <Band id="head">
  412. <Cell text="수가코드"/>
  413. <Cell col="1" text="순번"/>
  414. <Cell col="2"/>
  415. <Cell col="3" text="진료과"/>
  416. <Cell col="4" text="종료일자"/>
  417. <Cell col="5" text="기관코드"/>
  418. <Cell col="6" text="예외시작일자"/>
  419. <Cell col="7" text="최초등록자"/>
  420. <Cell col="8" text="최초등록일시"/>
  421. <Cell col="9" text="최종수정자"/>
  422. <Cell col="10" text="최종수정일시"/>
  423. <Cell col="11" text="진료과Key"/>
  424. <Cell col="12" text="예외구분"/>
  425. </Band>
  426. <Band id="body">
  427. <Cell displaytype="text" edittype="text" text="bind:calcscorcd"/>
  428. <Cell col="1" displaytype="text" edittype="text" text="bind:seq"/>
  429. <Cell col="2" celltype="head"/>
  430. <Cell col="3" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:exptdeptcd" combodataset="ds_init_orddeptcd_orddeptcdlist" combocodecol="cd" combodatacol="nm"/>
  431. <Cell col="4" displaytype="text" edittype="text" text="bind:expttodd"/>
  432. <Cell col="5" displaytype="text" edittype="text" text="bind:instcd"/>
  433. <Cell col="6" displaytype="text" edittype="text" text="bind:exptfromdd"/>
  434. <Cell col="7" displaytype="text" edittype="text" text="bind:fstrgstrid"/>
  435. <Cell col="8" displaytype="text" edittype="text" text="bind:fstrgstdt"/>
  436. <Cell col="9" displaytype="text" edittype="text" text="bind:lastupdtrid"/>
  437. <Cell col="10" displaytype="text" edittype="text" text="bind:lastupdtdt"/>
  438. <Cell col="11" text="bind:exptdeptcdkey"/>
  439. <Cell col="12" text="bind:limitflag"/>
  440. </Band>
  441. </Format>
  442. </Formats>
  443. </Grid>
  444. <Button position="absolute 93 11 157 30" id="button22" class="btn2" text="전체추가" anchor="default" onclick="group3_switch2_case1_button22_onclick"/>
  445. <Radio position="absolute 3 13 88 33" id="rdo_deptlimitflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  446. <Dataset id="innerdataset">
  447. <ColumnInfo>
  448. <Column id="codecolumn"/>
  449. <Column id="datacolumn"/>
  450. </ColumnInfo>
  451. <Rows>
  452. <Row>
  453. <Col id="codecolumn">A</Col>
  454. <Col id="datacolumn">허용</Col>
  455. </Row>
  456. <Row>
  457. <Col id="codecolumn">E</Col>
  458. <Col id="datacolumn">제한</Col>
  459. </Row>
  460. </Rows>
  461. </Dataset>
  462. </Radio>
  463. </Layout>
  464. </Layouts>
  465. </Tabpage>
  466. </Tabpages>
  467. </Tab>
  468. <Static text="상병, 제외진료과, 제외진료의사, 질문사항 자료는 상단의 Master자료가 저장된 후에 저장될 수 있습니다." position="absolute 0 560 929 576" id="caption26" class="tit_2" anchor="left top right" style="background:#ff99ccff URL('theme://images/icon_tit_bullet2.png') left top;"/>
  469. <Shape position="absolute 0 576 934 582" linetype="horizontal" id="line16" class="line_10" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  470. <Static text="질문사항 * 구분(Message &amp; 체크여부(Yes/No) * 필수여부(Yes/No) * 결과입력(Yes/No)&#13;&#10; " position="absolute 0 385 604 401" id="caption27" class="tit_2" anchor="default" style="background:#ccffffff URL('theme://images/icon_tit_bullet2.png') left top;"/>
  471. <Shape position="absolute 0 535 934 541" linetype="horizontal" id="line18" class="line_3" anchor="left top right"/>
  472. <Button position="absolute 828 61 881 80" id="button16" class="btn2" text="Clear" anchor="default" onclick="group3_button16_onclick"/>
  473. <Button position="absolute 884 61 926 80" id="button17" class="btn2" text="복사" anchor="default" onclick="group3_button17_onclick"/>
  474. <Div position="absolute 232 131 288 200" id="group9" anchor="default">
  475. <Layouts>
  476. <Layout>
  477. <CheckBox position="absolute 3 3 48 18" id="chk_manlim" anchor="default" text="남자" truevalue="Y"/>
  478. <CheckBox position="absolute 3 23 48 38" id="chk_womlim" anchor="default" text="여자" truevalue="Y"/>
  479. </Layout>
  480. </Layouts>
  481. </Div>
  482. <Grid position="absolute 0 409 932 535" id="grd_lmsg" binddataset="ds_main_right_h_lmsg_lmsg" anchor="left top right" selecttype="multirow" cellmovingtype="col" cellsizingtype="col">
  483. <Formats>
  484. <Format id="default">
  485. <Columns>
  486. <Column size="0"/>
  487. <Column size="0"/>
  488. <Column size="0"/>
  489. <Column size="0"/>
  490. <Column size="0"/>
  491. <Column size="18"/>
  492. <Column size="667"/>
  493. <Column size="69"/>
  494. <Column size="35"/>
  495. <Column size="0"/>
  496. <Column size="58"/>
  497. <Column size="57"/>
  498. <Column size="100"/>
  499. <Column size="100"/>
  500. <Column size="0"/>
  501. <Column size="0"/>
  502. </Columns>
  503. <Rows>
  504. <Row size="24" band="head"/>
  505. <Row size="24"/>
  506. </Rows>
  507. <Band id="head">
  508. <Cell text="수가코드"/>
  509. <Cell col="1" text="번호"/>
  510. <Cell col="2" text="번호일련"/>
  511. <Cell col="3" text="기관코드"/>
  512. <Cell col="4"/>
  513. <Cell col="5"/>
  514. <Cell col="6" text="질문사항"/>
  515. <Cell col="7" text="보험유형"/>
  516. <Cell col="8" text="선택"/>
  517. <Cell col="9" text="필수여부"/>
  518. <Cell col="10" text="급여구분"/>
  519. <Cell col="11" text="사유입력"/>
  520. <Cell col="12" text="최초등록자"/>
  521. <Cell col="13" text="최초등록일시"/>
  522. <Cell col="14" text="최종수정자"/>
  523. <Cell col="15" text="최종수정일시"/>
  524. </Band>
  525. <Band id="body">
  526. <Cell displaytype="text" edittype="text" text="bind:calcscorcd"/>
  527. <Cell col="1" displaytype="text" edittype="text" text="bind:seq"/>
  528. <Cell col="2" displaytype="text" edittype="text" text="bind:seqno"/>
  529. <Cell col="3" displaytype="text" edittype="text" text="bind:instcd"/>
  530. <Cell col="4" displaytype="none" edittype="none" text="bind:rowseq"/>
  531. <Cell col="5" celltype="head" expr="currow+1"/>
  532. <Cell col="6" displaytype="text" edittype="text" text="bind:qestmsg"/>
  533. <Cell col="7" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_P0008list" combocodecol="cdid" combodatacol="cdnm"/>
  534. <Cell col="8" displaytype="checkbox" edittype="checkbox" text="bind:qestflag"/>
  535. <Cell col="9" displaytype="checkbox" edittype="checkbox" text="bind:essnyn"/>
  536. <Cell col="10" displaytype="combo" edittype="combo" text="bind:payflag" combodataset="ds_cmb_payflag" combocodecol="value" combodatacol="label"/>
  537. <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:rsltinpt"/>
  538. <Cell col="12" displaytype="text" edittype="text" text="bind:fstrgstrid"/>
  539. <Cell col="13" displaytype="text" edittype="text" text="bind:fstrgstdt"/>
  540. <Cell col="14" displaytype="text" edittype="text" text="bind:lastupdtrid"/>
  541. <Cell col="15" displaytype="text" edittype="text" text="bind:lastupdtdt"/>
  542. </Band>
  543. </Format>
  544. </Formats>
  545. </Grid>
  546. <Shape position="absolute 430 125 551 131" linetype="horizontal" id="line20" class="line_10" visible="false" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  547. <Shape position="absolute 430 200 555 206" linetype="horizontal" id="line19" class="line_3" visible="false" anchor="default"/>
  548. <Static text="입원/외래" position="absolute 430 109 510 130" id="caption28" class="tit_2" visible="false" anchor="default"/>
  549. <Div position="absolute 429 130 551 201" id="group13" visible="false" anchor="default">
  550. <Layouts>
  551. <Layout>
  552. <CheckBox position="absolute 1 22 93 42" id="chkbox_nopyordyn" anchor="default" text="전액본인부담" truevalue="Y" onclick="group3_group13_chkbox_nopyordyn_onclick"/>
  553. <CheckBox position="absolute 1 2 93 22" id="chkbox_judgnotiyn" anchor="default" text="실시간심사" truevalue="Y" onclick="group3_group13_chkbox_judgnotiyn_onclick"/>
  554. </Layout>
  555. </Layouts>
  556. </Div>
  557. <Calendar position="absolute 640 35 740 54" align="align:center middle;" id="ipt_fromdd" class="input_default" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  558. <Edit position="absolute 80 35 180 54" id="ipt_calcscorcd" class="input_default" anchor="default" onkeydown="group3_ipt_calcscorcd_onkeydown"/>
  559. <Combo position="absolute 280 35 380 54" id="cmb_matrflag" innerdataset="@ds_init_P0152list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  560. <Edit position="absolute 460 35 560 54" id="ipt_insuedicd" class="input_default" anchor="default" onkeydown="group3_ipt_insuedicd_onkeydown"/>
  561. <Edit position="absolute 80 61 380 80" id="opt_hngnm" class="input_default" anchor="default" onkeydown="group3_opt_hngnm_onkeydown"/>
  562. <Edit readonly="true" position="absolute 460 61 820 80" id="opt_engnm" anchor="default" enable="false" enableevent="false"/>
  563. <Button position="absolute 586 4 642 26" id="btn_save" class="btn4" text="수정" anchor="top right" onclick="group3_btn_save_onclick"/>
  564. <Edit position="absolute 645 85 740 104" id="ipt_fromdd_org" visible="false" anchor="default"/>
  565. <Edit position="absolute 750 85 835 104" id="ipt_todd_org" visible="false" anchor="default"/>
  566. <Div position="absolute 805 255 870 310" id="grp_limitcnt" anchor="default">
  567. <Layouts>
  568. <Layout>
  569. <Static text="제한일수" position="absolute 5 5 60 25" id="caption30" anchor="default"/>
  570. <Edit position="absolute 5 27 60 46" id="ipt_limitcnt" anchor="default"/>
  571. </Layout>
  572. </Layouts>
  573. </Div>
  574. <Tab position="absolute 0 209 932 377" id="switch4" anchor="left top right">
  575. <Tabpages>
  576. <Tabpage text="심사규제요약 Message" position="absolute 0 0 930 142" id="case4">
  577. <Layouts>
  578. <Layout>
  579. <TextArea position="absolute 5 3 927 139" id="tar_judgSmm" anchor="left top right" scrollbars="autovert" wordwrap="word"/>
  580. </Layout>
  581. </Layouts>
  582. </Tabpage>
  583. <Tabpage text="심사규제 Message" id="case5">
  584. <Layouts>
  585. <Layout>
  586. <TextArea position="absolute 5 3 927 139" id="tar_judg" anchor="left top right" scrollbars="autovert" wordwrap="word"/>
  587. </Layout>
  588. </Layouts>
  589. </Tabpage>
  590. </Tabpages>
  591. </Tab>
  592. <Shape position="absolute 0 404 932 410" linetype="horizontal" id="line13" class="line_10" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  593. <Button position="absolute 529 4 585 26" id="button1" class="btn4" text="추가" anchor="top right" onclick="group3_button1_onclick"/>
  594. <Button position="absolute 643 4 699 26" id="btn_delete" class="btn4" text="삭제" anchor="top right" onclick="group3_btn_delete_onclick"/>
  595. <Button position="absolute 769 4 849 26" id="btn_allinsert" class="btn4" text="일괄추가" anchor="top right" onclick="group3_btn_allinsert_onclick"/>
  596. <Button position="absolute 850 4 930 26" id="btn_allmodify" class="btn4" enable="false" text="일괄수정" anchor="top right" onclick="group3_btn_allmodify_onclick"/>
  597. <Button position="absolute 700 4 768 26" id="button3" class="btn4" text="초기화" anchor="top right" onclick="group3_button3_onclick"/>
  598. <Edit position="absolute 338 133 359 152" align="align:right middle;" id="input1" class="input_default" anchor="default" style="align:right middle;"/>
  599. <Edit position="absolute 338 155 359 174" align="align:right middle;" id="input2" class="input_default" anchor="default" style="align:right middle;"/>
  600. <Static text="* 보험인정기준 코드 수정시에는 기존의 적용기간과 중복되면 안됩니다." position="absolute 81 4 534 24" id="caption37" class="tit_3" anchor="default"/>
  601. <Combo position="absolute 658 382 734 401" id="insucombo" innerdataset="@ds_init_P0008list" datacolumn="cdnm" codecolumn="cdid" anchor="top right"/>
  602. <Static text="유형" position="absolute 615 382 655 402" align="align:center middle;" id="caption38" class="cell_1" anchor="top right"/>
  603. </Layout>
  604. </Layouts>
  605. </Div>
  606. <Grid position="absolute -121 784 304 1129" id="grd_exceldata" visible="false">
  607. <Formats>
  608. <Format id="default">
  609. <Columns>
  610. <Column size="20"/>
  611. <Column size="100"/>
  612. <Column size="100"/>
  613. <Column size="100"/>
  614. <Column size="100"/>
  615. <Column size="100"/>
  616. <Column size="100"/>
  617. <Column size="100"/>
  618. <Column size="100"/>
  619. <Column size="100"/>
  620. <Column size="100"/>
  621. <Column size="100"/>
  622. <Column size="100"/>
  623. <Column size="100"/>
  624. <Column size="100"/>
  625. <Column size="100"/>
  626. <Column size="100"/>
  627. <Column size="100"/>
  628. <Column size="100"/>
  629. <Column size="100"/>
  630. <Column size="100"/>
  631. <Column size="100"/>
  632. <Column size="100"/>
  633. <Column size="100"/>
  634. <Column size="100"/>
  635. <Column size="100"/>
  636. <Column size="100"/>
  637. <Column size="100"/>
  638. <Column size="100"/>
  639. <Column size="100"/>
  640. <Column size="100"/>
  641. <Column size="100"/>
  642. <Column size="100"/>
  643. <Column size="100"/>
  644. <Column size="100"/>
  645. <Column size="100"/>
  646. <Column size="100"/>
  647. <Column size="100"/>
  648. <Column size="100"/>
  649. <Column size="100"/>
  650. <Column size="100"/>
  651. <Column size="100"/>
  652. <Column size="100"/>
  653. <Column size="100"/>
  654. <Column size="100"/>
  655. <Column size="100"/>
  656. <Column size="100"/>
  657. <Column size="100"/>
  658. <Column size="100"/>
  659. <Column size="100"/>
  660. <Column size="100"/>
  661. <Column size="100"/>
  662. <Column size="100"/>
  663. <Column size="100"/>
  664. <Column size="100"/>
  665. <Column size="100"/>
  666. <Column size="100"/>
  667. <Column size="100"/>
  668. <Column size="100"/>
  669. <Column size="100"/>
  670. <Column size="100"/>
  671. <Column size="100"/>
  672. <Column size="100"/>
  673. <Column size="100"/>
  674. <Column size="100"/>
  675. <Column size="100"/>
  676. <Column size="100"/>
  677. <Column size="100"/>
  678. <Column size="100"/>
  679. <Column size="100"/>
  680. <Column size="100"/>
  681. <Column size="100"/>
  682. <Column size="100"/>
  683. <Column size="100"/>
  684. <Column size="100"/>
  685. <Column size="100"/>
  686. <Column size="100"/>
  687. <Column size="100"/>
  688. <Column size="100"/>
  689. <Column size="100"/>
  690. <Column size="100"/>
  691. <Column size="100"/>
  692. <Column size="100"/>
  693. </Columns>
  694. <Rows>
  695. <Row size="24" band="head"/>
  696. <Row size="24"/>
  697. </Rows>
  698. <Band id="head">
  699. <Cell/>
  700. <Cell col="1"/>
  701. <Cell col="2"/>
  702. <Cell col="3"/>
  703. <Cell col="4"/>
  704. <Cell col="5"/>
  705. <Cell col="6"/>
  706. <Cell col="7"/>
  707. <Cell col="8"/>
  708. <Cell col="9"/>
  709. <Cell col="10"/>
  710. <Cell col="11"/>
  711. <Cell col="12"/>
  712. <Cell col="13"/>
  713. <Cell col="14"/>
  714. <Cell col="15"/>
  715. <Cell col="16"/>
  716. <Cell col="17"/>
  717. <Cell col="18"/>
  718. <Cell col="19"/>
  719. <Cell col="20"/>
  720. <Cell col="21"/>
  721. <Cell col="22"/>
  722. <Cell col="23"/>
  723. <Cell col="24"/>
  724. <Cell col="25"/>
  725. <Cell col="26"/>
  726. <Cell col="27"/>
  727. <Cell col="28"/>
  728. <Cell col="29"/>
  729. <Cell col="30"/>
  730. <Cell col="31"/>
  731. <Cell col="32"/>
  732. <Cell col="33"/>
  733. <Cell col="34"/>
  734. <Cell col="35"/>
  735. <Cell col="36"/>
  736. <Cell col="37"/>
  737. <Cell col="38"/>
  738. <Cell col="39"/>
  739. <Cell col="40"/>
  740. <Cell col="41"/>
  741. <Cell col="42"/>
  742. <Cell col="43"/>
  743. <Cell col="44"/>
  744. <Cell col="45"/>
  745. <Cell col="46"/>
  746. <Cell col="47"/>
  747. <Cell col="48"/>
  748. <Cell col="49"/>
  749. <Cell col="50"/>
  750. <Cell col="51"/>
  751. <Cell col="52"/>
  752. <Cell col="53"/>
  753. <Cell col="54"/>
  754. <Cell col="55"/>
  755. <Cell col="56"/>
  756. <Cell col="57"/>
  757. <Cell col="58"/>
  758. <Cell col="59"/>
  759. <Cell col="60"/>
  760. <Cell col="61"/>
  761. <Cell col="62"/>
  762. <Cell col="63"/>
  763. <Cell col="64"/>
  764. <Cell col="65"/>
  765. <Cell col="66"/>
  766. <Cell col="67"/>
  767. <Cell col="68"/>
  768. <Cell col="69"/>
  769. <Cell col="70"/>
  770. <Cell col="71"/>
  771. <Cell col="72"/>
  772. <Cell col="73"/>
  773. <Cell col="74"/>
  774. <Cell col="75"/>
  775. <Cell col="76"/>
  776. <Cell col="77"/>
  777. <Cell col="78"/>
  778. <Cell col="79"/>
  779. <Cell col="80"/>
  780. <Cell col="81"/>
  781. <Cell col="82"/>
  782. </Band>
  783. <Band id="body">
  784. <Cell celltype="head" expr="currow+1"/>
  785. <Cell col="1" text="bind:limt_calcscorcd"/>
  786. <Cell col="2" text="bind:limt_seq"/>
  787. <Cell col="3" text="bind:limt_hngnm"/>
  788. <Cell col="4" text="bind:limt_engnm"/>
  789. <Cell col="5" text="bind:limt_matrflag"/>
  790. <Cell col="6" text="bind:limt_insuedicd"/>
  791. <Cell col="7" text="bind:limt_instcd"/>
  792. <Cell col="8" text="bind:limt_lifexptyn"/>
  793. <Cell col="9" text="bind:judgnotiyn"/>
  794. <Cell col="10" text="bind:limt_nopyordyn"/>
  795. <Cell col="11" text="bind:limt_insuexptyn"/>
  796. <Cell col="12" text="bind:limt_procexptyn"/>
  797. <Cell col="13" text="bind:limt_inducsexptyn"/>
  798. <Cell col="14" text="bind:limt_autmbinsuexptyn"/>
  799. <Cell col="15" text="bind:limt_dutywundexptyn"/>
  800. <Cell col="16" text="bind:limt_dentexptyn"/>
  801. <Cell col="17" text="bind:limt_inexptyn"/>
  802. <Cell col="18" text="bind:limt_outexptyn"/>
  803. <Cell col="19" text="bind:limt_limdaydrugqty"/>
  804. <Cell col="20" text="bind:limt_limtotdrugqty"/>
  805. <Cell col="21" text="bind:limt_limtotdayno"/>
  806. <Cell col="22" text="bind:limt_drprcpyn"/>
  807. <Cell col="23" text="bind:limt_dschprcpyn"/>
  808. <Cell col="24" text="bind:limt_manlim"/>
  809. <Cell col="25" text="bind:limt_womlim"/>
  810. <Cell col="26" text="bind:limt_ageappyn"/>
  811. <Cell col="27" text="bind:limt_minage"/>
  812. <Cell col="28" text="bind:limt_maxage"/>
  813. <Cell col="29" text="bind:limt_drugmatractflag"/>
  814. <Cell col="30" text="bind:limt_judgrcogyn"/>
  815. <Cell col="31" text="bind:limt_fromdd"/>
  816. <Cell col="32" text="bind:limt_todd"/>
  817. <Cell col="33" text="bind:limt_lifexptday"/>
  818. <Cell col="34" text="bind:limt_fstrgstrid"/>
  819. <Cell col="35" text="bind:limt_fstrgstdt"/>
  820. <Cell col="36" text="bind:limt_lastupdtrid"/>
  821. <Cell col="37" text="bind:limt_lastupdtdt"/>
  822. <Cell col="38" text="bind:limt_limresn"/>
  823. <Cell col="39" text="bind:limt_limmsg"/>
  824. <Cell col="40" text="bind:limt_limrem"/>
  825. <Cell col="41" text="bind:dic1_calcscorcd"/>
  826. <Cell col="42" text="bind:dic1_seq"/>
  827. <Cell col="43" text="bind:dic1_diagcd"/>
  828. <Cell col="44" text="bind:dic1_diagcdnm"/>
  829. <Cell col="45" text="bind:dic1_expttodd"/>
  830. <Cell col="46" text="bind:dic1_instcd"/>
  831. <Cell col="47" text="bind:dic1_exptfromdd"/>
  832. <Cell col="48" text="bind:dic1_meddentflag"/>
  833. <Cell col="49" text="bind:dic1_prmisnlimyn"/>
  834. <Cell col="50" text="bind:dic2_calcscorcd"/>
  835. <Cell col="51" text="bind:dic2_seq"/>
  836. <Cell col="52" text="bind:dic2_diagcd"/>
  837. <Cell col="53" text="bind:dic2_diagcdnm"/>
  838. <Cell col="54" text="bind:dic2_expttodd"/>
  839. <Cell col="55" text="bind:dic2_instcd"/>
  840. <Cell col="56" text="bind:dic2_exptfromdd"/>
  841. <Cell col="57" text="bind:dic2_meddentflag"/>
  842. <Cell col="58" text="bind:dic2_prmisnlimyn"/>
  843. <Cell col="59" text="bind:dep_calcscorcd"/>
  844. <Cell col="60" text="bind:dep_seq"/>
  845. <Cell col="61" text="bind:dep_exptdeptcd"/>
  846. <Cell col="62" text="bind:dep_expttodd"/>
  847. <Cell col="63" text="bind:dep_instcd"/>
  848. <Cell col="64" text="bind:dep_exptfromdd"/>
  849. <Cell col="65" text="bind:doc_calcscorcd"/>
  850. <Cell col="66" text="bind:doc_seq"/>
  851. <Cell col="67" text="bind:doc_exptdeptnm"/>
  852. <Cell col="68" text="bind:doc_exptdrnm"/>
  853. <Cell col="69" text="bind:doc_exptdeptcd"/>
  854. <Cell col="70" text="bind:doc_exptdrcd"/>
  855. <Cell col="71" text="bind:doc_expttodd"/>
  856. <Cell col="72" text="bind:doc_instcd"/>
  857. <Cell col="73" text="bind:doc_exptfromdd"/>
  858. <Cell col="74" text="bind:lmsg_calcscorcd"/>
  859. <Cell col="75" text="bind:lmsg_seq"/>
  860. <Cell col="76" text="bind:lmsg_seqno"/>
  861. <Cell col="77" text="bind:lmsg_instcd"/>
  862. <Cell col="78" text="bind:lmsg_qestflag"/>
  863. <Cell col="79" text="bind:lmsg_essnyn"/>
  864. <Cell col="80" text="bind:lmsg_payflag"/>
  865. <Cell col="81" text="bind:lmsg_rsltinpt"/>
  866. <Cell col="82" text="bind:lmsg_qestmsg"/>
  867. </Band>
  868. </Format>
  869. </Formats>
  870. </Grid>
  871. <Grid position="absolute 540 202 965 547" id="grd_exceldata1" visible="false" binddataset="ds_hidden_data1_excel" cellmovingtype="col">
  872. <Formats>
  873. <Format id="default">
  874. <Columns>
  875. <Column size="24"/>
  876. <Column size="100"/>
  877. <Column size="30"/>
  878. <Column size="200"/>
  879. <Column size="200"/>
  880. <Column size="30"/>
  881. <Column size="100"/>
  882. <Column size="80"/>
  883. <Column size="80"/>
  884. <Column size="80"/>
  885. <Column size="120"/>
  886. <Column size="80"/>
  887. <Column size="80"/>
  888. <Column size="300"/>
  889. <Column size="80"/>
  890. <Column size="100"/>
  891. <Column size="100"/>
  892. <Column size="100"/>
  893. <Column size="100"/>
  894. <Column size="100"/>
  895. <Column size="100"/>
  896. <Column size="100"/>
  897. <Column size="100"/>
  898. <Column size="100"/>
  899. <Column size="100"/>
  900. <Column size="100"/>
  901. <Column size="100"/>
  902. <Column size="100"/>
  903. <Column size="100"/>
  904. <Column size="100"/>
  905. <Column size="100"/>
  906. <Column size="80"/>
  907. <Column size="80"/>
  908. <Column size="100"/>
  909. <Column size="0"/>
  910. <Column size="100"/>
  911. <Column size="0"/>
  912. <Column size="80"/>
  913. <Column size="80"/>
  914. <Column size="80"/>
  915. <Column size="90"/>
  916. <Column size="90"/>
  917. <Column size="150"/>
  918. <Column size="90"/>
  919. <Column size="150"/>
  920. </Columns>
  921. <Rows>
  922. <Row size="24" band="head"/>
  923. <Row size="24"/>
  924. </Rows>
  925. <Band id="head">
  926. <Cell/>
  927. <Cell col="1" text="수가코드"/>
  928. <Cell col="2" text="순번"/>
  929. <Cell col="3" text="수가한글명"/>
  930. <Cell col="4" text="수가영문명"/>
  931. <Cell col="5" text="구분"/>
  932. <Cell col="6" text="EDI코드"/>
  933. <Cell col="7" text="적용일자"/>
  934. <Cell col="8" text="종료일자"/>
  935. <Cell col="9" text="분류기호"/>
  936. <Cell col="10" text="분류명칭"/>
  937. <Cell col="11" text="단가"/>
  938. <Cell col="12" text="질의번호"/>
  939. <Cell col="13" text="질의사항"/>
  940. <Cell col="14" text="필수여부"/>
  941. <Cell col="15" text="급여구분"/>
  942. <Cell col="16" text="결과입력여부"/>
  943. <Cell col="17" text="보험적용"/>
  944. <Cell col="18" text="급여적용"/>
  945. <Cell col="19" text="산재적용"/>
  946. <Cell col="20" text="자보적용"/>
  947. <Cell col="21" text="공상적용"/>
  948. <Cell col="22" text="입원적용"/>
  949. <Cell col="23" text="외래적용"/>
  950. <Cell col="24" text="허용일투여량"/>
  951. <Cell col="25" text="허용총투여량"/>
  952. <Cell col="26" text="허용총일수"/>
  953. <Cell col="27" text="의사처방허용"/>
  954. <Cell col="28" text="퇴원처방심사규제"/>
  955. <Cell col="29" text="남자적용"/>
  956. <Cell col="30" text="여자적용"/>
  957. <Cell col="31" text="최소나이"/>
  958. <Cell col="32" text="최대나이"/>
  959. <Cell col="33" text="실시간심사"/>
  960. <Cell col="34" text="34"/>
  961. <Cell col="35" text="전액본인부담"/>
  962. <Cell col="36" text="36"/>
  963. <Cell col="37" text="허용상병"/>
  964. <Cell col="38" text="제한상병"/>
  965. <Cell col="39" text="제외진료과"/>
  966. <Cell col="40" text="제외진료의사"/>
  967. <Cell col="41" text="최초등록자ID"/>
  968. <Cell col="42" text="최초등록일시"/>
  969. <Cell col="43" text="최종수정자ID"/>
  970. <Cell col="44" text="최종수정일시"/>
  971. </Band>
  972. <Band id="body">
  973. <Cell celltype="head" expr="currow+1"/>
  974. <Cell col="1" text="bind:limt_calcscorcd"/>
  975. <Cell col="2" text="bind:limt_seq"/>
  976. <Cell col="3" text="bind:limt_hngnm"/>
  977. <Cell col="4" text="bind:limt_engnm"/>
  978. <Cell col="5" text="bind:limt_matrflag"/>
  979. <Cell col="6" text="bind:limt_insuedicd"/>
  980. <Cell col="7" text="bind:limt_fromdd"/>
  981. <Cell col="8" text="bind:limt_todd"/>
  982. <Cell col="9" text="bind:limt_efcyclscd"/>
  983. <Cell col="10" text="bind:limt_efcyclsnm"/>
  984. <Cell col="11" displaytype="number" text="bind:limt_ediunitcost"/>
  985. <Cell col="12" text="bind:lmsg_seqno"/>
  986. <Cell col="13" text="bind:lmsg_qestmsg"/>
  987. <Cell col="14" text="bind:lmsg_essnyn"/>
  988. <Cell col="15" text="bind:lmsg_payflag"/>
  989. <Cell col="16" text="bind:lmsg_rsltinpt"/>
  990. <Cell col="17" text="bind:limt_insuexptyn"/>
  991. <Cell col="18" text="bind:limt_procexptyn"/>
  992. <Cell col="19" text="bind:limt_inducsexptyn"/>
  993. <Cell col="20" text="bind:limt_autmbinsuexptyn"/>
  994. <Cell col="21" text="bind:limt_dutywundexptyn"/>
  995. <Cell col="22" text="bind:limt_inexptyn"/>
  996. <Cell col="23" text="bind:limt_outexptyn"/>
  997. <Cell col="24" text="bind:limt_limdaydrugqty"/>
  998. <Cell col="25" text="bind:limt_limtotdrugqty"/>
  999. <Cell col="26" text="bind:limt_limtotdayno"/>
  1000. <Cell col="27" text="bind:limt_drprcpyn"/>
  1001. <Cell col="28" text="bind:limt_dschprcpyn"/>
  1002. <Cell col="29" text="bind:limt_manlim"/>
  1003. <Cell col="30" text="bind:limt_womlim"/>
  1004. <Cell col="31" text="bind:limt_minage"/>
  1005. <Cell col="32" text="bind:limt_maxage"/>
  1006. <Cell col="33" text="bind:limt_judgnotiyn"/>
  1007. <Cell col="34" text="bind:limt_lifexptyn"/>
  1008. <Cell col="35" text="bind:limt_nopyordyn"/>
  1009. <Cell col="36" text="bind:limt_lifexptday"/>
  1010. <Cell col="37" text="bind:limt_prmisnlimy"/>
  1011. <Cell col="38" text="bind:limt_prmisnlimn"/>
  1012. <Cell col="39" text="bind:limt_exptdeptyn"/>
  1013. <Cell col="40" text="bind:limt_exptdryn"/>
  1014. <Cell col="41" text="bind:limt_fstrgstrid"/>
  1015. <Cell col="42" displaytype="date" text="bind:limt_fstrgstdt" mask="yyyy-MM-dd hh:mm:ss"/>
  1016. <Cell col="43" text="bind:limt_lastupdtrid"/>
  1017. <Cell col="44" displaytype="date" text="bind:limt_lastupdtdt" mask="yyyy-MM-dd hh:mm:ss"/>
  1018. </Band>
  1019. </Format>
  1020. </Formats>
  1021. </Grid>
  1022. <Button position="absolute 1150 400 1192 419" id="btn_msg_del" class="btn2" text="삭제" anchor="top right" onclick="btn_msg_del_onclick"/>
  1023. <Button position="absolute 1106 400 1148 419" id="btn_msg_add" class="btn2" text="추가" anchor="top right" onclick="btn_msg_add_onclick"/>
  1024. <Button position="absolute 1062 400 1104 419" id="button4" class="btn2" text="복사" anchor="top right" onclick="button4_onclick"/>
  1025. <Button position="absolute 995 400 1059 419" id="button5" class="btn2" text="유형적용" anchor="top right" onclick="button5_onclick"/>
  1026. <Static id="caption2" text="보험인정기준/제한규정관리" class="tit_1" position="absolute 0 0 252 23"/>
  1027. <Static id="caption36" text="보험인정기준/제한규정코드&#13;&#10; " class="tit_2" position="absolute 0 211 186 232"/>
  1028. <Shape id="line3" linetype="horizontal" class="line_1" position="absolute 0 227 255 233" style="strokepen:3 solid #33bbbbff;"/>
  1029. <Grid id="datagrid1" taborder="1" binddataset="ds_main_h_limi_limi" useinputpanel="false" position="absolute 0 232 255 569" oncelldblclick="datagrid1_oncelldblclick" selecttype="multirow" cellmovingtype="col">
  1030. <Formats>
  1031. <Format id="default">
  1032. <Columns>
  1033. <Column size="20"/>
  1034. <Column size="72"/>
  1035. <Column size="140"/>
  1036. <Column size="55"/>
  1037. <Column size="120"/>
  1038. <Column size="60"/>
  1039. <Column size="0"/>
  1040. <Column size="0"/>
  1041. <Column size="0"/>
  1042. <Column size="0"/>
  1043. </Columns>
  1044. <Rows>
  1045. <Row size="24" band="head"/>
  1046. <Row size="24"/>
  1047. </Rows>
  1048. <Band id="head">
  1049. <Cell/>
  1050. <Cell col="1" text="수가코드"/>
  1051. <Cell col="2" text="한글명"/>
  1052. <Cell col="3" text="분류기호"/>
  1053. <Cell col="4" text="분류명칭"/>
  1054. <Cell col="5" text="단가"/>
  1055. <Cell col="6" text="fromdd"/>
  1056. <Cell col="7" text="todd"/>
  1057. <Cell col="8" text="seq"/>
  1058. <Cell col="9" text="구분"/>
  1059. </Band>
  1060. <Band id="body">
  1061. <Cell celltype="head" expr="currow+1"/>
  1062. <Cell col="1" style="align:center middle;" text="bind:limi_calcscorcd"/>
  1063. <Cell col="2" style="align:left middle;" text="bind:limi_hngnm"/>
  1064. <Cell col="3" style="align:center middle;" text="bind:limi_efcyclscd"/>
  1065. <Cell col="4" style="align:left middle;" text="bind:limi_efcyclsnm"/>
  1066. <Cell col="5" displaytype="number" text="bind:limi_ediunitcost" mask="9,999"/>
  1067. <Cell col="6" text="bind:limi_fromdd"/>
  1068. <Cell col="7" text="bind:limi_todd"/>
  1069. <Cell col="8" text="bind:limi_seq"/>
  1070. <Cell col="9" text="bind:limi_matrflag"/>
  1071. </Band>
  1072. </Format>
  1073. </Formats>
  1074. </Grid>
  1075. <Static id="caption29" text="수가코드에 대한 HISTORY LIST" class="tit_2" position="absolute 0 577 226 598"/>
  1076. <Shape id="line14" linetype="horizontal" class="line_10" position="absolute 0 593 255 599" style="strokepen:3 solid #33bbbbff;"/>
  1077. <Grid id="grd_history" taborder="2" binddataset="ds_main_right_h_hist_hist" useinputpanel="false" position="absolute 0 598 255 798" anchor="left top bottom" oncelldblclick="grd_history_oncelldblclick" cellmovingtype="col" cellsizingtype="col">
  1078. <Formats>
  1079. <Format id="default">
  1080. <Columns>
  1081. <Column size="21"/>
  1082. <Column size="65"/>
  1083. <Column size="87"/>
  1084. <Column size="87"/>
  1085. <Column size="100"/>
  1086. <Column size="0"/>
  1087. </Columns>
  1088. <Rows>
  1089. <Row size="24" band="head"/>
  1090. <Row size="24"/>
  1091. </Rows>
  1092. <Band id="head">
  1093. <Cell/>
  1094. <Cell col="1" text="수가코드"/>
  1095. <Cell col="2" text="적용일"/>
  1096. <Cell col="3" text="종료일"/>
  1097. <Cell col="4" text="수정자"/>
  1098. <Cell col="5" text="seq"/>
  1099. </Band>
  1100. <Band id="body">
  1101. <Cell celltype="head" expr="currow+1"/>
  1102. <Cell col="1" text="bind:calcscorcd"/>
  1103. <Cell col="2" displaytype="date" text="bind:fromddold" mask="yyyy-MM-dd"/>
  1104. <Cell col="3" displaytype="date" text="bind:toddold" mask="yyyy-MM-dd"/>
  1105. <Cell col="4" text="bind:lastupdtnm"/>
  1106. <Cell col="5" text="bind:seq"/>
  1107. </Band>
  1108. </Format>
  1109. </Formats>
  1110. </Grid>
  1111. </Layout>
  1112. </Layouts>
  1113. <Objects>
  1114. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1115. <ColumnInfo>
  1116. <Column id="limi_calcscorcd" type="STRING" size="256"/>
  1117. <Column id="con_dd" type="STRING" size="256"/>
  1118. <Column id="con_matrflag" type="STRING" size="256"/>
  1119. <Column id="con_unitcost" type="STRING" size="256"/>
  1120. <Column id="con_efcyclscd" type="STRING" size="256"/>
  1121. <Column id="con_efcyclsnm" type="STRING" size="256"/>
  1122. <Column id="deptcd" type="STRING" size="256"/>
  1123. <Column id="doctcd" type="STRING" size="256"/>
  1124. <Column id="termcd_from" type="STRING" size="256"/>
  1125. <Column id="termcd_to" type="STRING" size="256"/>
  1126. <Column id="seq" type="STRING" size="256"/>
  1127. <Column id="calcoldyn" type="STRING" size="256"/>
  1128. <Column id="insukike" type="STRING" size="256"/>
  1129. <Column id="deptnm" type="STRING" size="256"/>
  1130. <Column id="calcscorcd" type="STRING" size="256"/>
  1131. <Column id="doctnm" type="STRING" size="256"/>
  1132. <Column id="calcscsorcd" type="STRING" size="256"/>
  1133. </ColumnInfo>
  1134. <Rows>
  1135. <Row>
  1136. <Col id="limi_calcscorcd"/>
  1137. <Col id="con_dd"/>
  1138. <Col id="con_matrflag"/>
  1139. <Col id="con_unitcost"/>
  1140. <Col id="con_efcyclscd"/>
  1141. <Col id="con_efcyclsnm"/>
  1142. </Row>
  1143. </Rows>
  1144. </Dataset>
  1145. <Dataset id="ds_init_R0040list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1146. <ColumnInfo>
  1147. <Column id="cdnm" type="STRING" size="256"/>
  1148. <Column id="cdid" type="STRING" size="256"/>
  1149. </ColumnInfo>
  1150. </Dataset>
  1151. <Dataset id="ds_main_h_limi_limi" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1152. <ColumnInfo>
  1153. <Column id="limi_calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1154. <Column id="limi_hngnm" type="STRING" size="256" sumtext="한글명"/>
  1155. <Column id="limi_engnm" type="STRING" size="256" sumtext="영문명"/>
  1156. <Column id="limi_insuedicd" type="STRING" size="256" sumtext="보험EDI"/>
  1157. <Column id="limi_matrflag" type="STRING" size="256" sumtext="재료구분"/>
  1158. <Column id="limi_fromdd" type="STRING" size="256" sumtext="시작일"/>
  1159. <Column id="limi_todd" type="STRING" size="256" sumtext="종료일"/>
  1160. <Column id="limi_seq" type="STRING" size="256" sumtext="일련번호"/>
  1161. <Column id="limi_efcyclscd" type="STRING" size="256" sumtext="효능분류코드"/>
  1162. <Column id="limi_efcyclsnm" type="STRING" size="256" sumtext="효능분류명"/>
  1163. <Column id="limi_ediunitcost" type="STRING" size="256" sumtext="단가"/>
  1164. <Column id="limi_fromdd" type="STRING" size="256" sumtext="적용일자"/>
  1165. <Column id="limi_todd" type="STRING" size="256" sumtext="종료일자"/>
  1166. </ColumnInfo>
  1167. </Dataset>
  1168. <Dataset id="ds_main_right_h_hist_hist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1169. <ColumnInfo>
  1170. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1171. <Column id="fromddold" type="STRING" size="256" sumtext="적용일자"/>
  1172. <Column id="toddold" type="STRING" size="256" sumtext="종료일자"/>
  1173. <Column id="seq" type="INT" size="256" sumtext="순번"/>
  1174. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  1175. <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
  1176. <Column id="insuedicd" type="STRING" size="256" sumtext="EDI코드"/>
  1177. <Column id="drugmatractflag" type="STRING" size="256" sumtext="재료구분"/>
  1178. <Column id="lastupdtnm" type="STRING" size="256" sumtext="수정자"/>
  1179. </ColumnInfo>
  1180. </Dataset>
  1181. <Dataset id="ds_main_right_h_limt_limt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_right_h_limt_limt_oncolumnchanged">
  1182. <ColumnInfo>
  1183. <Column id="limt_calcscorcd" type="STRING" size="256"/>
  1184. <Column id="limt_seq" type="STRING" size="256"/>
  1185. <Column id="limt_instcd" type="STRING" size="256"/>
  1186. <Column id="limt_judgnotiyn" type="STRING" size="256"/>
  1187. <Column id="limt_lifexptyn" type="STRING" size="256"/>
  1188. <Column id="limt_lifexptday" type="STRING" size="256"/>
  1189. <Column id="limt_nopyordyn" type="STRING" size="256"/>
  1190. <Column id="limt_insuexptyn" type="STRING" size="256"/>
  1191. <Column id="limt_procexptyn" type="STRING" size="256"/>
  1192. <Column id="limt_inducsexptyn" type="STRING" size="256"/>
  1193. <Column id="limt_autmbinsuexptyn" type="STRING" size="256"/>
  1194. <Column id="limt_dutywundexptyn" type="STRING" size="256"/>
  1195. <Column id="limt_dentexptyn" type="STRING" size="256"/>
  1196. <Column id="limt_inexptyn" type="STRING" size="256"/>
  1197. <Column id="limt_outexptyn" type="STRING" size="256"/>
  1198. <Column id="limt_limdaydrugqty" type="STRING" size="256"/>
  1199. <Column id="limt_limtotdrugqty" type="STRING" size="256"/>
  1200. <Column id="limt_limtotdayno" type="STRING" size="256"/>
  1201. <Column id="limt_drprcpyn" type="STRING" size="256"/>
  1202. <Column id="limt_dschprcpyn" type="STRING" size="256"/>
  1203. <Column id="limt_manlim" type="STRING" size="256"/>
  1204. <Column id="limt_womlim" type="STRING" size="256"/>
  1205. <Column id="limt_ageappyn" type="STRING" size="256"/>
  1206. <Column id="limt_minage" type="STRING" size="256"/>
  1207. <Column id="limt_minage1" type="STRING" size="256"/>
  1208. <Column id="limt_minage2" type="STRING" size="256"/>
  1209. <Column id="limt_maxage" type="STRING" size="256"/>
  1210. <Column id="limt_maxage1" type="STRING" size="256"/>
  1211. <Column id="limt_maxage2" type="STRING" size="256"/>
  1212. <Column id="limt_drugmatractflag" type="STRING" size="256"/>
  1213. <Column id="limt_judgrcogyn" type="STRING" size="256"/>
  1214. <Column id="limt_fromdd" type="STRING" size="256"/>
  1215. <Column id="limt_todd" type="STRING" size="256"/>
  1216. <Column id="limt_limresn" type="STRING" size="256"/>
  1217. <Column id="limt_limmsg" type="STRING" size="256"/>
  1218. <Column id="limt_limrem" type="STRING" size="256"/>
  1219. <Column id="limt_fstrgstrid" type="STRING" size="256"/>
  1220. <Column id="limt_fstrgstdt" type="STRING" size="256"/>
  1221. <Column id="limt_lastupdtrid" type="STRING" size="256"/>
  1222. <Column id="limt_lastupdtdt" type="STRING" size="256"/>
  1223. <Column id="limt_hngnm" type="STRING" size="256"/>
  1224. <Column id="limt_engnm" type="STRING" size="256"/>
  1225. <Column id="limt_matrflag" type="STRING" size="256"/>
  1226. <Column id="limt_insuedicd" type="STRING" size="256"/>
  1227. <Column id="limt_calcscorcd_org" type="STRING" size="256"/>
  1228. <Column id="limt_calcoldyn" type="STRING" size="256"/>
  1229. <Column id="limt_fromddnewyn" type="STRING" size="256"/>
  1230. <Column id="limt_fromflag" type="STRING" size="256"/>
  1231. <Column id="limt_toflag" type="STRING" size="256"/>
  1232. </ColumnInfo>
  1233. <Rows>
  1234. <Row>
  1235. <Col id="limt_calcscorcd"/>
  1236. <Col id="limt_seq"/>
  1237. <Col id="limt_instcd"/>
  1238. <Col id="limt_judgnotiyn"/>
  1239. <Col id="limt_lifexptyn"/>
  1240. <Col id="limt_lifexptday"/>
  1241. <Col id="limt_nopyordyn"/>
  1242. <Col id="limt_insuexptyn"/>
  1243. <Col id="limt_procexptyn"/>
  1244. <Col id="limt_inducsexptyn"/>
  1245. <Col id="limt_autmbinsuexptyn"/>
  1246. <Col id="limt_dutywundexptyn"/>
  1247. <Col id="limt_dentexptyn"/>
  1248. <Col id="limt_inexptyn"/>
  1249. <Col id="limt_outexptyn"/>
  1250. <Col id="limt_limdaydrugqty"/>
  1251. <Col id="limt_limtotdrugqty"/>
  1252. <Col id="limt_limtotdayno"/>
  1253. <Col id="limt_drprcpyn"/>
  1254. <Col id="limt_dschprcpyn"/>
  1255. <Col id="limt_manlim"/>
  1256. <Col id="limt_womlim"/>
  1257. <Col id="limt_ageappyn"/>
  1258. <Col id="limt_minage"/>
  1259. <Col id="limt_minage1"/>
  1260. <Col id="limt_minage2"/>
  1261. <Col id="limt_maxage"/>
  1262. <Col id="limt_maxage1"/>
  1263. <Col id="limt_maxage2"/>
  1264. <Col id="limt_drugmatractflag"/>
  1265. <Col id="limt_judgrcogyn"/>
  1266. <Col id="limt_fromdd"/>
  1267. <Col id="limt_todd"/>
  1268. <Col id="limt_limresn"/>
  1269. <Col id="limt_limmsg"/>
  1270. <Col id="limt_limrem"/>
  1271. <Col id="limt_fstrgstrid"/>
  1272. <Col id="limt_fstrgstdt"/>
  1273. <Col id="limt_lastupdtrid"/>
  1274. <Col id="limt_lastupdtdt"/>
  1275. <Col id="limt_hngnm"/>
  1276. <Col id="limt_engnm"/>
  1277. <Col id="limt_matrflag"/>
  1278. <Col id="limt_insuedicd"/>
  1279. <Col id="limt_calcscorcd_org"/>
  1280. <Col id="limt_calcoldyn"/>
  1281. </Row>
  1282. </Rows>
  1283. </Dataset>
  1284. <Dataset id="ds_init_P0152list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1285. <ColumnInfo>
  1286. <Column id="cdmn" type="STRING" size="256"/>
  1287. <Column id="cdid" type="STRING" size="256"/>
  1288. </ColumnInfo>
  1289. </Dataset>
  1290. <Dataset id="ds_main_right_h_lmsg_lmsg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1291. <ColumnInfo>
  1292. <Column id="rowseq" type="INT" size="256" sumtext="일련번호"/>
  1293. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1294. <Column id="seq" type="INT" size="256" sumtext="순번"/>
  1295. <Column id="seqno" type="INT" size="256" sumtext="일련번호"/>
  1296. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1297. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  1298. <Column id="qestflag" type="STRING" size="256" sumtext="질의구분"/>
  1299. <Column id="essnyn" type="STRING" size="256" sumtext="필수여부"/>
  1300. <Column id="payflag" type="STRING" size="256" sumtext="급여구분"/>
  1301. <Column id="rsltinpt" type="STRING" size="256" sumtext="결과입력여부"/>
  1302. <Column id="qestmsg" type="STRING" size="256" sumtext="질의사항"/>
  1303. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  1304. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1305. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  1306. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1307. </ColumnInfo>
  1308. </Dataset>
  1309. <Dataset id="ds_init_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1310. <ColumnInfo>
  1311. <Column id="cdnm" type="STRING" size="256"/>
  1312. <Column id="cdid" type="STRING" size="256"/>
  1313. </ColumnInfo>
  1314. </Dataset>
  1315. <Dataset id="ds_send_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1316. <ColumnInfo>
  1317. <Column id="termcd_from" type="STRING" size="256"/>
  1318. <Column id="termcd_to" type="STRING" size="256"/>
  1319. </ColumnInfo>
  1320. <Rows>
  1321. <Row/>
  1322. </Rows>
  1323. </Dataset>
  1324. <Dataset id="ds_main_right_h_ldic1_ldic1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1325. <ColumnInfo>
  1326. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1327. <Column id="seq" type="INT" size="256" sumtext="순번"/>
  1328. <Column id="diagcd" type="STRING" size="256" sumtext="허용상병코드"/>
  1329. <Column id="diagcdnm" type="STRING" size="256" sumtext="허용상병코드명"/>
  1330. <Column id="expttodd" type="STRING" size="256" sumtext="예외종료일자"/>
  1331. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1332. <Column id="exptfromdd" type="STRING" size="256" sumtext="예외시작일자"/>
  1333. <Column id="meddentflag" type="STRING" size="256" sumtext="의과치과구분"/>
  1334. <Column id="prmisnlimyn" type="STRING" size="256" sumtext="허용제한여부"/>
  1335. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  1336. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1337. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  1338. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1339. </ColumnInfo>
  1340. </Dataset>
  1341. <Dataset id="ds_send_data3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1342. <ColumnInfo>
  1343. <Column id="termcd_from" type="STRING" size="256"/>
  1344. <Column id="termcd_to" type="STRING" size="256"/>
  1345. </ColumnInfo>
  1346. <Rows>
  1347. <Row/>
  1348. </Rows>
  1349. </Dataset>
  1350. <Dataset id="ds_main_right_h_ldic2_ldic2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1351. <ColumnInfo>
  1352. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1353. <Column id="seq" type="INT" size="256" sumtext="순번"/>
  1354. <Column id="diagcd" type="STRING" size="256" sumtext="제한상병코드"/>
  1355. <Column id="diagcdnm" type="STRING" size="256" sumtext="제한상병코드명"/>
  1356. <Column id="expttodd" type="STRING" size="256" sumtext="예외종료일자"/>
  1357. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1358. <Column id="exptfromdd" type="STRING" size="256" sumtext="예외시작일자"/>
  1359. <Column id="meddentflag" type="STRING" size="256" sumtext="의과치과구분"/>
  1360. <Column id="prmisnlimyn" type="STRING" size="256" sumtext="허용제한여부"/>
  1361. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  1362. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1363. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  1364. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1365. </ColumnInfo>
  1366. </Dataset>
  1367. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1368. <ColumnInfo>
  1369. <Column id="deptlimitflag" type="STRING" size="256"/>
  1370. <Column id="drlimitflag" type="STRING" size="256"/>
  1371. </ColumnInfo>
  1372. <Rows>
  1373. <Row/>
  1374. </Rows>
  1375. </Dataset>
  1376. <Dataset id="ds_main_right_h_ldep_ldep" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_right_h_ldep_ldep_oncolumnchanged">
  1377. <ColumnInfo>
  1378. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1379. <Column id="seq" type="INT" size="256" sumtext="순번"/>
  1380. <Column id="exptdeptcd" type="STRING" size="256" sumtext="예외부서코드"/>
  1381. <Column id="exptdeptcd" type="STRING" size="256" sumtext="예외부서코드"/>
  1382. <Column id="expttodd" type="STRING" size="256" sumtext="예외종료일자"/>
  1383. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1384. <Column id="exptfromdd" type="STRING" size="256" sumtext="예외시작일자"/>
  1385. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  1386. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1387. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  1388. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1389. <Column id="limitflag" type="STRING" size="256" sumtext="예외구분"/>
  1390. </ColumnInfo>
  1391. </Dataset>
  1392. <Dataset id="ds_init_orddeptcd_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1393. <ColumnInfo>
  1394. <Column id="nm" type="STRING" size="256"/>
  1395. <Column id="cd" type="STRING" size="256"/>
  1396. </ColumnInfo>
  1397. </Dataset>
  1398. <Dataset id="ds_init_orddrid_orddridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1399. <ColumnInfo>
  1400. <Column id="cd" type="STRING" size="256"/>
  1401. <Column id="nm" type="STRING" size="256"/>
  1402. </ColumnInfo>
  1403. </Dataset>
  1404. <Dataset id="ds_main_right_h_ldoc_ldoc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1405. <ColumnInfo>
  1406. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1407. <Column id="seq" type="INT" size="256" sumtext="순번"/>
  1408. <Column id="exptdeptnm" type="STRING" size="256" sumtext="예외부서코드명"/>
  1409. <Column id="exptdrnm" type="STRING" size="256" sumtext="예외의사코드명"/>
  1410. <Column id="exptdeptcd" type="STRING" size="256" sumtext="예외부서코드"/>
  1411. <Column id="exptdrcd" type="STRING" size="256" sumtext="예외의사코드"/>
  1412. <Column id="expttodd" type="STRING" size="256" sumtext="예외종료일자"/>
  1413. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1414. <Column id="exptfromdd" type="STRING" size="256" sumtext="예외시작일자"/>
  1415. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  1416. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  1417. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  1418. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1419. <Column id="limitflag" type="STRING" size="256" sumtext="예외구분"/>
  1420. </ColumnInfo>
  1421. </Dataset>
  1422. <Dataset id="ds_hidden_data1_excel" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1423. <ColumnInfo>
  1424. <Column id="limt_calcscorcd" type="STRING" size="256"/>
  1425. <Column id="limt_seq" type="INT" size="256"/>
  1426. <Column id="limt_hngnm" type="STRING" size="256"/>
  1427. <Column id="limt_engnm" type="STRING" size="256"/>
  1428. <Column id="limt_matrflag" type="STRING" size="256"/>
  1429. <Column id="limt_insuedicd" type="STRING" size="256"/>
  1430. <Column id="limt_fromdd" type="STRING" size="256"/>
  1431. <Column id="limt_todd" type="STRING" size="256"/>
  1432. <Column id="limt_efcyclscd" type="STRING" size="256"/>
  1433. <Column id="limt_efcyclsnm" type="STRING" size="256"/>
  1434. <Column id="limt_ediunitcost" type="INT" size="256"/>
  1435. <Column id="lmsg_seqno" type="INT" size="256"/>
  1436. <Column id="lmsg_qestmsg" type="STRING" size="256"/>
  1437. <Column id="lmsg_essnyn" type="STRING" size="256"/>
  1438. <Column id="lmsg_payflag" type="STRING" size="256"/>
  1439. <Column id="lmsg_rsltinpt" type="STRING" size="256"/>
  1440. <Column id="limt_insuexptyn" type="STRING" size="256"/>
  1441. <Column id="limt_procexptyn" type="STRING" size="256"/>
  1442. <Column id="limt_inducsexptyn" type="STRING" size="256"/>
  1443. <Column id="limt_autmbinsuexptyn" type="STRING" size="256"/>
  1444. <Column id="limt_dutywundexptyn" type="STRING" size="256"/>
  1445. <Column id="limt_inexptyn" type="STRING" size="256"/>
  1446. <Column id="limt_outexptyn" type="STRING" size="256"/>
  1447. <Column id="limt_limdaydrugqty" type="INT" size="256"/>
  1448. <Column id="limt_limtotdrugqty" type="INT" size="256"/>
  1449. <Column id="limt_limtotdayno" type="INT" size="256"/>
  1450. <Column id="limt_drprcpyn" type="STRING" size="256"/>
  1451. <Column id="limt_dschprcpyn" type="STRING" size="256"/>
  1452. <Column id="limt_manlim" type="STRING" size="256"/>
  1453. <Column id="limt_womlim" type="STRING" size="256"/>
  1454. <Column id="limt_minage" type="INT" size="256"/>
  1455. <Column id="limt_maxage" type="INT" size="256"/>
  1456. <Column id="limt_judgnotiyn" type="STRING" size="256"/>
  1457. <Column id="limt_lifexptyn" type="INT" size="256"/>
  1458. <Column id="limt_nopyordyn" type="STRING" size="256"/>
  1459. <Column id="limt_lifexptday" type="INT" size="256"/>
  1460. <Column id="limt_prmisnlimy" type="STRING" size="256"/>
  1461. <Column id="limt_prmisnlimn" type="STRING" size="256"/>
  1462. <Column id="limt_exptdeptyn" type="STRING" size="256"/>
  1463. <Column id="limt_exptdryn" type="STRING" size="256"/>
  1464. <Column id="limt_fstrgstrid" type="STRING" size="256"/>
  1465. <Column id="limt_fstrgstdt" type="STRING" size="256"/>
  1466. <Column id="limt_lastupdtrid" type="STRING" size="256"/>
  1467. <Column id="limt_lastupdtdt" type="STRING" size="256"/>
  1468. </ColumnInfo>
  1469. </Dataset>
  1470. <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1471. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1472. <ColumnInfo>
  1473. <Column id="flag" type="STRING" size="256"/>
  1474. <Column id="currendate" type="STRING" size="256"/>
  1475. <Column id="fromdd" type="STRING" size="256"/>
  1476. <Column id="todd" type="STRING" size="256"/>
  1477. <Column id="copyflag" type="STRING" size="256"/>
  1478. </ColumnInfo>
  1479. <Rows>
  1480. <Row/>
  1481. </Rows>
  1482. </Dataset>
  1483. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1484. <ColumnInfo>
  1485. <Column id="appdayflag" type="STRING" size="256"/>
  1486. <Column id="quest_row" type="STRING" size="256"/>
  1487. </ColumnInfo>
  1488. <Rows>
  1489. <Row/>
  1490. </Rows>
  1491. </Dataset>
  1492. <Dataset id="ds_hidden_data3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1493. <Dataset id="ds_temp_extdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1494. <ColumnInfo>
  1495. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1496. <Column id="fromdd" type="STRING" size="256" sumtext="적용일자"/>
  1497. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  1498. </ColumnInfo>
  1499. </Dataset>
  1500. <Dataset id="ds_send_right_iuflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1501. <ColumnInfo>
  1502. <Column id="iuflag" type="STRING" size="256"/>
  1503. </ColumnInfo>
  1504. <Rows>
  1505. <Row/>
  1506. </Rows>
  1507. </Dataset>
  1508. <Dataset id="ds_send_right_limt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1509. <ColumnInfo>
  1510. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1511. <Column id="seq" type="INT" size="256" sumtext="일련번호"/>
  1512. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1513. <Column id="lifexptday" type="INT" size="256" sumtext="평생제한일수"/>
  1514. <Column id="lifexptyn" type="STRING" size="256" sumtext="평생제한여부"/>
  1515. <Column id="judgnotiyn" type="STRING" size="256" sumtext="실시간심사"/>
  1516. <Column id="nopyordyn" type="STRING" size="256" sumtext="비급여처방여부"/>
  1517. <Column id="insuexptyn" type="STRING" size="256" sumtext="보험적용여부"/>
  1518. <Column id="procexptyn" type="STRING" size="256" sumtext="급여적용여부"/>
  1519. <Column id="inducsexptyn" type="STRING" size="256" sumtext="산재적용여부"/>
  1520. <Column id="autmbinsuexptyn" type="STRING" size="256" sumtext="자보적용여부"/>
  1521. <Column id="dutywundexptyn" type="STRING" size="256" sumtext="공상적용여부"/>
  1522. <Column id="dentexptyn" type="STRING" size="256" sumtext="치과적용여부"/>
  1523. <Column id="inexptyn" type="STRING" size="256" sumtext="입원적용여부"/>
  1524. <Column id="outexptyn" type="STRING" size="256" sumtext="외래적용여부"/>
  1525. <Column id="limdaydrugqty" type="BIGDECIMAL" size="256" sumtext="허용일투여량"/>
  1526. <Column id="limtotdrugqty" type="BIGDECIMAL" size="256" sumtext="허용총투여량"/>
  1527. <Column id="limtotdayno" type="INT" size="256" sumtext="허용총일수"/>
  1528. <Column id="drprcpyn" type="STRING" size="256" sumtext="의사처방허용여부"/>
  1529. <Column id="dschprcpyn" type="STRING" size="256" sumtext="퇴원처방심사규제여부"/>
  1530. <Column id="manlim" type="STRING" size="256" sumtext="남자적용여부"/>
  1531. <Column id="womlim" type="STRING" size="256" sumtext="여자적용여부"/>
  1532. <Column id="ageappyn" type="STRING" size="256" sumtext="나이적용여부"/>
  1533. <Column id="minage" type="INT" size="256" sumtext="최저나이"/>
  1534. <Column id="minage1" type="INT" size="256" sumtext="최저나이(년)"/>
  1535. <Column id="minage2" type="INT" size="256" sumtext="최저나이(개월)"/>
  1536. <Column id="maxage" type="INT" size="256" sumtext="최고나이"/>
  1537. <Column id="maxage1" type="INT" size="256" sumtext="최고나이(년)"/>
  1538. <Column id="maxage2" type="INT" size="256" sumtext="최고나이(개월)"/>
  1539. <Column id="drugmatractflag" type="STRING" size="256" sumtext="약제재료행위구분"/>
  1540. <Column id="judgrcogyn" type="STRING" size="256" sumtext="심사허용여부"/>
  1541. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  1542. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  1543. <Column id="limresn" type="STRING" size="256" sumtext="규제사유"/>
  1544. <Column id="limmsg" type="STRING" size="256" sumtext="규제메시지"/>
  1545. <Column id="limrem" type="STRING" size="256" sumtext="규제비고"/>
  1546. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록일시"/>
  1547. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  1548. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1549. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  1550. <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
  1551. <Column id="matrflag" type="STRING" size="256" sumtext="구분"/>
  1552. <Column id="insuedicd" type="STRING" size="256" sumtext="EDI"/>
  1553. <Column id="calcscorcd_org" type="STRING" size="256" sumtext="수가코드_org"/>
  1554. <Column id="fromddnewyn" type="STRING" size="256" sumtext="신규적용일자여부"/>
  1555. <Column id="toddold" type="STRING" size="256" sumtext="이전종료일자"/>
  1556. <Column id="calcoldyn" type="STRING" size="256" sumtext="과거수가여부"/>
  1557. <Column id="fromflag" type="STRING" size="256" sumtext="적용일체크"/>
  1558. <Column id="toflag" type="STRING" size="256" sumtext="종료일체크"/>
  1559. </ColumnInfo>
  1560. <Rows>
  1561. <Row/>
  1562. </Rows>
  1563. </Dataset>
  1564. <Dataset id="ds_send_data4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1565. <ColumnInfo>
  1566. <Column id="calcscorcd" type="STRING" size="256"/>
  1567. <Column id="seq" type="STRING" size="256"/>
  1568. </ColumnInfo>
  1569. </Dataset>
  1570. <Dataset id="ds_cmb_payflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1571. <ColumnInfo>
  1572. <Column id="label" type="STRING" size="256"/>
  1573. <Column id="value" type="STRING" size="256"/>
  1574. </ColumnInfo>
  1575. <Rows>
  1576. <Row>
  1577. <Col id="label">급여</Col>
  1578. <Col id="value">0</Col>
  1579. </Row>
  1580. <Row>
  1581. <Col id="label">전액본인부담</Col>
  1582. <Col id="value">1</Col>
  1583. </Row>
  1584. <Row>
  1585. <Col id="label">비급여</Col>
  1586. <Col id="value">2</Col>
  1587. </Row>
  1588. </Rows>
  1589. </Dataset>
  1590. <Dataset id="ds_hidden_sppiz00400_rslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1591. <Dataset id="ds_init2_h_term" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1592. <ColumnInfo>
  1593. <Column id="termcd" type="STRING" size="256" sumtext="용어코드"/>
  1594. <Column id="termhngnm" type="STRING" size="256" sumtext="용어명 "/>
  1595. </ColumnInfo>
  1596. </Dataset>
  1597. <Dataset id="ds_temp_picmmech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1598. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1599. <ColumnInfo>
  1600. <Column id="srchdrugcd" type="STRING" size="256"/>
  1601. </ColumnInfo>
  1602. <Rows>
  1603. <Row>
  1604. <Col id="srchdrugcd"/>
  1605. </Row>
  1606. </Rows>
  1607. </Dataset>
  1608. <Dataset id="ds_temp_mech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1609. <Dataset id="ds_main_tmp_limt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1610. <ColumnInfo>
  1611. <Column id="matrflag" type="STRING" size="256" sumtext="구분"/>
  1612. <Column id="calcscoryn" type="STRING" size="256" sumtext="존재여부"/>
  1613. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1614. <Column id="insuedicd" type="STRING" size="256" sumtext="보험EDI코드"/>
  1615. <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
  1616. <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
  1617. </ColumnInfo>
  1618. </Dataset>
  1619. <Dataset id="ds_hidden_smpic00200_judgsrch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1620. <ColumnInfo>
  1621. <Column id="con3_search1" type="STRING" size="256"/>
  1622. <Column id="srchdrugcd" type="STRING" size="256"/>
  1623. </ColumnInfo>
  1624. <Rows>
  1625. <Row/>
  1626. </Rows>
  1627. </Dataset>
  1628. <Dataset id="Dataset00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1629. </Objects>
  1630. <Bind>
  1631. <BindItem id="item0" compid="group2.ipt_aplydd" propid="value" datasetid="ds_send" columnid="con_dd"/>
  1632. <BindItem id="item1" compid="group2.group4.radio1" propid="value" datasetid="ds_send" columnid="con_matrflag"/>
  1633. <BindItem id="item2" compid="group2.ipt_unitcost" propid="value" datasetid="ds_send" columnid="con_unitcost"/>
  1634. <BindItem id="item3" compid="group2.cmb_efcycls2" propid="value" datasetid="ds_send" columnid="con_efcyclscd"/>
  1635. <BindItem id="item4" compid="group3.ipt_calcscorcd" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_calcscorcd"/>
  1636. <BindItem id="item5" compid="group3.cmb_matrflag" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_drugmatractflag"/>
  1637. <BindItem id="item6" compid="group3.ipt_fromdd" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_fromdd"/>
  1638. <BindItem id="item7" compid="group3.ipt_todd" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_todd"/>
  1639. <BindItem id="item8" compid="group3.ipt_insuedicd" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_insuedicd"/>
  1640. <BindItem id="item9" compid="group3.opt_hngnm" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_hngnm"/>
  1641. <BindItem id="item10" compid="group3.opt_engnm" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_engnm"/>
  1642. <BindItem id="item11" compid="group3.group5.chk_insuexptyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_insuexptyn"/>
  1643. <BindItem id="item12" compid="group3.group5.chk_dutywundexptyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_dutywundexptyn"/>
  1644. <BindItem id="item13" compid="group3.group5.chk_autmbinsuexptyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_autmbinsuexptyn"/>
  1645. <BindItem id="item14" compid="group3.group5.chk_procexptyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_procexptyn"/>
  1646. <BindItem id="item15" compid="group3.group5.chk_inducsexptyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_inducsexptyn"/>
  1647. <BindItem id="item16" compid="group3.group6.chk_inexptyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_inexptyn"/>
  1648. <BindItem id="item17" compid="group3.group6.chk_outexptyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_outexptyn"/>
  1649. <BindItem id="item18" compid="group3.group9.chk_manlim" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_manlim"/>
  1650. <BindItem id="item19" compid="group3.group9.chk_womlim" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_womlim"/>
  1651. <BindItem id="item20" compid="group3.input12" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_minage1"/>
  1652. <BindItem id="item21" compid="group3.input1" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_minage2"/>
  1653. <BindItem id="item22" compid="group3.input13" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_maxage1"/>
  1654. <BindItem id="item23" compid="group3.input2" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_maxage2"/>
  1655. <BindItem id="item24" compid="group3.group13.chkbox_judgnotiyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_judgnotiyn"/>
  1656. <BindItem id="item25" compid="group3.group13.chkbox_nopyordyn" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_nopyordyn"/>
  1657. <BindItem id="item26" compid="group3.input9" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_limdaydrugqty"/>
  1658. <BindItem id="item27" compid="group3.input10" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_limtotdrugqty"/>
  1659. <BindItem id="item28" compid="group3.input11" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_limtotdayno"/>
  1660. <BindItem id="item29" compid="group3.group8.checkbox3" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_drprcpyn"/>
  1661. <BindItem id="item30" compid="group3.group8.checkbox9" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_dschprcpyn"/>
  1662. <BindItem id="item31" compid="group3.switch4.case4.tar_judgSmm" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_limresn"/>
  1663. <BindItem id="item32" compid="group3.switch4.case5.tar_judg" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_limmsg"/>
  1664. <BindItem id="item33" compid="group3.switch1.case2.ipt_termcd_snw_from" propid="value" datasetid="ds_send_data2" columnid="termcd_from"/>
  1665. <BindItem id="item34" compid="group3.switch1.case2.ipt_termcd_snw_to" propid="value" datasetid="ds_send_data2" columnid="termcd_to"/>
  1666. <BindItem id="item35" compid="group3.switch1.case3.input16" propid="value" datasetid="ds_send_data3" columnid="termcd_from"/>
  1667. <BindItem id="item36" compid="group3.switch1.case3.input17" propid="value" datasetid="ds_send_data3" columnid="termcd_to"/>
  1668. <BindItem id="item37" compid="group3.switch2.case1.rdo_deptlimitflag" propid="value" datasetid="ds_temp" columnid="deptlimitflag"/>
  1669. <BindItem id="item38" compid="group3.switch3.case6.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="deptcd"/>
  1670. <BindItem id="item39" compid="group3.switch3.case6.cmb_orddrid" propid="value" datasetid="ds_send" columnid="doctcd"/>
  1671. <BindItem id="item40" compid="group3.switch3.case6.rdo_drlimitflag" propid="value" datasetid="ds_temp" columnid="drlimitflag"/>
  1672. <BindItem id="item41" compid="group3.grp_limitcnt.ipt_limitcnt" propid="value" datasetid="ds_main_right_h_limt_limt" columnid="limt_lifexptday"/>
  1673. <BindItem id="item42" compid="group3.insucombo" propid="value" datasetid="ds_send" columnid="insukike"/>
  1674. <BindItem id="item43" compid="group2.search_calcsocrcd" propid="value" datasetid="ds_send" columnid="calcscorcd"/>
  1675. </Bind>
  1676. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1677. * System Name :
  1678. * Job Name :
  1679. * Creator :
  1680. * Make Date : 2016-05-24
  1681. * Description :
  1682. *---------------------------------------------------------------------------------------
  1683. * Modify Date Modifier Modify Description
  1684. *---------------------------------------------------------------------------------------
  1685. * 2016-05-24 Live Converter TF->XP
  1686. *
  1687. *---------------------------------------------------------------------------------------
  1688. ****************************************************************************************/
  1689. include "com_commonxp::comm_main.xjs";
  1690. include "pam_pamcomnxp::PAM.xjs";
  1691. include "pam_opatmngtxp::PMOCOM.xjs";
  1692. var limi_calcscorcd1;
  1693. var isDupl = false;
  1694. function SMPIB00400_oninit(obj:Form, e:InitEventInfo)
  1695. {
  1696. frmf_initForm(obj);
  1697. }
  1698. function SMPIB00400_onload(obj:Form, e:LoadEventInfo)
  1699. {
  1700. grdf_initGrid(group3.switch1.case3.datagrid_ldic2);
  1701. grdf_setRowTypeIcon(group3.switch1.case3.datagrid_ldic2, 2);
  1702. grdf_initGrid(group3.switch1.case2.datagrid_ldic1);
  1703. grdf_setRowTypeIcon(group3.switch1.case2.datagrid_ldic1, 2);
  1704. grdf_initGrid(group3.switch2.case1.grd_ldep);
  1705. grdf_setRowTypeIcon(group3.switch2.case1.grd_ldep, 2);
  1706. grdf_initGrid(group3.switch3.case6.grd_ldoc);
  1707. grdf_setRowTypeIcon(group3.switch3.case6.grd_ldoc, 2);
  1708. fGetUserInfosSampling();
  1709. fInitialize();
  1710. ds_send.setColumn(0, "con_matrflag", "%");
  1711. ds_hidden.setColumn(0, "flag", "N");
  1712. group3.grp_limitcnt.ipt_limitcnt.enable = false;
  1713. ds_hidden.setColumn(0, "currendate", utlf_getCurrentDate());
  1714. var arrParam = [{dsNm: "ds_init_P0008list", cdGrpId: "P0008"}
  1715. , {dsNm: "ds_init_P0152list", cdGrpId: "P0152"}
  1716. , {dsNm: "ds_init_P0149list", cdGrpId: "P0149"}
  1717. , {dsNm: "ds_init_R0040list", cdGrpId: "R0040"}]
  1718. appf_getCodeList(arrParam);
  1719. pamGetDeptCDDrIDList();
  1720. ds_init_orddeptcd_orddeptcdlist.copyData(ds_init_orddeptcdlist);
  1721. ds_init_orddrid_orddridlist.copyData(ds_init_orddridlist);
  1722. frmf_addComboItem("group2.cmb_efcycls2","전체","","above");
  1723. appf_showValue(ds_init_R0040list);
  1724. ds_main_h_limi_limi.clearData();
  1725. ds_main_h_limi_limi.addRow();
  1726. ds_main_right_h_hist_hist.clearData();
  1727. var oParam = {};
  1728. oParam.id = "TRPIB00401";
  1729. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  1730. oParam.method = "reqGetInsuRcogCodelimi";
  1731. oParam.inds = "req=ds_send";
  1732. oParam.outds = "ds_main_h_limi_limi=limi";
  1733. oParam.async = false;
  1734. //oParam.callback = "cf_TRPIB00401";
  1735. tranf_submit(oParam);
  1736. }
  1737. function fInitialize()
  1738. {
  1739. if(utlf_isNull(ds_send.getColumn(0, "con_dd")))
  1740. {
  1741. ds_send.setColumn(0, "con_dd", utlf_getCurrentDate());
  1742. }
  1743. ds_send.setColumn(0, "termcd_from", "");
  1744. ds_send.setColumn(0, "termcd_to", "");
  1745. ds_send_data2.clearData();
  1746. ds_send_data2.addRow();
  1747. ds_send_data3.clearData();
  1748. ds_send_data3.addRow();
  1749. ds_send.setColumn(0, "deptcd", "");
  1750. ds_send.setColumn(0, "doctcd", "");
  1751. ds_main_right_h_limt_limt.clearData();
  1752. ds_main_right_h_limt_limt.addRow();
  1753. ds_main_right_h_ldic1_ldic1.clearData();
  1754. ds_main_right_h_ldic2_ldic2.clearData();
  1755. ds_main_right_h_ldep_ldep.clearData();
  1756. ds_main_right_h_ldoc_ldoc.clearData();
  1757. ds_main_right_h_lmsg_lmsg.clearData();
  1758. ds_init.setColumn(0, "appdayflag", "false");
  1759. ds_hidden.setColumn(0, "fromdd", utlf_getCurrentDate());
  1760. ds_hidden.setColumn(0, "fromdd", "99991231");
  1761. ds_init.setColumn(0, "quest_row", "0");
  1762. group3.ipt_calcscorcd.enable = true;
  1763. group3.ipt_fromdd.enable = true;
  1764. group3.btn_search.enable = true;
  1765. group3.opt_hngnm.enable = true;
  1766. fCopyControlStatus("N");
  1767. group3.switch3.case6.rdo_drlimitflag.index = 1;
  1768. group3.switch2.case1.rdo_deptlimitflag.index = 1;
  1769. ds_main_right_h_limt_limt.setColumn(0, "limt_insuexptyn", "Y");
  1770. ds_main_right_h_limt_limt.setColumn(0, "limt_dutywundexptyn", "Y");
  1771. ds_main_right_h_limt_limt.setColumn(0, "limt_procexptyn", "Y");
  1772. ds_main_right_h_limt_limt.setColumn(0, "limt_inducsexptyn", "");
  1773. ds_main_right_h_limt_limt.setColumn(0, "limt_autmbinsuexptyn", "");
  1774. ds_main_right_h_limt_limt.setColumn(0, "limt_inexptyn", "Y");
  1775. ds_main_right_h_limt_limt.setColumn(0, "limt_outexptyn", "Y");
  1776. ds_main_right_h_limt_limt.setColumn(0, "limt_manlim", "Y");
  1777. ds_main_right_h_limt_limt.setColumn(0, "limt_womlim", "Y");
  1778. }
  1779. function fCopyControlStatus(flag)
  1780. {
  1781. if (flag == "Y")
  1782. {
  1783. ds_hidden.setColumn(0, "copyflag", flag);
  1784. group3.btn_save.enable = false;
  1785. group3.btn_delete.enable = false;
  1786. }
  1787. else if (flag == "N")
  1788. {
  1789. ds_hidden.setColumn(0, "copyflag", flag);
  1790. group3.btn_save.enable = true;
  1791. group3.btn_delete.enable = true;
  1792. }
  1793. }
  1794. function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1795. {
  1796. if (e.row > -1)
  1797. {
  1798. var cur_row = e.row;
  1799. fShowCalcInfo(cur_row);
  1800. }
  1801. }
  1802. function fShowCalcInfo(cur_row)
  1803. {
  1804. var flag = ds_hidden.getColumn(0, "flag");
  1805. if (flag == "N")
  1806. {
  1807. if (cur_row > -1)
  1808. {
  1809. }
  1810. else
  1811. {
  1812. return;
  1813. }
  1814. }
  1815. group3.switch4.tabindex = 0;
  1816. group3.switch1.tabindex = 0;
  1817. fInitialize();
  1818. group3.btn_save.enable = true;
  1819. group3.ipt_calcscorcd.enable = false;
  1820. group3.opt_hngnm.enable = false;
  1821. group3.ipt_fromdd.enable = true;
  1822. group3.btn_search.enable = false;
  1823. ds_send.setColumn(0, "limi_calcscorcd", ds_main_h_limi_limi.getColumn(cur_row, "limi_calcscorcd"));
  1824. ds_send.setColumn(0, "seq", ds_main_h_limi_limi.getColumn(cur_row, "limi_seq"));
  1825. ds_send.setColumn(0, "calcoldyn", "N");
  1826. var oParam = {};
  1827. oParam.id = "TRPIB00402";
  1828. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  1829. oParam.method = "reqGetInsuRcogCodelimt";
  1830. oParam.inds = "req=ds_send";
  1831. oParam.outds = "ds_main_right_h_limt_limt=limt ds_main_right_h_ldic1_ldic1=ldic1 ds_main_right_h_ldic2_ldic2=ldic2 ds_main_right_h_ldep_ldep=ldep ds_main_right_h_ldoc_ldoc=ldoc ds_main_right_h_lmsg_lmsg=lmsg ds_main_right_h_hist_hist=hist";
  1832. oParam.async = false;
  1833. //oParam.callback = "cf_TRPIB00402";
  1834. tranf_submit(oParam);
  1835. var lmsg_rows = ds_main_right_h_lmsg_lmsg.rowcount;
  1836. for(var i = 0; i < lmsg_rows; i++)
  1837. {
  1838. if(ds_main_right_h_lmsg_lmsg.getColumn(i, "qestflag") == "C")
  1839. {
  1840. ds_main_right_h_lmsg_lmsg.setColumn(i, "qestflag", "true");
  1841. }
  1842. if(ds_main_right_h_lmsg_lmsg.getColumn(i, "essnyn") == "Y")
  1843. {
  1844. ds_main_right_h_lmsg_lmsg.setColumn(i, "essnyn", "true");
  1845. }
  1846. if(ds_main_right_h_lmsg_lmsg.getColumn(i, "rsltinpt") == "Y")
  1847. {
  1848. ds_main_right_h_lmsg_lmsg.setColumn(i, "rsltinpt", "true");
  1849. }
  1850. }
  1851. if(ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptyn") == "Y")
  1852. {
  1853. group3.grp_limitcnt.ipt_limitcnt.enable = "true";
  1854. }
  1855. else
  1856. {
  1857. group3.grp_limitcnt.ipt_limitcnt.enable = "false";
  1858. }
  1859. ds_hidden.setColumn(0, "fromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  1860. ds_hidden.setColumn(0, "todd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  1861. if(ds_main_right_h_ldep_ldep.getColumn(0, "limitflag") == "A")
  1862. {
  1863. group3.switch2.case1.rdo_deptlimitflag.index = 0;
  1864. }
  1865. else if (ds_main_right_h_ldep_ldep.getColumn(0, "limitflag") == "E")
  1866. {
  1867. group3.switch2.case1.rdo_deptlimitflag.index = 1;
  1868. }
  1869. else
  1870. {
  1871. group3.switch2.case1.rdo_deptlimitflag.index = 1;
  1872. }
  1873. if(ds_main_right_h_ldep_ldep.getColumn(0, "limitflag") == "A")
  1874. {
  1875. group3.switch3.case6.rdo_drlimitflag.index = 0;
  1876. }
  1877. else if(ds_main_right_h_ldep_ldep.getColumn(0, "limitflag") == "E")
  1878. {
  1879. group3.switch3.case6.rdo_drlimitflag.index = 1;
  1880. }
  1881. else
  1882. {
  1883. group3.switch3.case6.rdo_drlimitflag.index = 1;
  1884. }
  1885. btn_msg_add_onclick();
  1886. }
  1887. function btn_msg_add_onclick(obj:Button, e:ClickEventInfo)
  1888. {
  1889. var row = ds_main_right_h_lmsg_lmsg.rowposition;
  1890. var rows = ds_main_right_h_lmsg_lmsg.rowcount;
  1891. if (row > -1)
  1892. {
  1893. var r = row + 1;
  1894. if (rows == 2)
  1895. {
  1896. ds_main_right_h_lmsg_lmsg.addRow();
  1897. }
  1898. else if (rows > r)
  1899. {
  1900. ds_main_right_h_lmsg_lmsg.insertRow(r);
  1901. }
  1902. else
  1903. {
  1904. ds_main_right_h_lmsg_lmsg.addRow();
  1905. }
  1906. }
  1907. else
  1908. {
  1909. ds_main_right_h_lmsg_lmsg.addRow();
  1910. }
  1911. var temp_lmsg = ds_main_right_h_lmsg_lmsg.rowposition;
  1912. ds_main_right_h_lmsg_lmsg.setColumn(temp_lmsg, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  1913. ds_main_right_h_lmsg_lmsg.setColumn(temp_lmsg, "instcd", ds_hidden_session.getColumn(0, "sess_posinstcd"));
  1914. ds_main_right_h_lmsg_lmsg.setColumn(temp_lmsg, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  1915. }
  1916. function group3_button1_onclick(obj:Button, e:ClickEventInfo)
  1917. {
  1918. var insucd = ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd");
  1919. var newfromdd = ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd");
  1920. var newtodd = ds_main_right_h_limt_limt.getColumn(0, "limt_todd");
  1921. var oldfromdd = ds_hidden.getColumn(0, "fromdd");
  1922. var oldtodd = ds_hidden.getColumn(0, "todd");
  1923. if (utlf_isNull(insucd))
  1924. {
  1925. sysf_messageBox("수가코드는 ", "I003");
  1926. return;
  1927. }
  1928. if (utlf_isNull(newfromdd))
  1929. {
  1930. sysf_messageBox("적용일은 ", "I003");
  1931. return;
  1932. }
  1933. if (utlf_isNull(newtodd))
  1934. {
  1935. sysf_messageBox("종료일은 ", "I003");
  1936. return;
  1937. }
  1938. if (newfromdd > newtodd)
  1939. {
  1940. sysf_messageBox("적용일이 종료일보다 이후", "E008");
  1941. return;
  1942. }
  1943. ds_temp.clearData();
  1944. ds_temp.addRow();
  1945. dsf_makeValue(ds_hidden_data3, "calcscorcd", "string", insucd, 0);
  1946. dsf_makeValue(ds_hidden_data3, "fromdd", "string", newfromdd, 0);
  1947. dsf_makeValue(ds_hidden_data3, "todd", "string", newtodd, 0);
  1948. var oParam = {};
  1949. oParam.id = "TRPIB00412";
  1950. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  1951. oParam.method = "reqChkInsuCodeExtYn";
  1952. oParam.inds = "req=ds_hidden_data3";
  1953. oParam.outds = "ds_temp_extdata=ext";
  1954. oParam.async = false;
  1955. //oParam.callback = "cf_TRPIB00412";
  1956. tranf_submit(oParam);
  1957. if(ds_temp_extdata.rowcount == 0)
  1958. {
  1959. refYN = "Y";
  1960. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd_org", "");
  1961. var seq = ds_main_right_h_limt_limt.getColumn(0, "limt_seq");
  1962. var calcscorcd = ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd");
  1963. var ldic1_row = ds_main_right_h_ldic1_ldic1.rowcount;
  1964. for(var i = 0; i < ldic1_row; i++)
  1965. {
  1966. if(ds_main_right_h_ldic1_ldic1.getRowType(i) != 8)
  1967. {
  1968. var arrRow = new Array();
  1969. arrRow[0] = i;
  1970. grdf_setStatus(group3.switch1.case2.datagrid_ldic1, "I", arrRow);
  1971. ds_main_right_h_ldic1_ldic1.setColumn(i, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  1972. ds_main_right_h_ldic1_ldic1.setColumn(i, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  1973. ds_main_right_h_ldic1_ldic1.setColumn(i, "calcscorcd", calcscorcd);
  1974. }
  1975. }
  1976. var ldic2_row = ds_main_right_h_ldic2_ldic2.rowcount;
  1977. for(var i = 0; i < ds_main_right_h_ldic2_ldic2.rowcount; i++)
  1978. {
  1979. if(ds_main_right_h_ldic2_ldic2.getRowType(i) != 8)
  1980. {
  1981. var arrRow = new Array();
  1982. arrRow[0] = i;
  1983. grdf_setStatus(group3.switch1.case3.datagrid_ldic2, "I", arrRow);
  1984. ds_main_right_h_ldic2_ldic2.setColumn(i, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  1985. ds_main_right_h_ldic2_ldic2.setColumn(i, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  1986. ds_main_right_h_ldic2_ldic2.setColumn(i, "calcscorcd", calcscorcd);
  1987. }
  1988. }
  1989. var ldep_row = ds_main_right_h_ldep_ldep.rowcount;
  1990. for(var i = 0; i < ldep_row; i++)
  1991. {
  1992. if(ds_main_right_h_ldep_ldep.getRowType(i) != 8)
  1993. {
  1994. var arrRow = new Array();
  1995. arrRow[0] = i;
  1996. grdf_setStatus(group3.switch2.case1.grd_ldep, "I", arrRow);
  1997. ds_main_right_h_ldep_ldep.setColumn(i, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  1998. ds_main_right_h_ldep_ldep.setColumn(i, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  1999. ds_main_right_h_ldep_ldep.setColumn(i, "calcscorcd", calcscorcd);
  2000. }
  2001. }
  2002. var ldoc_row = ds_main_right_h_ldoc_ldoc.rowcount;
  2003. for(var i = 0; i < ldoc_row; i++)
  2004. {
  2005. if(ds_main_right_h_ldoc_ldoc.getRowType(i) != 8)
  2006. {
  2007. var arrRow = new Array();
  2008. arrRow[0] = i;
  2009. grdf_setStatus(group3.switch3.case6.grd_ldoc, "I", arrRow);
  2010. ds_main_right_h_ldoc_ldoc.setColumn(i, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2011. ds_main_right_h_ldoc_ldoc.setColumn(i, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2012. ds_main_right_h_ldoc_ldoc.setColumn(i, "calcscorcd", calcscorcd);
  2013. }
  2014. }
  2015. var lmsg_row = ds_main_right_h_lmsg_lmsg.rowcount;
  2016. for(var i = 0; i < lmsg_row; i++)
  2017. {
  2018. if(ds_main_right_h_lmsg_lmsg.getRowType(i) != 8)
  2019. {
  2020. var arrRow = new Array();
  2021. arrRow[0] = i;
  2022. grdf_setStatus(group3.grd_lmsg, "I", arrRow);
  2023. ds_main_right_h_lmsg_lmsg.setColumn(i, "calcscorcd", calcscorcd);
  2024. }
  2025. }
  2026. var fromdd = ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd");
  2027. var tmp_year = String(fromdd).substr(0,4);
  2028. var tmp_month = String(fromdd).substr(4,6);
  2029. var tmp_date = String(fromdd).substr(6,8);
  2030. var toddold = "";
  2031. var fromdd_new = new Date(tmp_year,tmp_month-1,tmp_date);
  2032. fromdd_new.setHours(-24);
  2033. toddold += fromdd_new.getYear();
  2034. if ((fromdd_new.getMonth() + 1) < 10)
  2035. {
  2036. toddold += "0" + (fromdd_new.getMonth() + 1);
  2037. }
  2038. else
  2039. {
  2040. toddold += (fromdd_new.getMonth() + 1);
  2041. }
  2042. if (fromdd_new.getDate() < 10)
  2043. {
  2044. toddold += "0" + fromdd_new.getDate();
  2045. }
  2046. else
  2047. {
  2048. toddold += fromdd_new.getDate();
  2049. }
  2050. dsf_makeValue(ds_main_right_h_limt_limt, "limt_toddold", "string", toddold, 0);
  2051. var rows = ds_main_right_h_ldep_ldep.rowcount;
  2052. var exptdeptcd = "";
  2053. for (var i = 0; i < rows; i++)
  2054. {
  2055. exptdeptcd = ds_main_right_h_ldep_ldep.getColumn(i, "exptdeptcd");
  2056. if (utlf_isNull(exptdeptcd))
  2057. {
  2058. sysf_messageBox("제외진료과의 진료과를", "C002")
  2059. //grd_ldep.select(i,0,i,0) = true;
  2060. return;
  2061. }
  2062. }
  2063. var rtn = sysf_messageBox("보험인정기준을", "Q008");
  2064. if (rtn != 6)
  2065. {
  2066. return;
  2067. }
  2068. dsf_makeValue(ds_main_right_h_limt_limt, "limt_calcoldyn", "string", ds_send.getColumn(0, "calcoldyn"), 0);
  2069. ds_send_right_limt.setColumn(0, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  2070. ds_send_right_limt.setColumn(0, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  2071. ds_send_right_limt.setColumn(0, "instcd", ds_main_right_h_limt_limt.getColumn(0, "limt_instcd"));
  2072. ds_send_right_limt.setColumn(0, "lifexptday", ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptday"));
  2073. ds_send_right_limt.setColumn(0, "lifexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptyn"));
  2074. ds_send_right_limt.setColumn(0, "judgnotiyn", ds_main_right_h_limt_limt.getColumn(0, "limt_judgnotiyn"));
  2075. ds_send_right_limt.setColumn(0, "nopyordyn", ds_main_right_h_limt_limt.getColumn(0, "limt_nopyordyn"));
  2076. ds_send_right_limt.setColumn(0, "insuexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_insuexptyn"));
  2077. ds_send_right_limt.setColumn(0, "procexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_procexptyn"));
  2078. ds_send_right_limt.setColumn(0, "inducsexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_inducsexptyn"));
  2079. ds_send_right_limt.setColumn(0, "autmbinsuexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_autmbinsuexptyn"));
  2080. ds_send_right_limt.setColumn(0, "dutywundexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dutywundexptyn"));
  2081. ds_send_right_limt.setColumn(0, "dentexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dentexptyn"));
  2082. ds_send_right_limt.setColumn(0, "inexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_inexptyn"));
  2083. ds_send_right_limt.setColumn(0, "outexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_outexptyn"));
  2084. ds_send_right_limt.setColumn(0, "limdaydrugqty", ds_main_right_h_limt_limt.getColumn(0, "limt_limdaydrugqty"));
  2085. ds_send_right_limt.setColumn(0, "limtotdrugqty", ds_main_right_h_limt_limt.getColumn(0, "limt_limtotdrugqty"));
  2086. ds_send_right_limt.setColumn(0, "limtotdayno", ds_main_right_h_limt_limt.getColumn(0, "limt_limtotdayno"));
  2087. ds_send_right_limt.setColumn(0, "drprcpyn", ds_main_right_h_limt_limt.getColumn(0, "limt_drprcpyn"));
  2088. ds_send_right_limt.setColumn(0, "dschprcpyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dschprcpyn"));
  2089. ds_send_right_limt.setColumn(0, "manlim", ds_main_right_h_limt_limt.getColumn(0, "limt_manlim"));
  2090. ds_send_right_limt.setColumn(0, "womlim", ds_main_right_h_limt_limt.getColumn(0, "limt_womlim"));
  2091. ds_send_right_limt.setColumn(0, "ageappyn", ds_main_right_h_limt_limt.getColumn(0, "limt_ageappyn"));
  2092. ds_send_right_limt.setColumn(0, "minage", ds_main_right_h_limt_limt.getColumn(0, "limt_minage"));
  2093. ds_send_right_limt.setColumn(0, "minage1", ds_main_right_h_limt_limt.getColumn(0, "limt_minage1"));
  2094. ds_send_right_limt.setColumn(0, "minage2", ds_main_right_h_limt_limt.getColumn(0, "limt_minage2"));
  2095. ds_send_right_limt.setColumn(0, "maxage", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage"));
  2096. ds_send_right_limt.setColumn(0, "maxage1", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage1"));
  2097. ds_send_right_limt.setColumn(0, "maxage2", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage2"));
  2098. ds_send_right_limt.setColumn(0, "drugmatractflag", ds_main_right_h_limt_limt.getColumn(0, "limt_drugmatractflag"));
  2099. ds_send_right_limt.setColumn(0, "judgrcogyn", ds_main_right_h_limt_limt.getColumn(0, "limt_judgrcogyn"));
  2100. ds_send_right_limt.setColumn(0, "fromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2101. ds_send_right_limt.setColumn(0, "todd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2102. ds_send_right_limt.setColumn(0, "limresn", ds_main_right_h_limt_limt.getColumn(0, "limt_limresn"));
  2103. ds_send_right_limt.setColumn(0, "limmsg", ds_main_right_h_limt_limt.getColumn(0, "limt_limmsg"));
  2104. ds_send_right_limt.setColumn(0, "limrem", ds_main_right_h_limt_limt.getColumn(0, "limt_limrem"));
  2105. ds_send_right_limt.setColumn(0, "fstrgstrid", ds_main_right_h_limt_limt.getColumn(0, "limt_fstrgstrid"));
  2106. ds_send_right_limt.setColumn(0, "lastupdtrid", ds_main_right_h_limt_limt.getColumn(0, "limt_lastupdtrid"));
  2107. ds_send_right_limt.setColumn(0, "lastupdtdt", ds_main_right_h_limt_limt.getColumn(0, "limt_lastupdtdt"));
  2108. ds_send_right_limt.setColumn(0, "hngnm", ds_main_right_h_limt_limt.getColumn(0, "limt_hngnm"));
  2109. ds_send_right_limt.setColumn(0, "engnm", ds_main_right_h_limt_limt.getColumn(0, "limt_engnm"));
  2110. ds_send_right_limt.setColumn(0, "matrflag", ds_main_right_h_limt_limt.getColumn(0, "limt_matrflag"));
  2111. ds_send_right_limt.setColumn(0, "insuedicd", ds_main_right_h_limt_limt.getColumn(0, "limt_insuedicd"));
  2112. ds_send_right_limt.setColumn(0, "calcscorcd_org", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd_org"));
  2113. ds_send_right_limt.setColumn(0, "fromddnewyn", ds_main_right_h_limt_limt.getColumn(0, "limt_fromddnewyn"));
  2114. ds_send_right_limt.setColumn(0, "toddold", ds_main_right_h_limt_limt.getColumn(0, "limt_toddold"));
  2115. ds_send_right_limt.setColumn(0, "calcoldyn", ds_main_right_h_limt_limt.getColumn(0, "limt_calcoldyn"));
  2116. ds_send_right_limt.setColumn(0, "fromflag", ds_main_right_h_limt_limt.getColumn(0, "limt_fromflag"));
  2117. ds_send_right_limt.setColumn(0, "toflag", ds_main_right_h_limt_limt.getColumn(0, "limt_toflag"));
  2118. var rows= ds_main_right_h_lmsg_lmsg.rowcount;
  2119. var qestmsg = "";
  2120. var qestflag = "";
  2121. var essnyn = "";
  2122. var payflag = "";
  2123. var rsltinpt = "";
  2124. for (var i = 0; i < rows; i++)
  2125. {
  2126. qestmsg = ds_main_right_h_lmsg_lmsg.getColumn(i, "qestmsg");
  2127. qestflag = ds_main_right_h_lmsg_lmsg.getColumn(i, "qestflag");
  2128. essnyn = ds_main_right_h_lmsg_lmsg.getColumn(i, "essnyn");
  2129. payflag = ds_main_right_h_lmsg_lmsg.getColumn(i, "payflag");
  2130. rsltinpt = ds_main_right_h_lmsg_lmsg.getColumn(i, "rsltinpt");
  2131. if (utlf_isNull(qestmsg)&&utlf_isNull(qestflag)&&utlf_isNull(essnyn)&&utlf_isNull(payflag)&&utlf_isNull(rsltinpt))
  2132. {
  2133. var arrRow = new Array();
  2134. arrRow[0] = i;
  2135. grdf_setStatus(group3.grd_lmsg, "U", arrRow);
  2136. }
  2137. else
  2138. {
  2139. if ( qestflag == "true")
  2140. {
  2141. ds_main_right_h_lmsg_lmsg.setColumn(i, "qestflag", "C");
  2142. }
  2143. else if (utlf_isNull(qestflag)|| qestflag == "false" )
  2144. {
  2145. ds_main_right_h_lmsg_lmsg.setColumn(i, "qestflag", "M");
  2146. }
  2147. if ( essnyn == "true")
  2148. {
  2149. ds_main_right_h_lmsg_lmsg.setColumn(i, "essnyn", "Y");
  2150. }
  2151. else if (utlf_isNull(essnyn)|| essnyn == "false" )
  2152. {
  2153. ds_main_right_h_lmsg_lmsg.setColumn(i, "essnyn", "N");
  2154. }
  2155. if ( rsltinpt == "true")
  2156. {
  2157. ds_main_right_h_lmsg_lmsg.setColumn(i, "rsltinpt", "Y");
  2158. }
  2159. else if (utlf_isNull(rsltinpt) || rsltinpt == "false" )
  2160. {
  2161. ds_main_right_h_lmsg_lmsg.setColumn(i, "rsltinpt", "N");
  2162. }
  2163. }
  2164. }
  2165. var updtdata_lmsg = grdf_getGridUpdateData(group3.grd_lmsg).rowcount;
  2166. dsf_makeValue(ds_send_right_iuflag, "iuflag", "string", "i", 0);
  2167. dsf_setDefaultVal(ds_send_right_limt, "lifexptday:0,lifexptyn:N,judgnotiyn:N,nopyordyn:N,insuexptyn:-,procexptyn:-,inducsexptyn:-,autmbinsuexptyn:-,dutywundexptyn:-,dentexptyn:-,inexptyn:-,outexptyn:-,limdaydrugqty:0,limtotdrugqty:0,limtotdayno:0,drprcpyn:N,dschprcpyn:N,manlim:-,womlim:-,ageappyn:N,minage:0,minage1:0,minage2:0,maxage:0,maxage1:0,maxage2:0,drugmatractflag:1,judgrcogyn:N,fromdd:-,todd:-,limresn:-,limmsg:-,limrem:-");
  2168. dsf_setDefaultVal(ds_main_right_h_ldic1_ldic1, "exptfromdd:-,meddentflag:-,prmisnlimyn:-");
  2169. dsf_setDefaultVal(ds_main_right_h_ldic2_ldic2, "exptfromdd:-,meddentflag:-,prmisnlimyn:-");
  2170. dsf_setDefaultVal(ds_main_right_h_ldep_ldep, "exptfromdd:-");
  2171. dsf_setDefaultVal(ds_main_right_h_ldoc_ldoc, "exptfromdd:-");
  2172. dsf_setDefaultVal(ds_main_right_h_lmsg_lmsg, "qestflag:-,essnyn:-,payflag:-,rsltinpt:-,qestmsg:-");
  2173. var oParam = {};
  2174. oParam.id = "TXPIB00401";
  2175. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  2176. oParam.method = "reqSetInsuRcogCodelimt";
  2177. oParam.inds = "limt=ds_send_right_limt ldic1=ds_main_right_h_ldic1_ldic1:U ldic2=ds_main_right_h_ldic2_ldic2:U ldep=ds_main_right_h_ldep_ldep:U ldoc=ds_main_right_h_ldoc_ldoc:U lmsg=ds_main_right_h_lmsg_lmsg:U iuflag=ds_send_right_iuflag";
  2178. oParam.outds = "ds_main_h_limi_limi=limi";
  2179. oParam.async = false;
  2180. oParam.callback = "cf_TXPIB00401";
  2181. tranf_submit(oParam);
  2182. }
  2183. else
  2184. {
  2185. var cd = ds_temp_extdata.getColumn(0, "calcscorcd");
  2186. if (!utlf_isNull(cd))
  2187. {
  2188. sysf_messageBox("이미 등록된 보험인정기준 코드와 적용기간중복", "E008");
  2189. return;
  2190. }
  2191. }
  2192. }
  2193. function cf_TXPIB00401(sSvcId, nErrorCode, sErrorMsg)
  2194. {
  2195. if(nErrorCode < 0)
  2196. {
  2197. sysf_messageBox("보험인정기준 추가", "E009");
  2198. return;
  2199. }
  2200. else
  2201. {
  2202. var limt_calcscorcd = "";
  2203. var calcscorcd = "";
  2204. limt_calcscorcd = ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd");
  2205. if (refYN == "Y")
  2206. {
  2207. group2_btn_ref_onclick();
  2208. }
  2209. var rows = ds_main_h_limi_limi.rowcount;
  2210. for (var i = 0; i < rows; i++)
  2211. {
  2212. calcscorcd = ds_main_h_limi_limi.getColumn(i, "limi_calcscorcd");
  2213. if (limt_calcscorcd == calcscorcd)
  2214. {
  2215. //datagrid1.select(i,0,i,0) = true;
  2216. ds_main_h_limi_limi.rowposition = i;
  2217. //i = rows;
  2218. ds_hidden.setColumn(0, "flag", "Y");
  2219. }
  2220. }
  2221. var cur_row = ds_main_h_limi_limi.rowposition;
  2222. if (cur_row > 0)
  2223. {
  2224. fShowCalcInfo(cur_row);
  2225. }
  2226. ds_hidden.setColumn(0, "flag", "N");
  2227. }
  2228. }
  2229. function group2_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  2230. {
  2231. var matrflag = ds_send.getColumn(0, "con_matrflag");
  2232. ds_main_h_limi_limi.clearData();
  2233. fInitialize();
  2234. ds_send.setColumn(0, "con_matrflag", matrflag);
  2235. ds_main_right_h_hist_hist.clearData();
  2236. var oParam = {};
  2237. oParam.id = "TRPIB00401";
  2238. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  2239. oParam.method = "reqGetInsuRcogCodelimi";
  2240. oParam.inds = "req=ds_send";
  2241. oParam.outds = "ds_main_h_limi_limi=limi";
  2242. oParam.async = false;
  2243. //oParam.callback = "cf_TRPIB00401";
  2244. tranf_submit(oParam);
  2245. }
  2246. function group2_button2_onclick(obj:Button, e:ClickEventInfo)
  2247. {
  2248. var rtn = sysf_messageBox("내용을 엑셀로", "Q002");
  2249. if (rtn != 6)
  2250. {
  2251. return;
  2252. }
  2253. //grdf_exportExcel(grd_exceldata, "보험인정기준DATA1", "see");
  2254. var oParam = {};
  2255. oParam.id = "TRPIB00411";
  2256. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  2257. oParam.method = "reqGetInsuRcogCodeExcelSaveData1";
  2258. oParam.inds = "req=Dataset00";
  2259. oParam.outds = "ds_hidden_data1_excel=exceldata";
  2260. oParam.async = false;
  2261. oParam.callback = "cf_TRPIB00411";
  2262. tranf_submit(oParam);
  2263. dsf_setTypeFormat(ds_hidden_data1_excel, "limt_seq:INT^limt_ediunitcost:INT^lmsg_seqno:INT^limt_limdaydrugqty:INT^limt_limtotdrugqty:INT^limt_limtotdayno:INT^limt_minage:INT^limt_maxage:INT^limt_lifexptyn:INT^limt_lifexptday:INT");
  2264. grdf_exportExcel(grd_exceldata1, "보험인정기준DATA1", "see");
  2265. }
  2266. function cf_TRPIB00411(sSvcId, nErrorCode, sErrorMsg)
  2267. {
  2268. if(nErrorCode < 0)
  2269. {
  2270. return;
  2271. }
  2272. else
  2273. {
  2274. var old_calcscorcd = "";
  2275. var new_calcscorcd = "";
  2276. var calcseq = 0;
  2277. var msgseq = 0;
  2278. for (var i = 0; i < ds_hidden_data1_excel.rowcount; i++)
  2279. {
  2280. var new_calcscorcd = ds_hidden_data1_excel.getColumn(i, "limt_calcscorcd");
  2281. if (old_calcscorcd == new_calcscorcd)
  2282. {
  2283. msgseq = msgseq + 1;
  2284. }
  2285. else
  2286. {
  2287. msgseq = 1;
  2288. calcseq = calcseq + 1;
  2289. old_calcscorcd = new_calcscorcd;
  2290. }
  2291. ds_hidden_data1_excel.setColumn(i, "limt_seq", calcseq);
  2292. ds_hidden_data1_excel.setColumn(i, "lmsg_seqno", msgseq);
  2293. }
  2294. }
  2295. }
  2296. function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
  2297. {
  2298. if (utlf_isNull(ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd")))
  2299. {
  2300. sysf_messageBox("수가코드는 ", "I003");
  2301. return;
  2302. }
  2303. var newfromdd = ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd");
  2304. var newtodd = ds_main_right_h_limt_limt.getColumn(0, "limt_todd");
  2305. var oldfromdd = ds_hidden.getColumn(0, "fromdd");
  2306. var oldtodd = ds_hidden.getColumn(0, "todd");
  2307. if (utlf_isNull(newfromdd))
  2308. {
  2309. sysf_messageBox("적용일은 ", "I003");
  2310. return;
  2311. }
  2312. if (utlf_isNull(newtodd))
  2313. {
  2314. sysf_messageBox("종료일은 ", "I003");
  2315. return;
  2316. }
  2317. if (newfromdd > newtodd)
  2318. {
  2319. sysf_messageBox("적용일이 종료일보다 이후", "E008");
  2320. return;
  2321. }
  2322. refYN = "Y";
  2323. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd_org", "");
  2324. var seq = ds_main_right_h_limt_limt.getColumn(0, "limt_seq");
  2325. var ldic1_row = ds_main_right_h_ldic1_ldic1.rowcount;
  2326. for(var i = 0; i < ldic1_row; i++)
  2327. {
  2328. if(ds_main_right_h_ldic1_ldic1.getRowType(i) != 8)
  2329. {
  2330. var arrRow = new Array();
  2331. arrRow[0] = i;
  2332. grdf_setStatus(group3.switch1.case2.datagrid_ldic1, "I", arrRow);
  2333. ds_main_right_h_ldic1_ldic1.setColumn(i, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2334. ds_main_right_h_ldic1_ldic1.setColumn(i, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2335. }
  2336. }
  2337. var ldic2_row = ds_main_right_h_ldic2_ldic2.rowcount;
  2338. for(var i = 0; i < ldic2_row; i++)
  2339. {
  2340. if(ds_main_right_h_ldic2_ldic2.getRowType(i) != 8)
  2341. {
  2342. var arrRow = new Array();
  2343. arrRow[0] = i;
  2344. grdf_setStatus(group3.switch1.case3.datagrid_ldic2, "I", arrRow);
  2345. ds_main_right_h_ldic2_ldic2.setColumn(i, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2346. ds_main_right_h_ldic2_ldic2.setColumn(i, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2347. }
  2348. }
  2349. var ldep_row = ds_main_right_h_ldep_ldep.rowcount;
  2350. for(var i = 0; i < ldep_row; i++)
  2351. {
  2352. if(ds_main_right_h_ldep_ldep.getRowType(i) != 8)
  2353. {
  2354. var arrRow = new Array();
  2355. arrRow[0] = i;
  2356. grdf_setStatus(group3.switch2.case1.grd_ldep, "I", arrRow);
  2357. ds_main_right_h_ldep_ldep.setColumn(i, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2358. ds_main_right_h_ldep_ldep.setColumn(i, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2359. }
  2360. }
  2361. var ldoc_row = ds_main_right_h_ldoc_ldoc.rowcount;
  2362. for(var i = 0; i < ldoc_row; i++)
  2363. {
  2364. if(ds_main_right_h_ldoc_ldoc.getRowType(i) != 8)
  2365. {
  2366. var arrRow = new Array();
  2367. arrRow[0] = i;
  2368. grdf_setStatus(group3.switch3.case6.grd_ldoc, "I", arrRow);
  2369. ds_main_right_h_ldoc_ldoc.setColumn(i, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2370. ds_main_right_h_ldoc_ldoc.setColumn(i, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2371. }
  2372. }
  2373. var lmsg_row = ds_main_right_h_lmsg_lmsg.rowcount;
  2374. for(var i = 0; i < lmsg_row; i++)
  2375. {
  2376. if(ds_main_right_h_lmsg_lmsg.getRowType(i) != 8)
  2377. {
  2378. var arrRow = new Array();
  2379. arrRow[0] = i;
  2380. grdf_setStatus(group3.grd_lmsg, "I", arrRow);
  2381. }
  2382. }
  2383. var fromdd = ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd");
  2384. var tmp_year = String(fromdd).substr(0,4);
  2385. var tmp_month = String(fromdd).substr(4,6);
  2386. var tmp_date = String(fromdd).substr(6,8);
  2387. var toddold = "";
  2388. var fromdd_new = new Date(tmp_year,tmp_month-1,tmp_date);
  2389. fromdd_new.setHours(-24);
  2390. toddold += fromdd_new.getYear();
  2391. if ((fromdd_new.getMonth() + 1) < 10)
  2392. {
  2393. toddold += "0" + (fromdd_new.getMonth() + 1);
  2394. }
  2395. else
  2396. {
  2397. toddold += (fromdd_new.getMonth() + 1);
  2398. }
  2399. if (fromdd_new.getDate() < 10)
  2400. {
  2401. toddold += "0" + fromdd_new.getDate();
  2402. }
  2403. else
  2404. {
  2405. toddold += fromdd_new.getDate();
  2406. }
  2407. dsf_makeValue(ds_main_right_h_limt_limt, "limt_toddold", "string", toddold, 0);
  2408. var rows = ds_main_right_h_ldep_ldep.rowcount;
  2409. var exptdeptcd = "";
  2410. for (var i = 0; i < rows; i++)
  2411. {
  2412. exptdeptcd = ds_main_right_h_ldep_ldep.getColumn(i, "exptdeptcd");
  2413. if(utlf_isNull(exptdeptcd))
  2414. {
  2415. sysf_messageBox("제외진료과의 진료과를", "C002")
  2416. //grd_ldep.select(i,0,i,0) = true;
  2417. return;
  2418. }
  2419. }
  2420. var rtn = sysf_messageBox("보험인정기준 변경사항을", "Q002");
  2421. if (rtn != 6)
  2422. {
  2423. return;
  2424. }
  2425. dsf_makeValue(ds_main_right_h_limt_limt, "limt_calcoldyn", "string", ds_send.getColumn(0, "calcoldyn"), 0);
  2426. ds_send_right_limt.setColumn(0, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  2427. ds_send_right_limt.setColumn(0, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  2428. ds_send_right_limt.setColumn(0, "instcd", ds_main_right_h_limt_limt.getColumn(0, "limt_instcd"));
  2429. ds_send_right_limt.setColumn(0, "lifexptday", ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptday"));
  2430. ds_send_right_limt.setColumn(0, "lifexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptyn"));
  2431. ds_send_right_limt.setColumn(0, "judgnotiyn", ds_main_right_h_limt_limt.getColumn(0, "limt_judgnotiyn"));
  2432. ds_send_right_limt.setColumn(0, "nopyordyn", ds_main_right_h_limt_limt.getColumn(0, "limt_nopyordyn"));
  2433. ds_send_right_limt.setColumn(0, "insuexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_insuexptyn"));
  2434. ds_send_right_limt.setColumn(0, "procexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_procexptyn"));
  2435. ds_send_right_limt.setColumn(0, "inducsexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_inducsexptyn"));
  2436. ds_send_right_limt.setColumn(0, "autmbinsuexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_autmbinsuexptyn"));
  2437. ds_send_right_limt.setColumn(0, "dutywundexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dutywundexptyn"));
  2438. ds_send_right_limt.setColumn(0, "dentexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dentexptyn"));
  2439. ds_send_right_limt.setColumn(0, "inexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_inexptyn"));
  2440. ds_send_right_limt.setColumn(0, "outexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_outexptyn"));
  2441. ds_send_right_limt.setColumn(0, "limdaydrugqty", ds_main_right_h_limt_limt.getColumn(0, "limt_limdaydrugqty"));
  2442. ds_send_right_limt.setColumn(0, "limtotdrugqty", ds_main_right_h_limt_limt.getColumn(0, "limt_limtotdrugqty"));
  2443. ds_send_right_limt.setColumn(0, "limtotdayno", ds_main_right_h_limt_limt.getColumn(0, "limt_limtotdayno"));
  2444. ds_send_right_limt.setColumn(0, "drprcpyn", ds_main_right_h_limt_limt.getColumn(0, "limt_drprcpyn"));
  2445. ds_send_right_limt.setColumn(0, "dschprcpyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dschprcpyn"));
  2446. ds_send_right_limt.setColumn(0, "manlim", ds_main_right_h_limt_limt.getColumn(0, "limt_manlim"));
  2447. ds_send_right_limt.setColumn(0, "womlim", ds_main_right_h_limt_limt.getColumn(0, "limt_womlim"));
  2448. ds_send_right_limt.setColumn(0, "ageappyn", ds_main_right_h_limt_limt.getColumn(0, "limt_ageappyn"));
  2449. ds_send_right_limt.setColumn(0, "minage", ds_main_right_h_limt_limt.getColumn(0, "limt_minage"));
  2450. ds_send_right_limt.setColumn(0, "minage1", ds_main_right_h_limt_limt.getColumn(0, "limt_minage1"));
  2451. ds_send_right_limt.setColumn(0, "minage2", ds_main_right_h_limt_limt.getColumn(0, "limt_minage2"));
  2452. ds_send_right_limt.setColumn(0, "maxage", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage"));
  2453. ds_send_right_limt.setColumn(0, "maxage1", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage1"));
  2454. ds_send_right_limt.setColumn(0, "maxage2", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage2"));
  2455. ds_send_right_limt.setColumn(0, "drugmatractflag", ds_main_right_h_limt_limt.getColumn(0, "limt_drugmatractflag"));
  2456. ds_send_right_limt.setColumn(0, "judgrcogyn", ds_main_right_h_limt_limt.getColumn(0, "limt_judgrcogyn"));
  2457. ds_send_right_limt.setColumn(0, "fromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2458. ds_send_right_limt.setColumn(0, "todd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2459. ds_send_right_limt.setColumn(0, "limresn", ds_main_right_h_limt_limt.getColumn(0, "limt_limresn"));
  2460. ds_send_right_limt.setColumn(0, "limmsg", ds_main_right_h_limt_limt.getColumn(0, "limt_limmsg"));
  2461. ds_send_right_limt.setColumn(0, "limrem", ds_main_right_h_limt_limt.getColumn(0, "limt_limrem"));
  2462. ds_send_right_limt.setColumn(0, "fstrgstrid", ds_main_right_h_limt_limt.getColumn(0, "limt_fstrgstrid"));
  2463. ds_send_right_limt.setColumn(0, "lastupdtrid", ds_main_right_h_limt_limt.getColumn(0, "limt_lastupdtrid"));
  2464. ds_send_right_limt.setColumn(0, "lastupdtdt", ds_main_right_h_limt_limt.getColumn(0, "limt_lastupdtdt"));
  2465. ds_send_right_limt.setColumn(0, "hngnm", ds_main_right_h_limt_limt.getColumn(0, "limt_hngnm"));
  2466. ds_send_right_limt.setColumn(0, "engnm", ds_main_right_h_limt_limt.getColumn(0, "limt_engnm"));
  2467. ds_send_right_limt.setColumn(0, "matrflag", ds_main_right_h_limt_limt.getColumn(0, "limt_matrflag"));
  2468. ds_send_right_limt.setColumn(0, "insuedicd", ds_main_right_h_limt_limt.getColumn(0, "limt_insuedicd"));
  2469. ds_send_right_limt.setColumn(0, "calcscorcd_org", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd_org"));
  2470. ds_send_right_limt.setColumn(0, "fromddnewyn", ds_main_right_h_limt_limt.getColumn(0, "limt_fromddnewyn"));
  2471. ds_send_right_limt.setColumn(0, "toddold", ds_main_right_h_limt_limt.getColumn(0, "limt_toddold"));
  2472. ds_send_right_limt.setColumn(0, "calcoldyn", ds_main_right_h_limt_limt.getColumn(0, "limt_calcoldyn"));
  2473. ds_send_right_limt.setColumn(0, "fromflag", ds_main_right_h_limt_limt.getColumn(0, "limt_fromflag"));
  2474. ds_send_right_limt.setColumn(0, "toflag", ds_main_right_h_limt_limt.getColumn(0, "limt_toflag"));
  2475. var rows= ds_main_right_h_lmsg_lmsg.rowcount;
  2476. var qestmsg = "";
  2477. var qestflag = "";
  2478. var essnyn = "";
  2479. var payflag = "";
  2480. var rsltinpt = "";
  2481. for (var i = 0; i < rows; i++)
  2482. {
  2483. qestmsg = ds_main_right_h_lmsg_lmsg.getColumn(i, "qestmsg");
  2484. qestflag = ds_main_right_h_lmsg_lmsg.getColumn(i, "qestflag");
  2485. essnyn = ds_main_right_h_lmsg_lmsg.getColumn(i, "essnyn");
  2486. payflag = ds_main_right_h_lmsg_lmsg.getColumn(i, "payflag");
  2487. rsltinpt = ds_main_right_h_lmsg_lmsg.getColumn(i, "rsltinpt");
  2488. if (utlf_isNull(qestmsg) && utlf_isNull(qestflag) && utlf_isNull(essnyn) && utlf_isNull(payflag) && utlf_isNull(rsltinpt))
  2489. {
  2490. var arrRow = new Array();
  2491. arrRow[0] = i;
  2492. grdf_setStatus(group3.grd_lmsg, "U", arrRow);
  2493. }
  2494. else
  2495. {
  2496. if ( qestflag == "true")
  2497. {
  2498. ds_main_right_h_lmsg_lmsg.setColumn(i, "qestflag", "C");
  2499. }
  2500. else if (utlf_isNull(qestflag) || qestflag == "false" )
  2501. {
  2502. ds_main_right_h_lmsg_lmsg.setColumn(i, "qestflag", "M");
  2503. }
  2504. if ( essnyn == "true")
  2505. {
  2506. ds_main_right_h_lmsg_lmsg.setColumn(i, "essnyn", "Y");
  2507. }
  2508. else if (utlf_isNull(essnyn) || essnyn == "false" )
  2509. {
  2510. ds_main_right_h_lmsg_lmsg.setColumn(i, "essnyn", "N");
  2511. }
  2512. if ( rsltinpt == "true")
  2513. {
  2514. ds_main_right_h_lmsg_lmsg.setColumn(i, "rsltinpt", "Y");
  2515. }
  2516. else if(utlf_isNull(rsltinpt)|| rsltinpt == "false" )
  2517. {
  2518. ds_main_right_h_lmsg_lmsg.setColumn(i, "rsltinpt", "N");
  2519. }
  2520. }
  2521. }
  2522. ds_send_right_iuflag.setColumn(0, "iuflag", "u");
  2523. dsf_setDefaultVal(ds_send_right_limt, "lifexptday:0,lifexptyn:N,judgnotiyn:N,nopyordyn:N,insuexptyn:-,procexptyn:-,inducsexptyn:-,autmbinsuexptyn:-,dutywundexptyn:-,dentexptyn:-,inexptyn:-,outexptyn:-,limdaydrugqty:0,limtotdrugqty:0,limtotdayno:0,drprcpyn:N,dschprcpyn:N,manlim:-,womlim:-,ageappyn:N,minage:0,minage1:0,minage2:0,maxage:0,maxage1:0,maxage2:0,drugmatractflag:1,judgrcogyn:N,fromdd:-,todd:-,limresn:-,limmsg:-,limrem:-");
  2524. dsf_setDefaultVal(ds_main_right_h_ldic1_ldic1, "exptfromdd:-,meddentflag:-,prmisnlimyn:-");
  2525. dsf_setDefaultVal(ds_main_right_h_ldic2_ldic2, "exptfromdd:-,meddentflag:-,prmisnlimyn:-");
  2526. dsf_setDefaultVal(ds_main_right_h_ldep_ldep, "exptfromdd:-");
  2527. dsf_setDefaultVal(ds_main_right_h_ldoc_ldoc, "exptfromdd:-");
  2528. dsf_setDefaultVal(ds_main_right_h_lmsg_lmsg, "qestflag:-,essnyn:-,payflag:-,rsltinpt:-,qestmsg:-");
  2529. var oParam = {};
  2530. oParam.id = "TXPIB00401";
  2531. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  2532. oParam.method = "reqSetInsuRcogCodelimt";
  2533. oParam.inds = "limt=ds_send_right_limt ldic1=ds_main_right_h_ldic1_ldic1:U ldic2=ds_main_right_h_ldic2_ldic2:U ldep=ds_main_right_h_ldep_ldep:U ldoc=ds_main_right_h_ldoc_ldoc:U lmsg=ds_main_right_h_lmsg_lmsg:u iuflag=ds_send_right_iuflag";
  2534. oParam.outds = "ds_main_h_limi_limi=limi";
  2535. oParam.async = false;
  2536. oParam.callback = "cf_TXPIB00401_1";
  2537. tranf_submit(oParam);
  2538. }
  2539. function cf_TXPIB00401_1(sSvcId, nErrorCode, sErrorMsg)
  2540. {
  2541. if(nErrorCode < 0)
  2542. {
  2543. sysf_messageBox("보험인정기준 변경", "E009");
  2544. return;
  2545. }
  2546. else
  2547. {
  2548. var limt_calcscorcd = "";
  2549. var calcscorcd = "";
  2550. limt_calcscorcd = ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd");
  2551. if (refYN == "Y")
  2552. {
  2553. group2_btn_ref_onclick();
  2554. }
  2555. var rows = ds_main_h_limi_limi.rowcount;
  2556. for (var i = 0; i < rows; i++)
  2557. {
  2558. calcscorcd = ds_main_h_limi_limi.getColumn(i, "limi_calcscorcd");
  2559. if (limt_calcscorcd == calcscorcd)
  2560. {
  2561. //datagrid1.select(i,0,i,0) = true;
  2562. ds_main_h_limi_limi.rowposition = i;
  2563. //i = rows;
  2564. ds_hidden.setColumn(0, "flag", "Y");
  2565. }
  2566. }
  2567. var cur_row = ds_main_h_limi_limi.rowposition;
  2568. if (cur_row > 0)
  2569. {
  2570. fShowCalcInfo(cur_row);
  2571. }
  2572. ds_hidden.setColumn(0, "flag", "N");
  2573. }
  2574. }
  2575. function group3_btn_delete_onclick(obj:Button, e:ClickEventInfo)
  2576. {
  2577. var limt_calcscorcd = ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd");
  2578. if (utlf_isNull(ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd")))
  2579. {
  2580. sysf_messageBox("삭제할 보험인정기준이 선택되지", "E007");
  2581. return;
  2582. }
  2583. var rtn = sysf_messageBox("보험인정기준을", "Q001");
  2584. if (rtn != 6)
  2585. {
  2586. return;
  2587. }
  2588. ds_send_data4.clearData();
  2589. ds_send_data4.addRow();
  2590. ds_send_data4.setColumn(0, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  2591. ds_send_data4.setColumn(0, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  2592. var oParam = {};
  2593. oParam.id = "TXPIB00402";
  2594. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  2595. oParam.method = "reqDeleteInsuRcogCode";
  2596. oParam.inds = "deletecode=ds_send_data4";
  2597. oParam.outds = "";
  2598. oParam.async = false;
  2599. //oParam.callback = "cf_TXPIB00402";
  2600. tranf_submit(oParam);
  2601. group2_btn_ref_onclick();
  2602. var rows = ds_main_h_limi_limi.rowcount;
  2603. for (var i = 0; i < rows; i++)
  2604. {
  2605. calcscorcd = ds_main_h_limi_limi.getColumn(i, "limi_calcscorcd");
  2606. if (limt_calcscorcd == calcscorcd)
  2607. {
  2608. //datagrid1.select(i,0,i,0) = true;
  2609. ds_main_h_limi_limi.rowposition = i;
  2610. i = rows;
  2611. ds_hidden.setColumn(0, "flag", "Y");
  2612. }
  2613. }
  2614. //datagrid1_oncelldblclick();
  2615. }
  2616. function group3_button3_onclick(obj:Button, e:ClickEventInfo)
  2617. {
  2618. fInitialize();
  2619. ds_send.setColumn(0, "con_matrflag", "%");
  2620. ds_hidden.setColumn(0, "flag", "N");
  2621. ds_main_right_h_hist_hist.clearData();
  2622. }
  2623. function group3_btn_allinsert_onclick(obj:Button, e:ClickEventInfo)
  2624. {
  2625. if (utlf_isNull(ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd")))
  2626. {
  2627. sysf_messageBox("수가코드는 ", "I003");
  2628. return;
  2629. }
  2630. var newfromdd = ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd");
  2631. var newtodd = ds_main_right_h_limt_limt.getColumn(0, "limt_todd");
  2632. var oldfromdd = ds_hidden.getColumn(0, "fromdd");
  2633. var oldtodd = ds_hidden.getColumn(0, "todd");
  2634. if (utlf_isNull(newfromdd))
  2635. {
  2636. sysf_messageBox("적용일은 ", "I003");
  2637. return;
  2638. }
  2639. if (utlf_isNull(newtodd))
  2640. {
  2641. sysf_messageBox("종료일은 ", "I003");
  2642. return;
  2643. }
  2644. if (newfromdd > newtodd)
  2645. {
  2646. sysf_messageBox("적용일이 종료일보다 이후", "E008");
  2647. return;
  2648. }
  2649. var rows = ds_main_right_h_ldep_ldep.rowcount;
  2650. var exptdeptcd = "";
  2651. for (var o = 0; o < rows; o++)
  2652. {
  2653. exptdeptcd = ds_main_right_h_ldep_ldep.getColumn(o, "exptdeptcd");
  2654. if(utlf_isNull(exptdeptcd))
  2655. {
  2656. sysf_messageBox("제외진료과의 진료과를", "C002")
  2657. //grd_ldep.select(o,0,o,0) = true;
  2658. return;
  2659. }
  2660. }
  2661. refYN = "Y";
  2662. var rtn = sysf_messageBox("보험인정기준 변경사항을 일괄", "Q008");
  2663. if (rtn != 6)
  2664. {
  2665. return;
  2666. }
  2667. var fromdd = ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd");
  2668. var tmp_year = String(fromdd).substr(0,4);
  2669. var tmp_month = String(fromdd).substr(4,6);
  2670. var tmp_date = String(fromdd).substr(6,8);
  2671. var toddold = "";
  2672. var fromdd_new = new Date(tmp_year,tmp_month-1,tmp_date);
  2673. fromdd_new.setHours(-24);
  2674. toddold += fromdd_new.getYear();
  2675. if ((fromdd_new.getMonth() + 1) < 10)
  2676. {
  2677. toddold += "0" + (fromdd_new.getMonth() + 1);
  2678. }
  2679. else
  2680. {
  2681. toddold += (fromdd_new.getMonth() + 1);
  2682. }
  2683. if (fromdd_new.getDate() < 10)
  2684. {
  2685. toddold += "0" + fromdd_new.getDate();
  2686. }
  2687. else
  2688. {
  2689. toddold += fromdd_new.getDate();
  2690. }
  2691. dsf_makeValue(ds_main_right_h_limt_limt, "limt_toddold", "string", toddold, 0);
  2692. var rslt = "";
  2693. var sel_rows = grdf_getSelectedRows(datagrid1);
  2694. var oldcalcscorcd = ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd");
  2695. for (var i = 0; i < sel_rows.length; i++)
  2696. {
  2697. var sel = sel_rows[i];
  2698. limi_calcscorcd1 = ds_main_h_limi_limi.getColumn(sel, "limi_calcscorcd");
  2699. var limi_seq1 = ds_main_h_limi_limi.getColumn(sel, "limi_seq");
  2700. var limi_fromdd = ds_main_h_limi_limi.getColumn(sel, "limi_fromdd");
  2701. var limi_todd = ds_main_h_limi_limi.getColumn(sel, "limi_todd");
  2702. ds_temp.clearData();
  2703. ds_temp.addRow();
  2704. dsf_makeValue(ds_hidden_data3, "calcscorcd", "string", limi_calcscorcd1, 0);
  2705. dsf_makeValue(ds_hidden_data3, "fromdd", "string", newfromdd, 0);
  2706. dsf_makeValue(ds_hidden_data3, "todd", "string", newtodd, 0);
  2707. var oParam = {};
  2708. oParam.id = "TRPIB00412";
  2709. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  2710. oParam.method = "reqChkInsuCodeExtYn";
  2711. oParam.inds = "req=ds_hidden_data3";
  2712. oParam.outds = "ds_temp_extdata=ext";
  2713. oParam.async = false;
  2714. oParam.callback = "cf_TRPIB00412_2";
  2715. tranf_submit(oParam);
  2716. if (isDupl == false)
  2717. {
  2718. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd_org", "");
  2719. var ldic1_row = ds_main_right_h_ldic1_ldic1.rowcount;
  2720. for(var j = 0; j < ldic1_row; j++)
  2721. {
  2722. if(ds_main_right_h_ldic1_ldic1.getRowType(j) != 8)
  2723. {
  2724. var arrRow = new Array();
  2725. arrRow[0] = j;
  2726. grdf_setStatus(group3.switch1.case2.datagrid_ldic1, "I", arrRow);
  2727. ds_main_right_h_ldic1_ldic1.setColumn(j, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2728. ds_main_right_h_ldic1_ldic1.setColumn(j, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2729. ds_main_right_h_ldic1_ldic1.setColumn(j, "calcscorcd", limi_calcscorcd1);
  2730. }
  2731. }
  2732. var ldic2_row = ds_main_right_h_ldic2_ldic2.rowcount;
  2733. for(var k = 0; k < ldic2_row; k++)
  2734. {
  2735. if(ds_main_right_h_ldic2_ldic2.getRowType(k) != 8)
  2736. {
  2737. var arrRow = new Array();
  2738. arrRow[0] = k;
  2739. grdf_setStatus(group3.switch1.case3.datagrid_ldic2, "I", arrRow);
  2740. ds_main_right_h_ldic2_ldic2.setColumn(k, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2741. ds_main_right_h_ldic2_ldic2.setColumn(k, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2742. ds_main_right_h_ldic2_ldic2.setColumn(k, "calcscorcd", limi_calcscorcd1);
  2743. }
  2744. }
  2745. var ldep_row = ds_main_right_h_ldep_ldep.rowcount;
  2746. for(var l = 0; l < ldep_row; l++)
  2747. {
  2748. if(ds_main_right_h_ldep_ldep.getRowType(l) != 8)
  2749. {
  2750. var arrRow = new Array();
  2751. arrRow[0] = l;
  2752. grdf_setStatus(group3.switch2.case1.grd_ldep, "I", arrRow);
  2753. ds_main_right_h_ldep_ldep.setColumn(l, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2754. ds_main_right_h_ldep_ldep.setColumn(l, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2755. ds_main_right_h_ldep_ldep.setColumn(l, "calcscorcd", limi_calcscorcd1);
  2756. }
  2757. }
  2758. var ldoc_row = ds_main_right_h_ldoc_ldoc.rowcount;
  2759. for(var m = 0; m < ldoc_row; m++)
  2760. {
  2761. if(ds_main_right_h_ldoc_ldoc.getRowType(m) != 8)
  2762. {
  2763. var arrRow = new Array();
  2764. arrRow[0] = m;
  2765. grdf_setStatus(group3.switch3.case6.grd_ldoc, "I", arrRow);
  2766. ds_main_right_h_ldoc_ldoc.setColumn(m, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2767. ds_main_right_h_ldoc_ldoc.setColumn(m, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2768. ds_main_right_h_ldoc_ldoc.setColumn(m, "calcscorcd", limi_calcscorcd1);
  2769. }
  2770. }
  2771. var lmsg_row = ds_main_right_h_lmsg_lmsg.rowcount;
  2772. for(var n = 0; n < lmsg_row; n++)
  2773. {
  2774. if(ds_main_right_h_lmsg_lmsg.getRowType(n) != 8)
  2775. {
  2776. var arrRow = new Array();
  2777. arrRow[0] = n;
  2778. grdf_setStatus(group3.grd_lmsg, "I", arrRow);
  2779. ds_main_right_h_lmsg_lmsg.setColumn(n, "calcscorcd", limi_calcscorcd1);
  2780. }
  2781. }
  2782. var rows= ds_main_right_h_lmsg_lmsg.rowcount;
  2783. var qestmsg = "";
  2784. var qestflag = "";
  2785. var essnyn = "";
  2786. var payflag = "";
  2787. var rsltinpt = "";
  2788. for (var p = 0; p < rows; p++)
  2789. {
  2790. qestmsg = ds_main_right_h_lmsg_lmsg.getColumn(p, "qestmsg");
  2791. qestflag = ds_main_right_h_lmsg_lmsg.getColumn(p, "qestflag");
  2792. essnyn = ds_main_right_h_lmsg_lmsg.getColumn(p, "essnyn");
  2793. payflag = ds_main_right_h_lmsg_lmsg.getColumn(p, "payflag");
  2794. rsltinpt = ds_main_right_h_lmsg_lmsg.getColumn(p, "rsltinpt");
  2795. if (utlf_isNull(qestmsg) && utlf_isNull(qestflag) && utlf_isNull(essnyn) && utlf_isNull(payflag) && utlf_isNull(rsltinpt))
  2796. {
  2797. var arrRow = new Array();
  2798. arrRow[0] = p;
  2799. grdf_setStatus(group3.grd_lmsg, "U", arrRow);
  2800. }
  2801. else
  2802. {
  2803. if ( qestflag == "true")
  2804. {
  2805. ds_main_right_h_lmsg_lmsg.setColumn(p, "qestflag", "C");
  2806. }
  2807. else if (utlf_isNull(qestflag) || qestflag == "false" )
  2808. {
  2809. ds_main_right_h_lmsg_lmsg.setColumn(p, "qestflag", "M");
  2810. }
  2811. if ( essnyn == "true")
  2812. {
  2813. ds_main_right_h_lmsg_lmsg.setColumn(p, "essnyn", "Y");
  2814. }
  2815. else if (utlf_isNull(essnyn) || essnyn == "false" )
  2816. {
  2817. ds_main_right_h_lmsg_lmsg.setColumn(p, "essnyn", "N");
  2818. }
  2819. if ( rsltinpt == "true")
  2820. {
  2821. ds_main_right_h_lmsg_lmsg.setColumn(p, "rsltinpt", "Y");
  2822. }
  2823. else if (utlf_isNull(rsltinpt) || rsltinpt == "false" )
  2824. {
  2825. ds_main_right_h_lmsg_lmsg.setColumn(p, "rsltinpt", "N");
  2826. }
  2827. }
  2828. }
  2829. dsf_makeValue(ds_send_right_iuflag , "iuflag", "string", "i", 0);
  2830. ds_main_right_h_limt_limt.setColumn(0, "limt_calcoldyn", ds_send.getColumn(0, "calcoldyn"));
  2831. ds_send_right_limt.setColumn(0, "instcd", ds_main_right_h_limt_limt.getColumn(0, "limt_instcd"));
  2832. ds_send_right_limt.setColumn(0, "lifexptday", ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptday"));
  2833. ds_send_right_limt.setColumn(0, "lifexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptyn"));
  2834. ds_send_right_limt.setColumn(0, "judgnotiyn", ds_main_right_h_limt_limt.getColumn(0, "limt_judgnotiyn"));
  2835. ds_send_right_limt.setColumn(0, "nopyordyn", ds_main_right_h_limt_limt.getColumn(0, "limt_nopyordyn"));
  2836. ds_send_right_limt.setColumn(0, "insuexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_insuexptyn"));
  2837. ds_send_right_limt.setColumn(0, "procexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_procexptyn"));
  2838. ds_send_right_limt.setColumn(0, "inducsexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_inducsexptyn"));
  2839. ds_send_right_limt.setColumn(0, "autmbinsuexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_autmbinsuexptyn"));
  2840. ds_send_right_limt.setColumn(0, "dutywundexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dutywundexptyn"));
  2841. ds_send_right_limt.setColumn(0, "dentexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dentexptyn"));
  2842. ds_send_right_limt.setColumn(0, "inexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_inexptyn"));
  2843. ds_send_right_limt.setColumn(0, "outexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_outexptyn"));
  2844. ds_send_right_limt.setColumn(0, "limdaydrugqty", ds_main_right_h_limt_limt.getColumn(0, "limt_limdaydrugqty"));
  2845. ds_send_right_limt.setColumn(0, "limtotdrugqty", ds_main_right_h_limt_limt.getColumn(0, "limt_limtotdrugqty"));
  2846. ds_send_right_limt.setColumn(0, "limtotdayno", ds_main_right_h_limt_limt.getColumn(0, "limt_limtotdayno"));
  2847. ds_send_right_limt.setColumn(0, "drprcpyn", ds_main_right_h_limt_limt.getColumn(0, "limt_drprcpyn"));
  2848. ds_send_right_limt.setColumn(0, "dschprcpyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dschprcpyn"));
  2849. ds_send_right_limt.setColumn(0, "manlim", ds_main_right_h_limt_limt.getColumn(0, "limt_manlim"));
  2850. ds_send_right_limt.setColumn(0, "womlim", ds_main_right_h_limt_limt.getColumn(0, "limt_womlim"));
  2851. ds_send_right_limt.setColumn(0, "ageappyn", ds_main_right_h_limt_limt.getColumn(0, "limt_ageappyn"));
  2852. ds_send_right_limt.setColumn(0, "minage", ds_main_right_h_limt_limt.getColumn(0, "limt_minage"));
  2853. ds_send_right_limt.setColumn(0, "minage1", ds_main_right_h_limt_limt.getColumn(0, "limt_minage1"));
  2854. ds_send_right_limt.setColumn(0, "minage2", ds_main_right_h_limt_limt.getColumn(0, "limt_minage2"));
  2855. ds_send_right_limt.setColumn(0, "maxage", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage"));
  2856. ds_send_right_limt.setColumn(0, "maxage1", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage1"));
  2857. ds_send_right_limt.setColumn(0, "maxage2", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage2"));
  2858. ds_send_right_limt.setColumn(0, "drugmatractflag", ds_main_right_h_limt_limt.getColumn(0, "limt_drugmatractflag"));
  2859. ds_send_right_limt.setColumn(0, "judgrcogyn", ds_main_right_h_limt_limt.getColumn(0, "limt_judgrcogyn"));
  2860. ds_send_right_limt.setColumn(0, "fromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  2861. ds_send_right_limt.setColumn(0, "todd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  2862. ds_send_right_limt.setColumn(0, "limresn", ds_main_right_h_limt_limt.getColumn(0, "limt_limresn"));
  2863. ds_send_right_limt.setColumn(0, "limmsg", ds_main_right_h_limt_limt.getColumn(0, "limt_limmsg"));
  2864. ds_send_right_limt.setColumn(0, "limrem", ds_main_right_h_limt_limt.getColumn(0, "limt_limrem"));
  2865. ds_send_right_limt.setColumn(0, "fstrgstrid", ds_main_right_h_limt_limt.getColumn(0, "limt_fstrgstrid"));
  2866. ds_send_right_limt.setColumn(0, "lastupdtrid", ds_main_right_h_limt_limt.getColumn(0, "limt_lastupdtrid"));
  2867. ds_send_right_limt.setColumn(0, "lastupdtdt", ds_main_right_h_limt_limt.getColumn(0, "limt_lastupdtdt"));
  2868. ds_send_right_limt.setColumn(0, "hngnm", ds_main_right_h_limt_limt.getColumn(0, "limt_hngnm"));
  2869. ds_send_right_limt.setColumn(0, "engnm", ds_main_right_h_limt_limt.getColumn(0, "limt_engnm"));
  2870. ds_send_right_limt.setColumn(0, "matrflag", ds_main_right_h_limt_limt.getColumn(0, "limt_matrflag"));
  2871. ds_send_right_limt.setColumn(0, "insuedicd", ds_main_right_h_limt_limt.getColumn(0, "limt_insuedicd"));
  2872. ds_send_right_limt.setColumn(0, "calcscorcd_org", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd_org"));
  2873. ds_send_right_limt.setColumn(0, "fromddnewyn", ds_main_right_h_limt_limt.getColumn(0, "limt_fromddnewyn"));
  2874. ds_send_right_limt.setColumn(0, "toddold", ds_main_right_h_limt_limt.getColumn(0, "limt_toddold"));
  2875. ds_send_right_limt.setColumn(0, "calcoldyn", ds_main_right_h_limt_limt.getColumn(0, "limt_calcoldyn"));
  2876. ds_send_right_limt.setColumn(0, "fromflag", ds_main_right_h_limt_limt.getColumn(0, "limt_fromflag"));
  2877. ds_send_right_limt.setColumn(0, "toflag", ds_main_right_h_limt_limt.getColumn(0, "limt_toflag"));
  2878. ds_send_right_limt.setColumn(0, "calcscorcd", limi_calcscorcd1);
  2879. ds_send_right_limt.setColumn(0, "seq", limi_seq1);
  2880. dsf_setDefaultVal(ds_send_right_limt, "lifexptday:0,lifexptyn:N,judgnotiyn:N,nopyordyn:N,insuexptyn:-,procexptyn:-,inducsexptyn:-,autmbinsuexptyn:-,dutywundexptyn:-,dentexptyn:-,inexptyn:-,outexptyn:-,limdaydrugqty:0,limtotdrugqty:0,limtotdayno:0,drprcpyn:N,dschprcpyn:N,manlim:-,womlim:-,ageappyn:N,minage:0,minage1:0,minage2:0,maxage:0,maxage1:0,maxage2:0,drugmatractflag:1,judgrcogyn:N,fromdd:-,todd:-,limresn:-,limmsg:-,limrem:-");
  2881. dsf_setDefaultVal(ds_main_right_h_ldic1_ldic1, "exptfromdd:-,meddentflag:-,prmisnlimyn:-");
  2882. dsf_setDefaultVal(ds_main_right_h_ldic2_ldic2, "exptfromdd:-,meddentflag:-,prmisnlimyn:-");
  2883. dsf_setDefaultVal(ds_main_right_h_ldep_ldep, "exptfromdd:-");
  2884. dsf_setDefaultVal(ds_main_right_h_ldoc_ldoc, "exptfromdd:-");
  2885. dsf_setDefaultVal(ds_main_right_h_lmsg_lmsg, "qestflag:-,essnyn:-,payflag:-,rsltinpt:-,qestmsg:-");
  2886. var oParam = {};
  2887. oParam.id = "TXPIB00401";
  2888. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  2889. oParam.method = "reqSetInsuRcogCodelimt";
  2890. oParam.inds = "limt=ds_send_right_limt ldic1=ds_main_right_h_ldic1_ldic1:U ldic2=ds_main_right_h_ldic2_ldic2:U ldep=ds_main_right_h_ldep_ldep:U ldoc=ds_main_right_h_ldoc_ldoc:U lmsg=ds_main_right_h_lmsg_lmsg:U iuflag=ds_send_right_iuflag";
  2891. oParam.outds = "ds_main_h_limi_limi=limi";
  2892. oParam.async = false;
  2893. oParam.callback = "cf_TXPIB00401_2";
  2894. tranf_submit(oParam);
  2895. }
  2896. else
  2897. {
  2898. }
  2899. }
  2900. }
  2901. function cf_TRPIB00412_2(sSvcId, nErrorCode, sErrorMsg)
  2902. {
  2903. if(nErrorCode < 0)
  2904. {
  2905. return;
  2906. }
  2907. else
  2908. {
  2909. var cd = ds_temp_extdata.getColumn(0, "calcscorcd");
  2910. if (!utlf_isNull(cd))
  2911. {
  2912. var message = limi_calcscorcd1 + " 는 이미 등록된 코드로 적용기간중복";
  2913. sysf_messageBox(message, "E008");
  2914. isDupl = true;
  2915. }
  2916. }
  2917. }
  2918. function cf_TXPIB00401_2(sSvcId, nErrorCode, sErrorMsg)
  2919. {
  2920. if(nErrorCode < 0)
  2921. {
  2922. sysf_messageBox("보험인정기준 일괄추가", "E009");
  2923. return;
  2924. }
  2925. else
  2926. {
  2927. var limt_calcscorcd = "";
  2928. var calcscorcd = "";
  2929. limt_calcscorcd = ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd");
  2930. if (refYN == "Y")
  2931. {
  2932. group2_btn_ref_onclick();
  2933. }
  2934. var rows = ds_main_h_limi_limi.rowcount;
  2935. for (var i = 0; i < rows; i++)
  2936. {
  2937. calcscorcd = ds_main_h_limi_limi.getColumn(i, "limi_calcscorcd");
  2938. if (limt_calcscorcd == calcscorcd)
  2939. {
  2940. //datagrid1.select(i,0,i,0) = true;
  2941. ds_main_h_limi_limi.rowposition = i;
  2942. //i = rows;
  2943. ds_hidden.setColumn(0, "flag", "Y");
  2944. }
  2945. }
  2946. var cur_row = ds_main_h_limi_limi.rowposition;
  2947. if (cur_row > -1)
  2948. {
  2949. fShowCalcInfo(cur_row);
  2950. }
  2951. ds_hidden.setColumn(0, "flag", "N");
  2952. }
  2953. }
  2954. function group3_btn_allmodify_onclick(obj:Button, e:ClickEventInfo)
  2955. {
  2956. if (utlf_isNull(ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd")))
  2957. {
  2958. sysf_messageBox("수가코드는 ", "I003");
  2959. return;
  2960. }
  2961. var newfromdd = ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd");
  2962. var newtodd = ds_main_right_h_limt_limt.getColumn(0, "limt_todd");
  2963. var oldfromdd = ds_hidden.getColumn(0, "fromdd");
  2964. var oldtodd = ds_hidden.getColumn(0, "todd");
  2965. if (utlf_isNull(newfromdd))
  2966. {
  2967. sysf_messageBox("적용일은 ", "I003");
  2968. return;
  2969. }
  2970. if (utlf_isNull(newtodd))
  2971. {
  2972. sysf_messageBox("종료일은 ", "I003");
  2973. return;
  2974. }
  2975. if (newfromdd > newtodd)
  2976. {
  2977. sysf_messageBox("적용일이 종료일보다 이후", "E008");
  2978. return;
  2979. }
  2980. var rows = ds_main_right_h_ldep_ldep.rowcount;
  2981. var exptdeptcd = "";
  2982. for (var o = 0; o < rows; o++)
  2983. {
  2984. exptdeptcd = ds_main_right_h_ldep_ldep.getColumn(o, "exptdeptcd");
  2985. if (utlf_isNull(exptdeptcd))
  2986. {
  2987. sysf_messageBox("제외진료과의 진료과를", "C002")
  2988. //grd_ldep.select(o,0,o,0) = true;
  2989. return;
  2990. }
  2991. }
  2992. refYN = "Y";
  2993. var rtn = sysf_messageBox("보험인정기준 변경사항을 일괄", "Q002");
  2994. if (rtn != 6)
  2995. {
  2996. return;
  2997. }
  2998. var fromdd = ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd");
  2999. var tmp_year = String(fromdd).substr(0,4);
  3000. var tmp_month = String(fromdd).substr(4,6);
  3001. var tmp_date = String(fromdd).substr(6,8);
  3002. var toddold = "";
  3003. var fromdd_new = new Date(tmp_year,tmp_month-1,tmp_date);
  3004. fromdd_new.setHours(-24);
  3005. toddold += fromdd_new.getYear();
  3006. if ((fromdd_new.getMonth() + 1) < 10)
  3007. {
  3008. toddold += "0" + (fromdd_new.getMonth() + 1);
  3009. }
  3010. else
  3011. {
  3012. toddold += (fromdd_new.getMonth() + 1);
  3013. }
  3014. if (fromdd_new.getDate() < 10)
  3015. {
  3016. toddold += "0" + fromdd_new.getDate();
  3017. }
  3018. else
  3019. {
  3020. toddold += fromdd_new.getDate();
  3021. }
  3022. ds_main_right_h_limt_limt.setColumn(0, "limt_toddold", toddold);
  3023. var rslt = "";
  3024. var sel_rows = grdf_getSelectedRows(datagrid1);
  3025. var oldcalcscorcd = ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd");
  3026. for (var i = 0; i < sel_rows.length; i++)
  3027. {
  3028. var sel = sel_rows[i];
  3029. var limi_calcscorcd1 = ds_main_right_h_limt_limt.getColumn(sel, "limi_calcscorcd");
  3030. var limi_seq1 = ds_main_right_h_limt_limt.getColumn(sel, "limi_seq");
  3031. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd_org", "");
  3032. var ldic1_row = ds_main_right_h_ldic1_ldic1.rowcount;
  3033. for(var j = 0; j < ldic1_row; j++)
  3034. {
  3035. if(ds_main_right_h_ldic1_ldic1.getRowType(j) != 8)
  3036. {
  3037. var arrRow = new Array();
  3038. arrRow[0] = j;
  3039. grdf_setStatus(group3.switch1.case2.datagrid_ldic1, "I", arrRow);
  3040. ds_main_right_h_ldic1_ldic1.setColumn(j, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3041. ds_main_right_h_ldic1_ldic1.setColumn(j, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3042. ds_main_right_h_ldic1_ldic1.setColumn(j, "calcscorcd", limi_calcscorcd1);
  3043. ds_main_right_h_ldic1_ldic1.setColumn(j, "seq", limi_seq1);
  3044. }
  3045. }
  3046. var ldic2_row = ds_main_right_h_ldic2_ldic2.rowcount;
  3047. for(var k = 0; k < ldic2_row; k++)
  3048. {
  3049. if(ds_main_right_h_ldic2_ldic2.getRowType(k) != 8)
  3050. {
  3051. var arrRow = new Array();
  3052. arrRow[0] = k;
  3053. grdf_setStatus(group3.switch1.case3.datagrid_ldic2, "I", arrRow);
  3054. ds_main_right_h_ldic2_ldic2.setColumn(k, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3055. ds_main_right_h_ldic2_ldic2.setColumn(k, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3056. ds_main_right_h_ldic2_ldic2.setColumn(k, "calcscorcd", limi_calcscorcd1);
  3057. ds_main_right_h_ldic2_ldic2.setColumn(k, "seq", limi_seq1);
  3058. }
  3059. }
  3060. var ldep_row = ds_main_right_h_ldep_ldep.rowcount;
  3061. for(var l = 0; l < ldep_row; l++)
  3062. {
  3063. if(ds_main_right_h_ldep_ldep.getRowType(l) != 8)
  3064. {
  3065. var arrRow = new Array();
  3066. arrRow[0] = l;
  3067. grdf_setStatus(group3.switch2.case1.grd_ldep, "I", arrRow);
  3068. ds_main_right_h_ldep_ldep.setColumn(l, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3069. ds_main_right_h_ldep_ldep.setColumn(l, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3070. ds_main_right_h_ldep_ldep.setColumn(l, "calcscorcd", limi_calcscorcd1);
  3071. ds_main_right_h_ldep_ldep.setColumn(l, "seq", limi_seq1);
  3072. }
  3073. }
  3074. var ldoc_row = ds_main_right_h_ldoc_ldoc.rowcount;
  3075. for(var m = 0; m < ldoc_row; m++)
  3076. {
  3077. if(ds_main_right_h_ldoc_ldoc.getRowType(m) != 8)
  3078. {
  3079. var arrRow = new Array();
  3080. arrRow[0] = m;
  3081. grdf_setStatus(group3.switch3.case6.grd_ldoc, "I", arrRow);
  3082. ds_main_right_h_ldoc_ldoc.setColumn(m, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3083. ds_main_right_h_ldoc_ldoc.setColumn(m, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3084. ds_main_right_h_ldoc_ldoc.setColumn(m, "calcscorcd", limi_calcscorcd1);
  3085. ds_main_right_h_ldoc_ldoc.setColumn(m, "seq", limi_seq1);
  3086. }
  3087. }
  3088. var lmsg_row = ds_main_right_h_lmsg_lmsg.rowcount;
  3089. for(var n = 0; n < lmsg_row; n++)
  3090. {
  3091. if(ds_main_right_h_lmsg_lmsg.getRowType(n) != 8)
  3092. {
  3093. var arrRow = new Array();
  3094. arrRow[0] = n;
  3095. grdf_setStatus(group3.grd_lmsg, "I", arrRow);
  3096. ds_main_right_h_lmsg_lmsg.setColumn(n, "calcscorcd", limi_calcscorcd1);
  3097. ds_main_right_h_lmsg_lmsg.setColumn(n, "seq", limi_seq1);
  3098. }
  3099. }
  3100. var rows= ds_main_right_h_lmsg_lmsg.rowcount;
  3101. var qestmsg = "";
  3102. var qestflag = "";
  3103. var essnyn = "";
  3104. var payflag = "";
  3105. var rsltinpt = "";
  3106. for(var p = 0; p < rows; p++)
  3107. {
  3108. qestmsg = ds_main_right_h_lmsg_lmsg.getColumn(p, "qestmsg");
  3109. qestflag = ds_main_right_h_lmsg_lmsg.getColumn(p, "qestflag");
  3110. essnyn = ds_main_right_h_lmsg_lmsg.getColumn(p, "essnyn");
  3111. payflag = ds_main_right_h_lmsg_lmsg.getColumn(p, "payflag");
  3112. rsltinpt = ds_main_right_h_lmsg_lmsg.getColumn(p, "rsltinpt");
  3113. if (utlf_isNull(qestmsg) && utlf_isNull(qestflag) && utlf_isNull(essnyn) && utlf_isNull(payflag) && utlf_isNull(rsltinpt))
  3114. {
  3115. var arrRow = new Array();
  3116. arrRow[0] = p;
  3117. grdf_setStatus(group3.grd_lmsg, "U", arrRow);
  3118. }
  3119. else
  3120. {
  3121. if ( qestflag == "true")
  3122. {
  3123. ds_main_right_h_lmsg_lmsg.setColumn(p, "qestflag", "C");
  3124. }
  3125. else if (utlf_isNull(qestflag) || qestflag == "false" )
  3126. {
  3127. ds_main_right_h_lmsg_lmsg.setColumn(p, "qestflag", "M");
  3128. }
  3129. if ( essnyn == "true")
  3130. {
  3131. ds_main_right_h_lmsg_lmsg.setColumn(p, "essnyn", "Y");
  3132. }
  3133. else if (utlf_isNull(essnyn) || essnyn == "false" )
  3134. {
  3135. ds_main_right_h_lmsg_lmsg.setColumn(p, "essnyn", "N");
  3136. }
  3137. if ( rsltinpt == "true")
  3138. {
  3139. ds_main_right_h_lmsg_lmsg.setColumn(p, "rsltinpt", "Y");
  3140. }
  3141. else if (utlf_isNull(rsltinpt) || rsltinpt == "false" )
  3142. {
  3143. ds_main_right_h_lmsg_lmsg.setColumn(p, "rsltinpt", "N");
  3144. }
  3145. }
  3146. }
  3147. ds_send_right_iuflag.setColumn(0, "iuflag", "u");
  3148. ds_main_right_h_limt_limt.setColumn(0, "limt_calcoldyn", ds_send.setColumn(0, "calcoldyn"));
  3149. ds_send_right_limt.setColumn(0, "calcscorcd", limt_calcscorcd1);
  3150. ds_send_right_limt.setColumn(0, "seq", limi_seq1);
  3151. ds_send_right_limt.setColumn(0, "instcd", ds_main_right_h_limt_limt.getColumn(0, "limt_instcd"));
  3152. ds_send_right_limt.setColumn(0, "lifexptday", ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptday"));
  3153. ds_send_right_limt.setColumn(0, "lifexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_lifexptyn"));
  3154. ds_send_right_limt.setColumn(0, "judgnotiyn", ds_main_right_h_limt_limt.getColumn(0, "limt_judgnotiyn"));
  3155. ds_send_right_limt.setColumn(0, "nopyordyn", ds_main_right_h_limt_limt.getColumn(0, "limt_nopyordyn"));
  3156. ds_send_right_limt.setColumn(0, "insuexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_insuexptyn"));
  3157. ds_send_right_limt.setColumn(0, "procexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_procexptyn"));
  3158. ds_send_right_limt.setColumn(0, "inducsexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_inducsexptyn"));
  3159. ds_send_right_limt.setColumn(0, "autmbinsuexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_autmbinsuexptyn"));
  3160. ds_send_right_limt.setColumn(0, "dutywundexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dutywundexptyn"));
  3161. ds_send_right_limt.setColumn(0, "dentexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dentexptyn"));
  3162. ds_send_right_limt.setColumn(0, "inexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_inexptyn"));
  3163. ds_send_right_limt.setColumn(0, "outexptyn", ds_main_right_h_limt_limt.getColumn(0, "limt_outexptyn"));
  3164. ds_send_right_limt.setColumn(0, "limdaydrugqty", ds_main_right_h_limt_limt.getColumn(0, "limt_limdaydrugqty"));
  3165. ds_send_right_limt.setColumn(0, "limtotdrugqty", ds_main_right_h_limt_limt.getColumn(0, "limt_limtotdrugqty"));
  3166. ds_send_right_limt.setColumn(0, "limtotdayno", ds_main_right_h_limt_limt.getColumn(0, "limt_limtotdayno"));
  3167. ds_send_right_limt.setColumn(0, "drprcpyn", ds_main_right_h_limt_limt.getColumn(0, "limt_drprcpyn"));
  3168. ds_send_right_limt.setColumn(0, "dschprcpyn", ds_main_right_h_limt_limt.getColumn(0, "limt_dschprcpyn"));
  3169. ds_send_right_limt.setColumn(0, "manlim", ds_main_right_h_limt_limt.getColumn(0, "limt_manlim"));
  3170. ds_send_right_limt.setColumn(0, "womlim", ds_main_right_h_limt_limt.getColumn(0, "limt_womlim"));
  3171. ds_send_right_limt.setColumn(0, "ageappyn", ds_main_right_h_limt_limt.getColumn(0, "limt_ageappyn"));
  3172. ds_send_right_limt.setColumn(0, "minage", ds_main_right_h_limt_limt.getColumn(0, "limt_minage"));
  3173. ds_send_right_limt.setColumn(0, "minage1", ds_main_right_h_limt_limt.getColumn(0, "limt_minage1"));
  3174. ds_send_right_limt.setColumn(0, "minage2", ds_main_right_h_limt_limt.getColumn(0, "limt_minage2"));
  3175. ds_send_right_limt.setColumn(0, "maxage", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage"));
  3176. ds_send_right_limt.setColumn(0, "maxage1", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage1"));
  3177. ds_send_right_limt.setColumn(0, "maxage2", ds_main_right_h_limt_limt.getColumn(0, "limt_maxage2"));
  3178. ds_send_right_limt.setColumn(0, "drugmatractflag", ds_main_right_h_limt_limt.getColumn(0, "limt_drugmatractflag"));
  3179. ds_send_right_limt.setColumn(0, "judgrcogyn", ds_main_right_h_limt_limt.getColumn(0, "limt_judgrcogyn"));
  3180. ds_send_right_limt.setColumn(0, "fromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3181. ds_send_right_limt.setColumn(0, "todd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3182. ds_send_right_limt.setColumn(0, "limresn", ds_main_right_h_limt_limt.getColumn(0, "limt_limresn"));
  3183. ds_send_right_limt.setColumn(0, "limmsg", ds_main_right_h_limt_limt.getColumn(0, "limt_limmsg"));
  3184. ds_send_right_limt.setColumn(0, "limrem", ds_main_right_h_limt_limt.getColumn(0, "limt_limrem"));
  3185. ds_send_right_limt.setColumn(0, "fstrgstrid", ds_main_right_h_limt_limt.getColumn(0, "limt_fstrgstrid"));
  3186. ds_send_right_limt.setColumn(0, "lastupdtrid", ds_main_right_h_limt_limt.getColumn(0, "limt_lastupdtrid"));
  3187. ds_send_right_limt.setColumn(0, "lastupdtdt", ds_main_right_h_limt_limt.getColumn(0, "limt_lastupdtdt"));
  3188. ds_send_right_limt.setColumn(0, "hngnm", ds_main_right_h_limt_limt.getColumn(0, "limt_hngnm"));
  3189. ds_send_right_limt.setColumn(0, "engnm", ds_main_right_h_limt_limt.getColumn(0, "limt_engnm"));
  3190. ds_send_right_limt.setColumn(0, "matrflag", ds_main_right_h_limt_limt.getColumn(0, "limt_matrflag"));
  3191. ds_send_right_limt.setColumn(0, "insuedicd", ds_main_right_h_limt_limt.getColumn(0, "limt_insuedicd"));
  3192. ds_send_right_limt.setColumn(0, "calcscorcd_org", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd_org"));
  3193. ds_send_right_limt.setColumn(0, "fromddnewyn", ds_main_right_h_limt_limt.getColumn(0, "limt_fromddnewyn"));
  3194. ds_send_right_limt.setColumn(0, "toddold", ds_main_right_h_limt_limt.getColumn(0, "limt_toddold"));
  3195. ds_send_right_limt.setColumn(0, "calcoldyn", ds_main_right_h_limt_limt.getColumn(0, "limt_calcoldyn"));
  3196. ds_send_right_limt.setColumn(0, "fromflag", ds_main_right_h_limt_limt.getColumn(0, "limt_fromflag"));
  3197. ds_send_right_limt.setColumn(0, "toflag", ds_main_right_h_limt_limt.getColumn(0, "limt_toflag"));
  3198. dsf_setDefaultVal(ds_send_right_limt, "lifexptday:0,lifexptyn:N,judgnotiyn:N,nopyordyn:N,insuexptyn:-,procexptyn:-,inducsexptyn:-,autmbinsuexptyn:-,dutywundexptyn:-,dentexptyn:-,inexptyn:-,outexptyn:-,limdaydrugqty:0,limtotdrugqty:0,limtotdayno:0,drprcpyn:N,dschprcpyn:N,manlim:-,womlim:-,ageappyn:N,minage:0,minage1:0,minage2:0,maxage:0,maxage1:0,maxage2:0,drugmatractflag:1,judgrcogyn:N,fromdd:-,todd:-,limresn:-,limmsg:-,limrem:-");
  3199. dsf_setDefaultVal(ds_main_right_h_ldic1_ldic1, "exptfromdd:-,meddentflag:-,prmisnlimyn:-");
  3200. dsf_setDefaultVal(ds_main_right_h_ldic2_ldic2, "exptfromdd:-,meddentflag:-,prmisnlimyn:-");
  3201. dsf_setDefaultVal(ds_main_right_h_ldep_ldep, "exptfromdd:-");
  3202. dsf_setDefaultVal(ds_main_right_h_ldoc_ldoc, "exptfromdd:-");
  3203. dsf_setDefaultVal(ds_main_right_h_lmsg_lmsg, "qestflag:-,essnyn:-,payflag:-,rsltinpt:-,qestmsg:-");
  3204. var oParam = {};
  3205. oParam.id = "TXPIB00401";
  3206. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  3207. oParam.method = "reqSetInsuRcogCodelimt";
  3208. oParam.inds = "limt=ds_send_right_limt ldic1=ds_main_right_h_ldic1_ldic1:U ldic2=ds_main_right_h_ldic2_ldic2:U ldep=ds_main_right_h_ldep_ldep:U ldoc=ds_main_right_h_ldoc_ldoc:U lmsg=ds_main_right_h_lmsg_lmsg:U iuflag=ds_send_right_iuflag";
  3209. oParam.outds = "ds_main_h_limi_limi=limi";
  3210. oParam.async = false;
  3211. oParam.callback = "cf_TXPIB00401_3";
  3212. tranf_submit(oParam);
  3213. }
  3214. }
  3215. function cf_TXPIB00401_3(sSvcId, nErrorCode, sErrorMsg)
  3216. {
  3217. if(nErrorCode < 0)
  3218. {
  3219. sysf_messageBox("보험인정기준 일괄수정", "E009");
  3220. return;
  3221. }
  3222. else
  3223. {
  3224. var limt_calcscorcd = "";
  3225. var calcscorcd = "";
  3226. limt_calcscorcd = oldcalcscorcd;
  3227. if (refYN == "Y")
  3228. {
  3229. group2_btn_ref_onclick();
  3230. }
  3231. var rows = ds_main_h_limi_limi.rowcount;
  3232. for (var i = 0; i < rows; i++)
  3233. {
  3234. calcscorcd = ds_main_h_limi_limi.getColumn(i, "limi_calcscorcd");
  3235. if (limt_calcscorcd == calcscorcd)
  3236. {
  3237. //datagrid1.select(i,0,i,0) = true;
  3238. ds_main_h_limi_limi.rowposition = i;
  3239. //i = rows;
  3240. ds_hidden.setColumn(0, "flag", "Y");
  3241. }
  3242. }
  3243. datagrid1_oncelldblclick();
  3244. ds_hidden.setColumn(0, "flag", "N");
  3245. }
  3246. }
  3247. function group3_button16_onclick(obj:Button, e:ClickEventInfo)
  3248. {
  3249. fInitialize();
  3250. }
  3251. function group3_button17_onclick(obj:Button, e:ClickEventInfo)
  3252. {
  3253. group3.ipt_calcscorcd.enable = true;
  3254. group3.ipt_fromdd.enable = true;
  3255. group3.btn_search.enable = true;
  3256. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd", "");
  3257. ds_main_right_h_limt_limt.setColumn(0, "limt_drugmatractflag", "");
  3258. ds_main_right_h_limt_limt.setColumn(0, "limt_insuedicd", "");
  3259. ds_main_right_h_limt_limt.setColumn(0, "limt_fromdd", "");
  3260. ds_main_right_h_limt_limt.setColumn(0, "limt_todd", "");
  3261. ds_main_right_h_limt_limt.setColumn(0, "limt_hngnm", "");
  3262. ds_main_right_h_limt_limt.setColumn(0, "limt_engnm", "");
  3263. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd_org", "");
  3264. fCopyControlStatus("Y");
  3265. }
  3266. function button5_onclick(obj:Button, e:ClickEventInfo)
  3267. {
  3268. var row = ds_main_right_h_lmsg_lmsg.rowposition;
  3269. var rows = ds_main_right_h_lmsg_lmsg.rowcount;
  3270. var selrows = grdf_getSelectedRows(group3.grd_lmsg);
  3271. if(ds_main_right_h_lmsg_lmsg.rowcount == 0)
  3272. {
  3273. var row = ds_main_right_h_lmsg_lmsg.addRow();
  3274. ds_main_right_h_lmsg_lmsg.setColumn(row, "insukind", ds_send.getColumn(0, "insukike"))
  3275. }
  3276. else
  3277. {
  3278. for (var i = 0 ; i < selrows.length ; i++ )
  3279. {
  3280. ds_main_right_h_lmsg_lmsg.setColumn(selrows[i], "insukind", ds_send.getColumn(0, "insukike"));
  3281. }
  3282. }
  3283. }
  3284. function button4_onclick(obj:Button, e:ClickEventInfo)
  3285. {
  3286. var row = ds_main_right_h_lmsg_lmsg.rowposition;
  3287. var rows = ds_main_right_h_lmsg_lmsg.rowcount;
  3288. var selrows = grdf_getSelectedRows(group3.grd_lmsg);
  3289. if(utlf_isNull(ds_main_right_h_lmsg_lmsg.getColumn(rows-1, "qestmsg")))
  3290. {
  3291. ds_main_right_h_lmsg_lmsg.deleteRow(rows-1);
  3292. ds_main_right_h_lmsg_lmsg.addRow();
  3293. }
  3294. else
  3295. {
  3296. if(selrows.length > 0)
  3297. {
  3298. for ( i = 0 ; i < selrows.length ; i++ )
  3299. {
  3300. var row = ds_main_right_h_lmsg_lmsg.addRow();
  3301. ds_main_right_h_lmsg_lmsg.setColumn(row, "qestmsg", ds_main_right_h_lmsg_lmsg.getColumn(selrows[i], "qestmsg"));
  3302. ds_main_right_h_lmsg_lmsg.setColumn(row, "insukind", ds_main_right_h_lmsg_lmsg.getColumn(selrows[i], "insukind"));
  3303. ds_main_right_h_lmsg_lmsg.setColumn(row, "qestflag", ds_main_right_h_lmsg_lmsg.getColumn(selrows[i], "qestflag"));
  3304. ds_main_right_h_lmsg_lmsg.setColumn(row, "payflag", ds_main_right_h_lmsg_lmsg.getColumn(selrows[i], "payflag"));
  3305. ds_main_right_h_lmsg_lmsg.setColumn(row, "rsltinpt", ds_main_right_h_lmsg_lmsg.getColumn(selrows[i], "rsltinpt"));
  3306. ds_main_right_h_lmsg_lmsg.setColumn(row, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  3307. ds_main_right_h_lmsg_lmsg.setColumn(row, "instcd", ds_hidden_session.getColumn(0, "sess_posinstcd"));
  3308. ds_main_right_h_lmsg_lmsg.setColumn(row, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  3309. }
  3310. }
  3311. }
  3312. }
  3313. function btn_msg_del_onclick(obj:Button, e:ClickEventInfo)
  3314. {
  3315. var arrRow = new Array();
  3316. arrRow[0] = ds_main_right_h_lmsg_lmsg.rowposition;
  3317. grdf_setStatus(group3.grd_lmsg, "D", arrRow);
  3318. ds_main_right_h_lmsg_lmsg.deleteRow(ds_main_right_h_lmsg_lmsg.rowposition);
  3319. }
  3320. function group3_switch1_case2_btn_searchsnwfrom_onclick(obj:Button, e:ClickEventInfo)
  3321. {
  3322. ds_hidden_sppiz00400_rslt.clearData();
  3323. var objArg = new Object();
  3324. objArg.sDiagcd = ds_send_data2.getColumn(0, "termcd_from");
  3325. objArg.sSelectedrdodiagkind = 2;
  3326. objArg.sSingleFlag = "M";
  3327. var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", objArg);
  3328. ds_hidden_sppiz00400_rslt.copyData(objDs);
  3329. var termcd = ds_hidden_sppiz00400_rslt.getColumn(0, "termcd");
  3330. ds_send_data2.setColumn(0, "termcd_from", termcd);
  3331. if(utlf_isNull(ds_send_data2.getColumn(0, "termcd_to")))
  3332. {
  3333. ds_send_data2.setColumn(0, "termcd_to", termcd);
  3334. }
  3335. }
  3336. function group3_switch1_case2_btn_searchsnwto_onclick(obj:Button, e:ClickEventInfo)
  3337. {
  3338. ds_hidden_sppiz00400_rslt.clearData();
  3339. var objArg = new Object();
  3340. objArg.sDiagcd = ds_send_data2.getColumn(0, "termcd_to");
  3341. objArg.sSelectedrdodiagkind = 2;
  3342. objArg.sSingleFlag = "M";
  3343. var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", objArg);
  3344. ds_hidden_sppiz00400_rslt.copyData(objDs);
  3345. var termcd = ds_hidden_sppiz00400_rslt.getColumn(0, "termcd");
  3346. ds_send_data2.setColumn(0, "termcd_to", termcd);
  3347. }
  3348. function group3_switch1_case2_btn_batsnwadd_onclick(obj:Button, e:ClickEventInfo)
  3349. {
  3350. ds_send.setColumn(0, "termcd_from", ds_send_data2.getColumn(0, "termcd_from"));
  3351. ds_send.setColumn(0, "termcd_to", ds_send_data2.getColumn(0, "termcd_to"));
  3352. var oParam = {};
  3353. oParam.id = "TRPIB00405";
  3354. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  3355. oParam.method = "reqGetInsuRcogCodeterm";
  3356. oParam.inds = "req=ds_send";
  3357. oParam.outds = "ds_init2_h_term=term";
  3358. oParam.async = false;
  3359. //oParam.callback = "cf_TRPIB00405";
  3360. tranf_submit(oParam);
  3361. for(var a = 0; a < ds_init2_h_term.rowcount; a++)
  3362. {
  3363. var insrow = ds_main_right_h_ldic1_ldic1.addRow();
  3364. ds_main_right_h_ldic1_ldic1.setColumn(insrow, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  3365. ds_main_right_h_ldic1_ldic1.setColumn(insrow, "diagcd", ds_init2_h_term.getColumn(a, "termcd"));
  3366. ds_main_right_h_ldic1_ldic1.setColumn(insrow, "diagcdnm", ds_init2_h_term.getColumn(a, "termhngnm"));
  3367. ds_main_right_h_ldic1_ldic1.setColumn(insrow, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3368. ds_main_right_h_ldic1_ldic1.setColumn(insrow, "instcd", ds_hidden_session.getColumn(0, "sess_posinstcd"));
  3369. ds_main_right_h_ldic1_ldic1.setColumn(insrow, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3370. ds_main_right_h_ldic1_ldic1.setColumn(insrow, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  3371. }
  3372. }
  3373. function group3_switch1_case2_button7_onclick(obj:Button, e:ClickEventInfo)
  3374. {
  3375. var selrow = grdf_getSelectedRows(group3.switch1.case2.datagrid_ldic1);
  3376. for(var i = 0; i < selrow.length; i++)
  3377. {
  3378. var row = selrow[i];
  3379. var arrRow = new Array();
  3380. arrRow[0] = row;
  3381. grdf_setStatus(group3.switch1.case2.datagrid_ldic1, "D", arrRow);
  3382. }
  3383. }
  3384. function group3_switch1_case3_btn_searchlimsnwfrom_onclick(obj:Button, e:ClickEventInfo)
  3385. {
  3386. ds_hidden_sppiz00400_rslt.clearData();
  3387. var objArg = new Object();
  3388. objArg.sDiagcd = ds_send_data3.getColumn(0, "termcd_from");
  3389. objArg.sSelectedrdodiagkind = 2;
  3390. objArg.sSingleFlag = "M";
  3391. var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", objArg);
  3392. ds_hidden_sppiz00400_rslt.copyData(objDs);
  3393. var termcd = ds_hidden_sppiz00400_rslt.getColumn(0, "termcd");
  3394. ds_send_data3.setColumn(0, "termcd_from", termcd);
  3395. if(utlf_isNull(ds_send_data3.getColumn(0, "termcd_to")))
  3396. {
  3397. ds_send_data3.setColumn(0, "termcd_to", termcd);
  3398. }
  3399. }
  3400. function group3_switch1_case3_btn_searchlimsnwto_onclick(obj:Button, e:ClickEventInfo)
  3401. {
  3402. ds_hidden_sppiz00400_rslt.clearData();
  3403. var objArg = new Object();
  3404. objArg.sDiagcd = ds_send_data3.getColumn(0, "termcd_to");
  3405. objArg.sSelectedrdodiagkind = 2;
  3406. objArg.sSingleFlag = "M";
  3407. var objDs = frmf_modal("SPPIZ00400", "SPPIZ00400", objArg);
  3408. ds_hidden_sppiz00400_rslt.copyData(objDs);
  3409. var termcd = ds_hidden_sppiz00400_rslt.getColumn(0, "termcd");
  3410. trace(termcd)
  3411. ds_send_data3.setColumn(0, "termcd_to", termcd);
  3412. }
  3413. function group3_switch1_case3_button8_onclick(obj:Button, e:ClickEventInfo)
  3414. {
  3415. ds_send.setColumn(0, "termcd_from", ds_send_data3.getColumn(0, "termcd_from"));
  3416. ds_send.setColumn(0, "termcd_to", ds_send_data3.getColumn(0, "termcd_to"));
  3417. var oParam = {};
  3418. oParam.id = "TRPIB00405";
  3419. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  3420. oParam.method = "reqGetInsuRcogCodeterm";
  3421. oParam.inds = "req=ds_send_data3";
  3422. oParam.outds = "ds_init2_h_term=term";
  3423. oParam.async = false;
  3424. //oParam.callback = "cf_TRPIB00405";
  3425. tranf_submit(oParam);
  3426. for(var a = 0; a < ds_init2_h_term.rowcount; a++)
  3427. {
  3428. var insrow = ds_main_right_h_ldic2_ldic2.addRow();
  3429. ds_main_right_h_ldic2_ldic2.setColumn(insrow, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  3430. ds_main_right_h_ldic2_ldic2.setColumn(insrow, "diagcd", ds_init2_h_term.getColumn(a, "termcd"));
  3431. ds_main_right_h_ldic2_ldic2.setColumn(insrow, "diagcdnm", ds_init2_h_term.getColumn(a, "termhngnm"));
  3432. ds_main_right_h_ldic2_ldic2.setColumn(insrow, "expttodd", ds_main_right_h_limt_limt.getColumn(a, "limt_todd"));
  3433. ds_main_right_h_ldic2_ldic2.setColumn(insrow, "instcd", ds_hidden_session.getColumn(0, "sess_posinstcd"));
  3434. ds_main_right_h_ldic2_ldic2.setColumn(insrow, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3435. ds_main_right_h_ldic2_ldic2.setColumn(insrow, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  3436. }
  3437. }
  3438. function group3_switch1_case3_button9_onclick(obj:Button, e:ClickEventInfo)
  3439. {
  3440. var selrow = grdf_getSelectedRows(group3.switch1.case3.datagrid_ldic2);
  3441. for (var i = 0; i < selrow.length; i++)
  3442. {
  3443. var row = selrow[i];
  3444. var arrRow = new Array();
  3445. arrRow[0] = row;
  3446. grdf_setStatus(group3.switch1.case3.datagrid_ldic2, "D", arrRow);
  3447. }
  3448. }
  3449. function group3_switch2_case1_button22_onclick(obj:Button, e:ClickEventInfo)
  3450. {
  3451. var row_cnt = ds_init_orddeptcd_orddeptcdlist.rowcount;
  3452. ds_main_right_h_ldep_ldep.clearData();
  3453. for(var i = 0; i < row_cnt; i++)
  3454. {
  3455. var row = ds_main_right_h_ldep_ldep.addRow();
  3456. ds_main_right_h_ldep_ldep.setColumn(row, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  3457. ds_main_right_h_ldep_ldep.setColumn(row, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3458. ds_main_right_h_ldep_ldep.setColumn(row, "instcd", ds_hidden_session.getColumn(0, "sess_posinstcd"));
  3459. ds_main_right_h_ldep_ldep.setColumn(row, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3460. ds_main_right_h_ldep_ldep.setColumn(row, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  3461. ds_main_right_h_ldep_ldep.setColumn(row, "exptdeptcd", ds_init_orddeptcd_orddeptcdlist.getColumn(i, "cd"));
  3462. ds_main_right_h_ldep_ldep.setColumn(row, "limitflag", ds_temp.getColumn(0, "deptlimitflag"));
  3463. }
  3464. // for(var j = 0; j < ds_main_right_h_ldep_ldep.rowcount; j++)
  3465. // {
  3466. // grd_ldep.rowStatus(j) = 3;
  3467. // }
  3468. }
  3469. function group3_switch2_case1_button11_onclick(obj:Button, e:ClickEventInfo)
  3470. {
  3471. var insrow = ds_main_right_h_ldep_ldep.addRow();
  3472. ds_main_right_h_ldep_ldep.setColumn(insrow, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  3473. ds_main_right_h_ldep_ldep.setColumn(insrow, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3474. ds_main_right_h_ldep_ldep.setColumn(insrow, "instcd", ds_hidden_session.getColumn(0, "sess_posinstcd"));
  3475. ds_main_right_h_ldep_ldep.setColumn(insrow, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3476. ds_main_right_h_ldep_ldep.setColumn(insrow, "fstrgstrid", ds_hidden_session.getColumn(0, "sess_userid"));
  3477. ds_main_right_h_ldep_ldep.setColumn(insrow, "fstrgstdt", "");
  3478. ds_main_right_h_ldep_ldep.setColumn(insrow, "lastupdtrid", ds_hidden_session.getColumn(0, "sess_userid"));
  3479. ds_main_right_h_ldep_ldep.setColumn(insrow, "lastupdtdt", "");
  3480. ds_main_right_h_ldep_ldep.setColumn(insrow, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  3481. ds_main_right_h_ldep_ldep.setColumn(insrow, "limitflag", ds_temp.getColumn(0, "deptlimitflag"));
  3482. }
  3483. function group3_switch2_case1_button12_onclick(obj:Button, e:ClickEventInfo)
  3484. {
  3485. var selrow = grdf_getSelectedRows(group3.switch2.case1.grd_ldep);
  3486. for (var i = 0; i < selrow.length; i++)
  3487. {
  3488. var row = selrow[i];
  3489. var arrRow = new Array();
  3490. arrRow[0] = row;
  3491. grdf_setStatus(group3.switch2.case1.grd_ldep, "D", arrRow);
  3492. }
  3493. }
  3494. function group3_switch3_case6_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  3495. {
  3496. ds_init_orddrid_orddridlist.filterstr = "dp == '"+ds_send.getColumn(0, "deptcd")+"'";
  3497. ds_send.setColumn(0, "deptnm", ds_init_orddeptcd_orddeptcdlist.lookup("cd",ds_send.getColumn(0, "deptcd"), "nm"));
  3498. ds_send.setColumn(0, "doctcd", "");
  3499. group3.switch3.case6.cmb_orddrid.enable = true;
  3500. }
  3501. function group3_switch3_case6_button14_onclick(obj:Button, e:ClickEventInfo)
  3502. {
  3503. var deptcd = ds_send.getColumn(0, "deptcd");
  3504. var doctcd = ds_send.getColumn(0, "doctcd");
  3505. if (utlf_isNull(deptcd))
  3506. {
  3507. sysf_messageBox("진료과를 ", "C002");
  3508. return;
  3509. }
  3510. if (utlf_isNull(doctcd))
  3511. {
  3512. sysf_messageBox("진료의를 ", "C002");
  3513. return;
  3514. }
  3515. for (var i = 0; i < ds_main_right_h_ldoc_ldoc.rowcount; i++)
  3516. {
  3517. var exptdrcd = ds_main_right_h_ldoc_ldoc.getColumn(i, "exptdrcd");
  3518. var rowstatus = ds_main_right_h_ldoc_ldoc.getRowType(i);
  3519. if (exptdrcd == doctcd && rowstatus != 8)
  3520. {
  3521. sysf_messageBox("중복된 제외진료의사", "E008");
  3522. return;
  3523. }
  3524. }
  3525. var temp_ldoc = ds_main_right_h_ldoc_ldoc.addRow();
  3526. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "calcscorcd", ds_main_right_h_limt_limt.getColumn(0, "limt_calcscorcd"));
  3527. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "exptdeptnm", ds_send.getColumn(0, "deptnm"));
  3528. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "exptdrnm", ds_send.getColumn(0, "doctnm"));
  3529. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "exptdeptcd", ds_send.getColumn(0, "deptcd"));
  3530. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "exptdrcd", ds_send.getColumn(0, "doctcd"));
  3531. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "expttodd", ds_main_right_h_limt_limt.getColumn(0, "limt_todd"));
  3532. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "instcd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3533. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "exptfromdd", ds_main_right_h_limt_limt.getColumn(0, "limt_fromdd"));
  3534. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "fstrgstrid", ds_hidden_session.getColumn(0, "sess_userid"));
  3535. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "fstrgstdt", "");
  3536. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "lastupdtrid", ds_hidden_session.getColumn(0, "sess_userid"));
  3537. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "lastupdtdt", "");
  3538. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "seq", ds_main_right_h_limt_limt.getColumn(0, "limt_seq"));
  3539. ds_main_right_h_ldoc_ldoc.setColumn(temp_ldoc, "limitflag", ds_temp.getColumn(0, "deptlimitflag"));
  3540. }
  3541. function group3_switch3_case6_button15_onclick(obj:Button, e:ClickEventInfo)
  3542. {
  3543. var selrow = grdf_getSelectedRows(group3.switch3.case6.grd_ldoc);
  3544. for (var i = 0; i < selrow.length; i++)
  3545. {
  3546. var row = selrow[i];
  3547. var arrRow = new Array();
  3548. arrRow[0] = row;
  3549. grdf_setStatus(group3.switch3.case6.grd_ldoc, "D", arrRow);
  3550. }
  3551. }
  3552. function grd_history_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  3553. {
  3554. if(ge.row > -1)
  3555. {
  3556. group3.switch4.tabindex = 0;
  3557. group3.switch1.tabindex = 0;
  3558. fInitialize();
  3559. group3.ipt_calcscorcd.enable = false;
  3560. group3.btn_search.enable = false;
  3561. group3.opt_hngnm.enable = false;
  3562. var cur_row = e.row ;
  3563. ds_send.setColumn(0, "calcoldyn", "Y");
  3564. ds_send.setColumn(0, "seq", ds_main_right_h_hist_hist.getColumn(cur_row, "seq"));
  3565. ds_hidden.setColumn(0, "srchflag", "history");
  3566. var oParam = {};
  3567. oParam.id = "TRPIB00409";
  3568. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  3569. oParam.method = "reqGetInsuRcogCodelimt";
  3570. oParam.inds = "req=ds_send";
  3571. oParam.outds = "ds_main_right_h_limt_limt=limt ds_main_right_h_ldic1_ldic1=ldic1 ds_main_right_h_ldic2_ldic2=ldic2 ds_main_right_h_ldep_ldep=ldep ds_main_right_h_ldoc_ldoc=ldoc ds_main_right_h_lmsg_lmsg=lmsg";
  3572. oParam.async = false;
  3573. //oParam.callback = "cf_TRPIB00409";
  3574. tranf_submit(oParam);
  3575. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd", ds_main_right_h_hist_hist.getColumn(cur_row, "calcscorcd"));
  3576. ds_main_right_h_limt_limt.setColumn(0, "limt_matrflag", ds_main_right_h_hist_hist.getColumn(cur_row, "drugmatractflag"));
  3577. ds_main_right_h_limt_limt.setColumn(0, "limt_insuedicd", ds_main_right_h_hist_hist.getColumn(cur_row, "insuedicd"));
  3578. ds_main_right_h_limt_limt.setColumn(0, "limt_hngnm", ds_main_right_h_hist_hist.getColumn(cur_row, "hngnm"));
  3579. ds_main_right_h_limt_limt.setColumn(0, "limt_engnm", ds_main_right_h_hist_hist.getColumn(cur_row, "engnm"));
  3580. ds_main_right_h_limt_limt.setColumn(0, "limt_fromdd", ds_main_right_h_hist_hist.getColumn(cur_row, "fromddold"));
  3581. ds_main_right_h_limt_limt.setColumn(0, "limt_todd", ds_main_right_h_hist_hist.getColumn(cur_row, "toddold"));
  3582. group3.ipt_fromdd_org.value = ds_main_right_h_hist_hist.getColumn(cur_row, "fromddold");
  3583. var lmsg_rows = ds_main_right_h_lmsg_lmsg.rowcount;
  3584. for(var i = 0; i < lmsg_rows; i++)
  3585. {
  3586. if(ds_main_right_h_lmsg_lmsg.getColumn(i, "qestflag") == "C")
  3587. {
  3588. ds_main_right_h_lmsg_lmsg.setColumn(i, "qestflag" == "true");
  3589. }
  3590. if(ds_main_right_h_lmsg_lmsg.getColumn(i, "essnyn") == "Y")
  3591. {
  3592. ds_main_right_h_lmsg_lmsg.setColumn(i, "essnyn" == "true");
  3593. }
  3594. if(ds_main_right_h_lmsg_lmsg.getColumn(i, "rsltinpt") == "Y")
  3595. {
  3596. ds_main_right_h_lmsg_lmsg.setColumn(i, "rsltinpt" == "true");
  3597. }
  3598. }
  3599. group3.switch4.tabindex = 0;
  3600. }
  3601. }
  3602. function group3_btn_search_onclick(obj:Button, e:ClickEventInfo)
  3603. {
  3604. ds_temp_picmmech.clearData();
  3605. ds_send_data1.setColumn(0, "srchdrugcd", group3.ipt_calcscorcd.value);
  3606. var objArg = new Object();
  3607. objArg.arg_ds_temp = ds_send_data1;
  3608. frmf_modal("SMPIC00200", "SMPIC00200", objArg, "", "", "", "", "", "", "", "", "", "M");
  3609. fShowCalcInfo2();
  3610. }
  3611. function fShowCalcInfo2()
  3612. {
  3613. if(ds_hidden.getColumn(0, "copyflag") == "Y")
  3614. {
  3615. ds_send.setColumn(0, "calcscorcd", ds_temp_picmmech.getColumn(0, "picmmech_calcscorcd"));
  3616. if(!utlf_isNull(ds_send.getColumn(0, "calcscorcd")))
  3617. {
  3618. var oParam = {};
  3619. oParam.id = "TRPIB00406";
  3620. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  3621. oParam.method = "reqGetInsuRcogCodeLimtExistYn";
  3622. oParam.inds = "req=ds_send";
  3623. oParam.outds = "ds_main_tmp_limt=limt";
  3624. oParam.async = false;
  3625. //oParam.callback = "cf_TRPIB00406";
  3626. tranf_submit(oParam);
  3627. var drugmatractflag = ds_main_tmp_limt.getColumn(0, "matrflag");
  3628. var calcscorcd = ds_main_tmp_limt.getColumn(0, "calcscorcd");
  3629. if(utlf_isNull(calcscorcd))
  3630. {
  3631. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd", ds_temp_picmmech.getColumn(0, "picmmech_calcscorcd"));
  3632. ds_main_right_h_limt_limt.setColumn(0, "limt_matrflag", "");
  3633. ds_main_right_h_limt_limt.setColumn(0, "limt_drugmatractflag", drugmatractflag);
  3634. ds_main_right_h_limt_limt.setColumn(0, "limt_insuedicd", ds_temp_picmmech.getColumn(0, "picmmech_insuedicd"));
  3635. ds_main_right_h_limt_limt.setColumn(0, "limt_hngnm", ds_temp_picmmech.getColumn(0, "picmmech_hngnm"));
  3636. ds_main_right_h_limt_limt.setColumn(0, "limt_engnm", ds_temp_picmmech.getColumn(0, "picmmech_engnm"));
  3637. ds_main_right_h_limt_limt.setColumn(0, "limt_fromdd", ds_hidden.getColumn(0, "currendate"));
  3638. ds_main_right_h_limt_limt.setColumn(0, "limt_todd", "99991231");
  3639. }
  3640. }
  3641. }
  3642. else
  3643. {
  3644. ds_send.setColumn(0, "calcscorcd", ds_temp_picmmech.getColumn(0, "picmmech_calcscorcd"));
  3645. if(!utlf_isNull(ds_send.getColumn(0, "calcscorcd")))
  3646. {
  3647. fInitialize();
  3648. var cur_row = -1;
  3649. var rows = ds_main_h_limi_limi.rowcount;
  3650. for(var i = 0; i < rows; i++)
  3651. {
  3652. if(ds_main_h_limi_limi.getColumn(i, "limi_calcscorcd") == ds_send.getColumn(0, "calcscorcd"))
  3653. {
  3654. cur_row = i;
  3655. i = rows;
  3656. }
  3657. }
  3658. if(cur_row > -1)
  3659. {
  3660. fShowCalcInfo(cur_row);
  3661. group3.ipt_calcscorcd.enable = false;
  3662. group3.opt_hngnm.enable = false;
  3663. }
  3664. else
  3665. {
  3666. var oParam = {};
  3667. oParam.id = "TRPIB00406";
  3668. oParam.service = "insubasecdmngtapp.InsuRcogBaseCd";
  3669. oParam.method = "reqGetInsuRcogCodeLimtExistYn";
  3670. oParam.inds = "req=ds_send";
  3671. oParam.outds = "ds_main_tmp_limt=limt";
  3672. oParam.async = false;
  3673. //oParam.callback = "cf_TRPIB00406";
  3674. tranf_submit(oParam);
  3675. var drugmatractflag = ds_main_tmp_limt.getColumn(0, "matrflag");
  3676. var calcscorcd = ds_main_tmp_limt.getColumn(0, "calcscorcd");
  3677. if(utlf_isNull(calcscorcd) || calcscorcd == " ")
  3678. {
  3679. ds_main_right_h_limt_limt.setColumn(0, "limt_calcscorcd", ds_temp_picmmech.getColumn(0, "picmmech_calcscorcd"));
  3680. ds_main_right_h_limt_limt.setColumn(0, "limt_matrflag", "");
  3681. ds_main_right_h_limt_limt.setColumn(0, "limt_drugmatractflag", drugmatractflag);
  3682. ds_main_right_h_limt_limt.setColumn(0, "limt_insuedicd", ds_temp_picmmech.getColumn(0, "picmmech_insuedicd"));
  3683. ds_main_right_h_limt_limt.setColumn(0, "limt_hngnm", ds_temp_picmmech.getColumn(0, "picmmech_hngnm"));
  3684. ds_main_right_h_limt_limt.setColumn(0, "limt_engnm", ds_temp_picmmech.getColumn(0, "picmmech_engnm"));
  3685. ds_main_right_h_limt_limt.setColumn(0, "limt_fromdd", ds_hidden.getColumn(0, "currendate"));
  3686. ds_main_right_h_limt_limt.setColumn(0, "limt_todd", "99991231");
  3687. ds_main_right_h_limt_limt.setColumn(0, "limt_insuexptyn", "Y");
  3688. ds_main_right_h_limt_limt.setColumn(0, "limt_dutywundexptyn", "Y");
  3689. ds_main_right_h_limt_limt.setColumn(0, "limt_inducsexptyn", "Y");
  3690. ds_main_right_h_limt_limt.setColumn(0, "limt_procexptyn", "Y");
  3691. ds_main_right_h_limt_limt.setColumn(0, "limt_autmbinsuexptyn", "Y");
  3692. ds_main_right_h_limt_limt.setColumn(0, "limt_inexptyn", "Y");
  3693. ds_main_right_h_limt_limt.setColumn(0, "limt_outexptyn", "Y");
  3694. ds_main_right_h_limt_limt.setColumn(0, "limt_manlim", "Y");
  3695. ds_main_right_h_limt_limt.setColumn(0, "limt_womlim", "Y");
  3696. btn_msg_add_onclick();
  3697. }
  3698. }
  3699. }
  3700. }
  3701. }
  3702. function group2_ipt_aplydd_onchanged(obj:Calendar, e:ChangeEventInfo)
  3703. {
  3704. ds_init.setColumn(0, "appdayflag", "true");
  3705. }
  3706. function group2_group4_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  3707. {
  3708. group2_btn_ref_onclick();
  3709. }
  3710. function group3_switch3_case6_cmb_orddrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  3711. {
  3712. ds_send.setColumn(0, "doctnm", ds_init_orddrid_orddridlist.lookup("cd",ds_send.getColumn(0, "doctcd"), "nm"));
  3713. }
  3714. function group3_switch3_case6_cmb_orddrid_onitemclick(obj:Combo, e:ListBoxClickEventInfo)
  3715. {
  3716. if (utlf_isNull(ds_send.getColumn(0, "deptcd")))
  3717. {
  3718. sysf_messageBox("진료과를 먼저", "C002");
  3719. group3.switch3.case6.cmb_orddrid.enable = false;
  3720. }
  3721. }
  3722. function group3_ipt_calcscorcd_onkeydown(obj:Edit, e:KeyEventInfo)
  3723. {
  3724. if(e.keycode == 13)
  3725. {
  3726. group3_btn_search_onclick();
  3727. }
  3728. }
  3729. function group3_ipt_insuedicd_onkeydown(obj:Edit, e:KeyEventInfo)
  3730. {
  3731. if(e.keycode == 13)
  3732. {
  3733. fEnterInsuedicd();
  3734. }
  3735. }
  3736. function fEnterInsuedicd()
  3737. {
  3738. ds_temp_picmmech.clearData();
  3739. ds_hidden_smpic00200_judgsrch.clearData();
  3740. ds_hidden_smpic00200_judgsrch.addRow();
  3741. ds_hidden_smpic00200_judgsrch.setColumn(0, "con3_search1", "edicd");
  3742. ds_hidden_smpic00200_judgsrch.setColumn(0, "srchdrugcd", group3.ipt_insuedicd.value);
  3743. var objArg = new Object();
  3744. objArg.arg_ds_temp = ds_hidden_smpic00200_judgsrch;
  3745. frmf_modal("SMPIC00200", "SMPIC00200", objArg, "", "", "", "", "", "", "", "", "", "M");
  3746. fShowCalcInfo2();
  3747. }
  3748. function group3_opt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo)
  3749. {
  3750. if(e.keycode == 13)
  3751. {
  3752. fEnterHngnm();
  3753. }
  3754. }
  3755. function fEnterHngnm()
  3756. {
  3757. ds_temp_picmmech.clearData();
  3758. ds_hidden_smpic00200_judgsrch.clearData();
  3759. ds_hidden_smpic00200_judgsrch.addRow();
  3760. ds_hidden_smpic00200_judgsrch.setColumn(0, "con3_search1", "hngnm");
  3761. ds_hidden_smpic00200_judgsrch.setColumn(0, "srchdrugcd", group3.opt_hngnm.value);
  3762. var objArg = new Object();
  3763. objArg.arg_ds_temp = ds_hidden_smpic00200_judgsrch;
  3764. frmf_modal("SMPIC00200", "SMPIC00200", objArg, "", "", "", "", "", "", "", "", "", "M");
  3765. fShowCalcInfo2();
  3766. }
  3767. function ds_main_right_h_limt_limt_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3768. {
  3769. if( e.columnid == "limt_judgnotiyn" )
  3770. {
  3771. obj.setColumn(e.row, "limt_judgnotiyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  3772. }
  3773. if( e.columnid == "limt_nopyordyn" )
  3774. {
  3775. obj.setColumn(e.row, "limt_nopyordyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  3776. }
  3777. if( e.columnid == "limt_insuexptyn" )
  3778. {
  3779. obj.setColumn(e.row, "limt_insuexptyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3780. }
  3781. if( e.columnid == "limt_procexptyn" )
  3782. {
  3783. obj.setColumn(e.row, "limt_procexptyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3784. }
  3785. if( e.columnid == "limt_inducsexptyn" )
  3786. {
  3787. obj.setColumn(e.row, "limt_inducsexptyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3788. }
  3789. if( e.columnid == "limt_dutywundexptyn" )
  3790. {
  3791. obj.setColumn(e.row, "limt_dutywundexptyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3792. }
  3793. if( e.columnid == "limt_autmbinsuexptyn" )
  3794. {
  3795. obj.setColumn(e.row, "limt_autmbinsuexptyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3796. }
  3797. if( e.columnid == "limt_inexptyn" )
  3798. {
  3799. obj.setColumn(e.row, "limt_inexptyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3800. }
  3801. if( e.columnid == "limt_outexptyn" )
  3802. {
  3803. obj.setColumn(e.row, "limt_outexptyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3804. }
  3805. if( e.columnid == "limt_manlim" )
  3806. {
  3807. obj.setColumn(e.row, "limt_manlim", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3808. }
  3809. if( e.columnid == "limt_womlim" )
  3810. {
  3811. obj.setColumn(e.row, "limt_womlim", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3812. }
  3813. if( e.columnid == "limt_drprcpyn" )
  3814. {
  3815. obj.setColumn(e.row, "limt_drprcpyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3816. }
  3817. if( e.columnid == "limt_dschprcpyn" )
  3818. {
  3819. obj.setColumn(e.row, "limt_dschprcpyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "");
  3820. }
  3821. }
  3822. function ds_main_right_h_ldep_ldep_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3823. {
  3824. if(e.columnid == "exptdeptcd")
  3825. {
  3826. var rows = obj.rowcount;
  3827. var row = obj.rowposition;
  3828. var exptdeptcd_select = obj.getColumn(row, "exptdeptcd");
  3829. var exptdeptcd = "";
  3830. for (var i = 0; i < rows; i++)
  3831. {
  3832. var rowstatus = obj.getRowType(i);
  3833. if (i != row)
  3834. {
  3835. exptdeptcd = obj.getColumn(i, "exptdeptcd");
  3836. if (exptdeptcd == exptdeptcd_select && rowstatus != 8)
  3837. {
  3838. sysf_messageBox("동일한 진료과를 선택", "E001");
  3839. obj.setColumn(row, "exptdeptcd", "");
  3840. }
  3841. }
  3842. }
  3843. }
  3844. }
  3845. ]]></Script>
  3846. </Form>
  3847. </FDL>