public class TreatmentAuthorization extends java.lang.Object implements TreatmentAuthorizationIF
Modifier and Type | Field and Description |
---|---|
static HexavigesimalCalendarFormat |
calFormat
Hexavigesimal Calendar Formatter
|
static HexavigesimalFormat |
hexaFormat
Hexavigesimal Formatter for numbers
|
static IntegerFormat |
iformat
Integer formatter for consistant 2 digits
|
DEFAULT_BLANK_VALUE, EPISODE_TIMIMG_EARLY, EPISODE_TIMIMG_LATE, EPISODE_TIMIMG_UNKNOWN
Constructor and Description |
---|
TreatmentAuthorization(HomeHealthRecordIF record,
HomeHealthRecordValidatorIF validator,
PointsScoringEquationsIF clinScore,
PointsScoringEquationsIF funcScore)
Constructor that sets up the episode timing and dates prior to creating
the code
|
Modifier and Type | Method and Description |
---|---|
int |
getASSMT_REASON()
gets the assessment reason
|
java.lang.String |
getAuthorizationCode()
Creates a authorization code base on the following:
1.
|
java.lang.String[] |
getAuthorizationCodeParts()
gets the authorization code split into an array of Strings for its
individual pieces
|
PointsScoringEquationsIF |
getClinicalScore()
gets the ClinicalScore
|
int |
getClinicalScoreCount()
gets the Clinical Score number of equation
|
int |
getClinicalScoreValue(int equationNumber)
gets the Clinical score of a specific equation
|
int |
getEPISODE_TIMING()
gets the episodeTiming
|
PointsScoringEquationsIF |
getFunctionalScore()
gets the FunctionalScore
|
int |
getFunctionalScoreCount()
gets the Functional Score number of equation
|
int |
getFunctionalScoreValue(int equationNumber)
gets the Functional score of a specific equation
|
java.util.Calendar |
getINFO_COMPLETED_YR34()
gets the infoCompletedDate
|
protected int |
getScoreValue(PointsScoringEquationsIF score,
int equationNumber)
Generic method for retrieving the equation score for a supplied equation.
|
java.util.Calendar |
getSTART_CARE_YR34()
gets the startOfCareDate
|
void |
setASSMT_REASON(int M0100_ASSMT_REASON2)
Sets the assessment reason
|
void |
setClinicalScore(PointsScoringEquationsIF clinicalScore)
Sets the clinical scoring values
|
void |
setEPISODE_TIMING(int M0110_EPISODE_TIMING)
Sets the episode timing
|
void |
setFunctionalScore(PointsScoringEquationsIF functionalScore)
Sets the functional scoring values
|
void |
setINFO_COMPLETED_YR34(java.util.Calendar M0090_INFO_COMPLETED_YR34)
Sets the completed date
|
void |
setSTART_CARE_YR34(java.util.Calendar M0030_START_CARE_YR34)
Sets the start date
|
java.lang.String |
toString()
Same as getAuthorizationCode()
|
public static final IntegerFormat iformat
public static final HexavigesimalCalendarFormat calFormat
public static final HexavigesimalFormat hexaFormat
public TreatmentAuthorization(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, PointsScoringEquationsIF clinScore, PointsScoringEquationsIF funcScore)
record
- validator
- clinScore
- funcScore
- public int getASSMT_REASON()
getASSMT_REASON
in interface TreatmentAuthorizationIF
public void setASSMT_REASON(int M0100_ASSMT_REASON2)
setASSMT_REASON
in interface TreatmentAuthorizationIF
M0100_ASSMT_REASON2
- public java.util.Calendar getSTART_CARE_YR34()
getSTART_CARE_YR34
in interface TreatmentAuthorizationIF
public void setSTART_CARE_YR34(java.util.Calendar M0030_START_CARE_YR34)
setSTART_CARE_YR34
in interface TreatmentAuthorizationIF
startOfCareDate
- public java.util.Calendar getINFO_COMPLETED_YR34()
getINFO_COMPLETED_YR34
in interface TreatmentAuthorizationIF
public void setINFO_COMPLETED_YR34(java.util.Calendar M0090_INFO_COMPLETED_YR34)
setINFO_COMPLETED_YR34
in interface TreatmentAuthorizationIF
infoCompletedDate
- public int getEPISODE_TIMING()
getEPISODE_TIMING
in interface TreatmentAuthorizationIF
public void setEPISODE_TIMING(int M0110_EPISODE_TIMING)
setEPISODE_TIMING
in interface TreatmentAuthorizationIF
episodeTiming
- public PointsScoringEquationsIF getClinicalScore()
getClinicalScore
in interface TreatmentAuthorizationIF
public void setClinicalScore(PointsScoringEquationsIF clinicalScore)
setClinicalScore
in interface TreatmentAuthorizationIF
clinicalScore
- public PointsScoringEquationsIF getFunctionalScore()
getFunctionalScore
in interface TreatmentAuthorizationIF
public void setFunctionalScore(PointsScoringEquationsIF functionalScore)
setFunctionalScore
in interface TreatmentAuthorizationIF
functionalScore
- public int getClinicalScoreCount()
getClinicalScoreCount
in interface TreatmentAuthorizationIF
public int getFunctionalScoreCount()
getFunctionalScoreCount
in interface TreatmentAuthorizationIF
public int getClinicalScoreValue(int equationNumber)
getClinicalScoreValue
in interface TreatmentAuthorizationIF
equationNumber
- public int getFunctionalScoreValue(int equationNumber)
getFunctionalScoreValue
in interface TreatmentAuthorizationIF
equationNumber
- protected final int getScoreValue(PointsScoringEquationsIF score, int equationNumber)
score
- equationNumber
- public java.lang.String getAuthorizationCode()
getAuthorizationCode
in interface TreatmentAuthorizationIF
public java.lang.String[] getAuthorizationCodeParts()
getAuthorizationCodeParts
in interface TreatmentAuthorizationIF
public java.lang.String toString()
toString
in class java.lang.Object