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

[BACK-2958] [BACK-2960] [BACK-3076] Add ability to execute clinic merge plans #154

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

toddkazakov
Copy link
Contributor

No description provided.

Base automatically changed from tk-migrate-patients to tk/merge-clinics August 1, 2024 11:55
Base automatically changed from tk/merge-clinics to master August 1, 2024 13:13
lostlevels
lostlevels previously approved these changes Aug 2, 2024
return err
}
if res == nil {
return fmt.Errorf("patient list result not defined")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason sometimes the error is defined in the errors package and sometimes defined inline?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The errors in the errors package ought to wrapped so when they bubble up to the API layer we return the correct http code. All other errors which bubble up with result in a 500 response, which is intended here.

clinics/manager/manager.go Show resolved Hide resolved
@toddkazakov toddkazakov changed the title Add ability to execute clinic merge plans [BACK-2958] [BACK-2960] Add ability to execute clinic merge plans Sep 21, 2024
[BACK-3076] Persist executable merge plans for audit logging purposes
@toddkazakov toddkazakov changed the title [BACK-2958] [BACK-2960] Add ability to execute clinic merge plans [BACK-2958] [BACK-2960] [BACK-3076] Add ability to execute clinic merge plans Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants