code: def embedded_in(self):
          
  
          return self._DCM['InfoObject2Fact']. \
              objects. \
              filter(fact__value_iobject_id=self.identifier). \
              filter(iobject__timestamp=F('iobject__identifier__latest__timestamp')). \
              order_by('-iobject__timestamp') \
              .values_list(
              'iobject',
              'iobject__identifier__namespace__uri',
              'iobject__identifier__uid',
              'iobject__timestamp',
              'iobject__name',
              'fact__value_iobject_ts',
              'fact__fact_term__term', 
              'node_id__name').distinct()
docs: Used in the view for the InfoObject (in order to be able to use the standard class-based object view.
          Should be removed from here and put into a proper custom view for the object.
  
          This query only returns embedding objects of the latest revision: to change
          this, the filter 'iobject__timestamp=F('iobject__identifier__latest__timestamp' must
          be removed.