The study design included a pre-implementation survey of 39 general internal medicine and family medicine residents and 43 generalist faculty addressing attitudes and expectations of a planned patient portal and also a pre- and post-implementation survey of general internal medicine and family medicine faculty physicians..