Class: OpenEHR::RM::Demographic::Address
- Inherits:
-
Common::Archetyped::Locatable
- Object
- Common::Archetyped::Pathable
- Common::Archetyped::Locatable
- OpenEHR::RM::Demographic::Address
- Defined in:
- lib/openehr/rm/demographic.rb
Constant Summary
Constants included from Common::Archetyped::LocaterConstants
Common::Archetyped::LocaterConstants::CONTENT_PATH_SEPARATOR, Common::Archetyped::LocaterConstants::CURRENT_TRANSACTION_ID, Common::Archetyped::LocaterConstants::FRAGMENT_SEPARATOR, Common::Archetyped::LocaterConstants::MULTIPART_ID_DELIMITER, Common::Archetyped::LocaterConstants::ORGANIZER_PATH_SEPARATOR
Instance Attribute Summary collapse
-
#details ⇒ Object
Returns the value of attribute details.
Attributes inherited from Common::Archetyped::Locatable
#archetype_details, #archetype_node_id, #feeder_audit, #links, #name, #uid
Attributes inherited from Common::Archetyped::Pathable
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Address
constructor
A new instance of Address.
- #type ⇒ Object
Methods inherited from Common::Archetyped::Locatable
Methods inherited from Common::Archetyped::Pathable
#item_at_path, #items_at_path, #path_exists?, #path_of_item, #path_unique?
Constructor Details
#initialize(args = { }) ⇒ Address
Returns a new instance of Address.
117 118 119 120 |
# File 'lib/openehr/rm/demographic.rb', line 117 def initialize(args = { }) super(args) self.details = args[:details] end |
Instance Attribute Details
#details ⇒ Object
Returns the value of attribute details.
115 116 117 |
# File 'lib/openehr/rm/demographic.rb', line 115 def details @details end |
Instance Method Details
#type ⇒ Object
129 130 131 |
# File 'lib/openehr/rm/demographic.rb', line 129 def type return @name end |