If your in Dubai, how will you come to the uk, Visitor visa or settlement visa?

If you come as a visitor you are not allowed to recieve NHS treatment.
If you come on a settlement visa there will be no problem giving birth in a NHS hospital.