def impact_xpath(region: str) -> str:
    """ Generate XPath for the different impact fields """
    xpath = 'substring(//span[contains(@class, "{region}-")]/@class, {start}, 1)'
    return xpath.format(region=region, start=len(region) + 2)