A Type D visa is required for a stay that is more than 90 days in duration. A national visa, Type D visas are commonly given for – prolonged medical treatment, family reunification, work, or studies in Switzerland.