Originally published by Boswell under the pseudonym The Hypochondriack as a series of essays in The London Magazine between 1777-1783.
Availability
To my knowledge the Hypochondriack essays weren't published in a collected form until Margery Bailey published them in her slightly annotated Boswell's Column in 1951. This volume is widely available via Abebooks
.