Class: OpenEHR::RM::DataTypes::Encapsulated::DvMultimedia

Inherits:
DvEncapsulated show all
Defined in:
lib/open_ehr/rm/data_types/encapsulated.rb

Overview

Constant Summary

Constants included from Support::Definition::BasicDefinition

Support::Definition::BasicDefinition::CR, Support::Definition::BasicDefinition::LF

Instance Attribute Summary collapse

Attributes inherited from DvEncapsulated

#charset, #language

Attributes inherited from Basic::DataValue

#value

Instance Method Summary collapse

Methods inherited from DvEncapsulated

#size

Methods inherited from Basic::DataValue

#==

Constructor Details

#initialize(args = {}) ⇒ DvMultimedia

Returns a new instance of DvMultimedia.



61
62
63
64
65
66
67
68
69
70
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 61

def initialize(args = {})
  super(args)
  self.media_type = args[:media_type]
  self.uri = args[:uri]
  self.data = args[:data]
  self.compression_algorithm = args[:compression_algorithm]
  self.integrity_check = args[:integrity_check]
  self.integrity_check_algorithm = args[:integrity_check_algorithm]
  self.alternate_text = args[:alternate_text]
end

Instance Attribute Details

#alternate_textObject

Returns the value of attribute alternate_text.



58
59
60
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58

def alternate_text
  @alternate_text
end

#compression_algorithmObject

Returns the value of attribute compression_algorithm.



58
59
60
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58

def compression_algorithm
  @compression_algorithm
end

#dataObject

Returns the value of attribute data.



58
59
60
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58

def data
  @data
end

#integrity_checkObject

Returns the value of attribute integrity_check.



58
59
60
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58

def integrity_check
  @integrity_check
end

#integrity_check_algorithmObject

Returns the value of attribute integrity_check_algorithm.



58
59
60
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58

def integrity_check_algorithm
  @integrity_check_algorithm
end

#media_typeObject

Returns the value of attribute media_type.



57
58
59
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 57

def media_type
  @media_type
end

#uriObject

Returns the value of attribute uri.



58
59
60
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58

def uri
  @uri
end