Class: Renalware::Letters::RecipientPresenter::WithCurrentAddress
- Inherits:
-
Renalware::Letters::RecipientPresenter
- Object
- DumbDelegator
- Renalware::Letters::RecipientPresenter
- Renalware::Letters::RecipientPresenter::WithCurrentAddress
- Defined in:
- app/presenters/renalware/letters/recipient_presenter.rb
Overview
The address for a recipient such as a primary care physician or a patient are denormalized and stored with the recipient when the letter is archived. Before the letter is archived, we display the current address directly from the appropriate models ensuring the most recent address is presented.