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

Add referred facility to discharge serializer #1506

Merged
merged 5 commits into from
Aug 8, 2023
Merged

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Aug 3, 2023

Proposed Changes

  • Add referred_to and referred_to_external to PatientConsultationDischargeSerializer to allow it to be set from the discharge form at the frontend.

Associated PR

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

Copy link
Member

@sainak sainak left a comment

Choose a reason for hiding this comment

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

@Ashesh3 a test is failing, also add a test for when referred_to is given and when both referred_to and referred_to_external are given

@Ashesh3
Copy link
Member Author

Ashesh3 commented Aug 3, 2023

@Ashesh3 a test is failing, also add a test for when referred_to is given and when both referred_to and referred_to_external are given

Fixed and added more tests to cover referred_to specifically.

@Ashesh3 Ashesh3 requested a review from sainak August 3, 2023 13:40
@vigneshhari vigneshhari merged commit 269eb40 into master Aug 8, 2023
1 of 2 checks passed
@vigneshhari vigneshhari deleted the referred_discharge branch August 8, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants