Door At Stairs
This is a good example of a door near a set of stairs. It is at east 16 inches away from the last step giving the handrail its 12 inch extension required by the building code past the last step. When planning for a situation like this keep in mind the gripable handrail building codes in your area.
Door at Top of Landing