Complex sentence: The conditions are distinguished by medical tests, usually in hospital: urinalysis (usually normal in testicular torsion) and ultrasound if available.
Split into simpler sentences: The conditions are distinguished by medical tests, usually in hospital. These test include urinalysis (usually normal in testicular torsion) and ultrasound if available.