I don't have experience with medical ultrasound, but I have built a few basic ultrasonic systems around a PC or a single board computer for structural testing applications. If you're not doing phased array ultrasonics you can build a system for under $1000USD, possibly less if you can use PVDF instead of PZT. The expensive part is the software.