@Deprecated public class DataExportReportObject extends AbstractReportObject implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
MODIFIER_ANY
Deprecated.
|
static String |
MODIFIER_FIRST
Deprecated.
|
static String |
MODIFIER_FIRST_NUM
Deprecated.
|
static String |
MODIFIER_LAST
Deprecated.
|
static String |
MODIFIER_LAST_NUM
Deprecated.
|
static long |
serialVersionUID
Deprecated.
|
static String |
SUB_TYPE_NAME
Deprecated.
|
static String |
TYPE_NAME
Deprecated.
|
Constructor and Description |
---|
DataExportReportObject()
Deprecated.
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addCalculatedColumn(String columnName,
String columnValue)
Deprecated.
Append a calculated column
|
void |
addCohortColumn(String columnName,
Integer cohortId,
Integer filterId,
Integer patientSearchId,
String valueIfTrue,
String valueIfFalse)
Deprecated.
Append a cohort column
|
void |
addConceptColumn(String columnName,
String modifier,
Integer modifierNum,
String conceptId,
String[] extras)
Deprecated.
Append a concept based column
|
void |
addPatientId(Integer p)
Deprecated.
Add a patient to the list to be run on
|
void |
addSimpleColumn(String columnName,
String columnValue)
Deprecated.
Append a simple column
|
boolean |
equals(Object obj)
Deprecated.
|
Cohort |
generatePatientSet(EvaluationContext context)
Deprecated.
Generate the patientSet according to this report's characteristics
|
String |
generateTemplate()
Deprecated.
Generate a template according to this reports columns Assumes there is a patientSet object
available
|
boolean |
getAllPatients()
Deprecated.
|
Integer |
getCohortDefinitionId()
Deprecated.
|
Integer |
getCohortId()
Deprecated.
|
List<ExportColumn> |
getColumns()
Deprecated.
|
Location |
getLocation()
Deprecated.
|
List<Integer> |
getPatientIds()
Deprecated.
|
Integer |
getPatientSearchId()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isAllPatients()
Deprecated.
|
void |
setAllPatients(boolean allPatients)
Deprecated.
|
void |
setCohortDefinitionId(Integer cohortDefinitionId)
Deprecated.
|
void |
setCohortId(Integer cohortId)
Deprecated.
|
void |
setColumns(List<ExportColumn> columns)
Deprecated.
|
void |
setLocation(Location location)
Deprecated.
|
void |
setPatientIds(List<Integer> patientIds)
Deprecated.
|
void |
setPatientSearchId(Integer patientSearchId)
Deprecated.
|
String |
toString()
Deprecated.
|
equals, getDescription, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType
getUuid, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public static final String TYPE_NAME
public static final String SUB_TYPE_NAME
public static final String MODIFIER_ANY
public static final String MODIFIER_FIRST
public static final String MODIFIER_FIRST_NUM
public static final String MODIFIER_LAST
public static final String MODIFIER_LAST_NUM
public DataExportReportObject()
public void addSimpleColumn(String columnName, String columnValue)
columnName
- columnValue
- public void addConceptColumn(String columnName, String modifier, Integer modifierNum, String conceptId, String[] extras)
columnName
- modifier
- modifierNum
- conceptId
- extras
- String[]public void addCalculatedColumn(String columnName, String columnValue)
columnName
- columnValue
- public void addCohortColumn(String columnName, Integer cohortId, Integer filterId, Integer patientSearchId, String valueIfTrue, String valueIfFalse)
columnName
- cohortId
- only one of this or filterId should be non-nullfilterId
- only one of this or cohortId should be non-nullpublic void addPatientId(Integer p)
p
- public String generateTemplate()
public Cohort generatePatientSet(EvaluationContext context)
public String toString()
toString
in class AbstractReportObject
public List<ExportColumn> getColumns()
public void setColumns(List<ExportColumn> columns)
public Location getLocation()
public void setLocation(Location location)
public Integer getCohortDefinitionId()
public void setCohortDefinitionId(Integer cohortDefinitionId)
public Integer getCohortId()
public void setCohortId(Integer cohortId)
public Integer getPatientSearchId()
public void setPatientSearchId(Integer patientSearchId)
public boolean isAllPatients()
public boolean getAllPatients()
public void setAllPatients(boolean allPatients)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.