com.mmm.cms.homehealth.io
Class OasisReaderFactory

java.lang.Object
  extended by com.mmm.cms.homehealth.io.OasisReaderFactory

public class OasisReaderFactory
extends java.lang.Object

This class determines the OASIS record type and provides the appropriate converter for the string record. For more details on determining which converter to use, see

See Also:
Oasis_B_RecordUtil, Oasis_C_RecordUtil

Constructor Summary
OasisReaderFactory()
           
 
Method Summary
 OasisRecordConverterIF getRecordConverter(java.lang.String oasisRecord)
          Given an OASIS-B or C record as a string, determine which converter to use in order to convert the record to a HomeHealth Record object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OasisReaderFactory

public OasisReaderFactory()
Method Detail

getRecordConverter

public OasisRecordConverterIF getRecordConverter(java.lang.String oasisRecord)
Given an OASIS-B or C record as a string, determine which converter to use in order to convert the record to a HomeHealth Record object.

Parameters:
oasisRecord -
Returns:
the proper converter or null if none is found.
See Also:
com.mmm.cms.homehealth.io.Oasis_B_RecordUtil.isRecordConvertable(String), com.mmm.cms.homehealth.io.Oasis_C_RecordUtil.isRecordConvertable(String)