<prompt> YAG laser capsulotomy is used in -Retinal detachmentDiabetesAfter- cataractRefractive errors  <response>: Posterior capsular opacification after cataract or secondary cataract is the most common late complication of uncomplicated cataract surgery. Pattern of opacification: the ring of sommerring and the elschnig pearls Treatment involves the creation of an opening in the posterior capsule, termed a capsulotomy, with the Nd: YAG laser. photodisruption Ref: kanskis clinical ophthalmology , 8th edition , page no.293 