Class: OpenEHR::AM::OpenEHRProfile::DataTypes::Text::CCodeReference
- Inherits:
-
CCodePhrase
- Object
- Archetype::ConstraintModel::ArchetypeConstraint
- Archetype::ConstraintModel::CObject
- Archetype::ConstraintModel::CDefinedObject
- Archetype::ConstraintModel::CDomainType
- CCodePhrase
- OpenEHR::AM::OpenEHRProfile::DataTypes::Text::CCodeReference
- Defined in:
- lib/openehr/am/openehr_profile/data_types/text.rb
Overview
C_CODE_REFERENCE is defined by Template.xsd (Template OM) as a C_CODE_PHRASE extension carrying a referenceSetUri. nil is accepted for tolerant parsing of real artifacts. valid_value? is inherited: without a terminology service, this class cannot expand the URI's reference set and must retain CCodePhrase's permissive behavior.
Instance Attribute Summary collapse
-
#reference_set_uri ⇒ Object
Returns the value of attribute reference_set_uri.
Attributes inherited from CCodePhrase
Attributes inherited from Archetype::ConstraintModel::CDefinedObject
Attributes inherited from Archetype::ConstraintModel::CObject
#node_id, #occurrences, #rm_type_name
Attributes inherited from Archetype::ConstraintModel::ArchetypeConstraint
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ CCodeReference
constructor
A new instance of CCodeReference.
Methods inherited from CCodePhrase
Methods inherited from Archetype::ConstraintModel::CDomainType
Methods inherited from Archetype::ConstraintModel::CDefinedObject
#any_allowed?, #default_value, #has_assumed_value?, #valid_value?
Methods inherited from Archetype::ConstraintModel::CObject
#node_conforms_to?, #path, #to_rm
Methods inherited from Archetype::ConstraintModel::ArchetypeConstraint
#congruent?, #has_path?, #node_conforms_to?
Constructor Details
#initialize(args = { }) ⇒ CCodeReference
Returns a new instance of CCodeReference.
54 55 56 57 |
# File 'lib/openehr/am/openehr_profile/data_types/text.rb', line 54 def initialize(args = { }) super self.reference_set_uri = args[:reference_set_uri] end |
Instance Attribute Details
#reference_set_uri ⇒ Object
Returns the value of attribute reference_set_uri.
52 53 54 |
# File 'lib/openehr/am/openehr_profile/data_types/text.rb', line 52 def reference_set_uri @reference_set_uri end |