Show patient record changes activity log#6627
Draft
murugapl wants to merge 4 commits intocreate-patient-activity-logfrom
Draft
Show patient record changes activity log#6627murugapl wants to merge 4 commits intocreate-patient-activity-logfrom
murugapl wants to merge 4 commits intocreate-patient-activity-logfrom
Conversation
4f0fdc4 to
384be90
Compare
2d67a9b to
8a97e7c
Compare
384be90 to
1eefeef
Compare
8a97e7c to
a5cdd80
Compare
Records when patient demographic attributes (name, DOB, NHS number, address, gender) are changed, capturing old and new values along with the source (manual edit, cohort import, or class list import) and the user who made the change. This allows us to display the information on the child’s activity log.
1. After saving a manual NHS number edit 2. Before the bulk Patient.import in PatientImportConcern to capture dirty-tracked attribute changes for auto-accepted import rows 3. In ImportDuplicateForm, capture pending_changes before they are applied
This ensures that when merging two patients together, if the one to be destroyed has a change log entry, this is moved across to the other patient rather than preventing the merge from happening due to a foreign key constraint.
This displays the collected info on changes to patient records in the child activity log
1eefeef to
fc9398f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Show changes to child records (manual or uploaded) in the activity log.
This displays the collected info on changes to patient records in the child activity log. CHnages can happen through three different ways:
Jira Issue - MAV-2621
Screenshots