|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.BaseOpenmrsObject org.openmrs.reporting.AbstractReportObject org.openmrs.reporting.export.DataExportReportObject org.openmrs.reporting.export.RowPerObsDataExportReportObject
@Deprecated public class RowPerObsDataExportReportObject
Facilitates printing a data export so that a patient is listed out on multiple lines to allow for all obs values selected to be included.
Field Summary | |
---|---|
static long |
serialVersionUID
Deprecated. |
static java.lang.String |
SUB_TYPE_NAME
Deprecated. |
static java.lang.String |
TYPE_NAME
Deprecated. |
Fields inherited from class org.openmrs.reporting.export.DataExportReportObject |
---|
MODIFIER_ANY, MODIFIER_FIRST, MODIFIER_FIRST_NUM, MODIFIER_LAST, MODIFIER_LAST_NUM |
Constructor Summary | |
---|---|
RowPerObsDataExportReportObject()
Deprecated. Default Constructor |
Method Summary | |
---|---|
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 |
boolean |
equals(java.lang.Object obj)
Deprecated. |
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. |
int |
hashCode()
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. |
Methods inherited from class org.openmrs.reporting.export.DataExportReportObject |
---|
addConceptColumn, getAllPatients |
Methods inherited from class org.openmrs.reporting.AbstractReportObject |
---|
equals, getDescription, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType |
Methods inherited from class org.openmrs.BaseOpenmrsObject |
---|
getUuid, setUuid |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openmrs.OpenmrsObject |
---|
getUuid, setUuid |
Field Detail |
---|
public static final long serialVersionUID
public static final java.lang.String TYPE_NAME
public static final java.lang.String SUB_TYPE_NAME
Constructor Detail |
---|
public RowPerObsDataExportReportObject()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class DataExportReportObject
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class DataExportReportObject
Object.hashCode()
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()
toString
in class DataExportReportObject
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)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |