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

update last_modified_date_time on the last modified encounters #658

Closed
mahalakshme opened this issue Nov 17, 2023 · 2 comments
Closed

update last_modified_date_time on the last modified encounters #658

mahalakshme opened this issue Nov 17, 2023 · 2 comments
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Nov 17, 2023

ticket: https://avni.freshdesk.com/a/tickets/3234?lang=en but didn’t update last_modified_date_time.

update encounter
set address_id = individual.address_id,
   manual_update_history = 'ticket-3234'
from individual
where individual.id = encounter.individual_id and individual.address_id <> encounter.address_id;
select count(*) from individual
                        join encounter e on individual.id = e.individual_id
where e.address_id <> individual.address_id;
commit;

So to do now:

update encounter set last_modified_date_time=current_timestamp, last_modified_by_id=11084
where manual_update_history='ticket-3234';

@mahalakshme mahalakshme converted this from a draft issue Nov 17, 2023
@vinayvenu
Copy link
Member

@vinayvenu vinayvenu moved this from In Progress to Code Review Ready in Avni Product Nov 17, 2023
@vinayvenu
Copy link
Member

Deployed to prod. Closing

@github-project-automation github-project-automation bot moved this from Code Review Ready to Done in Avni Product Nov 20, 2023
@mahalakshme mahalakshme removed the LFE label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants