Currently, when clicking “Add drug order” in the order basket, we see a workspace that’s almost blank, with just a Drug Search component. After typing in a search query, the workspace is populated with search results, and each search result item has a “Add to basket” and a “Order form” button. Clicking on the “Order form” button takes us to another workspace** with the drug order form.
We propose that the 2 workspaces be combined into a single workspace instead, with the custom Drug Search component replaced by a regular Carbon Combobox at the top of the drug order form. This should simplify the UX:
Nuances: The custom Drug Search component prevents the user from:
selecting a drug that already has an active prescription, by replacing the buttons with an “Already prescribed message”.
making another order with a drug that already has an pending order in the order basket; it shows a “Remove from basket” button instead of “Add to basket”, and the “Order form” button takes the user to the exiting order’s form instead of a new one.
Both of the above will be changed as part of this proposal. We will just let the user select the drug with the Combobox, and show a regular form error when the drug is already prescribed or in the basket, preventing them from filling the order.
The idea of the current setup is that you’re searching not directly through orderables, but through order sets which may have one or more orderables associated with them. While it’s true that it currently doesn’t really support that, it would be better to be iterating towards there, I think, especially for more protocol-focused care.
But does changing the UI affect the ability to iterate towards that? Is the idea that went we add that functionality we will need more than a combo box to display the options?
Ok, I haven’t considered order sets. I’m guessing that we need a custom Drug Search, so that when we select an order set, it puts multiple drugs into the order basket. I think this means the Drug Search needs to be its own thing and cannot be just a Combobox in the Drug Order form.
And potentially other orders, yes (i.e., an order set might have drug orders, lab orders—for monitoring—and, e.g., a referral order in one go). I get that this isn’t how things work per se and I wouldn’t be opposed to making a variant that allowed you to skip to the form and use a combo-box, since, obviously working a single medication as a time has gone ok.
Originally, I thought we supported two different approaches: 1) Select the drug concept (usually the ingredient) and then narrow down the prescription based on dose, etc. or 2) select strength/form/named drug from the drug table and then generate a prescription (but then you are restricted based on the strength and form from the drug table). Is it possible to generate a medication order using only the concept table or are you required to have a drug row?