lib/catissue/domain/specimen_requirement.rb
def match_in_owner_scope(others)
      others.detect do |other|
        self.class == other.class and specimen_type == other.specimen_type and pathological_status == other.pathological_status and
         characteristics and characteristics.matches?(other.characteristics)
      end
    end
def match_in_owner_scope(others)
      others.detect do |other|
        self.class == other.class and specimen_type == other.specimen_type and pathological_status == other.pathological_status and
         characteristics and characteristics.matches?(other.characteristics)
      end
    end
def match_in_owner_scope ( others ) others . detect do | other | self . class == other . class and specimen_type == other . specimen_type and pathological_status == other . pathological_status and characteristics and characteristics . matches? ( other . characteristics ) end end
Returns the SpecimenRequirement in _others_ which matches this SpecimenRequirement
 in the scope of an owner CollectionProtocolEvent. This method relaxes
 +Jinx::Resource.match_in_owner_scope+ for a SpecimenRequirement that matches any
 SpecimenRequirement in others with the same class, specimen type, pathological_status
 and characteristics.
Returns the SpecimenRequirement in _others_ which matches this SpecimenRequirement in the scope of an owner CollectionProtocolEvent . This method relaxes + Jinx :: Resource . match_in_owner_scope + for a SpecimenRequirement that matches any SpecimenRequirement in others with the same class specimen type pathological_status and characteristics .