Class: OpenEHR::RM::Common::Resource::ResourceDescriptionItem

Inherits:
Object
  • Object
show all
Defined in:
lib/open_ehr/rm/common/resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ ResourceDescriptionItem

Returns a new instance of ResourceDescriptionItem.



107
108
109
110
111
112
113
114
115
116
# File 'lib/open_ehr/rm/common/resource.rb', line 107

def initialize(args = { })
  self.language = args[:language]
  self.purpose = args[:purpose]
  self.keywords = args[:keywords]
  self.use = args[:use]
  self.misuse = args[:misuse]
  self.copyright = args[:copyright]
  self.original_resource_uri = args[:original_resource_uri]
  self.other_details = args[:other_details]
end

Instance Attribute Details

Returns the value of attribute copyright.



104
105
106
# File 'lib/open_ehr/rm/common/resource.rb', line 104

def copyright
  @copyright
end

#keywordsObject

Returns the value of attribute keywords.



105
106
107
# File 'lib/open_ehr/rm/common/resource.rb', line 105

def keywords
  @keywords
end

#languageObject

Returns the value of attribute language.



104
105
106
# File 'lib/open_ehr/rm/common/resource.rb', line 104

def language
  @language
end

#misuseObject

Returns the value of attribute misuse.



104
105
106
# File 'lib/open_ehr/rm/common/resource.rb', line 104

def misuse
  @misuse
end

#original_resource_uriObject

Returns the value of attribute original_resource_uri.



105
106
107
# File 'lib/open_ehr/rm/common/resource.rb', line 105

def original_resource_uri
  @original_resource_uri
end

#other_detailsObject

Returns the value of attribute other_details.



105
106
107
# File 'lib/open_ehr/rm/common/resource.rb', line 105

def other_details
  @other_details
end

#purposeObject

Returns the value of attribute purpose.



104
105
106
# File 'lib/open_ehr/rm/common/resource.rb', line 104

def purpose
  @purpose
end

#useObject

Returns the value of attribute use.



104
105
106
# File 'lib/open_ehr/rm/common/resource.rb', line 104

def use
  @use
end