user_practice.elation_billing_user_id is an Elation Billing-internal user identifier and does not resolve to an HDB user. practice_id joins to practice.id.- Which practices a given Elation Billing user can work in
- Users associated with a particular practice
- Excluding soft-deleted memberships via the
is_deletedflag
Users in a practice
Practices a user belongs to
Joins topractice so each membership carries the practice name, not just the id. elation_billing_user_id has no name to resolve - it is an Elation Billing-internal identifier that does not map to an HDB user.