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

- (Object) documents

Returns the value of attribute documents



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

def documents
  @documents
end

- (Object) id

Returns the value of attribute id



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

def id
  @id
end

- (Object) id_scheme

Returns the value of attribute id_scheme



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

def id_scheme
  @id_scheme
end

- (Object) patient

Returns the value of attribute patient



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

def patient
  @patient
end

- (Object) value

Returns the value of attribute value



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

def value
  @value
end

Instance Method Details

- (Boolean) eql?(other) Also known as: ==

Returns:

  • (Boolean)


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