Class: Lab::LabResult

Inherits:
Observation
  • Object
show all
Defined in:
app/models/lab/lab_result.rb

Instance Method Summary collapse

Instance Method Details

#void(reason) ⇒ Object



21
22
23
24
25
26
27
28
29
# File 'app/models/lab/lab_result.rb', line 21

def void(reason)
  children.each do |measure|
    # Need to have a LabResultMeasure model that privately handles it's children
    measure.children.each { |provider| provider.void(reason) }
    measure.void(reason)
  end

  super(reason)
end