def filter_structure_definitions(entries):
    """Filter StructureDefinition resource from a list

    :param entries: list of entries (resources)
    :return: generator object that will yield only StructureDefinition resources
    """
    return (e for e in entries if e['resourceType'] == 'StructureDefinition')