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

GSoC - Doctor Notes Enhancement #2295

Open
wants to merge 59 commits into
base: develop
Choose a base branch
from

Conversation

UdaySagar-Git
Copy link
Contributor

@UdaySagar-Git UdaySagar-Git commented Jul 9, 2024

This pr is a merge of all the pr's of Doctor Notes Enhancement

Frontend pr : ohcnetwork/care_fe#8016

  • adds new type in Files for supporting file uploads to specific note
  • adds fields for tracking replies , mentioned users, parent note and files
  • adds notification support upon mentioning a user in a note
  • creates a new endpoint to retrive files uploaded in all the notes specific to a consultation (used for showing files in new tab in consultation

Merge Checklist

  • Tests added/fixed
  • Update docs in /docs
  • Linting Complete
  • Any other necessary step

Only PR's with test cases included and passing lint and test pipelines will be reviewed

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

@nihal467
Copy link
Member

@UdaySagar-Git the backend test are failing

@UdaySagar-Git
Copy link
Contributor Author

@nihal467 fixed, can you please re run tests on this pr for confirmation

replies = ReplyToPatientNoteSerializer(many=True, read_only=True)

def get_files(self, obj):
return FileUpload.objects.filter(
Copy link
Member

@sainak sainak Jul 12, 2024

Choose a reason for hiding this comment

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

improvement: instead of doing this, save the files in a json array on the notes object which will have the file name and reference to the file

make sure to use json schema for the object

care/users/api/viewsets/users.py Outdated Show resolved Hide resolved
care/utils/csp/config.py Outdated Show resolved Hide resolved
@UdaySagar-Git
Copy link
Contributor Author

@sainak @rithviknishad can you review this once

@rithviknishad rithviknishad self-requested a review August 29, 2024 14:10
@vigneshhari vigneshhari added the In progress Work in progress label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In progress Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants