Dr. Joseph Warren (June 11, 1741 – June 17, 1775) was an American doctor who played a leading role in American Patriot organizations in Boston in early days of the American Revolution , eventually serving as president of the revolutionary Massachusetts Provincial Congress .