Users / Memberships / Roles
PlatformManage people, their memberships across organizations, and the roles they assume to access Mediloop resources.
Identity
One user identity
Membership
Tenant affiliation
Role
Functional access
Context
Tenant + membership
How access works
User
A person with a single Mediloop identity.
Membership
Links the user to a tenant.
Role
Describes the function the member performs.
Access
Computed from membership, roles and scopes.
Key concepts
One user, many memberships. A person can be a patient personally and hold one or more professional memberships in separate healthcare organizations.
Authorization is contextual. Identity alone does not grant tenant access. Effective access is evaluated from the active tenant and membership.
Membership lifecycle
1
Invited
Pending acceptance
2
Active
Access enabled
3
Suspended
Access temporarily blocked
4
Reactivated
Access restored
5
Terminated
Historical, no access
Role model
| Example role | Typical use | Context |
|---|---|---|
| Patient | Own health services and family-authorized experiences | Personal |
| Doctor | Clinical care and prescription workflows | Professional tenant |
| Pharmacist | Dispensing and pharmacy workflows | Professional tenant |
| Pharmacy owner | Pharmacy administration and staff management | Professional tenant |
| Cabinet owner | Practice / clinic administration | Professional tenant |
| Organization admin | Organization configuration and member management | Organization tenant |
Mediloop-internal administrative roles are intentionally not exposed in public developer documentation.
API quick start
cURL — list visible membershipsCopy
curl -X GET 'https://api.mediloop.com/v1/memberships' \
-H 'Authorization: Bearer $ACCESS_TOKEN' \
-H 'X-Tenant-Id: tnt_123' \
-H 'Accept: application/json'