Class: SimpleXml::Reference
- Inherits:
-
Object
- Object
- SimpleXml::Reference
- Includes:
- Utilities
- Defined in:
- lib/model/types.rb
Overview
Represents a HQMF reference from a precondition to a data criteria
Constant Summary
Constants included from Utilities
Utilities::MEASURE_ATTRIBUTES_MAP
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ Reference
constructor
A new instance of Reference.
- #to_model ⇒ Object
Methods included from Utilities
#attr_val, attr_val, build_value, #children_of, #comments_on, #create_age_timing, #create_birthdate_criteria
Constructor Details
#initialize(id) ⇒ Reference
Returns a new instance of Reference.
200 201 202 |
# File 'lib/model/types.rb', line 200 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
198 199 200 |
# File 'lib/model/types.rb', line 198 def id @id end |
Instance Method Details
#to_model ⇒ Object
204 205 206 |
# File 'lib/model/types.rb', line 204 def to_model HQMF::Reference.new(@id) end |