SELECT
		_('Smoking status') || E'\n'
		|| ' ' || _('Last checked:') || ' ' || to_char(last_checked_when, 'Mon YYYY')
		|| (case
				when harmful_use_type = 1 then E'\n' || _('harmful use')
				when harmful_use_type = 2 then E'\n' || _('addiction')
				when harmful_use_type = 3 then E'\n' || _('previous addiction')
			end)
		|| coalesce(E'\n ' || _('Quit date:') || ' ' || to_char(discontinued, 'YYYY Mon DD'), '')
		|| coalesce(E'\n ' || _('Notes:') || ' ' || notes, '')
	FROM
		clin.v_nonbrand_intakes
	WHERE pk_patient = ID_ACTIVE_PATIENT;