-
Notifications
You must be signed in to change notification settings - Fork 0
INTEGRATIONS: ConsumerStatus AdoptPatientDecisions #174
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
INTEGRATIONS: ConsumerStatus AdoptPatientDecisions #174
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request introduces functionality for adopting patient decisions through a consumer status API endpoint, enabling consumers to adopt existing patient decisions with proper test coverage.
Key changes:
- Added
AdoptPatientDecisionsAPI endpoint with supporting broker methods - Implemented integration and acceptance tests for the adopt patient decisions workflow
- Refactored query logic in
ConsumerAdoptionServiceto materialize collections before filtering
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
LondonDataServices.IDecide.Manage.Server.Tests.Integration/Models/ConsumerStatuses/Decision.cs |
Defines Decision model for integration tests with patient and decision type relationships |
LondonDataServices.IDecide.Manage.Server.Tests.Integration/Brokers/ApiBroker.AdoptPatientDecisions.cs |
Adds broker method to call AdoptPatientDecisions API endpoint |
LondonDataServices.IDecide.Manage.Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.cs |
Provides test infrastructure and helper methods for consumer status integration tests |
LondonDataServices.IDecide.Manage.Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.AdoptPatientDecisions.cs |
Implements integration test verifying patient decision adoption workflow |
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Models/ConsumerStatuses/Decision.cs |
Defines Decision model for acceptance tests matching integration test structure |
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Brokers/ApiBroker.ConsumerStatus.cs |
Adds acceptance test broker method for AdoptPatientDecisions endpoint |
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Apis/ConsumerStatuses/ConsumerStatusTests.cs |
Provides test infrastructure and helper methods for consumer status acceptance tests |
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Apis/ConsumerStatuses/ConsumerStatusTests.AdoptPatientDecisions.cs |
Implements acceptance test with additional consumer cleanup logic |
LondonDataServices.IDecide.Core/Services/Foundations/ConsumerAdoptions/ConsumerAdoptionService.cs |
Refactors batch filtering to materialize query results before composite key matching |
aa588b3 to
2280c77
Compare
2280c77 to
255d33c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.
...ervices.IDecide.Manage.Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.cs
Show resolved
Hide resolved
...ervices.IDecide.Manage.Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.cs
Show resolved
Hide resolved
...ervices.IDecide.Manage.Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.cs
Show resolved
Hide resolved
...ervices.IDecide.Manage.Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.cs
Show resolved
Hide resolved
....Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.AdoptPatientDecisions.cs
Show resolved
Hide resolved
....Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.AdoptPatientDecisions.cs
Show resolved
Hide resolved
....Server.Tests.Integration/Apis/ConsumerStatuses/ConsumerStatusTests.AdoptPatientDecisions.cs
Show resolved
Hide resolved
255d33c to
584288c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 23 out of 23 changed files in this pull request and generated 4 comments.
...nDataServices.IDecide.Core/Services/Orchestrations/Decisions/DecisionOrchestrationService.cs
Outdated
Show resolved
Hide resolved
LondonDataServices.IDecide.Core/Models/Foundations/Decisions/Decision.cs
Show resolved
Hide resolved
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Models/PatientDecisions/Decision.cs
Outdated
Show resolved
Hide resolved
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Models/Decisions/Decision.cs
Show resolved
Hide resolved
...nDataServices.IDecide.Core/Services/Orchestrations/Decisions/DecisionOrchestrationService.cs
Outdated
Show resolved
Hide resolved
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Apis/Decisions/DecisionTests.Get.cs
Show resolved
Hide resolved
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Models/PatientDecisions/Decision.cs
Outdated
Show resolved
Hide resolved
LondonDataServices.IDecide.Manage.Server.Tests.Integration/Models/ConsumerStatuses/Decision.cs
Outdated
Show resolved
Hide resolved
628e027 to
10a1cd3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 34 out of 34 changed files in this pull request and generated no new comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 34 out of 34 changed files in this pull request and generated 2 comments.
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Models/Decisions/Decision.cs
Show resolved
Hide resolved
LondonDataServices.IDecide.Core/Models/Foundations/Decisions/Decision.cs
Show resolved
Hide resolved
...nDataServices.IDecide.Core/Services/Orchestrations/Decisions/DecisionOrchestrationService.cs
Outdated
Show resolved
Hide resolved
...nDataServices.IDecide.Core/Services/Orchestrations/Decisions/DecisionOrchestrationService.cs
Outdated
Show resolved
Hide resolved
LondonDataServices.IDecide.Manage.Server.Tests.Acceptance/Apis/Decisions/DecisionTests.Get.cs
Show resolved
Hide resolved
d81398b to
114f5f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 35 out of 35 changed files in this pull request and generated 2 comments.
Closes AB#25400