diff --git a/pom.xml b/pom.xml
index 3a9bb7d1..b56a968d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,19 +48,6 @@
 		</repository>
 	</repositories>
 	<dependencies>
-
-		<dependency>
-		<groupId>org.apache.httpcomponents</groupId>
-		<artifactId>httpclient</artifactId>
-		
-		</dependency>
-		<!-- https://mvnrepository.com/artifact/xmlpull/xmlpull -->
-<dependency>
-    <groupId>xmlpull</groupId>
-    <artifactId>xmlpull</artifactId>
-    <version>1.1.3.1</version>
-</dependency>
-
 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter</artifactId>
diff --git a/src/main/environment/common_test.properties b/src/main/environment/common_test.properties
index 6f25e1a3..5c5514bb 100644
--- a/src/main/environment/common_test.properties
+++ b/src/main/environment/common_test.properties
@@ -157,9 +157,6 @@ eSanjeevani.source: 11001
 eSanjeevani.registerPatient: https://preprod.esanjeevaniopd.xyz/uat/ps/api/v1/Patient
 eSanjeevani.routeUrl: https://uat.esanjeevani.in/user/signin
 
-biometric.discover.url = http://127.0.0.1:port/
-biometric.deviceInfo.url = http://127.0.0.1:port/rd/info
-biometric.capture.url = http://127.0.0.1:port/rd/capture
 eAusadhaUrl=https://dlc.kar.nic.in/e-services/api/DWInstituteInward
 
 eausadhaAuthorization=<Enter eausadha authorization key>
diff --git a/src/main/java/com/iemr/common/controller/biometric/BiometricController.java b/src/main/java/com/iemr/common/controller/biometric/BiometricController.java
deleted file mode 100644
index 79546c87..00000000
--- a/src/main/java/com/iemr/common/controller/biometric/BiometricController.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package com.iemr.common.controller.biometric;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.CrossOrigin;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestHeader;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestMethod;
-import org.springframework.web.bind.annotation.RequestParam;
-import org.springframework.web.bind.annotation.RestController;
-
- 
-
-import com.iemr.common.service.biometric.BiometricService;
-import com.iemr.common.utils.response.OutputResponse;
-
- 
-
-import io.swagger.annotations.ApiOperation;
-
-@CrossOrigin
-@RestController
-@RequestMapping(value = "/biometric")
-public class BiometricController {
-	private Logger logger = LoggerFactory.getLogger(this.getClass().getSimpleName());
-	@Autowired
-	private BiometricService biometricService;
-	@CrossOrigin
-	@RequestMapping(value = { "/getBiometricData/{pid}" }, method = { RequestMethod.GET }, headers = "Authorization")
-	public String saveBenNurseDataCAC(@PathVariable("pid") String pid,
-			@RequestHeader(value = "Authorization") String Authorization) {
-		OutputResponse response = new OutputResponse();
-		try {
-			String pidResponse = biometricService.getBioData(pid);
-			response.setResponse(pidResponse);
-		}catch (Exception e) {
-			logger.error("Error while fetching Biometric data : "+e.getMessage());
-		}
-		return response.toString();
-	}
-}
\ No newline at end of file
diff --git a/src/main/java/com/iemr/common/service/biometric/BiometricService.java b/src/main/java/com/iemr/common/service/biometric/BiometricService.java
deleted file mode 100644
index af3d400d..00000000
--- a/src/main/java/com/iemr/common/service/biometric/BiometricService.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package com.iemr.common.service.biometric;
-
-public interface BiometricService {
-
-	String getBioData(String pid);
-
-}
diff --git a/src/main/java/com/iemr/common/service/biometric/BiometricServiceImpl.java b/src/main/java/com/iemr/common/service/biometric/BiometricServiceImpl.java
deleted file mode 100644
index 0789ee86..00000000
--- a/src/main/java/com/iemr/common/service/biometric/BiometricServiceImpl.java
+++ /dev/null
@@ -1,223 +0,0 @@
-package com.iemr.common.service.biometric;
-
-import java.io.BufferedReader;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.URI;
-import java.net.URL;
-import java.util.Base64;
-import java.util.stream.Collectors;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-
-import org.apache.http.HttpEntity;
-import org.apache.http.HttpHeaders;
-import org.apache.http.HttpResponse;
-import org.apache.http.client.HttpClient;
-import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
-import org.apache.http.client.methods.HttpRequestBase;
-import org.apache.http.client.methods.HttpUriRequest;
-import org.apache.http.entity.StringEntity;
-import org.apache.http.impl.client.HttpClientBuilder;
-import org.apache.http.impl.client.HttpClients;
-import org.apache.http.util.EntityUtils;
-import org.json.JSONObject;
-import org.json.XML;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.stereotype.Service;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Text;
-
-@Service
-public class BiometricServiceImpl implements BiometricService {
-	private Logger logger = LoggerFactory.getLogger(this.getClass().getSimpleName());
-
-	@Value("${biometric.discover.url}")
-	String discoverUrl;
-
-	@Value("${biometric.deviceInfo.url}")
-	private String deviceInfoUrl;
-
-	@Value("${biometric.capture.url}")
-	private String captureUrl;
-	
-	@Override
-	public String getBioData(String env) {
-		String pidRes = null;
-		try {
-			String portNumber = null;
-			for (int i = 11100; i <= 11120; i++) {
-				String port = String.valueOf(i);
-				String apiUrl = discoverUrl.replace("port", port);
-
-				String httpMethod = "RDSERVICE";
-				HttpClient httpClient = HttpClientBuilder.create().build();
-
-				HttpRequestBase request = new HttpRequestBase() {
-					@Override
-					public String getMethod() {
-						return httpMethod;
-					}
-				};
-				request.setURI(URI.create(apiUrl));
-				request.setHeader(HttpHeaders.CONTENT_TYPE, "TEXT/XML");
-				try {
-					HttpResponse response = httpClient.execute((HttpUriRequest) request);
-
-					HttpEntity entity = response.getEntity();
-					String responseString = EntityUtils.toString(entity, "UTF-8");
-					if (!responseString.contains("NOTREADY")) {
-						portNumber = port;
-						break;
-					}
-				} catch (Exception e) {
-					logger.error("Error while checking biometric status: " + e.getMessage());
-				}
-			}
-			String xmlResponse = getDeviceInfo(portNumber, env);
-			if(xmlResponse != null) {
-				pidRes = Base64.getEncoder().encodeToString(xmlResponse.getBytes());
-			}
-		} catch (Exception e) {
-			logger.error("Error while getting biometric data: " + e.getMessage());
-		}
-		return pidRes;
-	}
-
-	private String getDeviceInfo(String portNumber, String env) {
-		String deviceRes = null;
-		String deviceInforURL = deviceInfoUrl.replace("port", portNumber);
-
-		String httpMethod = "DEVICEINFO";
-		HttpClient httpClient = HttpClientBuilder.create().build();
-
-		HttpRequestBase request = new HttpRequestBase() {
-			@Override
-			public String getMethod() {
-				return httpMethod;
-			}
-		};
-		request.setURI(URI.create(deviceInforURL));
-		request.setHeader(HttpHeaders.CONTENT_TYPE, "TEXT/XML");
-		try {
-			HttpResponse response = httpClient.execute((HttpUriRequest) request);
-
-			HttpEntity entity = response.getEntity();
-			String responseString = EntityUtils.toString(entity, "UTF-8");
-
-			if (null != response && response.getStatusLine().getStatusCode() == 200) {
-				deviceRes = getCaptureInfo(portNumber, env);
-			}
-		} catch (Exception e) {
-			logger.error("Error while getting biometric device info : " + e.getMessage());
-		}
-		return deviceRes;
-	}
-
-	private String getCaptureInfo(String portNumber, String env) throws Exception {
-		String captureRes = null;
-		if (null != portNumber) {
-			try {
-				// Create a new DocumentBuilder
-				DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
-				DocumentBuilder docBuilder = dbFactory.newDocumentBuilder();
-
-				// Create a new Document
-				Document doc = docBuilder.newDocument();
-
-				// Create the root element <PidOptions>
-				Element pidOptionsElement = doc.createElement("PidOptions");
-				pidOptionsElement.setAttribute("ver", "1.0");
-				doc.appendChild(pidOptionsElement);
-
-				// Create the <Opts> element and its attributes
-				Element optsElement = doc.createElement("Opts");
-				optsElement.setAttribute("fCount", "1");
-				optsElement.setAttribute("fType", "2");
-				optsElement.setAttribute("iCount", "0");
-				optsElement.setAttribute("pCount", "0");
-				optsElement.setAttribute("pgCount", "2");
-				optsElement.setAttribute("format", "0");
-				optsElement.setAttribute("pidVer", "2.0");
-				optsElement.setAttribute("timeout", "10000");
-				optsElement.setAttribute("pTimeout", "20000");
-				optsElement.setAttribute("wadh", "E0jzJ/P8UopUHAieZn8CKqS4WPMi5ZSYXgfnlfkWjrc=");
-				optsElement.setAttribute("posh", "UNKNOWN");
-				optsElement.setAttribute("env", env);
-				pidOptionsElement.appendChild(optsElement);
-
-				// Create the <CustOpts> element
-				Element custOptsElement = doc.createElement("CustOpts");
-				pidOptionsElement.appendChild(custOptsElement);
-
-				// Create the <Param> element inside <CustOpts> with its attributes
-				Element paramElement = doc.createElement("Param");
-				paramElement.setAttribute("name", "mantrakey");
-				paramElement.setAttribute("value", "");
-				custOptsElement.appendChild(paramElement);
-
-				// Create a text node for indentation
-				Text text = doc.createTextNode("\n");
-				pidOptionsElement.insertBefore(text, optsElement);
-
-				// Print the XML content to the console
-				String xml = XMLToString(doc);
-				
-				String capturingURL = captureUrl.replace("port", portNumber);
-				URL url = new URL(capturingURL);
-
-				String httpMethod = "CAPTURE";
-				HttpClient httpClient = HttpClients.createDefault();
-
-				HttpEntityEnclosingRequestBase request = new HttpEntityEnclosingRequestBase() {
-					@Override
-					public String getMethod() {
-						return httpMethod;
-					}
-				};
-				request.setURI(URI.create(capturingURL));
-				StringEntity entity2 = new StringEntity(xml);
-				request.setEntity(entity2);
-				request.setHeader(HttpHeaders.CONTENT_TYPE, "TEXT/XML");
-				
-				HttpResponse response = httpClient.execute(request);
-				response.setHeader("Content-Type", "TEXT/XML");
-				InputStream entity1 = response.getEntity().getContent();
-				String result = new BufferedReader(new InputStreamReader(entity1))
-						   .lines().collect(Collectors.joining("\n"));
-				if(result.contains("Success")) {
-					captureRes = result;
-				} else {
-					throw new Exception("Capture timed out");
-				}
-				
-		} catch (ParserConfigurationException e) {
-			logger.error("Error while capturing fingerprint: " + e.getMessage());
-		}
-		}
-		return captureRes;
-	}
-
-	private String XMLToString(Document doc) {
-		String response = null;
-		try {
-			javax.xml.transform.TransformerFactory tf = javax.xml.transform.TransformerFactory.newInstance();
-			javax.xml.transform.Transformer transformer = tf.newTransformer();
-			transformer.setOutputProperty(javax.xml.transform.OutputKeys.OMIT_XML_DECLARATION, "yes");
-			javax.xml.transform.stream.StreamResult result = new javax.xml.transform.stream.StreamResult(
-					new java.io.StringWriter());
-			javax.xml.transform.dom.DOMSource source = new javax.xml.transform.dom.DOMSource(doc);
-			transformer.transform(source, result);
-			response = result.getWriter().toString();
-		} catch (Exception e) {
-			logger.error("Error while converting XML to String: " + e.getMessage());
-		}
-		return response;
-	}
-
-}
diff --git a/src/main/java/com/iemr/common/service/lungassessment/LungAssessmentService.java b/src/main/java/com/iemr/common/service/lungassessment/LungAssessmentService.java
index 7ed527b1..5fc1cc48 100644
--- a/src/main/java/com/iemr/common/service/lungassessment/LungAssessmentService.java
+++ b/src/main/java/com/iemr/common/service/lungassessment/LungAssessmentService.java
@@ -27,7 +27,7 @@ public interface LungAssessmentService {
 
 	public String getLungAssessmentAdminLogin(String email, String password) throws Exception;
 
-	public Boolean verifyCough(MultipartFile file, String authToken, Long patientId) throws Exception;
+	public Boolean verifyCough(MultipartFile file, String authToken, Long patientId, String tempFileName) throws Exception;
 
 	String getAssesment(String assesmentId) throws Exception;
 
diff --git a/src/main/java/com/iemr/common/service/lungassessment/LungAssessmentServiceImpl.java b/src/main/java/com/iemr/common/service/lungassessment/LungAssessmentServiceImpl.java
index 8903cd3f..320c7a0a 100644
--- a/src/main/java/com/iemr/common/service/lungassessment/LungAssessmentServiceImpl.java
+++ b/src/main/java/com/iemr/common/service/lungassessment/LungAssessmentServiceImpl.java
@@ -26,7 +26,7 @@
 import java.io.FileOutputStream;
 import java.util.List;
 
-import javax.xml.ws.http.HTTPException;
+//import javax.xml.ws.http.HTTPException;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -126,10 +126,11 @@ public String getLungAssessmentAdminLogin(String email, String password) throws
 
 			logger.info("Lung assessment authentication response: " + lungAssessmentToken);
 
-		} catch (HTTPException e) {
-			logger.error("Lung assessment authentication error : " + e.getMessage(), e);
-			throw new RuntimeException("get authentication failed with error", e);
-		} catch (Exception e) {
+		} /*
+			 * catch (HTTPException e) {
+			 * logger.error("Lung assessment authentication error : " + e.getMessage(), e);
+			 * throw new RuntimeException("get authentication failed with error", e); }
+			 */catch (Exception e) {
 			logger.error("Lung assessment authentication error : " + e.getMessage(), e);
 			throw new RuntimeException("get authentication failed with error", e);
 		}
@@ -137,7 +138,7 @@ public String getLungAssessmentAdminLogin(String email, String password) throws
 	}
 
 	@Override
-	public Boolean verifyCough(MultipartFile file, String authToken, Long patientId) throws Exception {
+	public Boolean verifyCough(MultipartFile file, String authToken, Long patientId, String tempFileName) throws Exception {
 
 		try {
 
@@ -157,7 +158,6 @@ public Boolean verifyCough(MultipartFile file, String authToken, Long patientId)
 			headers.add("accessToken", authToken);
 
 			byte[] bytes = file.getBytes();
-			String tempFileName = "coughSoundVerify" + patientId + System.currentTimeMillis() + ".wav";
 			BufferedOutputStream stream = new BufferedOutputStream(
 					new FileOutputStream(new File(lungAssessmentPath + tempFileName)));
 			stream.write(bytes);
@@ -228,7 +228,9 @@ public String initiateAssesment(String request, MultipartFile file) throws Excep
 			if (lungAssessmentToken == null || (((currTime - authCreatedAt) / (60 * 1000))) > 110)
 				lungAssessmentToken = getLungAssessmentAdminLogin(decryptlungAssessmentEmail, decryptlungAssessmentPassword);
 
-			Boolean isCoughValidateSuccess = verifyCough(file, lungAssessmentToken, lungAssessmentAssessmentRequestObj.getPatientId());
+			String tempFileName = "coughSoundAssessment" + lungAssessmentAssessmentRequestObj.getPatientId()
+			+ System.currentTimeMillis() + ".wav";
+			Boolean isCoughValidateSuccess = verifyCough(file, lungAssessmentToken, lungAssessmentAssessmentRequestObj.getPatientId(), tempFileName);
 
 			if (isCoughValidateSuccess) {
 				RestTemplate restTemplate = new RestTemplate();
@@ -241,8 +243,6 @@ public String initiateAssesment(String request, MultipartFile file) throws Excep
 				resultSet = lungAssessmentRepository.save(lungAssessmentAssessmentRequestObj);
 
 				byte[] bytes = file.getBytes();
-				String tempFileName = "coughSoundAssessment" + lungAssessmentAssessmentRequestObj.getPatientId()
-						+ System.currentTimeMillis() + ".wav";
 				BufferedOutputStream stream = new BufferedOutputStream(
 						new FileOutputStream(new File("lungAssessmentPath" + tempFileName)));
 				stream.write(bytes);
@@ -255,7 +255,7 @@ public String initiateAssesment(String request, MultipartFile file) throws Excep
 				bodyMap.add("gender", lungAssessmentAssessmentRequestObj.getGender());
 				bodyMap.add("assessmentId", lungAssessmentAssessmentRequestObj.getAssessmentId());
 				bodyMap.add("patientId", lungAssessmentAssessmentRequestObj.getPatientId());
-				bodyMap.add("coughsoundfile", new FileSystemResource("swaasaPath" + tempFileName));
+				bodyMap.add("coughsoundfile", new FileSystemResource(lungAssessmentPath + tempFileName));
 
 				HttpEntity<MultiValueMap<String, Object>> requestEntity = new HttpEntity<>(bodyMap, headers);
 
