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
317 318 319 320 321 |
# File 'lib/openehr/rm/support/identification.rb', line 317 def type=(type) parties = %w[PERSON ORGANISATION GROUP AGENT ROLE PARTY ACTOR] raise ArgumentError, 'type invalid' unless parties.include? type @type = type end |