lib/catissue/domain/specimen_collection_group.rb
def collection_status=(value)
      if value == 'Complete' then
        specimens.each { |spc| spc.collection_status = 'Collected' if spc.pending? }
      end
      setCollectionStatus(value)
    end
def collection_status=(value)
      if value == 'Complete' then
        specimens.each { |spc| spc.collection_status = 'Collected' if spc.pending? }
      end
      setCollectionStatus(value)
    end
def collection_status = ( value ) if value == 'Complete' then specimens . each { | spc | spc . collection_status = 'Collected' if spc . pending? } end setCollectionStatus ( value ) end
Sets the collection status for this SCG.
 If the SCG status is set to +Complete+, then the status of each of the SCG Specimens with
 status +Pending+ is reset to +Collected+.

 @param [String] value a permissible SCG status
Sets the collection status for this SCG . If the SCG status is set to + Complete + then the status of each of the SCG Specimens with status + Pending + is reset to + Collected + .