File tree Expand file tree Collapse file tree
src/main/java/com/wipro/fhir/service/healthID Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ public class HealthIDServiceImpl implements HealthIDService {
6464 @ Override
6565 public String mapHealthIDToBeneficiary (String request ) throws FHIRException {
6666 BenHealthIDMapping health = InputMapper .gson ().fromJson (request , BenHealthIDMapping .class );
67- health = InputMapper .gson ().fromJson (request , BenHealthIDMapping .class );
6867 String [] beneficiaryIdsList = null ;
6968 try {
7069 if (health .getBeneficiaryRegID () == null && health .getBeneficiaryID () == null )
@@ -80,8 +79,8 @@ public String mapHealthIDToBeneficiary(String request) throws FHIRException {
8079 health = benHealthIDMappingRepo .save (health );
8180 else {
8281 if (health .getBeneficiaryID () != null ) {
83- Long check1 = benHealthIDMappingRepo .getBenRegID (health .getBeneficiaryID ());
84- health .setBeneficiaryRegID (check1 );
82+ Long benRegId = benHealthIDMappingRepo .getBenRegID (health .getBeneficiaryID ());
83+ health .setBeneficiaryRegID (benRegId );
8584 health = benHealthIDMappingRepo .save (health );
8685 }
8786 }
You can’t perform that action at this time.
0 commit comments