@Deprecated public class DataExportReportObject extends AbstractReportObject implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MODIFIER_ANY
Deprecated.
|
static java.lang.String |
MODIFIER_FIRST
Deprecated.
|
static java.lang.String |
MODIFIER_FIRST_NUM
Deprecated.
|
static java.lang.String |
MODIFIER_LAST
Deprecated.
|
static java.lang.String |
MODIFIER_LAST_NUM
Deprecated.
|
static long |
serialVersionUID
Deprecated.
|
static java.lang.String |
SUB_TYPE_NAME
Deprecated.
|
static java.lang.String |
TYPE_NAME
Deprecated.
|
Constructor and Description |
---|
DataExportReportObject()
Deprecated.
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addCalculatedColumn(java.lang.String columnName,
java.lang.String columnValue)
Deprecated.
Append a calculated column
|
void |
addCohortColumn(java.lang.String columnName,
java.lang.Integer cohortId,
java.lang.Integer filterId,
java.lang.Integer patientSearchId,
java.lang.String valueIfTrue,
java.lang.String valueIfFalse)
Deprecated.
Append a cohort column
|
void |
addConceptColumn(java.lang.String columnName,
java.lang.String modifier,
java.lang.Integer modifierNum,
java.lang.String conceptId,
java.lang.String[] extras)
Deprecated.
Append a concept based column
|
void |
addPatientId(java.lang.Integer p)
Deprecated.
Add a patient to the list to be run on
|
void |
addSimpleColumn(java.lang.String columnName,
java.lang.String columnValue)
Deprecated.
Append a simple column
|
Cohort |
generatePatientSet(EvaluationContext context)
Deprecated.
Generate the patientSet according to this report's characteristics
|
java.lang.String |
generateTemplate()
Deprecated.
Generate a template according to this reports columns Assumes there is a patientSet object
available
|
boolean |
getAllPatients()
Deprecated.
|
java.lang.Integer |
getCohortDefinitionId()
Deprecated.
|
java.lang.Integer |
getCohortId()
Deprecated.
|
java.util.List<ExportColumn> |
getColumns()
Deprecated.
|
Location |
getLocation()
Deprecated.
|
java.util.List<java.lang.Integer> |
getPatientIds()
Deprecated.
|
java.lang.Integer |
getPatientSearchId()
Deprecated.
|
boolean |
isAllPatients()
Deprecated.
|
void |
setAllPatients(boolean allPatients)
Deprecated.
|
void |
setCohortDefinitionId(java.lang.Integer cohortDefinitionId)
Deprecated.
|
void |
setCohortId(java.lang.Integer cohortId)
Deprecated.
|
void |
setColumns(java.util.List<ExportColumn> columns)
Deprecated.
|
void |
setLocation(Location location)
Deprecated.
|
void |
setPatientIds(java.util.List<java.lang.Integer> patientIds)
Deprecated.
|
void |
setPatientSearchId(java.lang.Integer patientSearchId)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
Returns a string consisting of the name of the class of which the object is an instance and
the
uuid field surrounded by [ and ] . |
equals, getDescription, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public static final long serialVersionUID
public static final java.lang.String TYPE_NAME
public static final java.lang.String SUB_TYPE_NAME
public static final java.lang.String MODIFIER_ANY
public static final java.lang.String MODIFIER_FIRST
public static final java.lang.String MODIFIER_FIRST_NUM
public static final java.lang.String MODIFIER_LAST
public static final java.lang.String MODIFIER_LAST_NUM
public DataExportReportObject()
public void addSimpleColumn(java.lang.String columnName, java.lang.String columnValue)
columnName
- columnValue
- public void addConceptColumn(java.lang.String columnName, java.lang.String modifier, java.lang.Integer modifierNum, java.lang.String conceptId, java.lang.String[] extras)
columnName
- modifier
- modifierNum
- conceptId
- extras
- String[]public void addCalculatedColumn(java.lang.String columnName, java.lang.String columnValue)
columnName
- columnValue
- public void addCohortColumn(java.lang.String columnName, java.lang.Integer cohortId, java.lang.Integer filterId, java.lang.Integer patientSearchId, java.lang.String valueIfTrue, java.lang.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(java.lang.Integer p)
p
- public java.lang.String generateTemplate()
public Cohort generatePatientSet(EvaluationContext context)
public java.lang.String toString()
BaseOpenmrsObject
uuid
field surrounded by [
and ]
. In other words,
this method returns a string equal to the value of: getClass().getName() + '[' + uuid + ']'
If the uuid
field is null
, it delegates to
Object.toString()
toString
in class AbstractReportObject
Object.toString()
public java.util.List<ExportColumn> getColumns()
public void setColumns(java.util.List<ExportColumn> columns)
public Location getLocation()
public void setLocation(Location location)
public java.util.List<java.lang.Integer> getPatientIds()
public void setPatientIds(java.util.List<java.lang.Integer> patientIds)
public java.lang.Integer getCohortDefinitionId()
public void setCohortDefinitionId(java.lang.Integer cohortDefinitionId)
public java.lang.Integer getCohortId()
public void setCohortId(java.lang.Integer cohortId)
public java.lang.Integer getPatientSearchId()
public void setPatientSearchId(java.lang.Integer patientSearchId)
public boolean isAllPatients()
public boolean getAllPatients()
public void setAllPatients(boolean allPatients)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.