Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose and Benefits

Warning

The panel view is the default and the only view from release-0.87.

The Observations Tab captures one or multiple clinical observations for a patient.

The below screenshot displays an instance of an Observation Tab:

Steps

Configure Observations Tab

To configure the Observations Tab (editing or discarding it), refer to the code snippet below: 

Code Block
languagejs
titleSample Configuration
linenumberstrue
collapsetrue
{
  "observations": {
    "id": "bahmni.clinical.consultation.observations",
    "extensionPointId": "org.bahmni.clinical.consultation.board",
    "type": "link",
    "label": "Observations",
    "url": "concept-set-group/observations",
    "default": true,
    "icon": "fa-user-md",
    "order": 1,
    "requiredPrivilege": "app:clinical:observationTab"
  },
 


Tip
titleExample File

 https://github.com/Bhamni/default-config/blob/master/openmrs/apps/clinical/extension.json


Key Fields 

KeyUseMandatory
id Unique identifier for the configuration-
extensionPointId

Search Filter

-
type Search filter

-

labelDisplayed name of the tab-
urlURL of the tab-
defaultIf true, makes the tab displayed by default & vice versa-
iconFetches the icon to be displayed (if present in code)-
orderThe order in which the tab will be displayed-

requiredPrivilege

Bahmni privilege required for accessing the tab-

Data Setup

No Observation forms are provided Out of the Box in Bahmni. Please refer to Create a New Observation Form for details on adding and/or configuring OpenMRS Observation forms.


Display Formats for Observation Forms

Observation Forms/ Templates under Observation Tab can be configured to be displayed in different formats listed below.

Traditional full page view

In this traditional full page view, all the added Observation forms/templates will be displayed as a sequence in a single page. 

Note
  • This is the default view for now. No configuration or using the configuration below will enable this view.
  • The panel view is the default and the only view from release-0.87. The config is not applicable from release-0.87 onwards.

Traditional full page view


Warning
  • Applicable only for v 0.86 or earlier. 


In this traditional full page view, all the added Observation forms/templates will be displayed as a sequence in a single page. 



Code Block
languagejs
titleAdd to clinical/app.json under "conceptSetUI" to configure Full Page View
linenumberstrue
collapsetrue
"conceptSetUI": {
  "All Observation Templates": {
     "showPanelView": false
  }
  
 


Panel view

In this view, there will be left panel with all the added Observation forms. By clicking on particular form displayed on the left panel, the full form will load on right panel of the page. Hence one can choose to show only selected form at any particular instance.

Info
titleErrors in the Form/Template
  • On Consultation Save, the forms with errors will be indicated with Error Indication() on left panel. Clicking on the Error Indication of the active form will highlight the error by scrolling to the error field with error message popped up.
  • All the saved forms will have the form (or template) saved date beside the name on left panel to indicate the saved forms.
  • The unsaved newly added forms using add more can be removed using the Cross button() on right top of the form section header in right panel.


Code Block
languagejs
titleAdd to clinical/app.json under conceptSetUI section to configure 'Panel view'
linenumberstrue
collapsetrue
"conceptSetUI": {
    "All Observation Templates": {
       "showPanelView": true
    }
   

Info
titleExample file with configuration

https://github.com/Bahmni/default-config/blob/master/openmrs/apps/clinical/app.json#L63

Configure Default Observation forms on the left panel

One can configure a list of forms to appear on the left panel of the observations tab. For that we need to add below configuration in the clinical/extension.json file with relevant observation form concept name. For multiple forms we need to add multiple configurations.


Code Block
languagejs
titleSample Config
linenumberstrue
collapsetrue
"bahmniClinicalConceptSetGroupObservationsVitals": {
   "id": "bahmni.clinical.conceptSetGroup.observations.vitals",
   "extensionPointId": "org.bahmni.clinical.conceptSetGroup.observations",
   "type": "config",
   "extensionParams": {
      "default": true,
      "conceptName": "Vitals" /* Observation Form Concept Name */
   },
   "order": 1,
   "requiredPrivilege": "app:clinical"
}




Tip
iconfalse
titleOn this Page

Table of Contents


Panel
titleColorwhite
titleBGColor#668D3C
titleFeature Details

Observations Form - Feature Guide