Class: PreOp::ICD
- Inherits:
-
Struct
- Object
- Struct
- PreOp::ICD
- Defined in:
- lib/aqi/pre_op.rb
Instance Attribute Summary collapse
-
#rank ⇒ Object
Returns the value of attribute rank.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#rank ⇒ Object
Returns the value of attribute rank
3 4 5 |
# File 'lib/aqi/pre_op.rb', line 3 def rank @rank end |
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/aqi/pre_op.rb', line 3 def value @value end |
Instance Method Details
#to_xml ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/aqi/pre_op.rb', line 4 def to_xml builder = Builder::XmlMarkup.new builder.ICD do |icd| icd.ICDRank(rank) icd.ICDValue(value) end end |