The NHS has been urged to heed lessons from history.