Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Purpose and Benefits
Tip |
---|
This feature was introduced in Bahmni V0.93 |
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”
Code Block language sql linenumbers true 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.
Code Block language sql linenumbers true 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”
Code Block language js linenumbers true 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.
- Setup “Order type” and “Shop mapping” in Odoo.
Please follow instructions in the Odoo sales configuration.
Tip | |
---|---|
On This Page:
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||