Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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>"]

Code Block
"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 '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
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 "B54" 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