(self)
For a 'forward' index this is the case that the the index points to.
        For a 'reverse' index this is the case that owns the index.
        See ``CaseAccessorSQL.get_reverse_indices``

        :return: referenced case
For a 'forward' index this is the case that the the index points to.
        For a 'reverse' index this is the case that owns the index.
        See ``CaseAccessorSQL.get_reverse_indices``
For a forward index this is the case that the the index points to . For a reverse index this is the case that owns the index . See CaseAccessorSQL . get_reverse_indices
def referenced_case(self):
        """
        For a 'forward' index this is the case that the the index points to.
        For a 'reverse' index this is the case that owns the index.
        See ``CaseAccessorSQL.get_reverse_indices``

        :return: referenced case
        """
        from corehq.form_processor.backends.sql.dbaccessors import CaseAccessorSQL
        if self.referenced_id:
            return CaseAccessorSQL.get_case(self.referenced_id)
        else:
            return None
def referenced_case ( self ) : from corehq . form_processor . backends . sql . dbaccessors import CaseAccessorSQL if self . referenced_id : return CaseAccessorSQL . get_case ( self . referenced_id ) else : return None