-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add order status service #2965
Add order status service #2965
Conversation
d4eed0f
to
dcbd8a7
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.
Looks nice! 🔥
Might be nice with a test for the summary? |
Yes, I want to add one! I would have to mock the reply from trailblazer. Will look into it, might be too messy due how things are instantiated but would be nice |
44ac14d
to
73046ae
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.
Looks good! Probably should test performance before merging though
cg/services/orders/order_status_service/dto/case_status_summary.py
Outdated
Show resolved
Hide resolved
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.
Found one potential bug. Might need a small technical refinement for it
Tested in stage. Performance seems OK even when retrieving summaries for 50 orders at a time. Will leave optimization for later.
|
A case is in lab preparation if any sample still has not been prepared. A case is in sequencing if all samples have been prepared and at least one sample has not been sequenced yet.
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.
My previous concern has been addressed ⭐
The total seems very off here |
Quality Gate passedIssues Measures |
Description
Closes Clinical-Genomics/streamline-delivery#35.
Add service providing the following information for orders
Blocked by https://github.com/Clinical-Genomics/servers/pull/1286
Added
/orders
This version is a