Skip to content

Commit 5fc19dc

Browse files
committedMar 14, 2025
Update the changes
1 parent 4819f4b commit 5fc19dc

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed
 

‎src/test/java/org/openmrs/performance/http/DoctorHttpService.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -247,15 +247,10 @@ public HttpRequestActionBuilder getImmunizations(String patientUuid) {
247247
}
248248

249249
public HttpRequestActionBuilder getPrograms() {
250-
return http("Get Programs of Patient")
250+
return http("Get Programs")
251251
.get("/openmrs/ws/rest/v1/program?v=custom:(uuid,display,allWorkflows,concept:(uuid,display))");
252252
}
253253

254-
public HttpRequestActionBuilder getProgramEnrollment(String patientUuid) {
255-
return http("Get Program Enrollment of Patient")
256-
.get("/openmrs/ws/rest/v1/programenrollment?patient=" + patientUuid + "&v=custom:(uuid,display,program,dateEnrolled,dateCompleted,location:(uuid,display),states:(startDate,endDate,voided,state:(uuid,concept:(display))))");
257-
}
258-
259254
public HttpRequestActionBuilder searchForDrug(String searchQuery) {
260255
String customRepresentation = """
261256
custom:(uuid,display,name,strength,

‎src/test/java/org/openmrs/performance/registries/DoctorRegistry.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public ChainBuilder openAttachmentsTab(String patientUuid) {
132132

133133
public ChainBuilder openProgramsTab(String patientUuid) {
134134
return exec(httpService.getPrograms())
135-
.exec(httpService.getProgramEnrollment(patientUuid));
135+
.exec(httpService.getProgramEnrollments(patientUuid));
136136
}
137137

138138
public ChainBuilder openVisitsTab(String patientUuid) {

0 commit comments

Comments
 (0)
Failed to load comments.