Class: Renalware::Letters::DetermineCounterpartCCs

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
app/models/renalware/letters/determine_counterpart_ccs.rb

Instance Method Summary collapse

Instance Method Details

#callObject



12
13
14
15
16
17
18
19
# File 'app/models/renalware/letters/determine_counterpart_ccs.rb', line 12

def call
  counterpart_css = []
  counterpart_css << build_recipient("patient", patient) if cc_patient?
  if cc_primary_care_physican?
    counterpart_css << build_recipient("primary_care_physician", primary_care_physician)
  end
  counterpart_css
end