com.mmm.cms.homehealth
Class CaseMixAdjustmentItem

java.lang.Object
  extended by com.mmm.cms.homehealth.PointsScoringEquations
      extended by com.mmm.cms.homehealth.CaseMixAdjustmentItem
All Implemented Interfaces:
CaseMixAdjustmentItemIF, PointsScoringEquationsIF, Identifiable, Namable

public class CaseMixAdjustmentItem
extends PointsScoringEquations
implements CaseMixAdjustmentItemIF

Holds a single Case Mix Adjustment row (or item) which includes a set of values pertaining to the Scoring equations.


Constructor Summary
CaseMixAdjustmentItem()
           
 
Method Summary
 int getAdjustment(int equationId)
          Gets the equation adjustment value
 int getEarly13AndUnder()
          Get the value of equation1
 int getEarly14Plus()
          Get the value of equation1
 int getId()
          Get the value of id
 int getLater13AndUnder()
          Get the value of equation1
 int getLater14Plus()
          Get the value of equation1
 java.lang.String getName()
          Get the value of Name
 int hashCode()
          Creates a hash code based on the Case Mix id.
 void setAdjustment(int equationId, int value)
          This sets the equation value.
 void setEarly13AndUnder(int equation1)
          Set the value of equation1
 void setEarly14Plus(int equation2)
          Set the value of equation1
 void setId(int id)
          Set the value of id
 void setLater13AndUnder(int equation3)
          Set the value of equation1
 void setLater14Plus(int equation4)
          Set the value of equation1
 void setName(java.lang.String Name)
          Set the value of Name
 
Methods inherited from class com.mmm.cms.homehealth.PointsScoringEquations
add, addToEarly13AndUnder, addToEarly14Plus, addToLater13AndUnder, addToLater14Plus, getEquationValue, setEquationValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mmm.cms.homehealth.proto.PointsScoringEquationsIF
add, addToEarly13AndUnder, addToEarly14Plus, addToLater13AndUnder, addToLater14Plus, getEquationValue, setEquationValue
 

Constructor Detail

CaseMixAdjustmentItem

public CaseMixAdjustmentItem()
Method Detail

getId

public int getId()
Get the value of id

Specified by:
getId in interface Identifiable
Returns:
the value of id

setId

public void setId(int id)
Set the value of id

Specified by:
setId in interface Identifiable
Parameters:
id - new value of id

getName

public java.lang.String getName()
Get the value of Name

Specified by:
getName in interface Namable
Returns:
the value of Name

setName

public void setName(java.lang.String Name)
Set the value of Name

Specified by:
setName in interface Namable
Parameters:
Name - new value of Name

getEarly13AndUnder

public int getEarly13AndUnder()
Get the value of equation1

Specified by:
getEarly13AndUnder in interface PointsScoringEquationsIF
Overrides:
getEarly13AndUnder in class PointsScoringEquations
Returns:
the value of equation1

setEarly13AndUnder

public void setEarly13AndUnder(int equation1)
Set the value of equation1

Specified by:
setEarly13AndUnder in interface PointsScoringEquationsIF
Overrides:
setEarly13AndUnder in class PointsScoringEquations
Parameters:
equation1 - new value of equation1

getEarly14Plus

public int getEarly14Plus()
Get the value of equation1

Specified by:
getEarly14Plus in interface PointsScoringEquationsIF
Overrides:
getEarly14Plus in class PointsScoringEquations
Returns:
the value of equation1

setEarly14Plus

public void setEarly14Plus(int equation2)
Set the value of equation1

Specified by:
setEarly14Plus in interface PointsScoringEquationsIF
Overrides:
setEarly14Plus in class PointsScoringEquations
Parameters:
equation2 - new value of equation2

getLater13AndUnder

public int getLater13AndUnder()
Get the value of equation1

Specified by:
getLater13AndUnder in interface PointsScoringEquationsIF
Overrides:
getLater13AndUnder in class PointsScoringEquations
Returns:
the value of equation1

setLater13AndUnder

public void setLater13AndUnder(int equation3)
Set the value of equation1

Specified by:
setLater13AndUnder in interface PointsScoringEquationsIF
Overrides:
setLater13AndUnder in class PointsScoringEquations
Parameters:
equation3 - new value of equation3

getLater14Plus

public int getLater14Plus()
Get the value of equation1

Specified by:
getLater14Plus in interface PointsScoringEquationsIF
Overrides:
getLater14Plus in class PointsScoringEquations
Returns:
the value of equation1

setLater14Plus

public void setLater14Plus(int equation4)
Set the value of equation1

Specified by:
setLater14Plus in interface PointsScoringEquationsIF
Overrides:
setLater14Plus in class PointsScoringEquations
Parameters:
equation4 -

getAdjustment

public int getAdjustment(int equationId)
Description copied from interface: CaseMixAdjustmentItemIF
Gets the equation adjustment value

Specified by:
getAdjustment in interface CaseMixAdjustmentItemIF
Parameters:
equationId -
Returns:
the case mix adjustment for the supplied equation id, or 0 if the id is not valid

setAdjustment

public void setAdjustment(int equationId,
                          int value)
This sets the equation value. The equation identifiers are 1 based, as in 1 thru 4 inclusive

Specified by:
setAdjustment in interface CaseMixAdjustmentItemIF
Parameters:
equationId - - 1 thru 4 inclusive, identifying the equation as equation1, equation2, equation3, and equation4 respectfully. The match up with the common understanding of each equation for timing and therapy visits as Early13AndUnder, Early14Plus, Later13AndUnder, and Later14Plus, respectfully
value -

hashCode

public int hashCode()
Creates a hash code based on the Case Mix id.

Overrides:
hashCode in class java.lang.Object
Returns: