The Order Tab allows the user to define any products or services to be ordered for the patient.
For example, if you would want to have “Counseling” as order type displayed on “orders” tab of consultation, it may look something like below
Order Placement tab
Master Data Setup
Setup an order type. Example - “Counseling service”
insert into order_type (name, description, creator, date_created, retired, uuid, java_class_name) values('Counseling service', 'Counseling service to patients', 1, now(), 0, uuid(), 'org.openmrs.Order');
Map the above “order type” to a concept class specifically for “Counseling service”. You can create a “concept class” from OpenMRS administration if a suitable one does not exist.
insert into order_type_class_map (order_type_id, concept_class_id) values(<order type id>, <concept class id>);
In OpenMRS concept dictionary, setup a concept set for grouping ‘Counseling’ services under “All orderables”
All Orderables
- Other Services
--Counseling
---Family Planning
---Mental Health
While defining “Family Planning” Concept, please mark the “saleable” attribute to “true” and ensure that class chosen is what you have mapped to the order type above.