This is a base class for the eight microaging fields in current use. In the MAPS 2004 and subsequent protocols, a specific set of codes is used; refer to the specification for values allowed here.
# - - - - - c l a s s M i c r o A g i n g F i e l d - - - - -
class MicroAgingField(SingleField):
'''Base class for all micro-aging fields.
Exports: As inherited.
'''
VALID_CODES = "ABFJLMNRU "
Derived classes must define their own .scanField() method, calling SingleField.scanFiled().
@staticmethod
def scanField(encounter, scan, fieldName):
raise NotImplementedError