BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Canned Reports

Purpose and Benefits

These reports are meant to give specific or predefined information from Bahmni. There is minimal configuration available for these reports. Whenever clients ask for new requirements, even though there may be a similar report, it cannot be reused. Hence Bahmni system ends up with new canned reports and this increases the maintenance. Generic Reports seek to eventually solve this problem.

Reference tables

Bahmni allows one to setup multiple types of age groups each with a name. Each report configuration can use their own age group by specifying the name in the configuration. For certain reports one can also set some reference range for concepts.

For example, the report given below shows counts based on age-groups.

Obscount.png

To display reports like this, you should insert age group configurations into the reference table "reporting_age_group" and then reference that from the report configuration.

Configuration

table_agegroup.png

You can insert entries into reporting_age_group using SQL commands. Given below are some examples of INSERT SQL commands.

INSERT INTO reporting_age_group (name,report_group_name, min_years, min_days, max_years, max_days)
VALUES ('6 - 11 months', 'Nutrition Program Vitamin A',0,180,1,-1);
INSERT INTO reporting_age_group (name,report_group_name, min_years, min_days, max_years, max_days)
VALUES ('12 - 59 months', 'Nutrition Program Vitamin A',1,0,5,-1);

1. Obs Count Report

There are three variants of this. If you provide more than one concept name in the config, please make sure that all of them are of same data type, (Either coded concept or boolean concept). If a mix of datatypes are provided, it will always generate obs count report.

1.1 Obs count

Use this, if you just want to count the number of observations created for a concept (other than Boolean or Coded). Add the location Tag “Report location” in OpenMRS. Specify the location tag in config eg. "locationTagNames": ["Report Location” ].

1.2. Coded Obs count Boolean

It is used to count the number of observations of a coded concept, classified by the user selection (coded answers).

Add the locationTag “Report location” in OpenMRS, specify the location tag in the config. For example, "locationTagNames": ["Report Location” ]

1.3 Boolean concepts count

(to be renamed toBoolean Observations Count) Use this when you want to count the observations of type boolean, classified by the user selection: Yes/No (True/False).

2. Coded Obs by Coded Obs

Use this to count the two coded observations. They are both counted and displayed as a pivot table against each other.

3. Diagnosis count

Lists count of all diagnosis entered via the Bahmni system.

Currently, if there is a concept field specified, we do not have ICD10 code in the report. It is currently not clear if ICD10 codes are required to be setup for the diagnosis report to work. Once a decision is reached, all reports will follow the convention

The age group is supposed to be present in the reporting_age_group table in OpenMRS database.

Diagnosis report without age group

Diagnosis report with age group

4. Test Count

To list all tests, results and the count.

5. Observation Template Report

Report for a template with all the fields and the values that were filled in a given timeframe.

Add the location Tag “Report location” in OpenMRS. Specify the location tag in config ex. "locationTagNames": ["Report Location” ],

  • name: Name of the Report.
  • templateName: Observation template for which the report needs to be generated.
  • patientAttributes: Patient attributes like caste, education to be displayed against each patient in report (Refer to image).
  • applyDateRangeFor: This additional parameter takes the following value encounterCreateDate or encounterDate, to apply the date range filter accordingly. The default value is encounterDate.
    Vitals_Template_Report.png

6. OPD/IPD Visits Count Report

Lists the count of new/old OPD/IPD patients counts in a given time period.

7. Numeric Concept Values Report

Lists the count of numeric concepts observations based on the result values range for the given age groups

The default value of "countOncePerPatient" should be false. In this case, we count an observation as many times as it has been recorded.

The observation will be counted once within an encounter. All changes made to an observation within an encounter will be considered as one.

If the value of "countOncePerPatient" is set to true, then we only count the latest value of the observation for the given date range.

numeric-concpet-values-report.png

8. Obs Count By Concept Class Report

Lists the count of observations based on the concept class for the given date range

obsCountByConceptClass.png

9. Obs Value Count Report

Lists the count of observations for each value for given concept names.

10. Patients With Lab Test Results Report

Lists the patients with lab test results along with test outcome, for a given list of lab tests and based on given test outcome (abnormal and/or normal)

11. IPD Patients Report

In this report, we generate a list of IPD patients along with a number of fields including patient details, confirmed diagnosis (comma separated if there is more than one), observation values (comma separated if there is more than one) for configurable list of concepts, configurablelistof patient attributes and configurable list of address attributes.

Note: addressAttributes must always be in snake case. For example: "city_village" instead of "cityVillage".

The date range filtering criteria can either be applied on "Date of Admission" or "Date of Discharge". We use "filterBy" parameter to specify the user criteria and distinguish between the two scenarios. If not configured, the "filterBy" parameter will be defaulted to "Date of Admission".

  • Add the location Tag “Report location” in OpenMRS 
  • And specify the location tag in config   ex. "locationTagNames":   ["Report Location” ],
    IPD_Patients_Report.png

12. Visits Aggregate Count Report

In this report, we will generate the count of admission and discharges happened during the given date range, for each visit type.

  • Add the location Tag “Report location” in OpenMRS 
  • And specify the location tag in config   ex. "locationTagNames":   ["Report Location” ],
    visit_aggregate_count.png

13. Patient Program State Count Report

In this report, we will generate the count of patients who are admitted to different states of a program.

Note: If a program has no states it will open up a blank page. The parameter "programName" is a program which is already configured earlier in OpenMRS.

Example: We have created a Patient Overall Status program and added three states 'Attending Clinic', 'Transferred OutOf' and 'Dead' to it. It shows the number of patients that have entered a state within a given date range "From 2015-08-01 to 2015-08-13" .

If the patient is currently enrolled in a different state, still the count should be taken for the original state if it is in the date range and has not been deleted.

Screen Shot 2015-08-07 at 4.51.36 pm.png

14. Patient Program State Transition Count Report

In this report, we will generate the count of patients who are under going a state transition of a program.

Note: If a program has no states it will open up a blank page. The parameter "programName" is a program which is already configured earlier in OpenMRS.

Example: We have created a Malaria Program and added three states 'First State', 'Second State' and 'Third State' to it. It shows the number of patients that have done a state transition

from 'First State' to 'Second State' and from 'Second State' to 'Third State' within a given date range "From 2015-08-02 to 2015-08-06" .

Screen Shot 2015-08-13 at 11.40.21 am.png

15. Patient Data Report

In this report, patient details are generated with the following fields

- Patient ID - Patient Name - Age - Gender - DOB - Address fields - Patient Attributes - Date of registration

Note: If no date range is specified then the data for all patients is returned.

16. Program Patient State Report

Patient details are generated with the following fields

- Sr. No. - Patient Identifier - Patient Name - Patient Age - enrolment date in the program - states for the patient - state start date - state end date - end date of the program for the patient - outcome for the patient

17. Program Enrollments Report

18. Observation Canned Report

image2015-12-11 14:38:22.png
  • Patient Attributes : all the possible values from personattributetype.name column like {"HEIGHT","WEIGHT","Pulse"}. (REQUIRED)
  • Apply Date Rage For&nbsp;: "<tablename&gt.<columnname>" of type date(or datetime) where table should be one of [obs,encounter,patientidentifier,patientprogram,program,concept_view] PS patientidentifier & patientprogram are joined only is enrolledProgram is mentioned in config&nbsp;(REQUIRED) Values, ObsRecording,ProgramEnrollment
  • Addrress Attributes&nbsp;: column names of person_addrress table&nbsp;(REQUIRED)
  • concept names&nbsp;: only leaf level concept names, concept set are not supported&nbsp;(REQUIRED)
  • visit independent concepts&nbsp;: latest obs will be picked for them irrespective of visit. PS visits other than visit having latest obs will have no value for this field.&nbsp;(REQUIRED)
  • enrolled programPatient Attributes&nbsp;: only one program name is supported&nbsp;(OPTIONAL &nbsp;: remove entire config if not required)&nbsp;: all the possible values from personattributetype.name column like {"HEIGHT","WEIGHT","Pulse"}. (REQUIRED)
  • show obs only for program duration&nbsp;: filter only those obs taken in given program&nbsp;(REQUIRED)

19. Drug Order Reports:

This report will show patients information for whom the drugs are being ordered within the given date range.This report consists of patient information as well as drug information.

20. Program Observation Template Report

Report for a template with all the fields and the values that were filled in a given timeframe.

name: Name of the Report.

templateName: Observation template for which the report needs to be generated.

patientAttributes: Patient attributes like caste, education to be displayed against each patient in report (Refer to image).

programAttributes: Program attributes like doctor, treatment date to be displayed against each program in report (Refer to image).

programNames: List of program names for which the observations should be displayed. If not specified it will fetch observations for all programs.

Add the location Tag &ldquo;Report location&rdquo; in OpenMRS

And specify the location tag in config ex. "locationTagNames": ["Report Location&rdquo; ],

addressAttributes: List of address attributes to be displayed (NOTE: addressAttributes must be always in snake case Example: "city_village" instead of "cityVillage".)

image2016-2-15 12:14:58.png

21. Program Specific Drug Order Report

A a new Program Specific Drug Order Report is created which will only consider the active programs within a date range, for drug orders and export all data for the active programs. The programs to be displayed as well as the program attributes are configurable to be displayed.

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗