Introduction
The development of drug resistance is an inevitable consequence of long term treatment with antiretroviral drugs and many patients have virus extracted and genotyped to determine drug resistance profiles and decisions around ongoing treatment regimens. Drug resistance testing is standard of care in developed countries at treatment initiation and treatment failure and is becoming increasingly widely used in developing countries, generating requirements for inclusion of this data as part of the clinical record. Specialist algorithms are used to interpret the genotype and predict particular drug susceptibility/resistance. RegaDB is a specialist application that performs the genotypic prediction algorithms and presents the data. This module integrates OpenMRS and RegaDB. The clinical and laboratory data are exported from OpenMRS to RegaDB. RegaDB performs the analysis functions required to analyze the drug resistance. The clinicians can avail the drug resistance reports from OpenMRS.
The two main function of this module are –
1) Data Export 2) Report Viewing.
User manual
Adding Related Concepts (module config)
- Now, after installing the RegaDB integration module, go to the Admin page of the module, and select "Add related concepts"
- The currently concepts which can be exported to RegaDB are HIV Viral Load and CD4 count
- Search for each of these concepts, add and save
Adding Related concepts (Observations)
- Go to OpenMRS Admin Page
- Select Manage Observations under the Observations title
- Add an HIV Viral Load observation for a patient and save
- Add a CD4 count observation for a patient and save
Exporting Patient to RegaDB
- On the OpenMRS Administration page, select find/create patient
- Search for the patient whose observations you have recently added
- You will see a RegaDB tab on the patient's dashboard
- Ensure the RegaDB installation instance is "xhost +" enabled
- Click Export Patient to export the patient to RegaDB
RegaDB Patient Import
- Once a patient is exported to RegaDB, they can be viewed by the patients link
- To view the patient's viral load and cd4 count observations sent to RegaDB, click on measurements after clicking on the patient
- You may edit the patient demographics etc in RegaDB but the patient will still be in sync with OpenMRS
Exporting patients in bulk
The administrator can export multiple patients at once from the “Export Patients” link.
- The export multiple patients page has two divisions.
- The first division is used to search for patients.
- Select the desired patients from this division.
- Click on the add patients button.
- This will add the selected patients to the division below.
- From here, the user can export few or all patients in the list.
- Select the patients in the second division click on the “export selected patients” button.
- A successful export gives a message saying “All Patients Exported Successfully”.
Scheduling
When the module is deployed it creates an OpenMRS scheduler task which by default runs every 10 minutes. The scheduler task checks periodically for data export. Data reaches scheduler in two scenarios –
If the user clicks the export patient button on the patient dashboard and the RegaDB server is down this export job is added to the scheduler for a later export.
All the new related observations for a patient existing in RegaDB are scheduled to for export by this scheduler task.
The administrator can start and stop the task from the “manage scheduler” page.
The default time interval for the task is 10 minutes. The administrator can change this in the manage scheduler page.
Note: The task is not started when the module is deployed.
Report Viewing
- Click on the “view patient report” button
- If this patient is existing on RegaDB and there exists a viral isolate (genomic data of the patient), then this displays a selection division
- Select the resistance algorithms on which the drug resistance report should be based on.
- And on clicking the generate report button.
-
The report is given as a download and is an rtf file.
This report contains the algorithmic calculations of drug resistance and a chart which is a graphical display of the patient history.
In case if the RegaDB server is down currently, it shows a message saying the server is not responding.
In case this patient or its viral isolate does not exist on the RegaDB system then it shows an error message saying “cannot show patient report – patient or viral isolate doesn’t exist.”