Package org.projecthusky.communication
Class MasterPatientIndexQueryResponse
java.lang.Object
org.projecthusky.communication.MasterPatientIndexQueryResponse
The Class MasterPatientIndexQueryResponse.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMasterPatientIndexQueryResponse(MpiQueryResponse mpiQueryResponse) Instantiates a new master patient index query response. -
Method Summary
Modifier and TypeMethodDescriptionintGets the current numbers.Gets the patients from the query.intGets the remaining numbers of patients in the query.booleanQuery stateintGets the total numbers of patients from the query.
-
Constructor Details
-
MasterPatientIndexQueryResponse
Instantiates a new master patient index query response.- Parameters:
mpiQueryResponse- the mpi query response
-
-
Method Details
-
getCurrentNumbers
public int getCurrentNumbers()Gets the current numbers.- Returns:
- the current numbers
-
getPatients
Gets the patients from the query.- Returns:
- the patients
-
getRemainingNumbers
public int getRemainingNumbers()Gets the remaining numbers of patients in the query.- Returns:
- the remaining numbers
-
getSuccess
public boolean getSuccess()Query state- Returns:
- true if successful
-
getTotalNumbers
public int getTotalNumbers()Gets the total numbers of patients from the query.- Returns:
- the total numbers
-
getMpiQueryResponse
-