careplan prep refactor of get_module_view_context
Merge pull request #1888 from dimagi/refactor-view

careplan prep refactor of get_module_view_context