com.mmm.cms.homehealth.proto
Interface PointsScoringEquationsIF

All Known Subinterfaces:
CaseMixAdjustmentItemIF
All Known Implementing Classes:
CaseMixAdjustmentItem, CaseMixAdjustmentItem_v2308, CaseMixAdjustmentItem_v3210, PointsScoringEquations

public interface PointsScoringEquationsIF

This holds a single set of scoring values based on the scoring equations for the combinations of: Episode Timing (M0110) - UK or 01 as Early, and 02 as Later Therapy Visits (M0826) - two main groups of 0-13, and 14+ These combine to create 4 separate values, or equations for scoring the case mix. The "equations" are also referred to as a number in the following combination of Episode Timing and Therapy Visits Early Time: 0-13 Visits = 1 14+ Visits = 2 Later Time: 0-13 Visits = 3 14+ Visits = 4 The values of each equation can be referred to within either by their name or by their equation number.


Method Summary
 void add(PointsScoringEquationsIF points)
          Adds the value of the equations from points to the corresponding equations in this object.
 void addToEarly13AndUnder(int equation)
          Adds the value to the Early timing, 13 and under visits Also referred as equation 1
 void addToEarly14Plus(int equation)
          Adds the value to Early timing, 14 and more visits Also referred as equation 2
 void addToLater13AndUnder(int equation)
          Adds the value to the Later timing, 13 and under visits Also referred as equation 3
 void addToLater14Plus(int equation)
          Adds the value to Later timing, 14 and more visits Also referred as equation 4
 int getEarly13AndUnder()
          Get the value of Early timing, 13 and under visits Also referred as equation 1
 int getEarly14Plus()
          Get the value of Early timing, 14 and more visits Also referred as equation 2
 int getEquationValue(int idx)
          the value of the equation at that index.
 int getLater13AndUnder()
          Get the value of Later timing, 13 and under visits Also referred as equation 3
 int getLater14Plus()
          Get the value of Later timing, 14 and more visits Also referred as equation 4
 void setEarly13AndUnder(int equation1)
          Set the value of Early timing, 13 and under visits Also referred as equation 1
 void setEarly14Plus(int equation2)
          Set the value of Early timing, 14 and more visits.
 void setEquationValue(int idx, int value)
           
 void setLater13AndUnder(int equation3)
          Set the value of Later timing, 13 and under visits Also referred as equation 3
 void setLater14Plus(int equation)
          Set the value of Later timing, 14 and more visits Also referred as equation 4
 

Method Detail

add

void add(PointsScoringEquationsIF points)
Adds the value of the equations from points to the corresponding equations in this object.

Parameters:
points -

addToEarly13AndUnder

void addToEarly13AndUnder(int equation)
Adds the value to the Early timing, 13 and under visits Also referred as equation 1

Parameters:
equation -

addToEarly14Plus

void addToEarly14Plus(int equation)
Adds the value to Early timing, 14 and more visits Also referred as equation 2

Parameters:
equation -

addToLater13AndUnder

void addToLater13AndUnder(int equation)
Adds the value to the Later timing, 13 and under visits Also referred as equation 3

Parameters:
equation -

addToLater14Plus

void addToLater14Plus(int equation)
Adds the value to Later timing, 14 and more visits Also referred as equation 4

Parameters:
equation -

getEarly13AndUnder

int getEarly13AndUnder()
Get the value of Early timing, 13 and under visits Also referred as equation 1

Returns:
the value of equation1

getEarly14Plus

int getEarly14Plus()
Get the value of Early timing, 14 and more visits Also referred as equation 2

Returns:
the value of equation2

getLater13AndUnder

int getLater13AndUnder()
Get the value of Later timing, 13 and under visits Also referred as equation 3

Returns:
the value of equation3

getLater14Plus

int getLater14Plus()
Get the value of Later timing, 14 and more visits Also referred as equation 4

Returns:
the value of equation4

setEarly13AndUnder

void setEarly13AndUnder(int equation1)
Set the value of Early timing, 13 and under visits Also referred as equation 1

Parameters:
equation1 - new value of equation1

setEarly14Plus

void setEarly14Plus(int equation2)
Set the value of Early timing, 14 and more visits. Also referred as equation 2

Parameters:
equation2 - new value of equation2

setLater13AndUnder

void setLater13AndUnder(int equation3)
Set the value of Later timing, 13 and under visits Also referred as equation 3

Parameters:
equation3 - new value of equation3

setLater14Plus

void setLater14Plus(int equation)
Set the value of Later timing, 14 and more visits Also referred as equation 4

Parameters:
equation -

getEquationValue

int getEquationValue(int idx)
the value of the equation at that index.

Parameters:
idx - - a 0 based index of equations
Returns:
the value of the equation at that index.

setEquationValue

void setEquationValue(int idx,
                      int value)
Parameters:
idx - - a 0 based index of equations
value - - the new value