What is the management protocol for controlling hypersomnia and excessive daytime sleepiness in a known hypertensive patient of late fifties age group? How to differentiate between hypersomnia and narcolepsy?

Is it safe to use Modafinil 200 mg in these patients? Kindly suggest.