refers to things during sleep
where something is going wrong, such as movement, night terrors
etc, as opposed to insomnia
where there is a problem falling asleep staying asleep or both.
Yes it is a broad term that includes a lot. So it wouldn't be someone's actual diagnosis, the diagnosis would be more specific.