Skip to content

Conversation

@Muppasanipraneeth
Copy link
Contributor

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work is based on designs, which are linked or shown either in the Jira ticket or the description below. (See also: Styleguide)
  • My work includes tests or is validated by existing tests.

Summary

This PR simplifies the Orders list by removing nested result tables and row expansion for non-medication orders.

  • Removed the nested results table from the Orders list.
  • Removed expandable accordion functionality for non-medication order rows.
  • Row expansion is now exclusive to medication (DRUG_ORDER) rows, which display medication records.

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

@Muppasanipraneeth Muppasanipraneeth changed the title refactor: remove nested results table from orders tab chore(O3-5323): Remove nested results table from orders table Jan 10, 2026
@Muppasanipraneeth Muppasanipraneeth changed the title chore(O3-5323): Remove nested results table from orders table (chore) O3-5323: Remove nested results table from orders table Jan 10, 2026
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.

1 participant