Class: OpenEHR::RM::Common::Resource::ResourceDescription

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 = {}) ⇒ ResourceDescription

Returns a new instance of ResourceDescription.



71
72
73
74
75
76
77
78
79
# File 'lib/open_ehr/rm/common/resource.rb', line 71

def initialize(args = {})
  self.original_author = args[:original_author]
  self.lifecycle_state = args[:lifecycle_state]
  self.details = args[:details]
  self.other_contributors = args[:other_contributors]
  self.resource_package_uri = args[:resource_package_uri]
  self.other_details = args[:other_details]
  self.parent_resource = args[:parent_resource]
end

Instance Attribute Details

#detailsObject

Returns the value of attribute details.



67
68
69
# File 'lib/open_ehr/rm/common/resource.rb', line 67

def details
  @details
end

#lifecycle_stateObject

Returns the value of attribute lifecycle_state.



67
68
69
# File 'lib/open_ehr/rm/common/resource.rb', line 67

def lifecycle_state
  @lifecycle_state
end

#original_authorObject

Returns the value of attribute original_author.



67
68
69
# File 'lib/open_ehr/rm/common/resource.rb', line 67

def original_author
  @original_author
end

#other_contributorsObject

Returns the value of attribute other_contributors.



68
69
70
# File 'lib/open_ehr/rm/common/resource.rb', line 68

def other_contributors
  @other_contributors
end

#other_detailsObject

Returns the value of attribute other_details.



68
69
70
# File 'lib/open_ehr/rm/common/resource.rb', line 68

def other_details
  @other_details
end

#parent_resourceObject

Returns the value of attribute parent_resource.



68
69
70
# File 'lib/open_ehr/rm/common/resource.rb', line 68

def parent_resource
  @parent_resource
end

#resource_package_uriObject

Returns the value of attribute resource_package_uri.



68
69
70
# File 'lib/open_ehr/rm/common/resource.rb', line 68

def resource_package_uri
  @resource_package_uri
end