-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search functionality API added & Refactor get patients API (#33)
- Loading branch information
Showing
11 changed files
with
342 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
api/src/main/java/org/openmrs/module/ipd/api/service/WardService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
package org.openmrs.module.ipd.api.service; | ||
|
||
import org.openmrs.module.ipd.api.model.IPDWardPatientDetails; | ||
import org.openmrs.module.ipd.api.model.AdmittedPatient; | ||
import org.openmrs.module.ipd.api.model.WardPatientsSummary; | ||
|
||
import java.util.List; | ||
|
||
|
||
public interface WardService { | ||
|
||
WardPatientsSummary getIPDWardPatientSummary(String wardUuid); | ||
|
||
IPDWardPatientDetails getWardPatientsByUuid(String wardUuid, Integer offset, Integer limit); | ||
List<AdmittedPatient> getWardPatientsByUuid(String wardUuid, Integer offset, Integer limit); | ||
|
||
List<AdmittedPatient> searchWardPatients(String wardUuid, List<String> searchKeys,String searchValue, Integer offset, Integer limit); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.