com.mmm.cms.homehealth
Class ScoringResults

java.lang.Object
  extended by com.mmm.cms.homehealth.ScoringResults
All Implemented Interfaces:
ScoringResultsIF

public class ScoringResults
extends java.lang.Object
implements ScoringResultsIF

Scoring Results holds the collection of HIPPS code, grouper version Data validity flag, OASIS Treatment Authorization, and the validator used to check the record. The main use of this class is to provide a means of returning detailed scoring information from the Grouper.


Field Summary
protected  HomeHealthRecordValidatorIF nrsValidator
           
 
Fields inherited from interface com.mmm.cms.homehealth.proto.ScoringResultsIF
DEFAULT_BLANK_VALUE
 
Constructor Summary
ScoringResults(HIPPSCodeIF hippsCode, java.lang.String grouperVersion, DataValidityFlagIF dataValidityFlag, TreatmentAuthorizationIF treatmentAuthorization, HomeHealthRecordValidatorIF clinValidator, HomeHealthRecordValidatorIF nValidator)
          Constructor to set all the internal references
ScoringResults(HomeHealthRecordIF record)
          Constructor to build an empty Scoring Results
 
Method Summary
 HomeHealthRecordValidatorIF getClinicalValidator()
          gets the validator used
 java.lang.String getGrouperVersion()
          gets the Grouper version
 HIPPSCodeIF getHIPPSCode()
          gets the HIPPS code
 HomeHealthRecordValidatorIF getNrsValidator()
          Get the value of nrsValidator
 TreatmentAuthorizationIF getTreatmentAuthorization()
          getst the Treatment Authorization
 DataValidityFlagIF getValidityFlag()
          gets the Data Validity flag
 void setClinicalValidator(HomeHealthRecordValidatorIF validator)
          Sets the HomeHealthRecordValidatorIF that was used on the record during the scoring.
 void setGrouperVersion(java.lang.String grouperVersion)
          Sets the reference grouper version
 void setHIPPSCode(HIPPSCodeIF hippsCode)
          Sets the HIPPS code object
 void setNrsValidator(HomeHealthRecordValidatorIF nrsValidator)
          Set the value of nrsValidator
 void setTreatmentAuthorization(TreatmentAuthorizationIF treatmentAuthorization)
          Sets the treatment Authorization object
 void setValidityFlag(DataValidityFlagIF dataValidityFlag)
          Sets the validity flag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nrsValidator

protected HomeHealthRecordValidatorIF nrsValidator
Constructor Detail

ScoringResults

public ScoringResults(HomeHealthRecordIF record)
Constructor to build an empty Scoring Results

Parameters:
record -

ScoringResults

public ScoringResults(HIPPSCodeIF hippsCode,
                      java.lang.String grouperVersion,
                      DataValidityFlagIF dataValidityFlag,
                      TreatmentAuthorizationIF treatmentAuthorization,
                      HomeHealthRecordValidatorIF clinValidator,
                      HomeHealthRecordValidatorIF nValidator)
Constructor to set all the internal references

Parameters:
hippsCode -
grouperVersion -
dataValidityFlag -
treatmentAuthorization -
validator -
Method Detail

getNrsValidator

public HomeHealthRecordValidatorIF getNrsValidator()
Get the value of nrsValidator

Specified by:
getNrsValidator in interface ScoringResultsIF
Returns:
the value of nrsValidator

setNrsValidator

public void setNrsValidator(HomeHealthRecordValidatorIF nrsValidator)
Set the value of nrsValidator

Specified by:
setNrsValidator in interface ScoringResultsIF
Parameters:
nrsValidator - new value of nrsValidator

getValidityFlag

public DataValidityFlagIF getValidityFlag()
gets the Data Validity flag

Specified by:
getValidityFlag in interface ScoringResultsIF
Returns:
a non-null DataValidityFlagIF

setValidityFlag

public void setValidityFlag(DataValidityFlagIF dataValidityFlag)
Sets the validity flag

Parameters:
dataValidityFlag -

getGrouperVersion

public java.lang.String getGrouperVersion()
gets the Grouper version

Specified by:
getGrouperVersion in interface ScoringResultsIF
Returns:
a non-null String. Should not be blank.

setGrouperVersion

public void setGrouperVersion(java.lang.String grouperVersion)
Sets the reference grouper version

Parameters:
grouperVersion -

getHIPPSCode

public HIPPSCodeIF getHIPPSCode()
gets the HIPPS code

Specified by:
getHIPPSCode in interface ScoringResultsIF
Returns:
a non-null HIPPSCodeIF object

setHIPPSCode

public void setHIPPSCode(HIPPSCodeIF hippsCode)
Sets the HIPPS code object

Parameters:
hippsCode -

getTreatmentAuthorization

public TreatmentAuthorizationIF getTreatmentAuthorization()
getst the Treatment Authorization

Specified by:
getTreatmentAuthorization in interface ScoringResultsIF
Returns:
a non-null TreatmentAuthorizationIF

setTreatmentAuthorization

public void setTreatmentAuthorization(TreatmentAuthorizationIF treatmentAuthorization)
Sets the treatment Authorization object

Parameters:
treatmentAuthorization -

getClinicalValidator

public HomeHealthRecordValidatorIF getClinicalValidator()
gets the validator used

Specified by:
getClinicalValidator in interface ScoringResultsIF
Returns:
The HomeHealthRecordValidatorIF used on the record during the scoring, this may be null

setClinicalValidator

public void setClinicalValidator(HomeHealthRecordValidatorIF validator)
Sets the HomeHealthRecordValidatorIF that was used on the record during the scoring.

Specified by:
setClinicalValidator in interface ScoringResultsIF
Parameters:
validator -