Optimize code to use map and ternary instead of forEach
Optimize code to use map and ternary instead of forEach

vistadataproject/nonClinicalRPCs,vistadataproject/nonClinicalRPCs,vistadataproject/nonClinicalRPCs