public class Filter extends 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 Set<Encounter> |
filterEncountersByType(Collection<Encounter> encs,
Integer type)
Returns a subset of the passed set of encounters that match the passed encounter type id
|
static Set<Obs> |
filterObsByConcept(Collection<Obs> obs,
Integer concept)
Returns a subset of the passed set of observations that match the passed concept type id
|
public static Set<Encounter> filterEncountersByType(Collection<Encounter> encs, Integer type)
encs:
- Superset of encounterstype:
- EncounterTypeId to matchpublic static Set<Obs> filterObsByConcept(Collection<Obs> obs, Integer concept)
obs:
- Superset of obsconcept:
- ConceptId to matchCopyright © 2018 OpenMRS LLC.. All Rights Reserved.