def get_response_answer(resp_type):
    """
    [Helper Function]
    Returns the response answer for a given answer type.
    """
    return {
        "bool": resp_type.response.bool_response,
        "text": resp_type.response.text_response,
        "int": resp_type.response.scale_response,
    }.get(resp_type.response.symptom.answer_type, "")