How often should fire alarm systems be inspected by a licensed contractor?

Fire alarm systems are required by fire code to be inspected at least annually. However in buildings such as hospitals, and assisted living situations these systems are inspected more frequently (quarterly).