Class: OpenEHR::RM::Support::Identification::PartyRef
- Defined in:
- lib/openehr/rm/support/identification.rb
Instance Attribute Summary
Attributes inherited from ObjectRef
Instance Method Summary collapse
Methods inherited from ObjectRef
Constructor Details
This class inherits a constructor from OpenEHR::RM::Support::Identification::ObjectRef
Instance Method Details
#type=(type) ⇒ Object
314 315 316 317 318 |
# File 'lib/openehr/rm/support/identification.rb', line 314 def type=(type) parties = %w[PERSON ORGANISATION GROUP AGENT ROLE PARTY ACTOR] raise ArgumentError, 'type invalid' unless parties.include? type @type = type end |