Does my boss need to let me see my doctor when I’m pregnant?

Does your boss need to allow you time for a doctor’s appointment during the work day? If they don’t, is this discrimination? Can they impose any requirements?