Class: Renalware::Pathology::CreateObservationsGroupedByDateTable

Inherits:
Object
  • Object
show all
Defined in:
app/models/renalware/pathology/create_observations_grouped_by_date_table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(patient:, observation_descriptions:, **options) ⇒ CreateObservationsGroupedByDateTable

Returns a new instance of CreateObservationsGroupedByDateTable.



10
11
12
13
14
# File 'app/models/renalware/pathology/create_observations_grouped_by_date_table.rb', line 10

def initialize(patient:, observation_descriptions:, **options)
  @patient = patient
  @observation_descriptions = observation_descriptions
  @options = options
end

Instance Attribute Details

#observation_descriptionsObject (readonly)

Returns the value of attribute observation_descriptions.



8
9
10
# File 'app/models/renalware/pathology/create_observations_grouped_by_date_table.rb', line 8

def observation_descriptions
  @observation_descriptions
end

#optionsObject (readonly)

Returns the value of attribute options.



8
9
10
# File 'app/models/renalware/pathology/create_observations_grouped_by_date_table.rb', line 8

def options
  @options
end

#patientObject (readonly)

Returns the value of attribute patient.



8
9
10
# File 'app/models/renalware/pathology/create_observations_grouped_by_date_table.rb', line 8

def patient
  @patient
end

Instance Method Details

#callObject



16
17
18
# File 'app/models/renalware/pathology/create_observations_grouped_by_date_table.rb', line 16

def call
  create_observations_table
end