SELECT EXISTS (
		SELECT 1 FROM clin.v_nonbrand_intakes WHERE
			(pk_patient = ID_ACTIVE_PATIENT)
				AND
			(atc_substance = 'N07BA01')
				AND
			(coalesce(harmful_use_type, -1) > 0)
				AND
			((discontinued IS NULL) OR (discontinued > now()))
				AND
			(last_checked_when < now() - '1 year'::interval)
	);