org.openmrs.cohort
Class CohortUtil

java.lang.Object
  extended by org.openmrs.cohort.CohortUtil

Deprecated. see reportingcompatibility module

@Deprecated
public class CohortUtil
extends java.lang.Object


Constructor Summary
CohortUtil()
          Deprecated.  
 
Method Summary
static CohortDefinition parse(java.lang.String spec)
          Deprecated. Parses an input string like: [Male] and [Adult] and [EnrolledInHivOnDate|program="1"|untilDate="${report.startDate}"] Names between brackets are treated as saved PatientSearch objects with that name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CohortUtil

public CohortUtil()
Deprecated. 
Method Detail

parse

public static CohortDefinition parse(java.lang.String spec)
Deprecated. 
Parses an input string like: [Male] and [Adult] and [EnrolledInHivOnDate|program="1"|untilDate="${report.startDate}"] Names between brackets are treated as saved PatientSearch objects with that name. Parameter values for those loaded searches are specified after a | The following are handled like they would be in a cohort builder composition search: ( ) and or not

Parameters:
spec -
Returns:
A CohortDefinition (currently always a PatientSearch) parsed from the spec string.
Expected behavior:
parse specification with and in it

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change