Do-it-yourself medical devices can cut down hospital trips