How can Django REST Framework be configured to expose secure medical endpoints (e.g., patient records, prescriptions) while maintaining data privacy?

HI @Suheb. Within your larger question is a host of smaller questions related to many generic themes of application development with Django. Perhaps before we attempt to dive into any details, it would be helpful to understand how you imagine the user journey for people who need access to patient data. For example, as a base line premise, do you want to provide programmatic access via an addressable developer API, or are you building user interfaces that would sit behind registration and login?

You might even take a look at @KenWhitesell’s response to this question to help you get started.