If you google 'quantas pregnancy flying' you'll find that if you have an uncomplicated pregnancy you can fly after 36 weeks given you have medical clearance from your doctor. International travel is restricted after 36 weeks, and I don't think clearance from your doctor would help.