public class Filter
extends java.lang.Object
<c:forEach items="${openmrs:filterObsByConcept(observations, concept)}" var="o" end="0"> .... .... </c:forEach>
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Encounter> |
filterEncountersByType(java.util.Collection<Encounter> encs,
java.lang.Integer type)
Returns a subset of the passed set of encounters that match the passed encounter type id
|
static java.util.Set<Obs> |
filterObsByConcept(java.util.Collection<Obs> obs,
java.lang.Integer concept)
Returns a subset of the passed set of observations that match the passed concept type id
|
public static java.util.Set<Encounter> filterEncountersByType(java.util.Collection<Encounter> encs, java.lang.Integer type)
encs:
- Superset of encounterstype:
- EncounterTypeId to matchCopyright © 2018 OpenMRS Inc.. All Rights Reserved.