I never went through with the sleep study once I realized they seemed only oriented towards sleep apnea. That is the one problem they seem to recognize and treat. The light, sketchy, in and out sleep a lot of us have, or the other poor patterns which result in inadequate sleep--those didn't seem to count. So instead I just worked with my primary care doctor--a GP or Family Physician. Picking one who is sympathetic, respectful and willing to work with you to improve these symptoms is absolutely essential.
I avoid all the Z drugs, the hypnotics, as they have resulted in temporary amnesia the next day for me. I avoid anything or any amount which results in more brain fog as this is not worth it. Luckily I have a great combination of pills, however, which really work well now. Maybe I said this earlier in this thread, but they are 25 mg Trazodone, 1800 mg Gabapentin (starting in the late afternoon or early evening, as it also helps a lot with pain), and 1,000 mg of OTC Tryptophan. This last helps with pain as well as sleep.
I am thankful to have avoided psychiatrists every step of the way. Maybe they aren't all unhelpful, but I feel so strongly that what I have (most of us have) is a physical disease and not a mood disorder. Yes, it has a lot of neurological features, and I do see a Neurologist--mainly for the autonomic aspects. I refuse to get into the Depression category as I consider that the waste basket that we have been consigned to for so long--and once labelled that way, it can be hard to get out of.