Electronic health-records software provider that marketed directly to consumers before the idea was widely accepted.