What I want to achieve is to type name of drug with autocomplete instruction
it’s autocompleted with
Amoxycillin 500mg 1 cap thrice per day for 10 days (total 30 caps)
as Drug order sets can deal with this but the minimum is 2.
Is there a way to change minimum drug order sets?
@darius, recently i came across similar need with another Bahmni implementation. The use case was as below.
The hospital targeting only a particular treatment have a set of drugs with fixed dosage and duration etc that they prescribe. Hence they don’t want to manually enter all the drug units/duration/dosage every time it’s prescribed which is waste of time for them. They have been using a paper form with 10 drugs with fixed duration/dosage etc when they just check the box against the drugs they prescribe.
The restriction from Bahmni side can be removed. Bahmni uses the openmrs orderset api in the background. Looking at the code we didn’t find any restriction.[quote=“darius, post:3, topic:11918”]
if @zacrify can find a developer to do it?
Well, I don’t think we will break any assumption but fundamentally, an order set should have at least 2 members. A single member order set is essentially a pre-defined order. This would actually be a hack rather than a solution.
On another thought, at the database level also, we will unnecessarily create order groups with a single member. Not that it should have any functional implication but it will unnecessarily pollute the database.