from typing import Dict


def is_same_person(trans: Dict, next_trans: Dict) -> bool:
    """ Whether the person is the same for both transformations """
    patient = trans["patient"]
    next_patient = next_trans["patient"]
    return patient["name"] == next_patient["name"] and patient["birth_date"] == next_patient["birth_date"] and\
        patient["admin_sex"] == next_patient["admin_sex"]