def to_specimen(protocol, params)
      params[:pathological_status] ||= 'Non-Malignant'
      # The CPE is the sole protocol event.
      cpe = protocol.events.first
      # The specimen requirement is the sole event requirement.
      rqmt = cpe.requirements.first
      # Make the specimen.
      CaTissue::Specimen.create_specimen(params.merge(:requirement => rqmt))
    end
def to_specimen(protocol, params)
      params[:pathological_status] ||= 'Non-Malignant'
      # The CPE is the sole protocol event.
      cpe = protocol.events.first
      # The specimen requirement is the sole event requirement.
      rqmt = cpe.requirements.first
      # Make the specimen.
      CaTissue::Specimen.create_specimen(params.merge(:requirement => rqmt))
    end
Builds the +CaTissue::Specimen+ object specified in the given parameters.

 The default edit form pathological status checkbox value is 'Malignant'.
 If the user unchecked it, then there is no pathological status parameter.
 In that case, the pathological status is 'Non-Malignant'.

 @param [CaTissue::CollectionProtocol] protocol the collection protocol
 @param [{Symbol => String}] params the Specimen parameters
 @return [CaTissue::Specimen] the specimen to save