(chore) O3-5323: Remove nested results table from orders table #2936
+81
−206
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.
Requirements
Summary
This PR simplifies the Orders list by removing nested result tables and row expansion for non-medication orders.
Reason
Completed orders are filtered out from this table, and the previous expansion functionality was primarily used to display nested order results. Since this data is no longer relevant in the Orders list, the expandable behavior for test and general orders has been removed to simplify the UI.
Medication orders still benefit from row expansion, as they display meaningful medication-specific details.
Changes
OrderDetailsTable
Updated rendering logic to allow row expansion only for DRUG_ORDER types. All other orders now render as standard TableRow elements.
Cleanup
Removed the unused GeneralOrderTable component and its associated styles.
Screenshots
Screen.Recording.2026-01-10.at.3.05.29.PM.mov
Related Issue
jira ticket
Other