Talk:OpenMRS Data Model Documentation
How are we going to specify a user vs a provider in the system. Can an admin be a doc ?
(I'm thinking along the lines of a getProviders method.
-Ben
We do that through roles. So you would select all users with a particular role or roles. We may end up needing to create a role_group table to make, for example, a "provider" group so you don't have to either 1) know all the provider roles or 2) ensure that all providers (nurses, docs, etc.) are also assigned to a "provider" role.
