org.openmrs.reporting.export
Class RowPerObsDataExportReportObject

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.reporting.AbstractReportObject
          extended by org.openmrs.reporting.export.DataExportReportObject
              extended by org.openmrs.reporting.export.RowPerObsDataExportReportObject
All Implemented Interfaces:
java.io.Serializable, OpenmrsObject, ReportObject

Deprecated. see reportingcompatibility module

@Deprecated
public class RowPerObsDataExportReportObject
extends DataExportReportObject
implements java.io.Serializable

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.

See Also:
Serialized Form

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

serialVersionUID

public static final long serialVersionUID
Deprecated. 
See Also:
Constant Field Values

TYPE_NAME

public static final java.lang.String TYPE_NAME
Deprecated. 
See Also:
Constant Field Values

SUB_TYPE_NAME

public static final java.lang.String SUB_TYPE_NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

RowPerObsDataExportReportObject

public RowPerObsDataExportReportObject()
Deprecated. 
Default Constructor

Method Detail

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Overrides:
equals in class DataExportReportObject
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class DataExportReportObject
See Also:
Object.hashCode()

addSimpleColumn

public void addSimpleColumn(java.lang.String columnName,
                            java.lang.String columnValue)
Deprecated. 
Append a simple column

Overrides:
addSimpleColumn in class DataExportReportObject
Parameters:
columnName -
columnValue -

setRowPerObsColumn

public void setRowPerObsColumn(java.lang.String columnName,
                               java.lang.String conceptId,
                               java.lang.String[] extras)
Deprecated. 
Set the concept based column

Parameters:
columnName - the string to identify this row (the header)
conceptId - the conceptid for this column
extras - String[] data from the obs to add (obsDatetime, encounterType, etc)

addCalculatedColumn

public void addCalculatedColumn(java.lang.String columnName,
                                java.lang.String columnValue)
Deprecated. 
Append a calculated column

Overrides:
addCalculatedColumn in class DataExportReportObject
Parameters:
columnName -
columnValue -

addCohortColumn

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)
Deprecated. 
Append a cohort column

Overrides:
addCohortColumn in class DataExportReportObject
Parameters:
columnName -
cohortId - only one of this or filterId should be non-null
filterId - only one of this or cohortId should be non-null

addPatientId

public void addPatientId(java.lang.Integer p)
Deprecated. 
Add a patient to the list to be run on

Overrides:
addPatientId in class DataExportReportObject
Parameters:
p -

generateTemplate

public java.lang.String generateTemplate()
Deprecated. 
Generate a template according to this reports columns Assumes there is a patientSet object available

Overrides:
generateTemplate in class DataExportReportObject
Returns:
template string to be evaluated

generatePatientSet

public Cohort generatePatientSet(EvaluationContext context)
Deprecated. 
Generate the patientSet according to this report's characteristics

Overrides:
generatePatientSet in class DataExportReportObject
Returns:
patientSet to be used with report template

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class DataExportReportObject

getColumns

public java.util.List<ExportColumn> getColumns()
Deprecated. 
Overrides:
getColumns in class DataExportReportObject

setColumns

public void setColumns(java.util.List<ExportColumn> columns)
Deprecated. 
Overrides:
setColumns in class DataExportReportObject

getLocation

public Location getLocation()
Deprecated. 
Overrides:
getLocation in class DataExportReportObject

setLocation

public void setLocation(Location location)
Deprecated. 
Overrides:
setLocation in class DataExportReportObject

getPatientIds

public java.util.List<java.lang.Integer> getPatientIds()
Deprecated. 
Overrides:
getPatientIds in class DataExportReportObject

setPatientIds

public void setPatientIds(java.util.List<java.lang.Integer> patientIds)
Deprecated. 
Overrides:
setPatientIds in class DataExportReportObject

getCohortDefinitionId

public java.lang.Integer getCohortDefinitionId()
Deprecated. 
Overrides:
getCohortDefinitionId in class DataExportReportObject

setCohortDefinitionId

public void setCohortDefinitionId(java.lang.Integer cohortDefinitionId)
Deprecated. 
Overrides:
setCohortDefinitionId in class DataExportReportObject

getCohortId

public java.lang.Integer getCohortId()
Deprecated. 
Overrides:
getCohortId in class DataExportReportObject

setCohortId

public void setCohortId(java.lang.Integer cohortId)
Deprecated. 
Overrides:
setCohortId in class DataExportReportObject

getPatientSearchId

public java.lang.Integer getPatientSearchId()
Deprecated. 
Overrides:
getPatientSearchId in class DataExportReportObject

setPatientSearchId

public void setPatientSearchId(java.lang.Integer patientSearchId)
Deprecated. 
Overrides:
setPatientSearchId in class DataExportReportObject

isAllPatients

public boolean isAllPatients()
Deprecated. 
Overrides:
isAllPatients in class DataExportReportObject

setAllPatients

public void setAllPatients(boolean isAllPatients)
Deprecated. 
Overrides:
setAllPatients in class DataExportReportObject

getRowPerObsColumn

public RowPerObsColumn getRowPerObsColumn()
Deprecated. 

setRowPerObsColumn

public void setRowPerObsColumn(RowPerObsColumn rowPerObsColumn)
Deprecated. 

OpenMRS-1.7.x

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