nmrs-nigeria / openmrs-module-nigeriaemr

NMRS NDR Extration Module for NigeriaMRS
1 stars 15 forks source link

Dead Patient Status Not Included In <HIVQuestions> tag #189

Closed brightoibe closed 3 years ago

brightoibe commented 3 years ago

Hello Team,

Our clinical team pointed out something they observed during the LTFU tracking at facility level. They complained that patients with definite outcomes in the Client Tracking and Termination Forms are still showing up as "inactive" on NDR line listing. A deep dive into the createHIVQuestionType() method of the NDRCommonQuestionsDictionary.java shows that there could be a bug in the 1.6.2 plugin that can affect TX_ML and TX_RTT calcualtions across our facilities.

This line out to be part of the createHIVQuestion ` obs = Utils.extractObsByValues(Utils.REASON_FOR_TERMINATION_CONCEPT, Utils.DEAD_CONCEPT, obsList); if(obs!=null){ //set PatientHasDied //set StatusAtDeath //set DeathDate //SourceOfDeathInformation }

This is the best place to read Dead patient status and show on the NDR line listing so that these patients don't show up for tracking all the time