Class: Renalware::HD::ProfileDocument::Dialysis
Constant Summary
Document::Embedded::STRIPPABLE_TYPES
Class Method Summary
collapse
Instance Method Summary
collapse
attribute, attributes_list, #method_missing, old_attribute, old_attributes, #strip_leading_trailing_whitespace_from_numbers
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Document::Embedded
Class Method Details
.bicarbonate_levels ⇒ Object
40
|
# File 'app/documents/renalware/hd/profile_document.rb', line 40
def self.bicarbonate_levels; (22..43).step(1); end
|
.calcium_levels ⇒ Object
38
|
# File 'app/documents/renalware/hd/profile_document.rb', line 38
def self.calcium_levels; [1.0, 1.35, 1.5]; end
|
.cannulation_types ⇒ Object
33
|
# File 'app/documents/renalware/hd/profile_document.rb', line 33
def self.cannulation_types; CannulationType.ordered; end
|
.dialysers ⇒ Object
36
|
# File 'app/documents/renalware/hd/profile_document.rb', line 36
def self.dialysers; Dialyser.ordered; end
|
.flow_rates ⇒ Object
35
|
# File 'app/documents/renalware/hd/profile_document.rb', line 35
def self.flow_rates; (100..800).step(100); end
|
.needle_sizes ⇒ Object
34
|
# File 'app/documents/renalware/hd/profile_document.rb', line 34
def self.needle_sizes; [14, 15, 16, 17]; end
|
.potassium_levels ⇒ Object
37
|
# File 'app/documents/renalware/hd/profile_document.rb', line 37
def self.potassium_levels; [1, 2, 3, 4]; end
|
.sodium_levels ⇒ Object
41
|
# File 'app/documents/renalware/hd/profile_document.rb', line 41
def self.sodium_levels; [136, 137, 138, 140, 145]; end
|
.temperature_levels ⇒ Object
39
|
# File 'app/documents/renalware/hd/profile_document.rb', line 39
def self.temperature_levels; [35.0, 35.5, 36.0, 36.5, 37.0]; end
|
Instance Method Details
#has_sodium_profiling? ⇒ Boolean
43
44
45
|
# File 'app/documents/renalware/hd/profile_document.rb', line 43
def has_sodium_profiling?
has_sodium_profiling&.yes?
end
|