Skip to content

Conversation

@olewandowski1
Copy link
Contributor

@olewandowski1 olewandowski1 commented Jan 13, 2026

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 introduces a new way to browse drugs by category while preserving the existing search‑based workflow.

1. Drug Categories via Concept Sets
Drugs can be grouped into configurable categories using Concept Sets, which are managed via Legacy Admin. These Concept Sets define how drugs are grouped and can be adapted to local needs (for example, by program, formulary, or service). Each category corresponds to a Concept Set containing the relevant drug concepts.
image

2. List Tab for Browsing Drugs
The drug selection UI has been enhanced with a new List tab, available alongside the existing Search tab (which remains the default). The List tab allows users to browse drugs by selecting a category, making it easier to discover medications without knowing their exact names.
https://github.com/user-attachments/assets/c53b74e9-d7e5-4bc6-9457-451feba26fc5

3. Configuration via Implementer Tools
Implementers can control which categories appear in the List tab by configuring Concept Set UUIDs under the drugCategoryConceptSets setting in @openmrs/esm-patient-medications-app via Implementer Tools. Only the configured Concept Sets are exposed to users.
https://github.com/user-attachments/assets/67fea1f8-930f-45e2-8439-ef2b64737015

UI Workflow

Preconditions: Concept Sets Predefined Meds 1 and Predefined Meds 2 are configured and available.
image
image

Kazam_screencast_00026.mp4

@olewandowski1 olewandowski1 marked this pull request as ready for review January 13, 2026 14:13
@olewandowski1
Copy link
Contributor Author

Hi @denniskigen , I'd love your feedback on this.

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