Referral algorithm management

There are three factors that can be managed to prioritize certain organizations over others.

_images/referral-scoring-backend.png

Referral Score

The referral score is coded on the back end when the location service is saved. The score is based on settings contained in the `<a href="https://www.illinoislegalaid.org/admin/organizations/referral-settings">Referral Settings Form`_

_images/referral-settings-form.png

For a service, the score is calculated by:

  • All referral scores start at 0

  • If the service is a hotline, adds the hotline score factor to the score

  • If the service is an advice desk, adds the hotline score factor to the score

  • If the service allows walk-ins, adds the walk-in score factor to the score

  • If the service allows telephone or e-mail intake, adds the phone/email factor to the score.

  • Calculates a volume score to add to the referral

    • If the volume score factor is 0, ignores volume.

    • If the volume score factor is not 0, adds the monthly volume / volume factor. For example:

      • If the volume is 1000 and factor is 1, will add 1000 to the score

      • If the volume is 1000 and factor is 5, will add 200 to the score

      • If the volume is 1000 and factor is 0, will add 0 to the score.