Package org.projecthusky.communication
Class MasterPatientIndexQueryResponse
java.lang.Object
org.projecthusky.communication.MasterPatientIndexQueryResponse
The Class MasterPatientIndexQueryResponse.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MasterPatientIndexQueryResponse
(MpiQueryResponse mpiQueryResponse) Instantiates a new master patient index query response. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the current numbers.Gets the patients from the query.int
Gets the remaining numbers of patients in the query.boolean
Query stateint
Gets 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
-