API endpoint to set a users relationship to the registry
API endpoint to update/remove the relationship
API Routes
POST /v1/registry/{registry_id}/user
GET /v1/registry/{registry_id}/user/{user_id}
PUT /v1/registry/{registry_id}/user/{user_id}
Model
class RegistryUser(BaseModel):
"""
Stores the relationship between a User from the User Account Microservice and a Registry
Providers and Patients will be mapped in this object and classified by the role field
"""
registry_id: str
user_id: str
role: str
state: str
flags: dict[str, bool] = {}
created_at: Decimal
is_enabled: bool
Registry User
Acceptance Criteria
API Routes
Model