@Deprecated public class RowPerObsDataExportReportObject extends DataExportReportObject implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID
Deprecated.
|
static java.lang.String |
SUB_TYPE_NAME
Deprecated.
|
static java.lang.String |
TYPE_NAME
Deprecated.
|
MODIFIER_ANY, MODIFIER_FIRST, MODIFIER_FIRST_NUM, MODIFIER_LAST, MODIFIER_LAST_NUM
Constructor and Description |
---|
RowPerObsDataExportReportObject()
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 |
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
|
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.
|
RowPerObsColumn |
getRowPerObsColumn()
Deprecated.
|
boolean |
isAllPatients()
Deprecated.
|
void |
setAllPatients(boolean isAllPatients)
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.
|
void |
setRowPerObsColumn(RowPerObsColumn rowPerObsColumn)
Deprecated.
|
void |
setRowPerObsColumn(java.lang.String columnName,
java.lang.String conceptId,
java.lang.String[] extras)
Deprecated.
Set the concept based column
|
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 ] . |
addConceptColumn, getAllPatients
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 RowPerObsDataExportReportObject()
public void addSimpleColumn(java.lang.String columnName, java.lang.String columnValue)
addSimpleColumn
in class DataExportReportObject
columnName
- columnValue
- public void setRowPerObsColumn(java.lang.String columnName, java.lang.String conceptId, java.lang.String[] extras)
columnName
- the string to identify this row (the header)conceptId
- the conceptid for this columnextras
- String[] data from the obs to add (obsDatetime, encounterType, etc)public void addCalculatedColumn(java.lang.String columnName, java.lang.String columnValue)
addCalculatedColumn
in class DataExportReportObject
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)
addCohortColumn
in class DataExportReportObject
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)
addPatientId
in class DataExportReportObject
p
- public java.lang.String generateTemplate()
generateTemplate
in class DataExportReportObject
public Cohort generatePatientSet(EvaluationContext context)
generatePatientSet
in class DataExportReportObject
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 DataExportReportObject
Object.toString()
public java.util.List<ExportColumn> getColumns()
getColumns
in class DataExportReportObject
public void setColumns(java.util.List<ExportColumn> columns)
setColumns
in class DataExportReportObject
public Location getLocation()
getLocation
in class DataExportReportObject
public void setLocation(Location location)
setLocation
in class DataExportReportObject
public java.util.List<java.lang.Integer> getPatientIds()
getPatientIds
in class DataExportReportObject
public void setPatientIds(java.util.List<java.lang.Integer> patientIds)
setPatientIds
in class DataExportReportObject
public java.lang.Integer getCohortDefinitionId()
getCohortDefinitionId
in class DataExportReportObject
public void setCohortDefinitionId(java.lang.Integer cohortDefinitionId)
setCohortDefinitionId
in class DataExportReportObject
public java.lang.Integer getCohortId()
getCohortId
in class DataExportReportObject
public void setCohortId(java.lang.Integer cohortId)
setCohortId
in class DataExportReportObject
public java.lang.Integer getPatientSearchId()
getPatientSearchId
in class DataExportReportObject
public void setPatientSearchId(java.lang.Integer patientSearchId)
setPatientSearchId
in class DataExportReportObject
public boolean isAllPatients()
isAllPatients
in class DataExportReportObject
public void setAllPatients(boolean isAllPatients)
setAllPatients
in class DataExportReportObject
public RowPerObsColumn getRowPerObsColumn()
public void setRowPerObsColumn(RowPerObsColumn rowPerObsColumn)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.