def detoxify(toxic)
      if toxic.collection? then
        case toxic.first
        when CaTissue::ExternalIdentifier then
          CaTissue::Specimen.remove_phantom_external_identifier(toxic)
        when CaTissue::ParticipantMedicalIdentifier then
          CaTissue::Participant.remove_phantom_medical_identifier(toxic)    
        end
      end
      super
    end
def detoxify(toxic)
      if toxic.collection? then
        case toxic.first
        when CaTissue::ExternalIdentifier then
          CaTissue::Specimen.remove_phantom_external_identifier(toxic)
        when CaTissue::ParticipantMedicalIdentifier then
          CaTissue::Participant.remove_phantom_medical_identifier(toxic)    
        end
      end
      super
    end
Augments +CaRuby::Database::Persistifier.detoxify+ to work around the
 caTissue bugs described in {CaTissue::Specimen.remove_phantom_external_identifier}
 and {CaTissue::Participant.remove_phantom_medical_identifier}.

 @param [Resource, <Resource>] the toxic domain object(s)