public class TreatmentAuthorization extends java.lang.Object implements TreatmentAuthorizationIF
| Modifier and Type | Field and Description |
|---|---|
protected int |
assessmentReason |
protected boolean |
blank |
protected PointsScoringEquationsIF |
clinicalScore |
protected int |
episodeTiming |
protected PointsScoringEquationsIF |
functionalScore |
static HexavigesimalCalendarFormat |
HEXAVIG_CALENDAR_FORMAT
Hexavigesimal Calendar Formatter
|
static HexavigesimalFormat |
HEXAVIG_INTEGER_FORMAT
Hexavigesimal Formatter for numbers
|
protected java.util.Calendar |
infoCompletedDate |
protected java.util.Calendar |
startOfCareDate |
DEFAULT_BLANK_VALUE, EPISODE_TIMIMG_EARLY, EPISODE_TIMIMG_LATE, EPISODE_TIMIMG_UNKNOWN| Constructor and Description |
|---|
TreatmentAuthorization(HomeHealthRecordIF record) |
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 HexavigesimalCalendarFormat HEXAVIG_CALENDAR_FORMAT
public static final HexavigesimalFormat HEXAVIG_INTEGER_FORMAT
protected boolean blank
protected java.util.Calendar startOfCareDate
protected java.util.Calendar infoCompletedDate
protected int assessmentReason
protected int episodeTiming
protected PointsScoringEquationsIF clinicalScore
protected PointsScoringEquationsIF functionalScore
public TreatmentAuthorization(HomeHealthRecordIF record)
public TreatmentAuthorization(HomeHealthRecordIF record, HomeHealthRecordValidatorIF validator, PointsScoringEquationsIF clinScore, PointsScoringEquationsIF funcScore)
record - validator - clinScore - funcScore - public int getASSMT_REASON()
getASSMT_REASON in interface TreatmentAuthorizationIFpublic void setASSMT_REASON(int M0100_ASSMT_REASON2)
setASSMT_REASON in interface TreatmentAuthorizationIFM0100_ASSMT_REASON2 - public java.util.Calendar getSTART_CARE_YR34()
getSTART_CARE_YR34 in interface TreatmentAuthorizationIFpublic void setSTART_CARE_YR34(java.util.Calendar M0030_START_CARE_YR34)
setSTART_CARE_YR34 in interface TreatmentAuthorizationIFstartOfCareDate - public java.util.Calendar getINFO_COMPLETED_YR34()
getINFO_COMPLETED_YR34 in interface TreatmentAuthorizationIFpublic void setINFO_COMPLETED_YR34(java.util.Calendar M0090_INFO_COMPLETED_YR34)
setINFO_COMPLETED_YR34 in interface TreatmentAuthorizationIFinfoCompletedDate - public int getEPISODE_TIMING()
getEPISODE_TIMING in interface TreatmentAuthorizationIFpublic void setEPISODE_TIMING(int M0110_EPISODE_TIMING)
setEPISODE_TIMING in interface TreatmentAuthorizationIFepisodeTiming - public PointsScoringEquationsIF getClinicalScore()
getClinicalScore in interface TreatmentAuthorizationIFpublic void setClinicalScore(PointsScoringEquationsIF clinicalScore)
setClinicalScore in interface TreatmentAuthorizationIFclinicalScore - public PointsScoringEquationsIF getFunctionalScore()
getFunctionalScore in interface TreatmentAuthorizationIFpublic void setFunctionalScore(PointsScoringEquationsIF functionalScore)
setFunctionalScore in interface TreatmentAuthorizationIFfunctionalScore - public int getClinicalScoreCount()
getClinicalScoreCount in interface TreatmentAuthorizationIFpublic int getFunctionalScoreCount()
getFunctionalScoreCount in interface TreatmentAuthorizationIFpublic int getClinicalScoreValue(int equationNumber)
getClinicalScoreValue in interface TreatmentAuthorizationIFequationNumber - public int getFunctionalScoreValue(int equationNumber)
getFunctionalScoreValue in interface TreatmentAuthorizationIFequationNumber - protected final int getScoreValue(PointsScoringEquationsIF score, int equationNumber)
score - equationNumber - public java.lang.String getAuthorizationCode()
getAuthorizationCode in interface TreatmentAuthorizationIFpublic java.lang.String[] getAuthorizationCodeParts()
getAuthorizationCodeParts in interface TreatmentAuthorizationIFpublic java.lang.String toString()
toString in class java.lang.Object