...
Test Description | Step No. | Step Description | Expected Results |
As an end user, I want to test the functionality of SNOMED CT procedures for body-sites | Configuration Setup | To upload the procedures in Bahmni application, follow the steps mention here | Procedures should be uploaded in Bahmni |
1 | Login to Bahmni application as user | 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 orders tab | Orders page should be displayed | |
4 | In Orders Tab, click on Procedures on the left panel | List of body sites should be displayed | |
5 | Select Head from the body site | System should display the list of SNOMED procedures for 'Head' | |
6 | Select a procedure from the list | System should highlight the selected procedure | |
7 | Click on Save | System should save the procedure in OpenMRS | |
8 | Click on patient dashboard | The selected procedure should be displayed in the procedure card |
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
View file | ||
---|---|---|
|
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>"] |
| ||
1 | Login to Bahmni application as user | 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 | |||
| System should display ICD-10 codes "T88.0, U07.1" in the ICD-10 Code column | |||
|
|
| ||
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 | |||
| System should display ICD-10 codes "K65.9" in the ICD-10 Code column | |||
|
|
| ||
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 | |||
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 | |||
Age of the patient is more than 15 | System should display ICD-10 codes "J40" in the ICD-10 Code column | |||
|
|
| ||
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 | |||
Age of the patient is >=12 and <19 | System should display ICD-10 code "Z00.3" in the ICD-10 Code column | |||
Age of the patient is <19 | System should display ICD-10 codes "Z00.2" in the ICD-10 Code column | |||
Age of the patient is apart from above 2 scenarios | System should display Blank in the ICD-10 Code column | |||
|
|
| ||
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 | |||
Gender of the patient is Female | System should display ICD-10 codes "N73.5" in the ICD-10 Code column | |||
Gender of the patient is Male | System should display ICD-10 codes "K65.0" in the ICD-10 Code column | |||
Gender of the patient is apart from the above 2 scenarios | System should display Blank in the ICD-10 Code column | |||
|
|
| ||
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 | |||
| System should display Blank in the ICD-10 Code column | |||
|
|
| ||
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 | 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 |