Class: XdsRecordUtility::XDSRecord

Inherits:
Object
  • Object
show all
Defined in:
lib/xds_record_utility.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#documentsObject

Returns the value of attribute documents



4
5
6
# File 'lib/xds_record_utility.rb', line 4

def documents
  @documents
end

#idObject

Returns the value of attribute id



4
5
6
# File 'lib/xds_record_utility.rb', line 4

def id
  @id
end

#id_schemeObject

Returns the value of attribute id_scheme



4
5
6
# File 'lib/xds_record_utility.rb', line 4

def id_scheme
  @id_scheme
end

#patientObject

Returns the value of attribute patient



4
5
6
# File 'lib/xds_record_utility.rb', line 4

def patient
  @patient
end

#valueObject

Returns the value of attribute value



4
5
6
# File 'lib/xds_record_utility.rb', line 4

def value
  @value
end

Instance Method Details

#eql?(other) ⇒ Boolean Also known as: ==



6
7
8
9
10
# File 'lib/xds_record_utility.rb', line 6

def eql? other
  %w[ value id documents id_scheme patient ].all? do |f|
    send(f) == other.send(f)
  end
end