com.mmm.cms.homehealth.v0203c
Class TreatmentAuthorization_02_03c

java.lang.Object
  extended by com.mmm.cms.homehealth.v0203c.TreatmentAuthorization_02_03c
All Implemented Interfaces:
TreatmentAuthorizationIF

public class TreatmentAuthorization_02_03c
extends java.lang.Object
implements TreatmentAuthorizationIF

This Treatment Authorization is based on a supplied string. It does not perform formatting or checking of the supplied string. The methods getAuthorizationCode() and getAuthorizationCodeParts() are the only meaningful methods. The other methods return null or 0, instead of throwing the UnsupportedOperationException.


Field Summary
 
Fields inherited from interface com.mmm.cms.homehealth.proto.TreatmentAuthorizationIF
DEFAULT_BLANK_VALUE, EPISODE_TIMIMG_EARLY, EPISODE_TIMIMG_LATE, EPISODE_TIMIMG_UNKNOWN
 
Constructor Summary
TreatmentAuthorization_02_03c(java.lang.String value)
          Constructs a treatment authorization with the provide String
 
Method Summary
 int getASSMT_REASON()
          gets the assessment reason
 java.lang.String getAuthorizationCode()
          gets the 18 character treatment authorization code
 java.lang.String[] getAuthorizationCodeParts()
          gets the treatment authorization code split into its parts as an array of Strings.
 PointsScoringEquationsIF getClinicalScore()
          Always null for this version
 int getClinicalScoreCount()
          Always 0 for this version
 int getClinicalScoreValue(int equationNumber)
          Always 0 for this version
 int getEPISODE_TIMING()
          gets the episode timing indicator
 PointsScoringEquationsIF getFunctionalScore()
          Always null for this version
 int getFunctionalScoreCount()
           
 int getFunctionalScoreValue(int equationNumber)
          Always 0 for this version
 java.util.Calendar getINFO_COMPLETED_YR34()
          gets the completion date of care
 java.util.Calendar getM0030_START_CARE_YR34()
          Always null for this vesion
 java.util.Calendar getM0090_INFO_COMPLETED_YR34()
          Always null for this version
 int getM0100_ASSMT_REASON()
          Always 0 for this version
 int getM0110_EPISODE_TIMING()
          Always 0 for this version
 java.util.Calendar getSTART_CARE_YR34()
          gets the start date of the care
 void setASSMT_REASON(int val)
          Sets the assessment Reason
 void setClinicalScore(PointsScoringEquationsIF score)
          Does nothing
 void setEPISODE_TIMING(int val)
          Sets the Episode timing
 void setFunctionalScore(PointsScoringEquationsIF score)
          Does nothing
 void setINFO_COMPLETED_YR34(java.util.Calendar date)
          Sets the completion date of care
 void setM0030_START_CARE_YR34(java.util.Calendar date)
          Does nothing - can not be set
 void setM0090_INFO_COMPLETED_YR34(java.util.Calendar date)
          Does nothing - this can not be set
 void setM0100_ASSMT_REASON(int val)
          Does nothing
 void setM0110_EPISODE_TIMING(int val)
          Does nothing
 void setSTART_CARE_YR34(java.util.Calendar date)
          Sets the start date of care
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreatmentAuthorization_02_03c

public TreatmentAuthorization_02_03c(java.lang.String value)
                              throws java.lang.NullPointerException,
                                     java.lang.IllegalArgumentException
Constructs a treatment authorization with the provide String

Parameters:
value - Must be a String of 18 characters in length
Throws:
java.lang.NullPointerException
java.lang.IllegalArgumentException - if value's length is != 18
Method Detail

getM0030_START_CARE_YR34

public java.util.Calendar getM0030_START_CARE_YR34()
Always null for this vesion

Returns:
Always null

setM0030_START_CARE_YR34

public void setM0030_START_CARE_YR34(java.util.Calendar date)
Does nothing - can not be set

Parameters:
date -

getM0090_INFO_COMPLETED_YR34

public java.util.Calendar getM0090_INFO_COMPLETED_YR34()
Always null for this version

Returns:
Always null

setM0090_INFO_COMPLETED_YR34

public void setM0090_INFO_COMPLETED_YR34(java.util.Calendar date)
Does nothing - this can not be set

Parameters:
date -

getM0100_ASSMT_REASON

public int getM0100_ASSMT_REASON()
Always 0 for this version

Returns:
Always 0

setM0100_ASSMT_REASON

public void setM0100_ASSMT_REASON(int val)
Does nothing

Parameters:
val -

getM0110_EPISODE_TIMING

public int getM0110_EPISODE_TIMING()
Always 0 for this version

Returns:
Always 0

setM0110_EPISODE_TIMING

public void setM0110_EPISODE_TIMING(int val)
Does nothing

Parameters:
val -

getClinicalScoreCount

public int getClinicalScoreCount()
Always 0 for this version

Specified by:
getClinicalScoreCount in interface TreatmentAuthorizationIF
Returns:
Always 0

getFunctionalScoreCount

public int getFunctionalScoreCount()
Specified by:
getFunctionalScoreCount in interface TreatmentAuthorizationIF
Returns:
Always 0

getClinicalScore

public PointsScoringEquationsIF getClinicalScore()
Always null for this version

Specified by:
getClinicalScore in interface TreatmentAuthorizationIF
Returns:
Always null

setClinicalScore

public void setClinicalScore(PointsScoringEquationsIF score)
Does nothing

Specified by:
setClinicalScore in interface TreatmentAuthorizationIF
Parameters:
score -

getClinicalScoreValue

public int getClinicalScoreValue(int equationNumber)
Always 0 for this version

Specified by:
getClinicalScoreValue in interface TreatmentAuthorizationIF
Returns:
Always 0

getFunctionalScore

public PointsScoringEquationsIF getFunctionalScore()
Always null for this version

Specified by:
getFunctionalScore in interface TreatmentAuthorizationIF
Returns:
Always null

setFunctionalScore

public void setFunctionalScore(PointsScoringEquationsIF score)
Does nothing

Specified by:
setFunctionalScore in interface TreatmentAuthorizationIF
Parameters:
score -

getFunctionalScoreValue

public int getFunctionalScoreValue(int equationNumber)
Always 0 for this version

Specified by:
getFunctionalScoreValue in interface TreatmentAuthorizationIF
Returns:
Always 0

getAuthorizationCode

public java.lang.String getAuthorizationCode()
Description copied from interface: TreatmentAuthorizationIF
gets the 18 character treatment authorization code

Specified by:
getAuthorizationCode in interface TreatmentAuthorizationIF
Returns:
the authorization code supplied during the constructor

getAuthorizationCodeParts

public java.lang.String[] getAuthorizationCodeParts()
Description copied from interface: TreatmentAuthorizationIF
gets the treatment authorization code split into its parts as an array of Strings.

Specified by:
getAuthorizationCodeParts in interface TreatmentAuthorizationIF
Returns:
The Treatment information as text codes, with each authorization item as a separate array item. This should never return null.

getSTART_CARE_YR34

public java.util.Calendar getSTART_CARE_YR34()
Description copied from interface: TreatmentAuthorizationIF
gets the start date of the care

Specified by:
getSTART_CARE_YR34 in interface TreatmentAuthorizationIF
Returns:
The start date of care

setSTART_CARE_YR34

public void setSTART_CARE_YR34(java.util.Calendar date)
Description copied from interface: TreatmentAuthorizationIF
Sets the start date of care

Specified by:
setSTART_CARE_YR34 in interface TreatmentAuthorizationIF

getINFO_COMPLETED_YR34

public java.util.Calendar getINFO_COMPLETED_YR34()
Description copied from interface: TreatmentAuthorizationIF
gets the completion date of care

Specified by:
getINFO_COMPLETED_YR34 in interface TreatmentAuthorizationIF
Returns:
The completion date of care

setINFO_COMPLETED_YR34

public void setINFO_COMPLETED_YR34(java.util.Calendar date)
Description copied from interface: TreatmentAuthorizationIF
Sets the completion date of care

Specified by:
setINFO_COMPLETED_YR34 in interface TreatmentAuthorizationIF

getASSMT_REASON

public int getASSMT_REASON()
Description copied from interface: TreatmentAuthorizationIF
gets the assessment reason

Specified by:
getASSMT_REASON in interface TreatmentAuthorizationIF
Returns:
The Assessment Reason

setASSMT_REASON

public void setASSMT_REASON(int val)
Description copied from interface: TreatmentAuthorizationIF
Sets the assessment Reason

Specified by:
setASSMT_REASON in interface TreatmentAuthorizationIF

getEPISODE_TIMING

public int getEPISODE_TIMING()
Description copied from interface: TreatmentAuthorizationIF
gets the episode timing indicator

Specified by:
getEPISODE_TIMING in interface TreatmentAuthorizationIF
Returns:
The Episode timing indicator - 0 for unknown, 1 for early, 2 for late

setEPISODE_TIMING

public void setEPISODE_TIMING(int val)
Description copied from interface: TreatmentAuthorizationIF
Sets the Episode timing

Specified by:
setEPISODE_TIMING in interface TreatmentAuthorizationIF
Parameters:
val - - must be one of the following: 0 for unknown, 1 for early, 2 for late