Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Implement Reactive IRS #518

Open
wants to merge 98 commits into
base: master
Choose a base branch
from
Open

[WIP] Implement Reactive IRS #518

wants to merge 98 commits into from

Conversation

moshthepitt
Copy link
Contributor

@moshthepitt moshthepitt commented Feb 27, 2019

Fix: #517

This PR adds:

  • Community Health Worker model
  • Each Community Health Worker object has an associated location object whose level is "chw" which has Districts as parents

@moshthepitt moshthepitt self-assigned this Feb 27, 2019
:return: Location object linked to the Community Health Worker
"""

level = settings.MSPRAY_REACTIVE_IRS_CHW_LOCATION_LEVEL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This puts a hard requirement on the setting MSPRAY_REACTIVE_IRS_CHW_LOCATION_LEVEL to be defined. Could we use getattr() with a default value instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reactive IRS Dashboards
2 participants