He attended Kirkeparken senior high school and subsequently studied medicine at the University of Bergen , later becoming an obstetrician/gynecologist . He attended Kirkeparken senior high school and later studied medicine at the University of Bergen , subsequently becoming an obstetrician/gynecologist .