# User

```
 id: AutoField
 district: ForeignKey (id)
 local_body: ForeignKey (id)
 skill: ForeignKey (id)
 state: ForeignKey (id)
 age: IntegerField
 date_joined: DateTimeField
 deleted: BooleanField
 email: EmailField
 first_name: CharField
 gender: IntegerField
 is_active: BooleanField
 is_staff: BooleanField
 is_superuser: BooleanField
 last_login: DateTimeField
 last_name: CharField
 password: CharField
 phone_number: CharField
 user_type: IntegerField
 username: CharField
 verified: BooleanField 
```

## Roles&#x20;

| User Type      | Privilege                                |
| -------------- | ---------------------------------------- |
| Super Admin    | Admin for the entire platform            |
| State Admin    | Admin with state level data scope        |
| District Admin | User with district level data scope      |
| Facility Admin | User with facility level data scope      |
| Doctor         | User with limited data permissions       |
| Patient        | User with acess to his/her personal data |
| Staff          | User with limited data permissions       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.coronasafe.network/user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
