Class: Renalware::Letters::PrimaryCarePhysician

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

Instance Method Summary collapse

Instance Method Details

#cc_on_letter?(letter) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
14
15
# File 'app/models/renalware/letters/primary_care_physician.rb', line 11

def cc_on_letter?(letter)
  return false unless letter.patient.assigned_to_primary_care_physician?(self)

  letter.main_recipient.patient? || letter.main_recipient.contact?
end