Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made doctor role as static attribute #1507

Merged
merged 12 commits into from
Aug 24, 2023

Conversation

Bhavik-ag
Copy link
Contributor

@Bhavik-ag Bhavik-ag commented Aug 3, 2023

Proposed Changes

  • Doctor status and role to be stored as static attribute
  • Add a doctor role type to the home facility doctor
  • Add a remote specialist role type to the outside facility doctors
  • Add user_type as role if not a doctor
  • Add an empty string if not note is created before

Issue

fixes #1498

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

care/facility/models/patient.py Outdated Show resolved Hide resolved
@Bhavik-ag Bhavik-ag requested a review from sainak August 4, 2023 12:51
@vigneshhari
Copy link
Member

@gigincg @aparnacoronasafe This change requires an ops review as well.

Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rebase your migrations after ops approval.

@sainak
Copy link
Member

sainak commented Aug 24, 2023

@vigneshhari this pr is good to merge, we got ops approval

@vigneshhari vigneshhari merged commit cd124c7 into coronasafe:master Aug 24, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store doctor role as static attribute in patient notes
4 participants