def METHOD_NAME(fixture_name, domain, schedule_iteration_num, current_event_num, num_events,
        recipient):
    try:
        message_bank = LookupTable.objects.by_domain_tag(domain, fixture_name)
    except LookupTable.DoesNotExist:
        message = "Lookup Table {} not found in {}".format(fixture_name, domain)
        notify_dimagi_project_admins(domain, message=message)
        return None
    fields = {f.name for f in message_bank.fields}
    if any(field not in fields for field in REQUIRED_FIXTURE_FIELDS):
        message = "{} in {} must have {}".format(
            fixture_name, domain, ','.join(REQUIRED_FIXTURE_FIELDS)
        )
        notify_dimagi_project_admins(domain, message=message)
        return None
    if not is_commcarecase(recipient):
        recipient_id = getattr(recipient, '_id') if hasattr(recipient, '_id') else 'id_unknown'
        message = "recipient {} must be a case in domain {}".format(recipient_id, domain)
        notify_dimagi_project_admins(domain, message=message)
        return None
    try:
        risk_profile = recipient.dynamic_case_properties()[RISK_PROFILE_FIELD]
    except KeyError:
        message = "case {} does not include risk_profile".format(recipient.case_id)
        notify_dimagi_project_admins(domain, message=message)
        return None
    current_message_seq_num = str(
        ((schedule_iteration_num - 1) * num_events) + current_event_num + 1
    )
    custom_messages = LookupTableRow.objects.with_value(
        domain, message_bank.id, RISK_PROFILE_FIELD, risk_profile
    )
    custom_messages = [m for m in custom_messages
        if m.fields_without_attributes['sequence'] == current_message_seq_num]
    if len(custom_messages) != 1:
        if not custom_messages:
            message = "No message for case {}, risk {}, seq {} in domain {} in fixture {}"
        else:
            message = "Multiple messages for case {}, risk {}, seq {} in domain {} in fixture {}"
        message = message.format(recipient.case_id, risk_profile, current_message_seq_num, domain, fixture_name)
        notify_dimagi_project_admins(domain, message=message)
        return None
    return custom_messages[0].fields_without_attributes['message']