Skip to content

Commit 863309e

Browse files
Unused API and properties removed
1 parent ea01ad8 commit 863309e

File tree

7 files changed

+5
-68
lines changed

7 files changed

+5
-68
lines changed

src/main/environment/common_ci.properties

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ cancel=TC Cancel SMS
5454
reSchedule=TC Reschedule SMS
5555

5656
snomedCTPageSize=10
57-
#prescription=TMPrescription SMS
57+
prescription=TMPrescription SMS
5858

5959
nurseWL=7
6060
nurseTCWL=7
@@ -64,17 +64,7 @@ labWL=7
6464
radioWL=7
6565
oncoWL=7
6666
tcSpeclistWL=7
67-
servicePointID=@env.SERVICE_POINT_ID@
68-
parkingPlaceID=@env.PARKING_PLACE_ID@
69-
providerServiceMapID=@env.PROVIDER_SERVICE_MAP_ID@
70-
vanID=@env.VAN_ID@
71-
serviceID=@env.SERVICE_ID@
72-
providerID=@env.PROVIDER_ID@
73-
appId=@env.APP_ID@
74-
authKey=@env.AUTH_KEY@
75-
authSecret=@env.AUTH_SECRET@
76-
scheduling-slotsize=5
77-
prescription=TMPrescription SMS
67+
7868
### Redis IP
7969
spring.redis.host=localhost
8070

src/main/environment/common_dev.properties

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,7 @@ labWL=7
6363
radioWL=7
6464
oncoWL=7
6565
tcSpeclistWL=7
66-
servicePointID=
67-
parkingPlaceID=
68-
providerServiceMapID=
69-
vanID=
70-
serviceID=
71-
providerID=
72-
appId=
73-
authKey=
74-
authSecret=
66+
prescription=TMPrescription SMS
7567
### Redis IP
7668
spring.redis.host=localhost
7769

src/main/environment/common_test.properties

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@ oncoWL=7
6565
tcSpeclistWL=7
6666

6767

68-
servicePointID: 235
69-
parkingPlaceID: 233
70-
providerServiceMapID: 1261
71-
vanID: 220
72-
serviceID: 4
73-
providerID: 500
74-
appId: 85696
75-
authKey: 8BfRcBAGkTQkbQ6
76-
authSecret: jgQRyySBGu2YcaJ
77-
scheduling-slotsize=5
7868
prescription=TMPrescription SMS
7969

8070
### Redis IP

src/main/environment/common_uat.properties

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,8 @@ labWL=7
6464
radioWL=7
6565
oncoWL=7
6666
tcSpeclistWL=7
67-
servicePointID=
68-
parkingPlaceID=
69-
providerServiceMapID=
70-
vanID=
71-
serviceID=
72-
providerID=
73-
appId=
74-
authKey=
75-
authSecret=
67+
68+
prescription=TMPrescription SMS
7669
### Redis IP
7770
spring.redis.host=localhost
7871

src/main/java/com/iemr/tm/controller/patientApp/master/PatientAppCommonMasterController.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,6 @@ public String saveTCSlotDataPatientApp(@RequestBody String requestObj,
150150
return response.toString();
151151
}
152152

153-
@Operation(summary= "Master Data for Patient")
154-
@GetMapping(value = {"/patientApp/details/{stateID}" }, produces = MediaType.APPLICATION_JSON)
155-
public String patientAppMasterData(@PathVariable("stateID") Integer stateID) {
156-
logger.info("master Data for beneficiary:");
157-
158-
OutputResponse response = new OutputResponse();
159-
response.setResponse(commonPatientAppMasterService.getMaster(stateID));
160-
logger.info("Nurse master Data for beneficiary:" + response.toString());
161-
return response.toString();
162-
}
163-
164153
@CrossOrigin
165154
@Operation(summary= "Get patient episode data for specialist in patient app")
166155
@PostMapping(value = { "/get/getPatientEpisodeData" })

src/main/java/com/iemr/tm/service/patientApp/master/CommonPatientAppMasterService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ public interface CommonPatientAppMasterService {
3434

3535
public String getPatientEpisodeData(String requestObj) throws Exception;
3636

37-
public String getMaster(Integer stateID);
38-
3937
public String getPatientBookedSlots(String requestObj) throws Exception;
4038

4139
public Long saveSpecialistDiagnosisData(String requestObj) throws Exception;

src/main/java/com/iemr/tm/service/patientApp/master/CommonPatientAppMasterServiceImpl.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -127,21 +127,6 @@ public String getCovidMaster(Integer visitCategoryID, Integer providerServiceMap
127127
return new Gson().toJson(resMap);
128128
}
129129

130-
@Override
131-
public String getMaster(Integer stateID) {
132-
Map<String, Object> resMap = new HashMap<String, Object>();
133-
resMap.put("servicePointID", servicePointID);
134-
resMap.put("parkingPlaceID", parkingPlaceID);
135-
resMap.put("vanID", vanID);
136-
resMap.put("providerServiceMapID", providerServiceMapID);
137-
resMap.put("serviceID", serviceID);
138-
resMap.put("providerID", providerID);
139-
resMap.put("appId",appId);
140-
resMap.put("authKey",authKey);
141-
resMap.put("authSecret",authSecret);
142-
resMap.put("schedulingSlotSize", schedulingSlotSize);
143-
return new Gson().toJson(resMap);
144-
}
145130

146131
@Override
147132
@Transactional(rollbackFor = Exception.class)

0 commit comments

Comments
 (0)