...
Test Description | Step No. | Step Description | Expected Results |
As an end user, I want to test the E2E journey of Diagnosis Count Report for Asthma and Malaria, so that I can ensure the report is providing accurate count of diagnosis | 1 | Login to Bahmni application as user | User should be logged in |
2 | Navigate to report module and open report dashboard | The report dashboard should be displayed with list of different reports | |
3 | Validate "Diagnosis Count Report for Malaria" and "Diagnosis Count Report for Asthma" are available in the list of reports | System should display the below 2 reports in the list | |
4 | Select Start and End date from the calendar for "Diagnosis Count Report for Malaria" | The selected date should be displayed in given format ‘dd/mm/yyyy’ | |
5 | For the format, click on HTML from the format drop down list | HTML should be selected as format for report | |
6 | Clicks on "RUN NOW" button for the report | The report for diagnosis count of patients for Malaria should be displayed based total count of patients for each diagnosis | |
7 | Verify that the generated report is displayed in a Tabular format, with Malaria as diagnosis and the total count | Report should be shown in tabular format with generated date and time and selected duration (start date to end date) with Malaria diagnosis and the count of patients | |
8 | Verify that the generated report also has count based on Gender | The report for diagnosis count should include columns Male, Female, Other, Not disclosed, and Total | |
9 | Verify that all the descendants of Malaria that are saved in OpenMRS are shown in the report in separate line item Below is the configuration which is found in https://github.com/Bahmni/default-config/blob/<BRANCH>/openmrs/apps/reports/reports.json "diagnosisCountMalaria": { | The verification of descendant output can be done with the help of given link, where we can cross verify the diagnosis https://browser.ihtsdotools.org/?perspective=full&conceptId1=8186001&edition=MAIN/2023-01-31&release=&languages=en | |
10 | Check initial count of the Malaria diagnosis, then add the same malaria diagnosis for a new patient and re-run the report. | The total count of the Malaria diagnosis should be incremented by 1 | |
11 | Select a patient, save diagnosis as 'heart block', goto the reports and run the diagnosis count report for Malaria | The total count of the Malaria diagnosis should remain the same | |
12 | For validation for Diagnosis count report for Asthma, repeat steps 2 to 10 with below configuration Below is the configuration which is found in https://github.com/Bahmni/default-config/blob/<BRANCH>/openmrs/apps/reports/reports.json "diagnosisCountAsthma": { | ||
13 |
| System should display error message |
Test Scenario for CDSS
...
Test Description
...
Step No.
...
Step Description
...
Expected Results
Alerts
As an end user, I want to test the functionality of all the
...
types of CDSS alerts so that I can ensure the feature is working as expected
Step No. | Step Description | Expected Results |
Configuration Setup | Login to the OpenMRS Global Properties form https://qa.snomed.mybahmni.in/openmrs/admin/maintenance/globalProps.form | Global Properties page should be displayed. |
In the properties form, verify that the Global Property "cdss.enable" in OpenMRS is set to TRUE in order to invoke CDSS rule | cdss.enable should be set to TRUE for leveraging CDSS engine rules | |
In the properties form, check the value of cdss.fhir.baseurl | cdss.fhir.baseurl should be set to https://cdss-dev.snomed.mybahmni.in/cds-services/ |
Diagnosis-Drug Contraindication | Login to |
Bahmni application as user | User should be logged in |
Navigate to clinical module and open an active patient | The patient dashboard should be displayed |
Click on consultation button and then click on diagnoses tab | Diagnoses page should be displayed |
4
In Diagnosis search box, search for Asthma | System displays list of matched results |
5
Select Asthma and save the diagnosis | Asthma is saved as Diagnosis for the patient |
Navigate to Medications Tab | Medication page should be displayed |
Under Drug Name, search for Propranolol as drug | System should display list of matched results |
Select 'Propranolol hydrochloride 40 mg oral tablet (Tablet)' from the search list |
System should display alert notification, saying Propranolol 40 mg as a product contraindicates Asthma
System should display all the alert messages in the left panel, above the "Add" button
Each alert card should consist of summary, details, CDS Indicator, and CDS source link
Each card should have an indicator of either Critical, Warning, or Information
The name of section is determined by alert card of highest priority (Critical highest, Info Lowest) eg., if there are two cards, one with Critical and one with Warning, then Critical will be name of section
Provide all the information such as dose, unit, frequency, duration, route, etc and click on Add button | System should display a drug-diagnosis 'Critical' alert message against the drug on the right hand panel. Summary should display the drug and the diagnosis causing the contraindication | |
Alternate Scenario: User selects 'Hypokalemia' as diagnosis and Acetazolamide 250 mg oral tablet (Tablet) as medication | System should display a drug-diagnosis 'Warning' alert message against the drug on the right hand panel. Summary should display the drug and the diagnosis causing the contraindication | |
Alternate Scenario: User selects 'Hyponatremia' as diagnosis and Acetazolamide 250 mg oral tablet (Tablet) as medication | System should display a drug-diagnosis 'Info' alert message against the drug on the right hand panel. Summary should display the drug and the diagnosis causing the contraindication | |
Diagnosis-Drug Contraindication in Diagnoses Tab | Login to Bahmni application as user | User should be logged in |
Navigate to clinical module and open an active patient | The patient dashboard should be displayed | |
Click on consultation button and then click on Medications tab | Medications page should be displayed | |
Search and select 'Propranolol hydrochloride 40 mg oral tablet (Tablet)' from the search list | ||
Provide all the information such as dose, unit, frequency, duration, route, etc and click on Add button | System should add the prescribed drug on the right side | |
Navigate to diagnoses tab | System should display the diagnoses page | |
In Diagnoses search box, search and select Asthma | System should display a drug-diagnosis 'Critical' alert message below the selected drug (in this case 'Asthma') | |
The alert message should also indicate the user to go to the medications tab by displaying a message | ||
Save button is disabled with an error message | ||
User navigates to medications tab, and dismisses the critical alert, and navigates back to diagnoses tab | Grey 'info' icon is displayed against the diagnoses (in this case, Asthma) | |
User clicks on the 'info' icon | Dismissed alert is displayed along with the category (in this case 'Critical') | |
Alternate Scenario: User selects Acetazolamide 250 mg oral tablet (Tablet) in medications tab and selects Hypokalemia in diagnosis tab | System should display a drug-diagnosis 'Warning' alert message below the selected drug (in this case 'Hypokalemia') | |
The alert message should also indicate the user to go to the medications tab by displaying a message | ||
Save button remains enabled | ||
User clicks on Save button | The system should save the record | |
Grey 'info' icon is displayed against the diagnoses (in this case, Hypokalemia) | ||
Alternate Scenario:User selects Acetazolamide 250 mg oral tablet (Tablet) in medications tab and selects Hyponatremia in diagnosis tab | System should display a drug-diagnosis 'Info' alert message below the selected drug (in this case 'Hyponatremia') | |
The alert message should also indicate the user to go to the medications tab by displaying a message | ||
Save button remains enabled | ||
User clicks on Save button | The system should save the record | |
Grey 'info' icon is displayed against the diagnoses (in this case, Hyponatremia) | ||
Drug-Drug Contraindication | Login to Bahmni application as user | User should be logged in |
Navigate to clinical module and open an active patient | The patient dashboard should be displayed | |
Click on consultation button and then click on medication tab | Medication page should be displayed | |
Search and select Acetazolamide 250 mg oral tablet (Tablet) from the drug search field | ||
Provide all the information such as dose, unit, frequency, duration, route, etc and click on Add button | System should display the drug on the right hand panel | |
Search and select Allopurinol 100 mg oral tablet (Tablet) from the drug search field | ||
Provide all the information such as dose, unit, frequency, duration, route, etc and click on Add button | System should display drug-drug 'warning' alert message against the drugs Acetazolamide and Allopurinol on the right hand panel. Summary should display the drug-drug interaction causing the contraindication | |
Alternate Scenario: User selects 'Amiodarone hydrochloride 100 mg oral tablet (Tablet)' and 'Albendazole 400 mg chewable tablet (Tablet)' as drugs | System should display drug-drug 'info' alert message against the drugs Amiodarone and Albendazole on the right hand panel. Summary should display the drug-drug interaction causing the contraindication | |
Alternate Scenario: User selects 'Amitriptyline hydrochloride 10 mg oral tablet (Tablet)' and 'Amoxicillin 250 mg chewable tablet (Tablet)' as drugs | System should display drug-drug 'critical' alert message against the drugs Amitriptyline and Amoxicillin on the right hand panel. Summary should display the drug-drug interaction causing the contraindication | |
High Dosage Alert for a single substance in a single drug | Login to Bahmni application as user | User should be logged in |
Navigate to clinical module and open an active patient | The patient dashboard should be displayed | |
Click on consultation button and then click on medication tab | Medication page should be displayed | |
Search and select Ranitidine 150 mg oral tablet (Tablet) from the drug search field | ||
Provide all the information such as below | System should display high dosage 'warning' alert message against the drug Ranitidine on the right hand panel. Summary should display the number of times the prescribed dose is compared to average daily dose | |
If below information is provided | System should display high dosage 'info' alert message against the drug Ranitidine on the right hand panel. Summary should display the number of times the prescribed dose is compared to average daily dose | |
The details of the alert will have below information | ||
High Dosage Alert for a single substance across multiple drugs | Login to Bahmni application as user | User should be logged in |
Navigate to clinical module and open an active patient | The patient dashboard should be displayed | |
Click on consultation button and then click on medication tab | Medication page should be displayed | |
Search and select Ranitidine 150 mg oral tablet (Tablet) from the drug search field | ||
Provide all the information such as below | System should add the prescribed drug on the right hand panel | |
Search and select Ranitidine 25 mg/mL solution for injection (Injection) from the drug search field | ||
Provide all the information such as below | System should display high dosage 'info' alert message against the 2 drugs having Ranitidine on the right hand panel. Summary should display the number of times the prescribed dose is compared to average daily dose | |
The details of the alert will have below information | ||
High Dosage Alert for multiple substances within a single drug | Login to Bahmni application as user | User should be logged in |
Navigate to clinical module and open an active patient | The patient dashboard should be displayed | |
Click on consultation button and then click on medication tab | Medication page should be displayed | |
Search and select Colchicine 500 microgram and probenecid 500 mg oral tablet (Tablet) from the drug search field | ||
Provide all the information such as below | System should display 2 high dosage 'warning' alert message against the drug on the right hand panel. Summary should display the number of times the prescribed dose is compared to average daily dose | |
First 'warning' alert message should be for substance Probenecid | ||
The details of the alert will have below information | ||
4 | Display of alerts | Each alert should consist of summary, details, CDS Indicator, and CDS source link |
5 | System displays multiple alerts | Multiple alerts are shown in the form of separate rows, below the prescribed drug |
6 | Click on the expand button on any of the alert | System should display the details of that alert along with the source link |
For 'Critical' alerts, 'Reason for Dismissal' is also displayed along with the details of the alert |
7 | Click on the CDS source link |
in the alert (in the form of 'question mark') | User should be taken to the page of the source in a new tab |
8 | System displays |
System should display all the alert messages in the left panel, above the "Add" button
12
at least 1 'Critical' |
Add' button should be disabled
The close button ("Cross") is disabled for all the "Critical" cards
13
Click on the "Cross" button on the Warning or Info card
The alert card should be removed from the display
14
alert | Save button is disabled with an error message | |
9 | Click on the 'reason for dismissal' dropdown for 'Critical' alert | System should display the reason for dismissal with a dropdown list |
10 | Select a reason from the dropdown list and click Dismiss button | The critical alert is greyed out and stricken off, indicating the alert is dismissed |
11 | Click on the "Cross" button on the Warning or Info alert | The |
'warning' and 'info' alert is greyed out and stricken off, indicating the alert is dismissed | ||
The dismiss action should be logged using audit module Post API call from the frontend using the endpoint https://dev.snomed.mybahmni.in/openmrs/ws/rest/v1/auditlog |
12 | User |
removes the drug selection by clicking on the remove button | All the |
alerts are now removed from display |
13 | User dismisses all critical alerts |
Save button should be enabled |
18
User Clicks on Add button
The selected drug should be added to the prescribed list
14 | User dismisses all alerts | All The alert rows should be removed |
A grey ‘info’ icon should be displayed against the drug on the left side | ||
15 | Click on the 'info' icon on the left side of the drug | System should display all the dismissed alert along with the category |
16 | Clicks on Save | The medication should be saved for that patient |
Test Scenario for Configuring and Using Form Builder
...