Class: OpenEHR::RM::Support::Identification::PartyRef
- Defined in:
- lib/open_ehr/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
311 312 313 314 315 |
# File 'lib/open_ehr/rm/support/identification.rb', line 311 def type=(type) parties = %w[PERSON ORGANISATION GROUP AGENT ROLE PARTY ACTOR] raise ArgumentError, 'type invalid' unless parties.include? type @type = type end |