Class: CaTissue::ParticipantMedicalIdentifier

Inherits:
Object
  • Object
show all
Includes:
Jinx::Unique
Defined in:
lib/catissue/domain/participant_medical_identifier.rb,
lib/catissue/migration/unique.rb

Overview

The ParticipantMedicalIdentifier domain class.

Instance Method Summary collapse

Instance Method Details

#medical_record_number=(value) ⇒ Object

Sets this ParticipantMedicalIdentifier’s medical record number to the given value. A Numeric value is converted to a String.



8
9
10
11
# File 'lib/catissue/domain/participant_medical_identifier.rb', line 8

def medical_record_number=(value)
  value = value.to_s if value
  setMedicalRecordNumber(value)
end