Plans to turn a private medical practice in Garstang into apartments have been approved by planners at Wyre.