The Order Tab allows the user to create new Laboratory Test and Radiology Orders for the patient. There are two parts of the Order system:
The screenshot below displays an instance of the Order Placement tab:
Order Placement tab
// In config-> bahmni_config/clinical/extension.json "bahmniClinicalConsultationOrders": { "id": "bahmni.clinical.consultation.orders", "extensionPointId": "org.bahmni.clinical.consultation.board", "type": "link", "label": "Orders", "title":"Orders", "url": "orders", "icon": "fa-user-md", "order": 6, "requiredPrivilege": "app:clinical:observationsTab" } |
Follow the steps in Master Data Setup for Order Tab for setting each Order Type Section(Ex: Lab Orders, Radiology Order) on the Orders Tab.
// In config-> bahmni_config/home/extension.json "orders": { "id": "bahmni.orders", "extensionPointId": "org.bahmni.home.dashboard", "type": "link", "label": "Orders", "url": "../orders/#/search", "icon": "fa-book", "order": 10, "requiredPrivilege": "app:orders" } |
//For configuring patient list queues with tabs as order type use the following config in extension.json under Orders folder. "bahmni_clinical_patients_search_radiologyorderallpatients": { "id": "bahmni.clinical.patients.search.RadiologyOrderAllPatients", "extensionPointId": "org.bahmni.patient.search", "type": "config", "extensionParams": { "searchHandler": "emrapi.sqlSearch.activePatients", "display": "Radiology Orders", "forwardUrl": "../orders/#/patient/{{patientUuid}}/fulfillment/Radiology Order", "forwardButtonTitle": "View", "view": "tabular" }, "label": "Radiology Order", "order": 1, "requiredPrivilege": "app:orders" } |
Need Print button automatically puts the text in notes saying 'Need Print for this Order' by reducing the burden to type it.
For internalization of button text Needs Print and and text Needs Print for this order , use below keys. Follow this page to know about Internationalization Support in bahmni.
The keys below are placed in clinical/locale_en.json to show the text in english language.
"CLINICAL_ORDER_RADIOLOGY_NEED_PRINT": "Need Print for this order.", "CLINICAL_ORDER_RADIOLOGY_NEED_PRINT_BUTTON": "Needs Print" |
To configure the above buttons for Radiology Orders ’enableRadiologyOrderOptions' and for Lab Orders ‘enableLabOrderOptions’ to be added in the clinical/app.json. The functionality is enabled based on the options selected and options are case-insensitive
The config for Lab orders is available from the patch Version of 0.90. |
{ config:{ "enableRadiologyOrderOptions":["NeedsPrint","Urgent"], "enableLabOrderOptions":["NeedsPrint","Urgent"] } } |
Above configuration for Radiology is applicable from 0.88 release version of Bahmni. To configure the above button on 0.87 release version of Bahmni, add 'enablePACSOptions' to clinical/app.json.
|
To set up a new order type, one needs to add the order type in the OpenMRS database. This can be done by running the SQL query given below. Refer order_type table in the OpenMRS database with Lab Order, Radiology Order already configured in Bahmni.
insert into order_type (name, description, creator, date_created, retired, uuid, java_class_name) values('OrderTypeName', 'Description', SpecifyUserIdOfCreator, now(), 0, uuid(), 'org.openmrs.Order'); |
Every Order Type in Bahmni is associated with a Concept Set (e.g.: Lab Orders/Samples or Radiology Orders/BodyParts) in OpenMRS. This acts as a starting point in navigation of tests during Order Creation. For the newly setup Order Type, we need to create a corresponding Concept Set and associate it as a child of "All Orderables" concept set already available in Bahmni.
The Concept Set Structure looks like below All Orderables -Lab Samples/Orders --Blood ---ESR ---MCH ---Haemoglobin --Serum --RBS --Creatinine -Radiology Orders/BodyParts --Head ---Skull AP ---Skull PA --Chest ---Chest AP ---Chest PA |
To save a test of particular ConceptClass as an Order, we need to map the ConceptClass to OrderType in the OpenMRS database table order_type_class_map.
insert into order_type_class_map (order_type_id, concept_class_id) values(<order type id>, <concept class id>); |
Please refer to the Configure Lab Data page for details.
Please refer to the Configure Medication Data page for details.