Skip to content

Commit 927e5b4

Browse files
AMM-1473 NCDScreening confirmed API change (#144)
* Update application.properties * Swagger changes * AMM-1456 : Skiped jwtToken validation if not present in Cookie or header from mobile request. * Jwtten and user-agent validation * null check * Constants added and null check * Empty check added * Optimized code * removed commented code * Exception Handled and Null conditions added * Coderabbit comments addressed * AMM-1473
1 parent a996ef5 commit 927e5b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/iemr/hwc/service/ncdscreening/NCDScreeningServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ public String fetchConfirmedScreeningDisease(Long beneficiaryRegId) throws IEMRE
16971697
List<Object[]> resultSet = hypertensionScreeningRepo.fetchConfirmedScreening(beneficiaryRegId);
16981698
if (resultSet != null && resultSet.size() > 0) {
16991699
for (Object[] obj : resultSet) {
1700-
map.put("beneficiaryRegId", obj[0] != null ? ((BigInteger) obj[0]).longValue() : null);
1700+
map.put("beneficiaryRegId", obj[0] != null ? ((Long) obj[0]) : null);
17011701
if (obj[1] != null && (Boolean) obj[1] == true)
17021702
response.add("Diabetes Mellitus");
17031703
if (obj[2] != null && (Boolean) obj[2] == true)

0 commit comments

Comments
 (0)