com.mmm.cms.homehealth.v3110_1
Class GrouperVersion_v3110_1

java.lang.Object
  extended by com.mmm.cms.homehealth.HomeHealthEventNotifier
      extended by com.mmm.cms.homehealth.v2308_1.GrouperVersion_v2308_1
          extended by com.mmm.cms.homehealth.v3110_1.GrouperVersion_v3110_1
All Implemented Interfaces:
HomeHealthEventNotifierIF, HomeHealthGrouperIF, Describable, Initializable, Namable, java.io.Serializable

public class GrouperVersion_v3110_1
extends GrouperVersion_v2308_1

This version is effective from January 1, 2010 thru Sept 30, 2010. It provides processing for Oasis-C related data. However, since it uses the version V2409's logic for scoring, it also provides a mapping of the data backwards to be compatible with that versions accepted data values.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mmm.cms.homehealth.v2308_1.GrouperVersion_v2308_1
clinicalModel_1, clinicalModel_2, clinicalModel_3, clinicalModel_4, nrsScoringModel
 
Fields inherited from interface com.mmm.cms.homehealth.proto.HomeHealthGrouperIF
DEFAULT_BLANK_VALUE, HH_LOGGER_NAME
 
Constructor Summary
GrouperVersion_v3110_1()
          Constuctor that sets the effective start to January 1, 2010 and effective thru September 30, 2010.
 
Method Summary
protected  HomeHealthRecordIF convertToHomeHealthRecord_OasisB(HomeHealthRecord_C_IF record_C)
          This takes a HomeHealthRecord_C_IF object and converts it to a basic HomeHealthRecordIF, mapping any values from the C to the basic where needed.
 void copyCodes(HomeHealthRecordIF recordSrc, HomeHealthRecordIF recordDest)
          This copies codes from one record to another without any cloning.
 HomeHealthRecordValidatorIF getClincalValidator()
          Provides the validator for the Clinical portion of the scoring
 java.lang.String getDescription()
          Gets the descriptions of this version
 java.lang.String getName()
          Gets the name of this Grouper version
 HomeHealthRecordValidatorIF getNRSValidator()
          Provides the validator for the Non-Routine Supplies portion of the scoring
 java.lang.String getVersion()
          gets the version identifier
 ScoringResultsIF score(HomeHealthRecordIF recordOasisC, boolean validateDates)
          When scoring a recordOasisC, the data can either come from a OASIS-B or an OASIS-C source.
 
Methods inherited from class com.mmm.cms.homehealth.v2308_1.GrouperVersion_v2308_1
fireScoringGeneral, fireScoringRecord, getEffectiveDateStart, getEffectiveDateThru, init, isValidDiagnosisCode, isValidForVersion, populateValdateClinicalCodes, setDescription, setName
 
Methods inherited from class com.mmm.cms.homehealth.HomeHealthEventNotifier
addEventListener, getEventListeners, getListenerCount, notifyEventListeners, removeEventListener, removeEventListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mmm.cms.homehealth.proto.HomeHealthEventNotifierIF
addEventListener, getEventListeners, getListenerCount, notifyEventListeners, removeEventListener, removeEventListeners
 

Constructor Detail

GrouperVersion_v3110_1

public GrouperVersion_v3110_1()
Constuctor that sets the effective start to January 1, 2010 and effective thru September 30, 2010. Also sets the default mapping value, i.e. mapping Oasis-C values to Oasis-B values prior to scoring, to true, eg. perform mapping.

Method Detail

getName

public java.lang.String getName()
Gets the name of this Grouper version

Specified by:
getName in interface Namable
Overrides:
getName in class GrouperVersion_v2308_1
Returns:
The name of this version, plus version number

getDescription

public java.lang.String getDescription()
Gets the descriptions of this version

Specified by:
getDescription in interface Describable
Overrides:
getDescription in class GrouperVersion_v2308_1
Returns:
the description of this version

getVersion

public java.lang.String getVersion()
Description copied from class: GrouperVersion_v2308_1
gets the version identifier

Specified by:
getVersion in interface HomeHealthGrouperIF
Overrides:
getVersion in class GrouperVersion_v2308_1
Returns:
The version number of the grouper

score

public ScoringResultsIF score(HomeHealthRecordIF recordOasisC,
                              boolean validateDates)
When scoring a recordOasisC, the data can either come from a OASIS-B or an OASIS-C source. The OASIS-C source needs to be converted to an OASIS-B prior to scoring. Then the parent scoring can be called.

Specified by:
score in interface HomeHealthGrouperIF
Overrides:
score in class GrouperVersion_v2308_1
Parameters:
recordOasisC -
validateDates -
Returns:
a non-null Scoring Result that contains the scores for clinical / functional, and for NRS as well as the OASIS treaments and flags.

copyCodes

public void copyCodes(HomeHealthRecordIF recordSrc,
                      HomeHealthRecordIF recordDest)
This copies codes from one record to another without any cloning.

Parameters:
recordDest -

convertToHomeHealthRecord_OasisB

protected HomeHealthRecordIF convertToHomeHealthRecord_OasisB(HomeHealthRecord_C_IF record_C)
This takes a HomeHealthRecord_C_IF object and converts it to a basic HomeHealthRecordIF, mapping any values from the C to the basic where needed. The original recordOasisC is not altered.

Parameters:
record_C -
Returns:
a non-null, Home Health Record that contains values formatted for scoring with the OASIS-B logic

getClincalValidator

public HomeHealthRecordValidatorIF getClincalValidator()
Provides the validator for the Clinical portion of the scoring

Specified by:
getClincalValidator in interface HomeHealthGrouperIF
Overrides:
getClincalValidator in class GrouperVersion_v2308_1
Returns:
HomeHealthRecordValidatorIF

getNRSValidator

public HomeHealthRecordValidatorIF getNRSValidator()
Description copied from class: GrouperVersion_v2308_1
Provides the validator for the Non-Routine Supplies portion of the scoring

Specified by:
getNRSValidator in interface HomeHealthGrouperIF
Overrides:
getNRSValidator in class GrouperVersion_v2308_1
Returns:
HomeHealthRecordValidatorIF