E2E Test Scenarios for Bahmni SNOMED Engagement - Phase 2

This page contains the end to end test scenarios of all the proposed user journeys for the Bahmni-SNOMED Engagement in a Tabular Format. Manual testing is the approach that has been taken to ensure thorough check on quality and delivery of the user journeys

The table contains the scenario, the test steps, action to be taken by user, and the expected outcome of those actions

The purpose of these scenarios is to ensure that all the user journeys are working as agreed upon at the start of the project. It also allows any user to test the scenarios by laying out easy to follow steps to perform all the tests.

 

 

Test Scenarios for ICD-10 Code Mapping for a given SNOMED Code

As an end user, I want to test the functionality of ICD-10 Code mapping for a given SNOMED code, so that I can ensure correct ICD-10 codes are getting displayed in the report. More on understanding of the mapping of ICD-10 codes in below document

 

Step No.

Step Description

Expected Results

Configuration Setup

Introduce configuration entry in reports.json for ICD-10 code(s) extension

i.e., "extensions": ["<FULLY_QUALIFIED_CLASSNAME>"]

"diagnosisLineReportPneumonia": { "name": "SNOMED Diagnosis Line Report(ICD) for Pneumonia", "type": "fhirTSLookupDiagnosisLine", "requiredPrivilege": "app:reports", "config": { "tsConceptSource": "SCT", "conceptNameDisplayFormat": "shortNamePreferred", "terminologyParentCode": "421671002", "displayTerminologyCode": "true", "terminologyColumnName": "SNOMED Code", "patientAttributes": [ ], "patientAddresses": [ ], "extensions": ["org.bahmni.reports.extensions.icd10.Icd10ResultSetExtension"] } }

1

Login to Bahmni application as user
Application URL - https://qa.snomed.mybahmni.in

User should be logged in

2

Navigate to clinical module and open an active patient

The patient dashboard should be displayed

3

Click on consultation button and then click on Diagnosis tab

Diagnosis page should be displayed

Use case for displaying multiple ICD-10 codes for single SNOMED Code from each mapgroups (in this case, there will be more than one mapgroup)

In Diagnosis/condition search bar, search for 'SARS-CoV-2 breakthrough infection' (SNOMED Code 1217296006)

System should display the search result for SARS-CoV-2 breakthrough infection

Select and Save 'SARS-CoV-2 breakthrough infection'

System should save the selected diagnosis for the patient

Navigate to Reports module

System should display the list of reports

Provide Start Date, End Date and Format for 'SNOMED Line Report for COVID' and click Run

System should display the line report with the following columns
Patient ID, Patient Name, Date of Birth, Gender, Diagnosis/Condition (Preferred Term), SNOMED Code, Date and Time of the occurance, and ICD-10 code

 

System should display ICD-10 codes "T88.0, U07.1" in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there are 2 "greent tick" from 2 different mapgroups

 

 

 

Use case for displaying single ICD-10 code (default one-to-one rule) for single SNOMED Code having single mapgroup

Navigate to clinical module and open an active patient

The patient dashboard should be displayed

Click on consultation button and then click on Diagnosis tab

Diagnosis page should be displayed

In Diagnosis/condition search bar, search for 'Peritonitis' (SNOMED code 48661000)

System should display the search result for Peritonitis

Select and Save Peritonitis

System should save the selected diagnosis for the patient

Navigate to Reports module

System should display the list of reports

Provide Start Date, End Date and Format for 'SNOMED Line Report for Malaria' and click Run

System should display the line report with the following columns
Patient ID, Patient Name, Date of Birth, Gender, Diagnosis/Condition (Preferred Term), SNOMED Code, Date and Time of the occurance, and ICD-10 code

 

System should display ICD-10 codes "K65.9" in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

 

 

 

Use case for displaying single ICD-10 code from a mapgroup for a SNOMED Code based on patient's Age

Navigate to clinical module and open an active patient

The patient dashboard should be displayed

Click on consultation button and then click on Diagnosis tab

Diagnosis page should be displayed

In Diagnosis/condition search bar, search for 'Bronchitis' (SNOMED Code 32398004)

System should display the search result for Bronchitis

Select and Save Bronchitis

System should save the selected diagnosis for the patient

Navigate to Reports module

System should display the list of reports

Provide Start Date, End Date and Format for 'SNOMED Line Report for Bronchitis' and click Run

System should display the line report with the following columns
Patient ID, Patient Name, Date of Birth, Gender, Diagnosis/Condition (Preferred Term), SNOMED Code, Date and Time of the occurance, and ICD-10 code

Age of the patient is less than or equal to 15

System should display ICD-10 codes "J20.9" in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

Age of the patient is more than 15

System should display ICD-10 codes "J40" in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

 

 

 

Use case for displaying ICD-10 codes from a mapgroup for a SNOMED code based on patient's Age Range

Navigate to clinical module and open an active patient

The patient dashboard should be displayed

Click on consultation button and then click on Diagnosis tab

Diagnosis page should be displayed

In Diagnosis/condition search bar, search for 'Excessive Growth Rate' (SNOMED Code 440311000124109)

System should display the search result for Excessive Growth Rate

Select and Save Excessive Growth Rate

System should save the selected diagnosis for the patient

Navigate to Reports module

System should display the list of reports

Provide Start Date, End Date and Format for 'SNOMED Line Report for Excessive growth rate' and click Run

System should display the line report with the following columns
Patient ID, Patient Name, Date of Birth, Gender, Diagnosis/Condition (Preferred Term), SNOMED Code, Date and Time of the occurrence, and ICD-10 code

Age of the patient is >=12 and <19

System should display ICD-10 code "Z00.3" in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

Age of the patient is <19

System should display ICD-10 codes "Z00.2" in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

Age of the patient is apart from above 2 scenarios

System should display Blank in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

 

 

 

Use case for displaying ICD-10 code from a mapgroup for a SNOMED Code based on Gender

Navigate to clinical module and open an active patient

The patient dashboard should be displayed

Click on consultation button and then click on Diagnosis tab

Diagnosis page should be displayed

In Diagnosis/condition search bar, search for 'Pelvic peritonitis' (SNOMED Code 788010000)

System should display the search result for Pelvic peritonitis

Select and Save Pelvic peritonitis

System should save the selected diagnosis for the patient

Navigate to Reports module

System should display the list of reports

Provide Start Date, End Date and Format for 'SNOMED Line Report for Peritonitis' and click Run

System should display the line report with the following columns
Patient ID, Patient Name, Date of Birth, Gender, Diagnosis/Condition (Preferred Term), SNOMED Code, Date and Time of the occurance, and ICD-10 code

Gender of the patient is Female

System should display ICD-10 codes "N73.5" in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

Gender of the patient is Male

System should display ICD-10 codes "K65.0" in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

Gender of the patient is apart from the above 2 scenarios

System should display Blank in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

 

 

 

Use case for displaying ICD-10 codes being Blank/Empty for a SNOMED Code

Navigate to clinical module and open an active patient

The patient dashboard should be displayed

Click on consultation button and then click on Diagnosis tab

Diagnosis page should be displayed

In Diagnosis/condition search bar, search for 'Dietary finding' (SNOMED Code 41829006)

System should display the search result for Dietary finding

Select and Save Dietary finding

System should save the selected diagnosis for the patient

Navigate to Reports module

System should display the list of reports

Provide Start Date, End Date and Format for 'SNOMED Line Report for Dietary finding' and click Run

System should display the line report with the following columns
Patient ID, Patient Name, Date of Birth, Gender, Diagnosis/Condition (Preferred Term), SNOMED Code, Date and Time of the occurance, and ICD-10 code

 

System should display Blank in the ICD-10 Code column
This can be verified by providing the diagnosis in the below link
https://ihtsdo.github.io/iid-icd-maps/ where there is 1 "greent tick" in the mapgroup

 

 

 

4

Select the format as CSV and click on Run

System should download the corresponding report in the CSV format

5

If Snowstorm server is down and user is trying to generate ICD-10 report
This can be done by changing the url of snowstorm server from the OpenMRS global properties
Fhir Baseurl = https://snowstorm.snomed.mybahmni.in/fhir/

504 Internal server error should be displayed

 

 

 

Use case for ICD-10 codes and reports if the diagnosis/condition is drafted and not saved

Navigate to clinical module and open an active patient

The patient dashboard should be displayed

Click on consultation button and then click on Diagnosis tab

Diagnosis page should be displayed

In Diagnosis/condition search bar, search for 'Pelvic peritonitis'

System should display the search result for Pelvic peritonitis

Select and do NOT Save Pelvic peritonitis

System should draft the selected diagnosis for the patient

Navigate to Reports module

System should display the list of reports

Check for the "SNOMED Line Report for Peritonitis"

This Report shouldn't be available in the report section because the diagnosis/condition was added not saved

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)