public class DWRVisitService
extends java.lang.Object
Constructor and Description |
---|
DWRVisitService() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.Object> |
findEncountersByVisit(java.lang.Integer visitId)
Fetches all encounters belonging to the visit that matches the specified visitId
|
java.util.Vector<java.lang.Object> |
findVisitsByPatient(java.lang.Integer patientId,
boolean includeInactive,
boolean includeVoided)
Gets all visits for the patient matching the given patientId
|
VisitListItem |
getVisit(java.lang.Integer visitId)
Gets the visit matching the specified visitId
|
public java.util.Vector<java.lang.Object> findVisitsByPatient(java.lang.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(java.lang.Integer visitId) throws APIException
visitId
- the visit id to search againstVisitListItem
for the matching visitAPIException
public java.util.Vector<java.lang.Object> findEncountersByVisit(java.lang.Integer visitId) throws APIException
visitId
- APIException
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.