Need to ask a question only some of the time? For example, you may only want to ask female patients if they're pregnant. Or only ask for a parent/guardian name if your patient is a certain age. Or maybe you need to ask for more information about something, but only if it's applicable to the patient. In any of those cases, you'll want to make sure of our visibility logic.
We have a full in-depth article on visibility logic here.