...
Test Scenario for ICD-10 Code Mapping for a given SNOMED Code
...
Test Description
...
Step No.
...
Step Description
...
Expected Results
As an end user, I want to test the functionality of ICD-10 Code mapping, so that I can ensure correct ICD-10 codes are getting displayed in the report
Step No. | Step Description | Expected Results |
Configuration Setup | Introduce configuration property for the ICD 10 column. | "diagnosisLineReportPneumonia": { |
1 | Login to bahmni 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 'Malaria' (SNOMED code 61462000) | System should display the search result for Malaria | |
Select and Save Malaria | 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 "B54" 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 |