def resolve_case_property(self, property_name):
        if property_name.lower().startswith('parent/'):
            parent = self.parent
            if not parent:
                return None
            return parent.resolve_case_property(property_name[7:])

        return self.to_json().get(property_name)
Handles case property parent references. Examples for property_name can be:
dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/models.py/CommCareCaseSQL.resolve_case_property