public class DWRVisitService extends Object
Constructor and Description |
---|
DWRVisitService() |
Modifier and Type | Method and Description |
---|---|
Vector<Object> |
findEncountersByVisit(Integer visitId)
Fetches all encounters belonging to the visit that matches the specified visitId
|
Vector<Object> |
findVisitsByPatient(Integer patientId,
boolean includeInactive,
boolean includeVoided)
Gets all visits for the patient matching the given patientId
|
VisitListItem |
getVisit(Integer visitId)
Gets the visit matching the specified visitId
|
public Vector<Object> findVisitsByPatient(Integer patientId, boolean includeInactive, boolean includeVoided) throws APIException
patientId
- the patient id for the patient whose visits to findincludeInactive
- specifies if ended visits should be returned or notincludeVoided
- specifies if voided visits should be returned or notAPIException
VisitListItem
public VisitListItem getVisit(Integer visitId) throws APIException
visitId
- the visit id to search againstVisitListItem
for the matching visitAPIException
public Vector<Object> findEncountersByVisit(Integer visitId) throws APIException
visitId
- APIException
Copyright © 2015 OpenMRS Inc.. All rights reserved.