Class: AQI::IntubationDetail
- Inherits:
-
Object
- Object
- AQI::IntubationDetail
- Defined in:
- lib/aqi/intubation_detail.rb
Instance Attribute Summary collapse
-
#intubation_approach ⇒ Object
Returns the value of attribute intubation_approach.
-
#intubation_attempts ⇒ Object
Returns the value of attribute intubation_attempts.
-
#intubation_details_properties_set ⇒ Object
Returns the value of attribute intubation_details_properties_set.
-
#tube_size ⇒ Object
Returns the value of attribute tube_size.
-
#tube_type ⇒ Object
Returns the value of attribute tube_type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ IntubationDetail
constructor
A new instance of IntubationDetail.
Constructor Details
#initialize(options) ⇒ IntubationDetail
Returns a new instance of IntubationDetail.
9 10 11 12 13 14 |
# File 'lib/aqi/intubation_detail.rb', line 9 def initialize() self.intubation_approach = .delete(:intubation_approach) self.intubation_attempts = .delete(:intubation_attempts) self.tube_size = .delete(:tube_size) self.tube_type = .delete(:intubation_details_properties_set) # Class end |
Instance Attribute Details
#intubation_approach ⇒ Object
Returns the value of attribute intubation_approach.
3 4 5 |
# File 'lib/aqi/intubation_detail.rb', line 3 def intubation_approach @intubation_approach end |
#intubation_attempts ⇒ Object
Returns the value of attribute intubation_attempts.
3 4 5 |
# File 'lib/aqi/intubation_detail.rb', line 3 def intubation_attempts @intubation_attempts end |
#intubation_details_properties_set ⇒ Object
Returns the value of attribute intubation_details_properties_set.
3 4 5 |
# File 'lib/aqi/intubation_detail.rb', line 3 def intubation_details_properties_set @intubation_details_properties_set end |
#tube_size ⇒ Object
Returns the value of attribute tube_size.
3 4 5 |
# File 'lib/aqi/intubation_detail.rb', line 3 def tube_size @tube_size end |
#tube_type ⇒ Object
Returns the value of attribute tube_type.
3 4 5 |
# File 'lib/aqi/intubation_detail.rb', line 3 def tube_type @tube_type end |
Class Method Details
.approach_types ⇒ Object
5 6 7 |
# File 'lib/aqi/intubation_detail.rb', line 5 def self.approach_types ["Endoctracheal", "Nasogastric", "Nasotracheal", "Fiberoptic", "Tracheostomy", "Speaking tracheostomy", "OTHER", "UNKNOWN"] end |