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

Adds migration to move ip_no to op_no for non admission consultations #1428

Merged
merged 3 commits into from
Jul 5, 2023

Conversation

rithviknishad
Copy link
Member

Proposed Changes

  • op_no is set as ip_no and ip_no is set as None for all consultation where decision after consultation (suggestion) is non-admission, no admission_date is present, and an IP number (ip_no) is present,

Associated Issue

Screenshots

Before migration
image

After migration

image

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

@rithviknishad rithviknishad changed the title Adds migration to move ip_no to op_no` for non admission consultations Adds migration to move ip_no to op_no for non admission consultations Jul 4, 2023
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.

Migrations tested

@vigneshhari vigneshhari merged commit aaffcd1 into master Jul 5, 2023
@vigneshhari vigneshhari deleted the move-non-admission-ip_no-to-op_no branch July 5, 2023 09:43
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.

Migrate older non-admitted patient IP no to OP no in consultation page
3 participants