Table of Contents | ||||
---|---|---|---|---|
|
How to access the cohort builder:
Click on the cohort-builder Cohort Builder button on the homepage of the OpenMRS application after logging in.
About the OpenMRS cohort-builder OWA
The OpenMRS cohort-builder OWA is used to make search queries against a dataset of patients with different query options, the cohort-builder currently has 6 5 active tabs each offering the user with different option and parameters to make search queries, there are currently 6 active tabs namely:.
These are :-
The Concept / Observation tab
The Patient Attribute Attributes tab
The Encounter tabThe Program enrollment tab
The Composition tab
The Saved tab
The Concept / Observation tab
This tab gives the user the option to search via concepts or observations existing in the system. Examples of concepts are blood and malaria.
...
Concepts are the individual data points collected from a population of patients. They include both questions and answers. An example here would be whole blood sample, with the question; Does the patient value have a whole blood sample?
Observations denote anything actively measured or observed during an encounter. For example a patient's weight, age or blood pressure.
The Patient Attributes tab
This tab gives the user the option to search via demographics and a person attributes
- Search by demographic: This allows you search for patients in with a descriptive characteristic, in a particular sector of a population.
There are 5 search options namely:-- Gender allows you to select and search - Search by gender option i. e Male or Female
- Age allows you to filter between ages - Filter patient search results by age range i.e. 0-14
- Birthdate allows you to filter between birth dates
- Alive only allows you to search for alive patients
- Dead only allows you to search for dead patients
- Search is the tab or button for the search- Filter patient search results by birthdate range ie -
- Alive - Search only for patients who are alive.
- Dead - Search for deceased patients.
Search by person attribute: This allows you search for patients with a specific attribute. information that further describes them.
There are numerous search options namely:-
Birthplace allows you to to filter by place of birth
Citizenship allows you to to filter by - Filter patient results by specifying their country of origin
Civil Status
Health Center allows you to to filter by similar health centers
Health District allows Civil Status
Health Center - Filter by details of health center attended by patients
Health District allows you to to filter by similar health districtsMother’s Name allows you to to filter
Mother’s Name - Filter by similar mother’s name
Race allows you to to filter by similar racesTelephone number allows you to to filter - Filter results by the patients racial background
Telephone number - Filter by similar phone numbers
Unknown patient
Test patient
- Search by demographic: This allows you search for patients in with a descriptive characteristic, in a particular sector of a population.
...
Unknown patient
Test patient
The Encounter tab
An encounter is a single, specific interaction between the patient and a provider.
This tab gives the user the option to search via patients encounter and the location at which they interacted with the service provider.
Search by Encounter:
This searches for patients with a specific type of activity or encounter
. For example, check in, checkout, transfer, admission e.t.c.
There are numerous search options namely
: -
Of Type allows you to to filter by the type of the encounter
Location allows you to to filter by the location of the encounter
At
least this many allows you to to filter by the minimum encounter count
Upto this many allows you to to filter by the maximum encounter type
From -
To allows you to to filter by the date range in which the encounter(s) occurred.
Search by Location: This allows you search for patients by the encounter location e.t.c Amani hospital, inpatient ward, isolation ward e.t.c.
Patient belonging to allows you to to filter by the location the encounter belongs to.
According to method allows you to to filter by Here the filters are applied according to the following:-
Patients belonging to a group of encounters from a specific location.
According to the timeline of the encounter
...
The
...
Composition tab
This tab gives the user the option to search via the programmes the patient is enrolled in and the patient's status in the programme. There are numerous search options namely
Program allows you to to filter by the type of the program.
Workflow allows you to filter by
State allows you to to filter by the location of the program
In the programme allows you to to filter by the timeline the user was in the programme.
Enrolled in the programme allows you to to filter by the timeline in which the user was enrolled into the program.
Completed the programme allows you to to filter by the timeline in which the user completed the program.
The drug order tab
This tab gives the user the option to group patients according to the drugs they use.
Search by Drug Order: This allows you search for patients in accordance with the drug order they take. There are numerous search options namely
Drug(s) allows you to filter by the type of drug they take
Drug Regimen allows you to filter by the drug regimen they are in. The drug regimen can be current drug regimen or a specific drug regimen.
When allows you to filter by the duration one takes the drug. Eg For the last 5 months and 2 days.
Date range allows you to filter by the specific date.
Patient who stopped or changed a drug: This allows you search for patients who have stopped or changed a drug in accordance with a specific reason and/or generic. There are numerous search options namely
When allows you to filter by the duration one takes the drug. Eg For the last 5 months and 2 days.
Date range allows you to filter by the specific date.
Reason for change allows you to filter by reason they stopped taking
Only this drug allows you to filter by the specific drug they took
Only this generic allows you to filter by generics
The Composition tab
This tab gives the user the option to search for patient via a series of set operations and relations usually between different search histories indexes, example of the operation that can be performed are
And / Union
Or
Not
Intersection
!
+
tab allows a user to combine multiple cohorts using the logical operators:- 'AND', 'OR', and 'NOT'.
To use this query, you need to have query results from the other queries in your search history. These are the queries which will then be combined to yeild new results.
Example: There is a cohort of patients who weigh less than 100 KG at #1, and a cohort of patients with ages between 23 and 35 years at #2 in the search history.
You can create a query with a composition '1 AND 2' and add a brief meaningful description for the new query. To view a result for the combined queries.
There are two input boxes on this tab namely:
Composition: This is where the operations are entered e.g (1 and 2) or not 31 AND 2 from the example above
Description: This is a memorable name or description for the search composition that is being created. Eg. for the above example, we could add a description "Patients weight < 100, age 23 -35". (checkout image below for a visual sample).
...
The Saved tab
This tab gives the user the option to search for a saved cohort or definition, it has two fields namely
Search Saved DefinitionsSearch Saved Definitions allows the user search for a saved definition by it’s nameSearch Saved
CohortSearch Saved Cohort allows the user search for a saved cohort by it’s name
The Search history: This is where an history of executed searches are saved and displayed to the user, each search can be saved either as a cohort or as a definition. There are numerous fields under this component, namely
Query: This is where the name or description of the query is displayed
Query Definition Options
Save: This saves a definition to the database
Delete: This removes a definition from the search history
Results: This contains a list of all the patients contained in the search result
Query Definition Options
Save: This saves a cohort to the database
Delete: This removes a definition from the search history
To contribute or setup this open web app please visit this Link.
Frequently asked questions:
Is there a limit to the number of cohorts and definitions that can be saved?
No there is no limit to the amount of cohorts and definitions that can be savesaved.